/* ==========================================================================
   Billings Tech Guys — "Big Sky at Dusk" design system
   Blue-led (brand) on light surfaces, with sunset accents (pink/purple/red),
   Bricolage Grotesque display · Hanken Grotesk body (18px for legibility).
   The signature: a scroll-drawn gradient "dusk line" threading down the page.
   ========================================================================== */

:root {
  /* Color — the sky over the Rims at dusk */
  --ink:         #241B3E;   /* deep violet ink: headings, primary text */
  --text:        #453D5C;   /* body copy */
  --muted:       #675E82;   /* secondary text (≥4.5:1 on white & mist) */
  --red:         #E8484F;   /* horizon red */
  --pink:        #E23A80;   /* sunset pink — the action color */
  --pink-deep:   #BC2368;
  --purple:      #7B3BEA;   /* dusk violet */
  --purple-deep: #5A2BBF;   /* link-safe violet */
  --blue:        #3E63E8;   /* big-sky blue */
  --blue-deep:   #2C49C4;
  --mist:        #F6F3FB;   /* lavender near-white surface */
  --mist-2:      #EFEAF9;
  --rose:        #FBF1F7;   /* rose near-white surface */
  --line:        #E6E0F0;   /* hairlines */
  --white:       #FFFFFF;

  /* Accent gradient — used for rules, underlines, and borders (blue-led) */
  --grad: linear-gradient(90deg, #ADC2FF, #3E63E8 45%, #2C49C4);

  /* Type */
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(36,27,62,.06), 0 14px 36px -14px rgba(36,27,62,.20);
  --shadow-lg: 0 2px 4px rgba(36,27,62,.07), 0 36px 70px -26px rgba(36,27,62,.32);
  --ease: cubic-bezier(.16, 1, .3, 1);      /* ease-out-expo-ish */

  /* Z scale: thread < content < header < menu < mobile bar */
  --z-thread: 1;
  --z-content: 2;
  --z-float: 5;
  --z-header: 50;
  --z-menu: 60;
  --z-mobilebar: 70;
}

/* Reset-ish ------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  line-height: 1.65;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -.02em; font-weight: 700; font-optical-sizing: auto; text-wrap: balance; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
blockquote { margin: 0; }

/* Layout helpers -------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
main { position: relative; overflow-x: clip; }
.section { padding-block: clamp(3.5rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section > .wrap { position: relative; z-index: var(--z-content); }
.section--tint { background: var(--mist); }
.section--rose { background: var(--rose); }
.center { text-align: center; }

/* Headings scale -------------------------------------------------------- */
.h-hero { font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.025em; }
.h1 { font-size: clamp(2rem, 4vw, 3rem); }
.h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }

/* Section header + gradient underline flourish */
.sec-head { max-width: 44rem; margin-bottom: 3rem; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { position: relative; padding-bottom: 1.1rem; }
.sec-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 72px; height: 4px; border-radius: 4px;
  background: var(--grad);
  transform-origin: left center;
}
.sec-head.center h2::after { left: 50%; margin-left: -36px; transform-origin: center; }
.js .sec-head.reveal h2::after, .js .reveal .sec-head h2::after { transform: scaleX(0); transition: transform .9s .25s var(--ease); }
.js .sec-head.reveal.in h2::after, .js .reveal.in .sec-head h2::after { transform: scaleX(1); }
.sec-head .lead { margin-top: 1rem; }

