/* ============================================================
   Matteson Plumbing — modern blue-collar stylesheet
   Dark, bold, animated. Built for trust + conversion + SEO.
   ============================================================ */

/* --- Design tokens --- */
:root {
  /* Surfaces */
  --bg:       #080b11;
  --bg-2:     #0d121b;
  --bg-3:     #121a26;
  --panel:    #0f1622;
  --card:     #131c2b;
  --card-hov: #18243a;

  /* Brand */
  --blue:     #2b7fff;
  --blue-lt:  #5b9dff;
  --blue-dk:  #1a5fd6;
  --cyan:     #22d3ee;
  --orange:   #ff7a1a;
  --orange-dk:#ed6b09;

  /* Text */
  --white:    #f3f7fc;
  --off:      #cdd8e6;
  --muted:    #8696ac;
  --faint:    #56657c;

  /* Status */
  --green:    #2bd97a;
  --yellow:   #fbbf24;

  /* Signature gradient */
  --grad:     linear-gradient(120deg, var(--blue), var(--cyan));
  --grad-warm:linear-gradient(120deg, var(--orange), #ffb056);

  /* Geometry */
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow:    0 10px 40px rgba(0,0,0,.5);
  --shadow-blue: 0 10px 40px rgba(43,127,255,.28);
  --ring:      0 0 0 1px rgba(255,255,255,.06);

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

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; border: none; outline: none; background: transparent; color: inherit; }
::selection { background: var(--blue); color: #fff; }

/* --- Layout --- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.container--narrow { max-width: 860px; }
.section    { padding: 6rem 0; position: relative; }
.section--tight { padding: 4rem 0; }
.section--alt   { background: var(--bg-2); }
.section--panel { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.center { text-align: center; }
.mt  { margin-top: 1.75rem; }
.mt-sm { margin-top: .85rem; }
.mt-lg { margin-top: 2.5rem; }

/* Section divider hairline */
.hairline { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); border: 0; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 750; letter-spacing: -.01em; }
h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .9rem; }
p  { color: var(--off); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--off); max-width: 660px; line-height: 1.7; }
.prose p { margin-bottom: 1.1rem; color: var(--off); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 2rem 0 .75rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue-lt); margin-bottom: 1rem;
}
.eyebrow svg { width: 15px; height: 15px; }
.eyebrow--pill {
  padding: .4rem .9rem; border-radius: 100px;
  background: rgba(43,127,255,.1); border: 1px solid rgba(43,127,255,.22);
}
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-solid { color: var(--blue-lt); }

/* --- Brand wordmark --- */
.brand-text { font-size: 1.45rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.brand-m { color: var(--blue); font-size: 1.6rem; }
.brand-p { color: var(--muted); font-weight: 650; }
.ft-brand-text { font-size: 1.7rem; display: inline-block; margin-bottom: .6rem; }

/* --- Buttons --- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: var(--radius);
  font-size: .96rem; font-weight: 700; white-space: nowrap;
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 18px rgba(43,127,255,.32);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
  isolation: isolate;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(43,127,255,.45); background: var(--blue-dk); }
.btn:active { transform: translateY(0); }
.btn svg    { width: 18px; height: 18px; flex-shrink: 0; }
.btn--call  { background: var(--orange); box-shadow: 0 4px 18px rgba(255,122,26,.34); }
.btn--call:hover { background: var(--orange-dk); box-shadow: 0 10px 28px rgba(255,122,26,.5); }
.btn--ghost { background: rgba(255,255,255,.03); color: var(--white); border: 1.5px solid rgba(255,255,255,.16); box-shadow: none; }
.btn--ghost:hover { border-color: var(--blue-lt); color: var(--blue-lt); background: rgba(43,127,255,.06); box-shadow: none; }
.btn--lg  { padding: 1rem 2.1rem; font-size: 1.06rem; }
.btn--sm  { padding: .55rem 1.1rem; font-size: .86rem; }
.btn--block { width: 100%; }

/* Pulse ring on primary call buttons */
.btn--call.btn--lg::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--orange); opacity: 0; z-index: -1;
  animation: pulse-ring 2.6s var(--ease) infinite;
}
@keyframes pulse-ring {
  0%   { opacity: .6; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.18); }
  100% { opacity: 0;  transform: scale(1.18); }
}

