/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   HURST BOOKKEEPING SOLUTIONS LLC — brand palette
   Sampled directly from the logo file (hurst-logo.png):
     Light green / teal  #379E9A  -> PRIMARY   (--accent family)
     Navy blue           #1B2849  -> SECONDARY (--ink family)
     Golden yellow       #D8A74B  -> ACCENT    (--gold family)
   ========================================================= */
:root {
  /* --- SECONDARY: navy blue, from the logo "H" and wordmark --- */
  --ink: #1B2849;
  --ink-deep: #121B33;
  --ink-mid: #24345C;
  --ink-soft: #2C3E6E;
  --graphite: #4A5878;
  --slate: #6E7A96;
  --silver: #98A0B2;
  --ash: #b9bfcb;
  --mist: #d8dce3;
  --cloud: #e8ebf0;
  --snow: #f2f4f7;
  --pearl: #f8f9fb;
  --white: #ffffff;

  /* --- PRIMARY: light green / teal, from the logo leaves --- */
  --accent: #379E9A;
  --accent-light: #4FBDB6;
  --accent-muted: #2A7F7C;
  --accent-dim: rgba(55,158,154,0.15);

  /* --- ACCENT: golden yellow, from the logo checkmark --- */
  --gold: #D8A74B;
  --gold-light: #E8BF6C;
  --gold-muted: #B8892F;
  --gold-dim: rgba(216,167,75,0.15);

  --text: #1B2849;
  --text-mid: #40506E;
  --text-light: #6E7A96;
  --text-muted: #98A0B2;
  --border: #dde1e8;
  --border-light: #eef0f4;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.16);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
}

em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
}

a { color: var(--ink); text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== Utilities ===== */
.label-tag {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 16px;
}

.label-tag.light {
  color: var(--accent-light);
}

.text-link {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Scale reveal for service numbers */
.reveal-scale {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* Blur-in reveal */
.reveal-blur {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-blur.revealed { opacity: 1; filter: blur(0); transform: translateY(0); }

/* Parallax section backgrounds */
.parallax-bg {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Animated counter pulse */
@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.stat-num.counted {
  animation: countPulse 0.4s ease-out;
}

/* Gold line draw animation */
.line-draw {
  position: relative;
}
.line-draw::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.line-draw.revealed::after {
  width: 100%;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 20px 52px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn-hero {
  background: var(--accent);
  color: var(--ink-deep);
  border-color: var(--accent);
}

.btn-hero:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--ink-deep);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212,175,55,0.35);
}

.btn-hero-ghost {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 20px 52px;
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
}

.btn-hero-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255,255,255,0.15);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--ink-deep);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.btn-full { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(45,51,64,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-bottom: 1px solid var(--cloud);
}

.nav { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.35em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.4;
}

.logo span {
  display: block;
  font-weight: 500;
  letter-spacing: 0.4em;
  font-size: 0.56rem;
  opacity: 0.5;
}

.site-header.scrolled .logo { color: var(--ink); }
.logo:hover { opacity: 0.8; }

.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }

.nav-links li a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.site-header.scrolled .nav-links li a { color: var(--text-light); }
.nav-links li a:hover { color: var(--white); }
.site-header.scrolled .nav-links li a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('GettyImages-1160738322-c067919304c44e6a8a67bd54d49681aa.jpg') center/cover no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(13,13,13,0.8) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 160px 0 100px;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
  padding: 60px 48px;
  border-radius: 8px;
}

/* Hero Badge */
.hero-badge {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.badge-border {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  animation: badgeRotateBorder 20s linear infinite;
  position: relative;
}

.badge-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--accent);
  animation: badgeSpin 4s linear infinite;
}

@keyframes badgeSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes badgeRotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.badge-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  animation: badgeCounterRotate 20s linear infinite;
}

@keyframes badgeCounterRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.badge-top {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.badge-star {
  font-size: 0.6rem;
  color: var(--accent);
  line-height: 1;
}

.badge-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1;
}

.badge-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  line-height: 1;
  margin-top: 2px;
}

