/* =========================================================
   V2 — ACTIVE REDESIGN STYLESHEET
   ---------------------------------------------------------
   Vanilla CSS port of the mockup in /mockup/app/globals.css.
   Loaded by index.html (V2). The V1 stylesheet lives at
   /css/styles-v1.css and is NOT loaded from the active site.
   ---------------------------------------------------------
   Palette: navy #061a32 · gold #f1b52a · ink #0c1831
   Font:    Manrope (Google Fonts)
   ========================================================= */

:root {
  --navy: #061a32;
  --navy-2: #092440;
  --navy-3: #0e3156;
  --gold: #f1b52a;
  --gold-2: #d79512;
  --gold-deep: #a06d09; /* AA-compliant gold on light bg */
  --ink: #0c1831;
  --muted: #5c687a;
  --line: #dfe6ef;
  --soft: #f4f6f9;
  --white: #ffffff;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --radius: 24px; /* legacy alias */

  --shadow: 0 22px 70px rgba(6, 26, 50, 0.14);
  --focus-ring: 3px solid rgba(241, 181, 42, 0.55);

  --section-y: clamp(56px, 7vw, 96px);

  --font-main: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Global focus-visible (#9) ---------- */
/* Outlines follow each element's own border-radius in modern browsers,
   so we only set the ring + offset here — no border-radius override. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}
.btn:focus-visible { outline-offset: 3px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin-top: 0; }

.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: white;
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}
.nav-wrap { height: 92px; display: flex; align-items: center; gap: 28px; position: relative; }
.logo-link { display: flex; width: 292px; align-items: center; }
.logo-link img { object-fit: contain; width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 28px; flex: 1; font-size: 14px; font-weight: 800; }
.desktop-nav a { opacity: .94; padding: 34px 0; position: relative; }
.desktop-nav a.active, .desktop-nav a:hover { color: var(--gold); }
.desktop-nav a.active:after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 3px; background: var(--gold); border-radius: 999px; }
.nav-contact { display: flex; align-items: center; gap: 9px; color: white; font-weight: 900; }
.nav-contact small { display: block; font-size: 10px; font-weight: 700; opacity: .72; margin-top: 1px; }

/* Mobile menu toggle (hamburger) — hidden on desktop */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  margin-left: auto;
}
.mobile-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 25px;
  border-radius: var(--r-sm); /* #13 */
  font-weight: 900;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,.15); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #08182c; box-shadow: 0 6px 16px rgba(215, 149, 18, .22); }
.btn-navy { background: var(--navy); color: white; box-shadow: 0 4px 12px rgba(6, 26, 50, .18); } /* #15 */
.btn-outline-gold { border: 2px solid var(--gold); color: var(--gold); background: transparent; min-height: 48px; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn.small { min-height: 45px; padding-inline: 19px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden;
  /* background: linear-gradient(112deg,#fff 0%,#fff 49%,#eef3f8 49%,#eef3f8 100%);  */
}
.hero-grid { min-height: 578px; display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 34px; }
.hero-copy { padding: 40px 0; }
.eyebrow { margin: 0 0 21px; color: #27364d; text-transform: uppercase; font-size: 16px; letter-spacing: .06em; font-weight: 800; }
.eyebrow.gold { color: var(--gold-deep); } /* #12 — AA contrast on light bg */
.hero h1 { font-size: clamp(44px, 7vw, 82px); line-height: .98; letter-spacing: -0.05em; margin-bottom: 27px; color: #081a34; font-weight: 800; }
.hero h1 span { color: var(--gold-2); display: block; position: relative; }
.hero h1 span:after { content: ""; display: block; width: 250px; max-width: 100%; height: 16px; border-bottom: 5px solid var(--gold); border-radius: 50%; margin-top: -5px; } /* #16 — re-enabled */
.hero-text { max-width: 555px; color: #27364d; font-weight: 600; font-size: 18px; line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; font-weight: 800; color: #14213a; font-size: 14px; }
.hero-meta span { display: inline-flex; gap: 10px; align-items: left; }
.hero-meta-phone { font-size: 16px; }
.hero-nationwide { text-transform: uppercase; }
.hero-email { display: inline-flex !important; flex-direction: column; align-items: flex-start; gap: 0; }
.hero-email__label { font-size: 12px; font-weight: 700; color: var(--gold-2); letter-spacing: .06em; text-transform: uppercase; opacity: .7; line-height: 1; margin-bottom: -4px; }
.hero-email__link { display: flex; gap: 8px; align-items: center; }
.hero-art { align-self: stretch; }
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }

/* ---------- Services (dark) ---------- */
.dark-section { background: var(--navy); color: white; }
.services { padding: var(--section-y) 0; } /* #4 */
.section-title { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--gold); margin-bottom: 36px; }
.section-title h2 { margin: 0; font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; letter-spacing: -.02em; color: white; text-transform: none; line-height: 1.1; } /* #6 */
.section-title span { width: 56px; height: 2px; background: var(--gold); } /* #18 */
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { border: 1px solid rgba(255,255,255,.19); border-radius: var(--r-md); padding: 34px; background: rgba(255,255,255,.04); min-height: 206px; transition: transform .25s ease, background .25s ease, border-color .25s ease; } /* #13 */
.service-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(241, 181, 42, .55); } /* #14 */
.icon-ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold); margin-bottom: 18px; }
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: rgba(255,255,255,.86); line-height: 1.65; font-weight: 500; margin: 0; }

