/* =========================================================
   Tarneit Fencing — styles.css
   Mobile-first. Navy #1e2d50 / gold #c9a44a.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy:        #1e2d50;
  --navy-deep:   #16223c;
  --navy-mid:    #2b3d66;
  --navy-soft:   #f2f4f9;
  --gold:        #c9a44a;
  --gold-dark:   #ab8833;
  --gold-soft:   #f6efdd;

  --ink:         #161d2b;
  --body:        #4d566b;
  --muted:       #7b8598;
  --line:        #e3e7ef;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fb;

  --wrap:        1180px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 2px rgba(22,34,60,.06), 0 2px 8px rgba(22,34,60,.06);
  --shadow-md:   0 10px 30px rgba(22,34,60,.10);
  --shadow-lg:   0 24px 60px rgba(22,34,60,.16);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { font-size: 1.16rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy-deep);
  padding: .75rem 1.25rem; font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem;
  font: inherit; font-weight: 700; font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

.btn--gold  { background: var(--gold); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(201,164,74,.32); }
.btn--gold:hover  { background: #d8b45c; color: var(--navy-deep); box-shadow: 0 10px 26px rgba(201,164,74,.4); }
.btn--navy  { background: var(--navy); color: #fff; }
.btn--navy:hover  { background: var(--navy-mid); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--phone { background: var(--gold); color: var(--navy-deep); padding: .6rem 1rem; font-size: .9rem; }
.btn--phone:hover { background: #d8b45c; color: var(--navy-deep); }
.btn--lg    { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--sm    { padding: .55rem 1rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  margin: 0 0 .75rem;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--dark { color: var(--gold-dark); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  font-size: .76rem; letter-spacing: .04em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; min-height: 36px; text-align: center;
}
.topbar__tag { color: var(--gold); font-weight: 800; letter-spacing: .2em; }
.topbar__meta { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 70px;
}

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand__mark { height: 40px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 900; font-size: 1.12rem; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.brand__tag {
  font-size: .6rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-dark); margin-top: 2px; white-space: nowrap;
}

.site-header__actions { display: flex; align-items: center; gap: .6rem; }
.btn--phone span { display: none; }

.nav-toggle {
  width: 44px; height: 42px; padding: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--navy-soft); border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2.5px; width: 100%; border-radius: 2px;
  background: var(--navy); transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  max-height: 0; overflow: hidden;
  transition: max-height .3s var(--ease);
}
.nav.is-open { max-height: 420px; }
.nav__list { padding: .5rem 20px 1.25rem; }
.nav__list a {
  display: block; padding: .85rem .25rem;
  font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav__list li:last-child a { border-bottom: 0; }
.nav__list a:hover, .nav__list a.is-active { color: var(--gold-dark); }
.nav__list .nav__cta { color: var(--gold-dark); font-weight: 800; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: #2a3550 url("../images/hero-front-fence.webp") center 62% / cover no-repeat;
  filter: saturate(1.05) contrast(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(22,34,60,.94) 0%, rgba(22,34,60,.80) 48%, rgba(30,45,80,.58) 100%),
    linear-gradient(180deg, rgba(22,34,60,.55) 0%, rgba(22,34,60,.25) 40%, rgba(22,34,60,.80) 100%);
}
.hero__inner { padding: 3rem 20px 3.25rem; color: #fff; }
.hero__grid { display: grid; gap: 2rem; }
.hero__copy { max-width: 620px; }
.hero h1 { color: #fff; margin-bottom: .6rem; text-wrap: balance; }
.hero__sub {
  font-size: 1.06rem; color: rgba(255,255,255,.86);
  max-width: 46ch; margin-bottom: 1.8rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__cta .btn { flex: 1 1 auto; min-width: 200px; }
.hero__points {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.82);
}
.hero__points li { display: flex; align-items: center; gap: .5rem; }
.hero__points li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex: none;
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.82); }
.section--navy h2 { color: #fff; }

.section__head { max-width: 640px; margin-bottom: 2.25rem; }
.section__lede { font-size: 1.03rem; color: var(--body); }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 1.1rem; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6dce8; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-bottom: 1rem;
  background: var(--navy); border-radius: 12px;
}
.card__icon svg { width: 26px; height: 26px; fill: var(--gold); }
.card h3 { margin-bottom: .45rem; color: var(--navy); }
.card p { font-size: .95rem; }

/* ---------- Service area ---------- */
.areas { display: grid; gap: 1.75rem; }
.areas__title { color: var(--navy); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip {
  padding: .45rem .85rem; font-size: .87rem; font-weight: 600;
  color: var(--navy); background: #fff;
  border: 1px solid var(--line); border-radius: 30px;
  box-shadow: var(--shadow-sm);
}
.chip--hub { background: var(--navy); color: #fff; border-color: var(--navy); }
.areas__note { font-size: .92rem; color: var(--muted); margin-bottom: 1.25rem; }

/* ---------- About / why us ---------- */
.about { display: grid; gap: 2.5rem; }
.about__lede { font-size: 1.03rem; margin-bottom: 1.75rem; }
.ticks { display: grid; gap: 1.3rem; }
.ticks li { position: relative; padding-left: 2.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ab8833'%3E%3Cpath d='M9.6 17.2 4.4 12l1.8-1.8 3.4 3.4 8-8L19.4 7.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ticks h3 { margin-bottom: .2rem; color: var(--navy); font-size: 1.04rem; }
.ticks p { font-size: .95rem; }

.about__side { display: grid; gap: 1rem; align-content: start; }
.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.panel--navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
}
.panel__kicker {
  font-size: .72rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .4rem;
}
/* ---------- Recent work marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: .35rem 0;
  /* fade the strip out at both edges so items don't pop in and out */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}
.marquee__set { display: flex; gap: 1rem; padding-right: 1rem; }
.marquee__set li { flex: none; }
.marquee__set img {
  display: block;
  height: 200px; width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--navy-soft);
}