/* --- Top bar --- */
.topbar { background: var(--bg-3); border-bottom: 1px solid rgba(255,255,255,.05); }
.topbar-in {
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
  padding-block: .5rem; font-size: .78rem; color: var(--muted);
}
.tb-item { display: flex; align-items: center; gap: .4rem; }
.tb-item svg { width: 13px; height: 13px; color: var(--blue-lt); }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,11,17,.78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s, background .3s;
}
.nav { display: flex; align-items: center; gap: 1.5rem; padding-block: 1rem; }
.brand { flex-shrink: 0; }
nav { margin-left: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  position: relative; font-size: .92rem; font-weight: 600; color: var(--muted);
  padding-block: .3rem; transition: color .18s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .85rem; margin-left: 1.25rem; }
.ncta-text { display: flex; flex-direction: column; line-height: 1.1; }
.ncta-word { font-size: .62rem; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.ncta-num  { font-size: .92rem; font-weight: 800; }
.nav-toggle { display: none; padding: .35rem; color: var(--white); }
.nav-toggle svg { width: 24px; height: 24px; }

/* --- Hero --- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden; background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.hero::before { /* top accent line */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); z-index: 5;
}
/* Animated gradient mesh */
.hero-bg { position: absolute; inset: 0; background: var(--bg); }
.hero-bg::before, .hero-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.hero-bg::before {
  width: 60vw; height: 60vw; top: -20%; left: -10%;
  background: radial-gradient(circle, rgba(43,127,255,.45), transparent 65%);
  animation: float-a 14s ease-in-out infinite;
}
.hero-bg::after {
  width: 50vw; height: 50vw; bottom: -25%; right: -5%;
  background: radial-gradient(circle, rgba(34,211,238,.28), transparent 65%);
  animation: float-b 18s ease-in-out infinite;
}
@keyframes float-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6%, 8%); } }
@keyframes float-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-7%, -6%); } }

.hero-grid {
  position: absolute; inset: 0; opacity: .05; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000 30%, transparent 75%);
}
.hero-photo {
  position: absolute; right: 0; top: 0; bottom: 0; width: 44%; z-index: 1;
  object-fit: cover; object-position: center 20%;
  opacity: .42; filter: grayscale(15%) contrast(1.05);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%);
  mask-image: linear-gradient(to right, transparent, #000 55%);
}
.hero-inner { position: relative; z-index: 3; padding-block: 6rem; max-width: 680px; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2.2rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 1.75rem; font-size: .88rem; color: var(--muted);
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
}
.hero-note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note svg { width: 15px; height: 15px; color: var(--green); }
/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.25); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue::before {
  content: ''; width: 4px; height: 8px; border-radius: 2px; background: var(--blue-lt);
  animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(10px); } }

/* --- Stat counters --- */
.stat-band { background: var(--bg-3); border-block: 1px solid rgba(255,255,255,.06); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.5rem 0; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 15%; height: 70%; width: 1px;
  background: rgba(255,255,255,.08);
}
.stat-num {
  font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.03em;
}
.stat-label { font-size: .84rem; color: var(--muted); margin-top: .5rem; font-weight: 500; }

/* --- Section head --- */
.section-head { margin-bottom: 3.5rem; }
.section-head .lead { margin-top: .8rem; }
.section-head.center .lead { margin-inline: auto; }

/* --- Service cards --- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card {
  position: relative; background: var(--card); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 1.9rem; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.svc-card::before { /* hover sheen */
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(43,127,255,.1), transparent 60%);
}
.svc-card:hover {
  transform: translateY(-5px); border-color: rgba(43,127,255,.5);
  background: var(--card-hov); box-shadow: var(--shadow-blue);
}
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; }
.svc-card h3 { margin-bottom: .55rem; font-size: 1.12rem; }
.svc-card p  { font-size: .92rem; color: var(--muted); }
.svc-card .card-link {
  margin-top: 1rem; font-size: .85rem; font-weight: 700; color: var(--blue-lt);
  display: inline-flex; align-items: center; gap: .35rem; transition: gap .2s;
}
.svc-card:hover .card-link { gap: .6rem; }
.svc-card .card-link svg { width: 15px; height: 15px; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.15rem;
  display: flex; align-items: center; justify-content: center; color: var(--blue-lt);
  background: rgba(43,127,255,.13); border: 1px solid rgba(43,127,255,.2);
}
.icon-badge svg { width: 25px; height: 25px; }
.icon-badge--o { background: rgba(255,122,26,.13); border-color: rgba(255,122,26,.22); color: var(--orange); }
.icon-badge--c { background: rgba(34,211,238,.12); border-color: rgba(34,211,238,.2); color: var(--cyan); }