.badge-bottom {
  font-family: 'Lato', sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

.hero h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-size: 4.6rem;
  color: var(--accent-light);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin: 0 auto 48px;
  max-width: 560px;
  line-height: 1.9;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Marquee ===== */
.marquee-bar {
  background: var(--ink);
  padding: 16px 0;
  overflow: hidden;
  border-bottom: 2px solid var(--accent);
  width: 100%;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 18s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Intro ===== */
.intro {
  padding: 140px 0;
  background: var(--pearl);
  border-bottom: 1px solid var(--cloud);
}

.intro-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: start;
}

.intro-left h2 {
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.intro-left h2 em {
  color: var(--accent-muted);
  font-size: 3.2rem;
}

.intro-right {
  padding-top: 12px;
}

.intro-right p {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 22px;
  font-weight: 400;
}

.intro-right .text-link {
  margin-top: 16px;
  display: inline-block;
}

/* ===== Services ===== */
.services {
  padding: 0;
  background: var(--ink);
}

.services .container {
  padding-top: 110px;
  padding-bottom: 110px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.service-card {
  padding: 52px 40px;
  background: var(--ink-soft);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: #484848;
}

.service-card.featured {
  background: #444;
  border-top: 3px solid var(--accent);
}

.service-card.featured:hover {
  background: #505050;
}

.service-top {
  margin-bottom: 24px;
}

.service-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.4s ease;
}

.service-card:hover .service-number {
  color: var(--accent-light);
  opacity: 0.7;
}

.service-card.featured .service-number {
  color: var(--accent-light);
}

.service-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.service-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  font-weight: 400;
  flex-grow: 1;
  margin-top: 4px;
}

.service-card:hover p {
  color: rgba(255,255,255,0.75);
}

.service-card.featured p {
  color: rgba(255,255,255,0.7);
}

/* ===== About ===== */
.about {
  background: var(--snow);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}

.about-image {
  overflow: hidden;
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 80%, var(--snow) 100%);
  pointer-events: none;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover .about-img {
  transform: scale(1.04);
}

.about-content {
  padding: 88px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: 3.4rem;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.about-content h2 em {
  color: var(--accent-muted);
  font-size: 3.8rem;
}

.about-lead {
  font-size: 1.18rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 600;
}

.about-content p {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.95;
  font-weight: 400;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--mist);
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 130px 0;
  background: var(--ink-deep);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.testimonials-top {
  text-align: center;
  margin-bottom: 72px;
}

.script-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.script-quote em {
  color: var(--accent-light);
  font-size: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 48px 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.testimonial:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.testimonial.accent {
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.2);
}

.testimonial.accent:hover {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.3);
}

.testimonial p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 32px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.testimonial.accent p {
  color: rgba(255,255,255,0.75);
}

.testimonial p em {
  color: var(--accent-light);
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.testimonial.accent footer {
  border-color: rgba(212,175,55,0.15);
}

.testimonial footer strong {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonial footer span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  margin-top: 2px;
}

.testimonial.accent footer span {
  color: rgba(255,255,255,0.5);
}

/* ===== Contact ===== */
.contact {
  padding: 130px 0;
  background: var(--snow);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 {
  font-size: 3.4rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.contact-text > p {
  font-size: 1.12rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 48px;
  font-weight: 400;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item .contact-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

.contact-item a,
.contact-item > span {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-item a:hover {
  color: var(--accent-muted);
}

.contact-form-wrap {
  background: var(--white);
  padding: 56px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--accent) 100%);
}

.form-group { margin-bottom: 4px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 20px 0;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid var(--cloud);
  background: transparent;
  color: var(--text);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ash);
  font-weight: 400;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact .btn-primary {
  margin-top: 24px;
  padding: 22px 52px;
}

/* ===== Pre-footer ===== */
.pre-footer {
  padding: 72px 0;
  background: var(--pearl);
  text-align: center;
  border-top: 1px solid var(--cloud);
}

.pre-footer p {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.9;
  font-weight: 400;
}

.pre-footer-social {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.pre-footer-social a {
  color: var(--silver);
  transition: all 0.3s;
}

.pre-footer-social a:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink-deep);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-logo { color: var(--white); font-size: 0.78rem; }
.footer-logo span { color: rgba(255,255,255,0.3); }

.footer-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }

.footer-links a {
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--accent-light); }

.footer-legal { display: flex; gap: 12px; align-items: center; }
.footer-legal a { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }
.footer-legal span { color: rgba(255,255,255,0.12); font-size: 0.65rem; }

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.08em;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .container { padding: 0 36px; }
  .hero h1 { font-size: 3.2rem; }
  .hero h1 em { font-size: 3.6rem; }
  .intro-inner { gap: 64px; }
  .intro-left h2 { font-size: 2.3rem; }
  .intro-left h2 em { font-size: 2.6rem; }
  .about-content h2 { font-size: 2.8rem; }
  .about-content h2 em { font-size: 3.1rem; }
  .about-content { padding: 64px 48px; }
  .contact-text h2 { font-size: 2.8rem; }
  .service-number { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 18px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li a { color: var(--text) !important; font-size: 0.85rem; }

  .hero h1 { font-size: 2.5rem; }
  .hero h1 em { font-size: 2.8rem; }
  .hero-sub { font-size: 1.02rem; }
  .hero-scroll-hint { display: none; }
  .badge-border { width: 190px; height: 190px; }
  .badge-main { font-size: 1.3rem; }
  .badge-sub { font-size: 0.85rem; }
  .badge-top, .badge-bottom { font-size: 0.55rem; }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn,
  .hero-cta .btn-hero-ghost {
    width: 260px;
  }

  .hero-trust { gap: 24px; }
  .trust-num { font-size: 1.3rem; }

  .intro { padding: 90px 0; }
  .intro-inner { grid-template-columns: 1fr; gap: 32px; }
  .intro-left h2 { font-size: 2rem; }
  .intro-left h2 em { font-size: 2.3rem; }

  .services .container { padding-top: 80px; padding-bottom: 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-number { font-size: 3rem; }

  .about-split { grid-template-columns: 1fr; min-height: auto; }
  .about-image::after { display: none; }
  .about-img { max-height: 450px; }
  .about-content { padding: 56px 24px; }
  .about-content h2 { font-size: 2.4rem; }
  .about-content h2 em { font-size: 2.7rem; }
  .about-stats { gap: 32px; flex-wrap: wrap; }

  .testimonials { padding: 80px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .script-quote { font-size: 1.9rem; }
  .script-quote em { font-size: 2.2rem; }

  .contact { padding: 80px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-text h2 { font-size: 2.4rem; }
  .contact-form-wrap { padding: 40px 24px; }

  .footer-links { gap: 20px; }
}

@media (max-width: 480px) {
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2rem; }
  .hero h1 em { font-size: 2.3rem; }
  .badge-border { width: 160px; height: 160px; }
  .badge-main { font-size: 1.1rem; }
  .badge-sub { font-size: 0.75rem; }
  .about-content h2 { font-size: 2rem; }
  .about-content h2 em { font-size: 2.2rem; }
  .about-stats { flex-direction: column; gap: 20px; }
  .contact-text h2 { font-size: 2rem; }
  .stat-num { font-size: 2rem; }
  .service-number { font-size: 2.5rem; }
}

/* ===== FAQ ===== */
.faq {
  padding: 110px 0;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}
.faq-header h2 {
  font-size: 3rem;
  color: #fff;
  margin-top: 16px;
}
.faq-header h2 em {
  font-style: italic;
  color: var(--accent);
  font-family: serif;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 4px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item[open] {
  border-color: var(--accent);
  background: rgba(212,175,55,0.05);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: 0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 28px 26px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  font-size: 0.97rem;
}
@media (max-width: 720px) {
  .faq-header h2 { font-size: 2.2rem; }
  .faq-header h2 em { font-size: 2.4rem; }
}


/* =========================================================================
   HURST BOOKKEEPING SOLUTIONS -- brand overrides
   Loaded last so it wins over the base template rules above.
   ========================================================================= */

/* prevent any stray horizontal scroll */
html { overflow-x: hidden; }

/* ---------- Logo mark in header & footer ----------
   Two prepared PNGs, both with the white paper background knocked out:
     hurst-logo-light.png  navy knocked to white, teal + gold kept -> dark backgrounds
     hurst-logo-dark.png   full original colour                    -> white backgrounds
   Regenerate either from hurst-logo.png if she sends an updated file.        */
.logo-mark {
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo-mark img {
  height: 64px;
  width: auto;
  transition: height 0.4s ease;
}
.logo-on-light { display: none; }
.site-header.scrolled .logo-on-dark { display: none; }
.site-header.scrolled .logo-on-light { display: block; }
.site-header.scrolled .logo-mark img { height: 52px; }
.footer-logo.logo-mark img { height: 84px; }

/* ---------- Header tint: navy instead of neutral gray ---------- */
.site-header { background: rgba(27,40,73,0.28); }

/* ---------- Nav "Book a Call" button ---------- */
.nav-cta { margin-left: 8px; }
.btn-nav {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--ink-deep) !important;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep) !important;
}
.site-header.scrolled .nav-links li a.btn-nav { color: var(--ink-deep) !important; }

/* ---------- Hero: accounting photograph + navy-weighted overlay ---------- */
.hero {
  background-image: url('GettyImages-1160738322-c067919304c44e6a8a67bd54d49681aa.jpg');
}
.hero-overlay {
  background: linear-gradient(180deg, rgba(18,27,51,0.72) 0%, rgba(18,27,51,0.88) 100%);
}
.hero-content {
  background: radial-gradient(ellipse at center, rgba(18,27,51,0.62) 0%, rgba(18,27,51,0.34) 45%, transparent 72%);
}
.hero h1 em { color: var(--accent-light); }

.hero-sub {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}

.hero-trust .trust-label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}
.hero-trust .trust-divider { background: var(--gold); opacity: 0.5; }

/* gold detailing on the crest */
.badge-border { border-top-color: var(--gold) !important; }
.badge-star { color: var(--gold) !important; }
.badge-top, .badge-bottom { color: var(--gold-light) !important; }

/* Crest sizing — "Small Business Bookkeeping" is a longer top line than the
   template's stock text, so the circle is widened and the tracking pulled in
   to keep every line inside the ring at each breakpoint. */
.badge-border { width: 252px; height: 252px; }
.badge-inner { padding: 0 14px; }
.badge-top {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.badge-bottom {
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.badge-sub { font-size: 0.95rem; white-space: nowrap; }

/* ---------- Marquee: navy bar, teal rule, gold dots ---------- */
.marquee-bar { border-bottom: 2px solid var(--accent); }
.marquee-dot { background: var(--gold); }

/* ---------- Services: 3 across, navy cards ---------- */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { background: var(--ink-soft); }
.service-card:hover { background: #35497F; }
.service-card.featured {
  background: #35497F;
  border-top: 3px solid var(--gold);
}
.service-card.featured:hover { background: #3D5490; }
.service-card.featured .service-number { color: var(--gold-light); }
.service-number { color: var(--accent-light); }

/* ---------- Why Us ---------- */
.why {
  background: var(--white);
  padding: 120px 0;
  border-top: 1px solid var(--border-light);
}
.why-header {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}
.why-header h2 {
  font-size: 3.2rem;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.why-header h2 em { color: var(--accent-muted); font-size: 3.5rem; }
.why-lead {
  margin-top: 22px;
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.9;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}
.why-item {
  background: var(--white);
  padding: 44px 38px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.why-item:hover {
  background: var(--pearl);
  box-shadow: inset 3px 0 0 var(--accent);
}
.why-num {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  color: var(--gold-muted);
  margin-bottom: 18px;
}
.why-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.why-item p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* ---------- How It Works (replaces the stock testimonial band) ---------- */
.process {
  background: var(--ink);
  padding: 120px 0;
}
.process-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 72px;
}
.process-header .script-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
  margin-top: 20px;
}
.process-header .script-quote em { color: var(--accent-light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.process-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 3px solid var(--accent);
  padding: 46px 38px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-6px);
}
.process-step:nth-child(2) { border-top-color: var(--gold); }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.process-step h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.process-step p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.9;
}

/* ---------- Calendly button ---------- */
.btn-calendly {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 34px 0 8px;
  padding: 17px 34px;
  background: var(--accent);
  color: var(--ink-deep);
  border: 1px solid var(--accent);
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(55,158,154,0.28);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-calendly:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(216,167,75,0.34);
}
.btn-calendly svg { flex-shrink: 0; }

/* ---------- Hero + primary buttons ---------- */
.btn-hero { background: var(--accent); border-color: var(--accent); color: var(--ink-deep); }
.btn-hero:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--ink-deep); }
.btn-primary:hover { background: var(--accent-muted); border-color: var(--accent-muted); color: var(--white); }
.contact .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--ink-deep); }
.contact .btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }

/* ---------- About portrait ----------
   The template's About was a full-bleed 50/50 split built for a wide lifestyle photo,
   which rendered her headshot at ~713x881 — far too large for a portrait. Rebuilt as a
   contained two-column layout with a fixed circular portrait beside the copy. The
   circle also removes the aspect-ratio cropping problem entirely. */
.about { padding: 110px 0; }

.about-split {
  grid-template-columns: auto 1fr;
  gap: 76px;
  align-items: center;
  min-height: 0;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

.about-image {
  /* scales with the viewport so it stays substantial on large screens without
     crowding the copy on smaller desktops; the two mobile breakpoints below
     override it with fixed sizes */
  width: clamp(380px, 34vw, 480px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 18px 44px rgba(27,40,73,0.18);
  /* thin teal ring, offset with a white gap */
  outline: 2px solid var(--accent);
  outline-offset: 10px;
}

/* the template's right-edge fade was for a full-bleed photo — not wanted on a circle */
.about-image::after { display: none; }

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* sheila-hurst.jpg is pre-cropped to a square, so this is a no-op safeguard —
     it only matters if the file is ever replaced with a non-square one */
  object-position: center top;
}

.about-content { padding: 0; }

/* ---------- Industries strip (closes the Why Us section) ---------- */
.industries {
  margin-top: 56px;
  padding: 34px 44px;
  background: var(--pearl);
  border-left: 3px solid var(--gold);
  max-width: 900px;
}
.industries-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 12px;
}
.industries p {
  font-size: 1.04rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ---------- About: credential strip ---------- */
.about-credentials {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 2px solid var(--mist);
}
.cred-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cred-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent-muted);
  line-height: 1;
}
.cred-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  max-width: 130px;
  line-height: 1.5;
}