/* two identical sets sit side by side, so shifting by half the track
   lands exactly on the start of the second — no visible seam */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
  .marquee__set[aria-hidden="true"] { display: none; }
}

/* ---------- Reviews (section currently parked in index.html — styles kept for restore) ---------- */
.reviews { display: grid; gap: 1.1rem; }
.review {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.stars { color: var(--gold); letter-spacing: .18em; font-size: 1.02rem; margin-bottom: .7rem; }
.review__text { font-size: .97rem; color: var(--ink); margin-bottom: 1.1rem; }
.is-placeholder { font-style: italic; opacity: .85; }
.review__text.is-placeholder { color: var(--muted); opacity: 1; }
.review footer {
  display: flex; flex-direction: column; margin-top: auto;
  padding-top: .9rem; border-top: 1px solid var(--line);
}
.review footer strong { color: var(--navy); font-size: .93rem; }


/* ---------- Quote form ---------- */
.quote { display: grid; gap: 2.25rem; }
.quote__intro p { color: rgba(255,255,255,.78); }
.nap {
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid; gap: .8rem;
}
.nap li { display: grid; gap: 2px; }
.nap__label {
  font-size: .68rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}
.nap__value { color: #fff; font-weight: 600; font-size: .97rem; }
.nap__value a { color: #fff; }
.nap__value a:hover { color: var(--gold); }

.qform {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-lg);
  display: grid; gap: 1rem;
}
.field { display: grid; gap: .35rem; margin: 0; }
.field-row { display: grid; gap: 1rem; }
.field label {
  font-size: .82rem; font-weight: 700; color: var(--ink);
  letter-spacing: .01em;
}
.field label span { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a8b0be; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,164,74,.18);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__note { font-size: .85rem; color: var(--muted); text-align: center; margin: 0; }
.qform__note a { font-weight: 700; color: var(--navy); }
.qform__note.is-error { color: #c0392b; font-weight: 600; }
.qform__note.is-success { color: #1c7a48; font-weight: 600; }


/* ---------- Hero quote card ---------- */
.qform--hero {
  gap: .8rem;
  padding: 1.4rem;
  box-shadow: 0 26px 64px rgba(8,14,28,.42);
  border: 1px solid rgba(255,255,255,.14);
  align-self: start;
}
.qform__title {
  font-size: 1.22rem; color: var(--navy); margin-bottom: .15rem;
}
.qform__sub {
  font-size: .85rem; color: var(--muted); margin: 0 0 .35rem;
}
.qform--hero .field input,
.qform--hero .field select,
.qform--hero .field textarea {
  padding: .66rem .8rem; font-size: .92rem;
}
.qform--hero .field textarea { min-height: 72px; }
.qform--hero .qform__note { font-size: .8rem; }


/* ---------- Stats bar ---------- */
.stats { background: var(--navy-deep); color: #fff; }
.stats__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.stat {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  text-align: center; position: relative; padding: 0 .4rem;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 15%; bottom: 15%;
  width: 1px; background: rgba(255,255,255,.16);
}
.stat strong {
  font-size: clamp(1.25rem, 4.5vw, 1.9rem); font-weight: 900;
  letter-spacing: -.02em; color: var(--gold); line-height: 1.15;
}
.stat span {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.72);
}

/* ---------- Why-us stats panel ---------- */
.whystats__list { display: grid; gap: 1.1rem; margin-top: .5rem; }
.whystats__list li {
  display: flex; flex-direction: column;
  padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.whystats__list li:last-child { padding-bottom: 0; border-bottom: 0; }
.whystats__list strong {
  font-size: 1.55rem; font-weight: 900; color: var(--gold);
  letter-spacing: -.02em; line-height: 1.1;
}
.whystats__list span { font-size: .87rem; color: rgba(255,255,255,.72); }

/* ---------- Process timeline ---------- */
.timeline { display: grid; gap: 1.1rem; counter-reset: none; }
.timeline__step {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.timeline__num {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: .9rem;
  border-radius: 11px; background: var(--navy);
  color: var(--gold); font-size: 1.05rem; font-weight: 900;
}
.timeline__step h3 { color: var(--navy); margin-bottom: .3rem; }
.timeline__step p { font-size: .93rem; }

/* ---------- Rating badge ---------- */
.rating-badge {
  margin: 1.75rem auto 0; width: max-content; max-width: 100%;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: .55rem;
  padding: .7rem 1.25rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 40px; box-shadow: var(--shadow-sm);
  font-size: .9rem; font-weight: 600; color: var(--ink);
  text-align: center;
}
.rating-badge .stars { margin: 0; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 860px; }
.faq__item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 700; font-size: .99rem; color: var(--navy);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--gold-dark);
  border-bottom: 2.5px solid var(--gold-dark);
  transform: rotate(45deg);
  transition: transform .22s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__item summary:hover { color: var(--gold-dark); }
.faq__body { padding: 0 1.25rem 1.2rem; }
.faq__body p { font-size: .95rem; }
.faq__body q { font-style: italic; }

/* ---------- Long-form trust / SEO block ---------- */
.seo-block { max-width: 1000px; }
.seo-block > h2 { margin-bottom: 1.5rem; }
.seo-block__grid { display: grid; gap: 0 2.75rem; }
.seo-block h3 {
  color: var(--navy); margin-bottom: .35rem; font-size: 1.04rem;
}
.seo-block h3 + p { margin-bottom: 1.5rem; }
.seo-block p { font-size: .95rem; }

.post__meta {
  margin-top: auto; padding-top: .9rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.card:has(.post__meta) { display: flex; flex-direction: column; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,.8);
}
.cta-band__inner {
  display: grid; gap: 1.5rem;
  padding-top: 2.75rem; padding-bottom: 2.75rem;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { font-size: 1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band__actions .btn { flex: 1 1 auto; min-width: 190px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.68); font-size: .92rem; }
.footer__grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 2.25rem; }
.brand--footer .brand__name { color: #fff; }
.footer__blurb { margin: 1rem 0 .75rem; max-width: 42ch; }
.footer__abn { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer__title {
  font-size: .76rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .9rem;
}
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { color: rgba(255,255,255,.78); }
.footer__col a:hover { color: var(--gold); }
.footer__areas { font-size: .86rem; line-height: 1.9; }
.footer__contact li:last-child { margin-top: .5rem; }
.footer__contact .btn { color: var(--navy-deep); }
.footer__base {
  display: grid; gap: .4rem;
  padding-top: 1.25rem; padding-bottom: 5.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .78rem; color: rgba(255,255,255,.45);
}
.footer__base p { margin: 0; }

/* ---------- Sticky call button (mobile) ---------- */
.call-fab {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem; border-radius: var(--radius);
  background: var(--gold); color: var(--navy-deep);
  font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 8px 26px rgba(22,34,60,.3);
}
.call-fab:hover { color: var(--navy-deep); }
.call-fab svg { width: 19px; height: 19px; fill: currentColor; }


/* Very small phones — keep the header to a single line */
@media (max-width: 400px) {
  .brand__mark { height: 34px; }
  .brand__name { font-size: 1rem; }
  /* the topbar strip already shows this tagline — no need to repeat it here */
  .brand__tag { display: none; }
  .site-header__inner { min-height: 62px; gap: .5rem; }
  .btn--phone { padding: .55rem .7rem; }
  .nav-toggle { width: 40px; height: 38px; }
  .hero__cta .btn { min-width: 100%; }
  .qform--hero { padding: 1.15rem; }
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .cards, .reviews, .timeline { grid-template-columns: repeat(2, 1fr); }
  .btn--phone span { display: inline; }
  .qform { padding: 2rem; }
}

@media (min-width: 860px) {
  .topbar__meta { display: inline; }
  .section { padding: 5rem 0; }
  .hero__inner { padding: 4.25rem 20px 4rem; }
  .about { grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: stretch; }
  .about__side { align-content: stretch; }
  /* Card is stretched to the copy column's height — give each stat an equal share of it
     so the panel reads as a designed stat sheet, not content with a gap underneath. */
  .whystats { display: flex; flex-direction: column; }
  .whystats .panel__kicker { flex: none; }
  .whystats__list { display: flex; flex-direction: column; gap: 0; flex: 1 1 auto; margin-top: 0; }
  .whystats__list li { flex: 1 1 0; justify-content: center; padding: 1rem 0; }
  /* base rule strips the last row's padding for the short card; restore it when stretched
     so all four rows come out the same height */
  .whystats__list li:last-child { padding-bottom: 1rem; }
  .marquee__set img { height: 280px; }
  .marquee__set { gap: 1.25rem; padding-right: 1.25rem; }
  .seo-block__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
  .cta-band__actions .btn { flex: 0 0 auto; }
  .stat span { font-size: .8rem; }
  .quote { grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 2.5rem; }
  .footer__base { flex-direction: row; display: flex; justify-content: space-between; padding-bottom: 1.5rem; }
  .call-fab { display: none; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .review { padding: 1.4rem; }
}

@media (min-width: 1140px) {
  .hero__grid { grid-template-columns: 1.1fr minmax(380px, .9fr); gap: 3rem; align-items: center; }
  .qform--hero { padding: 1.75rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .nav {
    position: static; max-height: none; overflow: visible;
    background: none; box-shadow: none; border: 0;
  }
  .nav__list { display: flex; gap: .1rem; padding: 0; }
  .nav__list a {
    padding: .5rem .6rem; border-bottom: 0;
    font-size: .88rem; border-radius: var(--radius);
  }
  .nav__list a:hover { background: var(--navy-soft); }
  .nav__list a.is-active { background: var(--navy-soft); color: var(--navy); }
  .nav-toggle { display: none; }
  .site-header__inner { min-height: 78px; }
  .brand__mark { height: 46px; }
  .brand__name { font-size: 1.2rem; }
}