/* --- Check list --- */
.check-list { display: flex; flex-direction: column; gap: .95rem; margin-top: 1.3rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; }
.check-list svg {
  width: 22px; height: 22px; flex-shrink: 0; padding: 3px; border-radius: 6px;
  background: rgba(43,127,255,.12); color: var(--blue-lt); margin-top: .1rem;
}
.check-list span { font-size: .96rem; color: var(--off); }
.check-list strong { color: var(--white); }

/* --- Media frames --- */
.media-frame { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: var(--shadow); }
.media-frame::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: inherit; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.media-frame--badge { position: relative; }
.float-badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem; z-index: 2;
  background: rgba(8,11,17,.78); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 1rem 1.2rem; display: flex; align-items: center; gap: .9rem;
}
.float-badge svg { width: 30px; height: 30px; color: var(--blue-lt); flex-shrink: 0; }
.float-badge b { display: block; font-size: .98rem; }
.float-badge span { font-size: .82rem; color: var(--muted); }

.media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.media-duo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 15%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-duo img:nth-child(2) { margin-top: 2rem; }

/* --- Process timeline --- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; max-width: 780px; margin-inline: auto; }
.tl-step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding-bottom: 2.2rem; position: relative; }
.tl-step:not(:last-child)::before {
  content: ''; position: absolute; left: 26px; top: 54px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(43,127,255,.1));
}
.tl-num {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; color: #fff;
  background: var(--grad); box-shadow: 0 6px 20px rgba(43,127,255,.35);
}
.tl-body h3 { font-size: 1.1rem; margin-bottom: .35rem; padding-top: .55rem; }
.tl-body p  { font-size: .95rem; color: var(--muted); }

/* --- CTA band --- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, #0e2347, #0a1830 60%, #081226);
  border: 1px solid rgba(43,127,255,.25); border-radius: var(--radius-xl);
  padding: 4rem; text-align: center;
}
.cta-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.cta-band::after {
  content: ''; position: absolute; width: 50%; height: 200%; top: -50%; right: -10%;
  background: radial-gradient(circle, rgba(34,211,238,.12), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: .9rem; }
.cta-band p  { max-width: 580px; margin-inline: auto; margin-bottom: 2.2rem; color: var(--off); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- FAQ --- */
.faq details {
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; margin-bottom: .8rem; background: var(--card);
  transition: border-color .25s, background .25s;
}
.faq details[open] { border-color: rgba(43,127,255,.3); background: var(--card-hov); }
.faq summary {
  font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--blue-lt);
  flex-shrink: 0; transition: transform .25s var(--ease); line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding-top: .9rem; }
.faq-body p { font-size: .96rem; color: var(--muted); }