/* ---------- Hire Talent (split) ---------- */
.split-section { padding: var(--section-y) 0; background: #f7f8fb; } /* #4 */
.hire-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: center; }
/* #8 — removed dead .about-inner h2, .contact-form h2 rule (neither selector exists in markup) */
.copy-block h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 20px; font-weight: 800; }
.copy-block p { color: #344258; font-weight: 500; line-height: 1.72; margin-bottom: 18px; }
.copy-block .eyebrow { font-weight: 800;}

/* ---- Payroll-style gallery: grid on widescreen, carousel on tablet/mobile ---- */
.payroll__gallery {
  --pg-gap: 16px;
  --pg-visible: 2;
  width: 100%;
  position: relative;
  z-index: 1;
}
.payroll__gallery-viewport { overflow: visible; }
.payroll__gallery-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.payroll__gallery-slide {
  position: relative;
  border-radius: var(--r-md); /* #13 */
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  background: var(--soft);
}
.payroll__gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.payroll__gallery-slide:hover img { transform: scale(1.05); }

/* ---------- About ---------- */
.about-section {
  position: relative;
  background: #f3f5f8;
  padding: var(--section-y) 0; /* #4 */
  overflow: hidden;
}
/* Navy backdrop bleeds to the viewport's left edge and has a
   subtle diagonal cut on the right. Sits behind the content. */
.about-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(50% + 60px);
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); /* #17 — deeper angle */
  z-index: 0;
}
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-right { padding-left: 60px; min-width: 0; }
.about-right > p { margin-bottom: 6px; }
.about-right > p + p { margin-bottom: 0; }
.about-left { color: white; }
.about-left .eyebrow { margin-bottom: 10px; }
.about-left h2 { color: white; }
.about-left p { color: rgba(255,255,255,.88); line-height: 1.7; font-weight: 500; margin-bottom: 22px; }
.about-right p { font-size: 16px; line-height: 1.65; color: #324054; font-weight: 600; margin-bottom: 5px; }
.audience-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 25px; }
.audience-card {
  min-height: 175px;
  border-radius: var(--r-md); /* #13 */
  background: white;
  box-shadow: 0 15px 48px rgba(6,26,50,.08);
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 24px 16px;
  text-align: center;
  font-weight: 800;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: 0 22px 56px rgba(6,26,50,.14); } /* #14 */
.audience-card svg { color: var(--gold-2); }
.audience-card span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.45; max-width: 22ch; margin-top: 2px; } /* #20 */