/* ---------- Contact: booking-only, no form ----------
   The template's two-column text|form grid collapses to a single centred
   column now that the only action is booking a call.                        */
.contact-inner {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-text h2,
.contact-inner h2 {
  font-size: 3.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact-lead {
  font-size: 1.12rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 8px;
  font-weight: 400;
}
.contact-inner .btn-calendly {
  margin: 36px 0 0;
  padding: 20px 46px;
  font-size: 0.84rem;
}
.contact-inner .contact-details {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.contact-inner .contact-item { align-items: center; }

/* ---------- Section accent details ---------- */
.label-tag { color: var(--accent-muted); }
.label-tag.light { color: var(--gold-light); }
.intro-left h2 em, .contact-text h2 em { color: var(--accent-muted); }
.faq-item summary:hover { color: var(--accent-muted); }
.text-link:hover { color: var(--accent-muted); border-color: var(--accent-muted); }
.footer-links a:hover { color: var(--accent-light); }
.contact-item a:hover { color: var(--accent-muted); }
.site-footer { background: var(--ink-deep); }
.pre-footer { background: linear-gradient(90deg, var(--ink) 0%, var(--accent) 100%); }
/* ---------- Pre-footer: single LinkedIn link with label ----------
   The stock template had three bare icons (IG / FB / LinkedIn) pointing at "#".
   Only LinkedIn is real, and one lone icon reads as an afterthought — so it
   carries a label and sits in a pill against the gradient. */
.pre-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  color: var(--white);
}
.pre-footer-social a:hover {
  color: var(--ink-deep);
  background: var(--white);
  border-color: var(--white);
}
.social-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .why-header h2 { font-size: 2.5rem; }
  .why-header h2 em { font-size: 2.7rem; }
  .process-header .script-quote { font-size: 2.2rem; }

  /* portrait above the copy, centred */
  .about-split { grid-template-columns: 1fr; gap: 48px; justify-items: center; text-align: center; }
  .about-image { width: 260px; height: 260px; aspect-ratio: auto; }
  .about-content { align-items: center; }
  .about-credentials { justify-content: center; }
}

@media (max-width: 900px) {
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .btn-nav { display: block; text-align: center; }
  .logo-mark img { height: 48px; }
  .site-header.scrolled .logo-mark img { height: 42px; }

  /* The mobile `.container { padding: 0 24px }` rule is declared after
     `.hero-inner`, and being a shorthand it wipes out that element's 160px top
     padding — dropping the hero content underneath the fixed header. Restore the
     vertical padding with longhands so the horizontal value still comes from
     .container. Header is ~89px tall here, so this clears it with room to spare. */
  .hero-inner { padding-top: 124px; padding-bottom: 72px; }

  /* Touch targets. The hamburger was 36x19 and each menu link only 16px tall —
     both well under the ~44px a finger needs. */
  .nav-toggle {
    padding: 12px 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-right: -8px;   /* keep the icon optically aligned with the edge */
  }

  .nav-links { padding: 12px 24px 20px; gap: 0; }

  .nav-links li { width: 100%; }

  .nav-links li a:not(.btn-nav) {
    display: block;
    width: 100%;
    padding: 14px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links li:last-child a { border-bottom: none; }

  .nav-cta { margin-top: 16px; }
  .btn-nav { padding: 15px 22px; }
}

@media (max-width: 768px) {
  .badge-border { width: 212px; height: 212px; }
  .badge-inner { padding: 0 12px; }
  .badge-main { font-size: 1.35rem; }
  .badge-sub { font-size: 0.84rem; }
  .badge-top { font-size: 0.52rem; letter-spacing: 0.16em; }
  .badge-bottom { font-size: 0.48rem; letter-spacing: 0.15em; }
  .hero-content { padding: 52px 26px; }
}

@media (max-width: 480px) {
  .badge-border { width: 178px; height: 178px; }
  .badge-inner { padding: 0 10px; }
  .badge-main { font-size: 1.15rem; }
  .badge-sub { font-size: 0.72rem; }
  .badge-top { font-size: 0.43rem; letter-spacing: 0.11em; }
  .badge-bottom { font-size: 0.4rem; letter-spacing: 0.1em; }

  /* The headline's <br> tags hold it to three fixed lines, which is wider than a
     phone. Let it wrap naturally instead of overflowing. */
  .hero-content { padding: 44px 18px; }
  .hero h1 br { display: none; }
  .hero h1 { font-size: 1.85rem; }
  .hero h1 em { font-size: 2.05rem; }

  /* Accurate / Reliable / Personalized sit on one no-wrap row; tighten the row
     so it fits a phone rather than forcing the whole hero wider than the screen. */
  .hero-trust { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .hero-trust .trust-label { font-size: 0.62rem; letter-spacing: 0.12em; }
}

@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why { padding: 80px 0; }
  .process { padding: 80px 0; }
  .hero-sub { font-size: 1rem; }
  .why-header h2 { font-size: 2.1rem; }
  .why-header h2 em { font-size: 2.3rem; }
  .process-header .script-quote { font-size: 1.8rem; }
  .btn-calendly { width: 100%; justify-content: center; }
  .contact-inner h2 { font-size: 2.1rem; }
  .contact-inner .contact-details { flex-direction: column; gap: 26px; }
  .contact-item a { font-size: 0.95rem; word-break: break-word; }
  .about-credentials { gap: 28px; }
  .cred-num { font-size: 2.1rem; }
  .cred-label { max-width: 110px; font-size: 0.64rem; }
  .industries { padding: 26px 24px; margin-top: 40px; }
  .industries p { font-size: 0.98rem; }
  .about { padding: 72px 0; }
  .about-split { padding: 0 24px; gap: 36px; }
  .about-image { width: 200px; height: 200px; aspect-ratio: auto; outline-offset: 8px; }
}