/* --- Forms --- */
.form-card { background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-xl); padding: 2.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--bg-2); border: 1.5px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: .85rem 1.05rem; font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,127,255,.15);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--faint); margin-top: .6rem; display: flex; align-items: center; gap: .4rem; }
.form-note svg { width: 14px; height: 14px; flex-shrink: 0; }
.alert { border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .95rem; margin-bottom: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.alert--success { background: rgba(43,217,122,.12); border: 1px solid rgba(43,217,122,.3); color: var(--green); }
.alert--error   { background: rgba(239,68,68,.12);  border: 1px solid rgba(239,68,68,.3);  color: #f87171; }

/* --- Stars --- */
.stars { color: var(--yellow); display: flex; gap: .15rem; }
.stars svg { width: 22px; height: 22px; }

/* --- Area grid --- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .65rem; }
.area-tag {
  background: var(--card); border: 1px solid rgba(255,255,255,.07); border-radius: 8px;
  padding: .65rem 1rem; font-size: .9rem; color: var(--off);
  display: flex; align-items: center; gap: .5rem; transition: border-color .2s, color .2s, transform .2s;
}
.area-tag:hover { border-color: rgba(43,127,255,.4); color: var(--white); transform: translateY(-2px); }
.area-tag svg { width: 14px; height: 14px; color: var(--blue-lt); flex-shrink: 0; }

/* --- Feature cards (why-us) --- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feat {
  background: var(--card); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-lg);
  padding: 1.8rem; transition: transform .3s var(--ease), border-color .3s;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(43,127,255,.35); }
.feat h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.feat p { font-size: .92rem; color: var(--muted); }

/* --- Services detail --- */
.svc-detail {
  position: relative; border-radius: var(--radius-lg); background: var(--card);
  padding: 2.2rem; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start;
  border: 1px solid rgba(255,255,255,.07); overflow: hidden;
  scroll-margin-top: 110px;
}
.svc-detail::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.svc-detail .icon-badge { margin: 0; }
.svc-detail h3 { font-size: 1.35rem; }

/* --- SEO prose block --- */
.seo-block { background: var(--bg-2); border-radius: var(--radius-xl); padding: 3rem; border: 1px solid rgba(255,255,255,.06); }
.seo-cols { columns: 2; column-gap: 3rem; }
.seo-cols p { break-inside: avoid; margin-bottom: 1.1rem; }

/* --- Footer --- */
.site-footer { background: #060810; border-top: 1px solid rgba(255,255,255,.06); padding: 4.5rem 0 2rem; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.f-brand .btn { margin: 1.1rem 0 .8rem; }
.f-tag { font-size: .9rem; color: var(--muted); margin-top: .4rem; max-width: 280px; }
.f-hours { font-size: .82rem; color: var(--faint); display: flex; align-items: center; gap: .4rem; }
.f-hours svg { width: 14px; height: 14px; }
.f-col ul { display: flex; flex-direction: column; gap: .6rem; }
.f-col a { font-size: .89rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; transition: color .18s; }
.f-col a:hover { color: var(--white); }
.f-col a svg { width: 14px; height: 14px; color: var(--blue-lt); flex-shrink: 0; }
.f-col span { font-size: .89rem; color: var(--muted); display: flex; align-items: flex-start; gap: .45rem; }
.f-col span svg { width: 14px; height: 14px; color: var(--blue-lt); flex-shrink: 0; margin-top: .25rem; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.8rem; font-size: .8rem; color: var(--faint); flex-wrap: wrap; }
.f-bottom a { color: var(--faint); }
.f-bottom a:hover { color: var(--muted); }

/* --- Mobile call bar --- */
.callbar { position: fixed; bottom: 0; left: 0; right: 0; display: none; z-index: 500; background: rgba(6,8,16,.95); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.1); }
.callbar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; font-size: .96rem; font-weight: 700; }
.callbar-btn svg { width: 18px; height: 18px; }
.cb-call { background: var(--orange); color: #fff; }
.cb-text { background: var(--card); color: var(--white); }

/* --- Page hero (inner) --- */
.page-hero { position: relative; padding: 5rem 0 4rem; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); background: var(--bg); }
.page-hero .hero-bg::before { width: 40vw; height: 40vw; opacity: .35; }
.page-hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); z-index: 3; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.page-hero .lead { margin-top: .9rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: var(--faint); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--white); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-r.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }
/* Staggered children */
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .04s; }
.stagger.in > *:nth-child(2) { transition-delay: .1s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .22s; }
.stagger.in > *:nth-child(5) { transition-delay: .28s; }
.stagger.in > *:nth-child(6) { transition-delay: .34s; }
.stagger.in > *:nth-child(7) { transition-delay: .4s; }
.stagger.in > *:nth-child(8) { transition-delay: .46s; }
.stagger.in > *:nth-child(9) { transition-delay: .52s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-l, .reveal-r, .reveal-scale, .stagger > * { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .svc-grid, .feat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .stat:nth-child(2)::after { display: none; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .seo-cols { columns: 1; }
}
@media (max-width: 760px) {
  .section { padding: 4.5rem 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; inset: 0;
    background: rgba(8,11,17,.98); backdrop-filter: blur(20px); z-index: 300;
    align-items: center; justify-content: center; gap: 2.5rem; font-size: 1.3rem;
  }
  .nav-links.open a { color: var(--white); }
  .nav-toggle { display: flex; }
  /* Compact, icon-only call button in header — full call/text lives in the bottom bar */
  .nav-cta { gap: .5rem; margin-left: auto; }
  .nav-cta .btn--call { padding: .6rem .75rem; }
  .ncta-text { display: none; }
  .brand-text { font-size: 1.2rem; }
  .brand-m { font-size: 1.35rem; }
  .svc-grid, .feat-grid { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  .f-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band { padding: 2.5rem 1.5rem; }
  .tb-item:nth-child(2) { display: none; }
  .hero { min-height: auto; }
  .hero-photo { opacity: .18; width: 100%; }
  .hero-inner { padding-block: 4.5rem; }
  .media-duo img:nth-child(2) { margin-top: 0; }
  .seo-block { padding: 1.8rem; }
  body { padding-bottom: 64px; }
  .scroll-cue { display: none; }
}
@media (max-width: 460px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
}