/* ---------- Candidate CTA ---------- */
.candidate-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  padding: var(--section-y) 0; /* #4 */
}
.cta-grid { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 30px; }
.cta-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.candidate-cta h2 { margin-bottom: 10px; color: #091b34; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; } /* #7 */
.candidate-cta p { margin: 0; max-width: 740px; font-weight: 600; line-height: 1.55; color: #132137; }

/* ---------- Testimonials ---------- */
.testimonials { padding: var(--section-y) 0; background: white; text-align: center; } /* #4 */
.testimonials h2 { text-transform: uppercase; color: var(--gold-deep); letter-spacing: .045em; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; } /* #12 — deeper gold for AA on white */

/* Testimonial card (lives inside .tc2 carousel slides) */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 50px;
  border: 1px solid var(--line);
  border-radius: var(--r-md); /* #13 */
  box-shadow: 0 20px 50px rgba(6,26,50,.06);
  background: #fff;
  text-align: left;
  height: 100%;
}
.testimonial__quote { width: 36px; height: 36px; color: rgba(241, 181, 42, 0.35); }
.testimonial blockquote { margin: 0; font-size: 18px; color: #25334a; line-height: 1.65; font-weight: 500; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.testimonial figcaption strong { color: var(--ink); font-weight: 800; font-size: 1rem; }
.testimonial figcaption span { color: var(--gold-2); font-size: 0.85rem; font-weight: 600; }

/* Carousel — slide widths come from CSS calc(); JS only computes the
   transform offset from clientWidth. Show 1 slide at all breakpoints. */
.tc2 { --tc2-gap: 0px; --tc2-visible: 1; max-width: 820px; margin: 24px auto 0; position: relative; }
.tc2__nav {
  position: absolute;
  top: 50%; /* #19 — true center */
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6,26,50,.10);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}
.tc2__nav:hover { background: var(--gold-2); color: #fff; box-shadow: 0 10px 28px rgba(6,26,50,.18); }
.tc2__nav:focus-visible { outline: 3px solid rgba(241, 181, 42, 0.45); outline-offset: 2px; }
.tc2__nav--prev { left: -22px; }
.tc2__nav--next { right: -22px; }
@media (max-width: 900px) {
  .tc2__nav--prev { left: 6px; }
  .tc2__nav--next { right: 6px; }
  .tc2__nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }
  .tc2.is-tapped .tc2__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
@media (max-width: 480px) {
  .tc2__nav { width: 38px; height: 38px; }
}
.tc2__viewport {
  position: relative;
  overflow: hidden;
  padding-block: 8px;
  margin-block: -8px;
}
.tc2__track {
  display: flex;
  gap: var(--tc2-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.tc2__slide {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: calc(
    (100% - var(--tc2-gap) * (var(--tc2-visible) - 1)) / var(--tc2-visible)
  );
  min-width: 0;
}
.tc2__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
.tc2__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(6, 26, 50, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.35s ease;
}
.tc2__dot.is-active { background: var(--gold-2); width: 24px; }
.tc2__dot:hover:not(.is-active) { background: rgba(6, 26, 50, 0.4); }
.tc2__dot:focus-visible { outline: 3px solid rgba(241, 181, 42, 0.45); outline-offset: 2px; }

/* ---------- Contact ---------- */
.contact-section { background: #f1f3f6; padding: var(--section-y) 0 0; overflow: hidden; } /* #4 */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: stretch; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cad4df;
  border-radius: var(--r-sm); /* #13 */
  padding: 14px 16px;
  margin-bottom: 13px;
  background: #fff;
  font: inherit;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8593a8; }
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: #aab6c5; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(241, 181, 42, .25);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23324257' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  color: #324257;
  cursor: pointer;
}
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Honeypot — hidden anti-spam field */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; min-height: 1.4em; font-weight: 700; font-size: 14px; }

.contact-info {
  border-left: 1px solid #cdd5de;
  padding-left: 36px;
  display: grid;
  align-content: center;
  gap: 28px;
}
.info-row { display: flex; gap: 15px; align-items: flex-start; }
.info-row svg { color: var(--gold-2); flex: 0 0 auto; }
.info-row strong, .info-row span { display: block; }
.info-row strong { margin-bottom: 6px; font-weight: 800; }
.info-row span { color: #324257; font-weight: 600; font-size: 14px; line-height: 1.5; }
.agent-photo {
  min-height: 328px;
  position: relative;
  border-top-left-radius: 75px;
  overflow: hidden;
  background: var(--navy);
}
.agent-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: white; padding: 34px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr 1fr;
  gap: 70px;
  border-bottom: 1px solid rgba(255,255,255,.13);
  padding-bottom: 28px;
}
.footer-brand img { width: 250px; height: auto; }
.footer p { color: rgba(255,255,255,.85); line-height: 1.6; max-width: 385px; margin-top: 14px; } /* #11 */
.footer-col strong { display: block; margin-bottom: 15px; text-transform: uppercase; color: white; font-weight: 800; font-size: 14px; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.88); margin-bottom: 10px; font-weight: 600; font-size: 14px; transition: color .2s ease; } /* #11 */
.footer-col a:hover { color: var(--gold); }
.footer-item { display: flex !important; align-items: center; gap: 10px; }
.footer-item svg { flex-shrink: 0; color: var(--gold); }
.footer-item a { display: inline; margin-bottom: 0; }
.copyright { padding-top: 18px; color: rgba(255,255,255,.82); font-size: 13px; } /* #10 */

/* =========================================================
   Responsive — Tablet
   ========================================================= */
@media (max-width: 1080px) {
  .hire-grid { gap: 32px; }
  .contact-grid { gap: 24px; }
  .footer-grid { gap: 40px; }
  .nav-wrap { gap: 18px; }
  .logo-link { width: 230px; }
  .desktop-nav { gap: 20px; font-size: 13px; }
}

/* 2-column step on tablets (#21, #22) */
@media (min-width: 621px) and (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  /* Header → mobile menu */
  .nav-wrap { height: 76px; }
  .desktop-nav,
  .nav-contact,
  .btn-outline-gold.nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  .desktop-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 14px 36px rgba(0,0,0,.16);
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 60;
  }
  .desktop-nav.is-open a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .desktop-nav.is-open a.active:after { display: none; }

  /* Layout collapse */
  .hero-grid,
  .hire-grid,
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; }
  .hero { background: white; }
  .hero-grid { gap: 28px; }
  .hero-copy { padding: 50px 0; }

  .service-grid,
  .audience-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 18px; }
  .audience-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }

  .cta-grid { grid-template-columns: 88px 1fr; gap: 20px; }
  .cta-btn { grid-column: 1 / -1; justify-self: start; }

  /* About: full-bleed stacked panels on tablet/mobile */
  .about-section { padding: 0; }
  .about-bg { display: none; }
  .about-section > .container.about-grid { width: 100%; max-width: none; padding: 0; gap: 0; }
  .about-left { background: var(--navy); padding: 48px clamp(20px, 5vw, 40px); }
  .about-right { padding: 48px clamp(20px, 5vw, 40px); }

  .contact-info { border-left: none; padding-left: 0; padding-top: 12px; }
  .agent-photo { min-height: 280px; border-top-left-radius: 60px; }

  .testimonial { padding: 28px 30px; }

  .footer-grid { gap: 30px; padding-bottom: 22px; }
  .footer p { max-width: none; }
}