/* Buttons --------------------------------------------------------------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-weight: 600; font-size: 1.06rem;
  letter-spacing: -.01em;
  padding: .95em 1.85em; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s;
  box-shadow: 0 10px 24px -10px rgba(62,99,232,.6);
}
.btn:hover { transform: translateY(-2px); background: var(--blue-deep); box-shadow: 0 16px 32px -12px rgba(62,99,232,.7); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--sky { --bg: var(--blue); }
.btn--ghost {
  --bg: var(--white); --fg: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: var(--mist); border-color: var(--muted); box-shadow: none; }
.btn--ghost-light { --bg: transparent; --fg: #fff; border: 1.5px solid rgba(255,255,255,.4); box-shadow: none; backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); box-shadow: none; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.1rem; height: 76px; position: relative; }
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand__logo { height: 50px; width: auto; display: block; }
.site-footer .brand__logo { height: 56px; }
@media (max-width: 430px) { .brand__logo { height: 42px; } }
.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__links a {
  font-size: .92rem; font-weight: 500; color: var(--text);
  padding: .5rem .6rem; border-radius: 8px; white-space: nowrap;
  position: relative; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .2rem;
  height: 2px; border-radius: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--blue-deep); font-weight: 600; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: .8rem; }
.nav__phone { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: .98rem; white-space: nowrap; }
.nav__phone span { color: var(--muted); font-size: .62rem; display: block; letter-spacing: .1em; text-transform: uppercase; font-family: var(--body); font-weight: 700; }
.nav__phone:hover { color: var(--blue-deep); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; color: var(--ink); }
.nav__toggle svg { width: 26px; height: 26px; }

/* Full-bleed hero (home) ------------------------------------------------- */
.hero-full {
  position: relative;
  min-height: min(88svh, 840px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-full__media { position: absolute; inset: 0; }
.hero-full__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 8s var(--ease) both;
}
/* Dusk scrim: dark blue-violet base + sunset wash (blue-led) */
.hero-full::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(112deg, rgba(62,99,232,.46), rgba(62,99,232,.22) 55%, rgba(123,59,234,.14)),
    linear-gradient(to top, rgba(15,16,44,.92) 0%, rgba(15,16,44,.46) 46%, rgba(15,16,44,.26) 100%);
}
/* The horizon line at the hero's base — where the dusk thread begins */
.hero-full::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2; pointer-events: none;
  background: var(--grad);
}
.hero-full__content { position: relative; z-index: var(--z-content); width: 100%; padding-block: clamp(4.5rem, 9vw, 7rem) clamp(5.5rem, 10vw, 8.5rem); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6em;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  border-radius: 999px; padding: .45em 1.1em;
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  margin-bottom: 1.6rem;
}
.hero-kicker .stars { color: #ADC2FF; }
.hero-full__title { color: #fff; max-width: 15ch; }
.hero-full__title em { font-style: normal; color: #ADC2FF; }
.hero-full__title b { font-weight: inherit; color: #ADC2FF; }
.hero-full .lead { color: rgba(255,255,255,.9); margin: 1.4rem 0 2.2rem; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-full__trust { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; }
.hero-full__trust .badge { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: rgba(255,255,255,.88); }
.hero-full__trust .badge svg { width: 1.15em; height: 1.15em; color: #ADC2FF; flex: none; }
.stars { color: var(--blue); letter-spacing: 2px; font-size: .9rem; }

/* Hero entrance choreography (CSS-only, plays on load) */
.hero-full__content > * { animation: heroUp .9s var(--ease) both; }
.hero-full__content > *:nth-child(1) { animation-delay: .15s; }
.hero-full__content > *:nth-child(2) { animation-delay: .3s; }
.hero-full__content > *:nth-child(3) { animation-delay: .45s; }
.hero-full__content > *:nth-child(4) { animation-delay: .6s; }
.hero-full__content > *:nth-child(5) { animation-delay: .75s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

/* Floating "come on by" visit card, overlapping the hero ----------------- */
.visit-pull { position: relative; z-index: var(--z-float); margin-top: clamp(-76px, -6vw, -56px); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.visit-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem 2rem; align-items: start;
}
.visit-card__cell { display: flex; gap: .9rem; align-items: flex-start; }
.visit-card__cell b { font-family: var(--display); color: var(--ink); display: block; font-size: 1.02rem; margin-bottom: .15rem; }
.visit-card__cell p { margin: 0; font-size: 1rem; color: var(--muted); }
.visit-card__cell a { color: var(--blue-deep); font-weight: 600; }
.visit-card__cell a:hover { color: var(--purple-deep); }
.visit-card__cta { justify-self: start; }

/* Icon tiles (shared) ---------------------------------------------------- */
.card__ico {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(62,99,232,.10); color: var(--blue-deep);
  margin-bottom: 1.1rem; flex: none;
  transition: transform .3s var(--ease);
}
.card__ico svg { width: 24px; height: 24px; }

/* Marquee service strip --------------------------------------------------- */
.marquee { border-block: 1px solid var(--line); background: var(--mist); overflow: hidden; position: relative; z-index: var(--z-content); }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 3rem; padding: 1.3rem 1.5rem; flex: none; }
.marquee__item { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: .98rem; display: flex; align-items: center; gap: .55rem; white-space: nowrap; }
.marquee__item svg { width: 20px; height: 20px; flex: none; }
.marquee__group .marquee__item:nth-child(5n+1) svg { color: var(--blue); }
.marquee__group .marquee__item:nth-child(5n+2) svg { color: var(--purple); }
.marquee__group .marquee__item:nth-child(5n+3) svg { color: var(--blue-deep); }
.marquee__group .marquee__item:nth-child(5n+4) svg { color: var(--blue-deep); }
.marquee__group .marquee__item:nth-child(5n+5) svg { color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Audience split ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.split-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
  color: #fff; isolation: isolate;
}
.split-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.split-card:hover img { transform: scale(1.05); }
.split-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36,27,62,.12), rgba(36,27,62,.88)); }
.split-card:nth-child(1)::after { background: linear-gradient(180deg, rgba(62,99,232,.10), rgba(36,27,62,.9)); }
.split-card:nth-child(2)::after { background: linear-gradient(180deg, rgba(62,99,232,.10), rgba(36,27,62,.9)); }
.split-card h3 { color: #fff; font-size: 1.6rem; }
.split-card p { color: rgba(255,255,255,.85); margin: .5rem 0 1.2rem; font-size: .98rem; }
.split-card .tag { font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #ADC2FF; }
.split-card:nth-child(2) .tag { color: #ADC2FF; }

/* Service grid ------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .25s var(--ease), box-shadow .35s var(--ease), border-color .2s;
  display: flex; flex-direction: column; position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover .card__ico { transform: scale(1.08) rotate(-3deg); }
/* Blue-led cycle: icon tiles stay blue, with one restrained violet accent */
.cards .card:nth-child(4n+1) .card__ico { background: rgba(62,99,232,.10);  color: var(--blue-deep); }
.cards .card:nth-child(4n+2) .card__ico { background: rgba(44,73,196,.10);  color: var(--blue-deep); }
.cards .card:nth-child(4n+3) .card__ico { background: rgba(123,59,234,.10); color: var(--purple-deep); }
.cards .card:nth-child(4n+4) .card__ico { background: rgba(62,99,232,.10);  color: var(--blue-deep); }
.card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.card p { font-size: 1rem; color: var(--muted); margin: 0; }
.card__link { margin-top: auto; padding-top: 1rem; font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--blue-deep); display: inline-flex; align-items: center; gap: .4rem; }
.card__link svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.card:hover .card__link { color: var(--purple-deep); }
.card:hover .card__link svg { transform: translateX(4px); }
.card--pop { background: linear-gradient(150deg, #F1F3FD, #E8EFFE); }

/* Feature / about band ---------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature__media:hover img { transform: scale(1.04); }
.feature ul.checks { margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; color: var(--text); }
.checks li svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 1px; }

/* Stats ------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: left; }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--ink); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__num span { color: var(--blue-deep); }
.stat__lbl { font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; text-wrap: balance; }

/* Dusk band (formerly .dark) — light gradient wash, never dark ------------ */
.dusk {
  background:
    radial-gradient(760px 420px at 10% -15%, rgba(62,99,232,.12), transparent 60%),
    radial-gradient(680px 420px at 100% 115%, rgba(44,73,196,.12), transparent 58%),
    linear-gradient(158deg, #F1F2FC 0%, #EDF1FC 100%);
  border-block: 1px solid var(--line);
}

/* Testimonials — reviews slide across the full screen ----------------------- */
.rev-marquee { overflow: hidden; position: relative; z-index: var(--z-content); padding-block: .5rem 1rem; }
.rev-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.rev-marquee:hover .rev-track, .rev-track:focus-within { animation-play-state: paused; }
.rev-group { display: flex; align-items: stretch; gap: 1.25rem; padding-inline: .625rem; flex: none; }
.rev-group .quote { width: min(380px, 84vw); flex: none; }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .25s var(--ease), box-shadow .35s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote .stars { font-size: 1rem; }
.quote blockquote { flex: 1; }
.quote p { font-size: 1rem; color: var(--text); font-style: italic; margin: 0; }
.quote__who { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote__who b { font-family: var(--display); color: var(--ink); font-size: .92rem; display: block; }
.quote__who small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.quotes-more { text-align: center; margin-top: 2rem; }
.quotes-more a { font-family: var(--display); font-weight: 600; color: var(--blue-deep); display: inline-flex; align-items: center; gap: .4rem; }
.quotes-more a:hover { color: var(--purple-deep); }
.quotes-more a svg { width: 1em; height: 1em; }

/* Team ---------------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: 1000px; margin-inline: auto; }
.member { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .35s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__photo { aspect-ratio: 1/1; overflow: hidden; background: var(--mist-2); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.06); }
.member__body { padding: 1rem 1.1rem 1.3rem; }
.member__body b { font-family: var(--display); color: var(--ink); font-size: 1.02rem; }
.member__body small { display: block; font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin-top: .3rem; }

/* CTA band — gradient-bordered card ---------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border: 2px solid transparent; border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--grad) border-box;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(62,99,232,.12), transparent 60%),
    radial-gradient(460px 300px at 0% 110%, rgba(44,73,196,.10), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--ink); }
.cta-band .lead { color: var(--muted); margin-inline: auto; margin-bottom: 2rem; margin-top: 1rem; }
.cta-band .hero__actions { justify-content: center; }

/* Footer ---------------------------------------------------------------------- */
.site-footer { background: var(--mist); color: var(--muted); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__grid h4 { color: var(--ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.1rem; }
.footer__grid a { display: block; padding: .45rem 0; font-size: 1rem; color: var(--text); transition: color .2s; }
.footer__grid a:hover { color: var(--blue-deep); }
.footer__brand p { font-size: .95rem; margin: 1rem 0; max-width: 34ch; color: var(--muted); }
.footer__contact { font-size: .9rem; line-height: 1.9; }
.footer__contact a { display: inline; padding: 0; color: var(--blue-deep); }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 44px; height: 44px; border-radius: 12px; background: var(--mist-2); display: grid; place-items: center; padding: 0; transition: background .25s, transform .25s var(--ease); }
.footer__social a:hover { background: var(--blue); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; color: var(--text); transition: color .2s; }
.footer__social a:hover svg { color: #fff; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; color: var(--muted); }
.footer__bottom a { color: var(--text); text-decoration: underline; }
.footer__bottom a:hover { color: var(--blue-deep); }

/* Page hero (interior) ---------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 500px at 88% -30%, rgba(62,99,232,.13), transparent 60%),
    radial-gradient(620px 400px at -10% 120%, rgba(44,73,196,.12), transparent 55%),
    linear-gradient(158deg, #F1F2FC 0%, #EDF1FC 100%);
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); pointer-events: none; }
.page-hero__inner { position: relative; z-index: var(--z-content); max-width: 46rem; }
.page-hero h1 { color: var(--ink); }
.page-hero .lead { color: var(--muted); margin-top: 1.2rem; }
.page-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.breadcrumb { font-family: var(--display); font-weight: 600; font-size: .84rem; color: var(--blue-deep); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--blue-deep); }
.breadcrumb a:hover { color: var(--purple-deep); }

/* Service list (interior) ------------------------------------------------------- */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.svc-item { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s var(--ease), border-color .2s, box-shadow .35s var(--ease); }
.svc-item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-item .card__ico { margin-bottom: 0; }
.svc-list .svc-item:nth-child(4n+1) .card__ico { background: rgba(62,99,232,.10);  color: var(--blue-deep); }
.svc-list .svc-item:nth-child(4n+2) .card__ico { background: rgba(44,73,196,.10);  color: var(--blue-deep); }
.svc-list .svc-item:nth-child(4n+3) .card__ico { background: rgba(123,59,234,.10); color: var(--purple-deep); }
.svc-list .svc-item:nth-child(4n+4) .card__ico { background: rgba(62,99,232,.10);  color: var(--blue-deep); }
.svc-item h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.svc-item p { font-size: 1rem; color: var(--muted); margin: 0; }

/* Contact ------------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: .5rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--body); font-size: 1rem; color: var(--ink); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(62,99,232,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: .5rem; }
.info-panel { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.info-block { display: flex; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; }
.info-block .card__ico { margin: 0; }
.info-panel .info-block:nth-child(4n+1) .card__ico { background: rgba(62,99,232,.12);  color: var(--blue-deep); }
.info-panel .info-block:nth-child(4n+2) .card__ico { background: rgba(44,73,196,.12);  color: var(--blue-deep); }
.info-panel .info-block:nth-child(4n+3) .card__ico { background: rgba(123,59,234,.12); color: var(--purple-deep); }
.info-panel .info-block:nth-child(4n+4) .card__ico { background: rgba(62,99,232,.12);  color: var(--blue-deep); }
.info-block b { font-family: var(--display); color: var(--ink); display: block; margin-bottom: .2rem; }
.info-block p { margin: 0; font-size: 1rem; color: var(--muted); }
.info-block a { color: var(--blue-deep); font-weight: 500; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.5rem; height: 240px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Narrow container (FAQ, focused content) --------------------------------------- */
.wrap--narrow { max-width: 820px; }

/* FAQ accordion ----------------------------------------------------------------- */
.faq { display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.04rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue-deep); line-height: 1; flex: none; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.3rem 1.2rem; }
.faq__a p { margin: 0; color: var(--muted); font-size: .98rem; }

/* How-it-works steps ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: 1.1rem; }
.step b { font-family: var(--display); color: var(--ink); font-size: 1.15rem; display: block; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Reviews wall (reviews page) --------------------------------------------------- */
.reviews-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.reviews-wall .quote { width: auto; }
@media (max-width: 960px) { .reviews-wall { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
@media (max-width: 640px) { .reviews-wall { grid-template-columns: 1fr; } }

/* Rotating Billings Best award badges ------------------------------------------- */
.awards__rotator { position: relative; height: 150px; margin-bottom: 1.1rem; }
.award-badge {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: .15rem;
  background: radial-gradient(circle at 50% 32%, #EAF0FE, #fff 72%);
  border: 3px solid var(--blue); box-shadow: var(--shadow);
  opacity: 0; transition: opacity .6s var(--ease);
}
.award-badge.is-on { opacity: 1; }
.award-badge small { font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); line-height: 1.1; }
.award-badge b { font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--ink); }
/* If real logo images are dropped in as <img class="award-badge">, let them show cleanly */
img.award-badge { width: auto; height: 150px; max-width: 260px; border-radius: 0; object-fit: contain; background: none; border: 0; box-shadow: none; padding: 0; }
.awards__cap { font-size: 1.08rem; color: var(--muted); max-width: 42ch; margin-inline: auto; }
.awards__cap b { color: var(--ink); }

/* Scroll reveals (JS-gated so content is never hidden without JS) --------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal--l { transform: translateX(-52px); }
.js .reveal--r { transform: translateX(52px); }
.js .reveal.in { opacity: 1; transform: none; }

/* The dusk line lights up the CTA band when it reaches it -------------------------
   Dormant (desaturated, flat) until the thread's pen crosses its top edge, then it
   blooms to full color with a soft glow. JS toggles .lit from the thread progress. */
.js .cta-band {
  transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow 1.1s var(--ease);
}
.js .cta-band.lit {
  filter: none;
  box-shadow: 0 26px 80px -28px rgba(62,99,232,.45), 0 16px 60px -26px rgba(44,73,196,.32);
}

/* Sticky mobile call/directions bar ---------------------------------------------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta__btn {
    display: flex; align-items: center; justify-content: center; gap: .45em;
    font-family: var(--display); font-weight: 600; font-size: 1.05rem;
    padding: .9em; border-radius: 12px; background: var(--blue); color: #fff;
  }
  .mobile-cta__btn svg { width: 1.05em; height: 1.05em; }
  .mobile-cta__btn--alt { background: var(--blue-deep); }
  body { padding-bottom: 84px; }
}

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-list, .split { grid-template-columns: 1fr; }
  .hero-full { min-height: min(80svh, 720px); }
}
/* Nav collapses to a menu button early — 6 links don't fit below desktop width */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 76px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem; gap: .2rem; box-shadow: var(--shadow); z-index: var(--z-menu);
  }
  .nav.open .nav__links a { padding: .85rem .6rem; font-size: 1.05rem; }
  .nav.open .nav__links a::after { display: none; }
}
@media (max-width: 720px) {
  .cards, .quotes { grid-template-columns: 1fr; }
  /* Team stays two-up on phones so the headshots stay headshot-sized */
  .team { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .member__body { padding: .75rem .85rem 1rem; }
  .member__body b { font-size: .95rem; }
  .member__body small { font-size: .62rem; }
  .visit-pull { margin-top: -48px; }
  .visit-card { gap: 1.1rem; }
  .hero-full { min-height: min(78svh, 680px); }
  .hero-full__content { padding-block: 3.5rem 5rem; }
  .hero-kicker { font-size: .8rem; padding: .4em .95em; }
  .marquee__group { gap: 2rem; padding: 1.05rem 1rem; }
  .sec-head { margin-bottom: 2.2rem; }
  .stat__lbl { letter-spacing: .08em; }
  /* The sticky bottom bar already carries Call + Directions on phones, so the
     hero's secondary phone button is redundant — drop it to focus the one action. */
  .hero-full .hero__actions .btn--ghost-light,
  .page-hero__actions .btn--ghost { display: none; }
}
@media (max-width: 430px) {
  .nav__phone span { display: none; }
  .nav__phone { font-size: .9rem; }
}

/* Reduced motion: everything readable, nothing required to move ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal--l, .js .reveal--r { opacity: 1; transform: none; transition: none; }
  .js .sec-head.reveal h2::after, .js .reveal .sec-head h2::after { transform: scaleX(1); transition: none; }
  .hero-full__content > *, .hero-full__media img { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .btn:hover, .card:hover, .quote:hover, .member:hover, .svc-item:hover, .footer__social a:hover { transform: none; }
  .split-card:hover img, .member:hover .member__photo img, .feature__media:hover img { transform: none; }
  .js .cta-band, .js .cta-band.lit { filter: none; transition: none; box-shadow: none; }
  /* Reviews become a swipeable static row instead of auto-sliding */
  .rev-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rev-track { animation: none; }
  .rev-group[aria-hidden="true"] { display: none; }
}