/* =========================================================
   Responsive — Mobile
   ========================================================= */
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .logo-link { width: 200px; }
  .nav-wrap { gap: 10px; }

  .hero h1 { font-size: 44px; }
  .hero h1 span:after { width: 180px; height: 12px; border-bottom-width: 4px; }
  .hero-text { font-size: 16px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 0; padding: 0 16px; font-size: 13px; }
  .hero-meta { gap: 14px; font-size: 13px; }
  .hero-meta-phone { font-size: 15px; }
  .hero-nationwide { flex-basis: 100%; }

  /* #5 — section padding now driven by --section-y; only per-section overrides remain */
  .service-card { padding: 26px; }
  .icon-ring { width: 64px; height: 64px; }

  .about-left,
  .about-right { padding: 40px clamp(18px, 5vw, 28px); }

  .cta-grid { grid-template-columns: 1fr; text-align: left; gap: 14px; }
  .cta-icon { width: 72px; height: 72px; }

  .testimonial { padding: 22px 20px; }
  .testimonial blockquote { font-size: 16px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .agent-photo { border-top-left-radius: 48px; min-height: 240px; }

  .footer-grid { gap: 24px; }
  .footer-brand img { width: 200px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .hero-actions .btn { font-size: 12px; padding: 0 12px; gap: 6px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 0; padding: 18px 14px; } /* #23 */
}

/* ---- Mobile: single-column grid ---- */
@media (max-width: 600px) {
  .payroll__gallery-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .payroll__gallery-slide {
    box-shadow: 0 6px 18px rgba(6, 26, 50, 0.10);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
