/* ============================================================
   ZDH Consulting — Homepage redesign stylesheet (v1)
   Bold, premium, static. Scoped to the rebuilt homepage markup.
   Brand colors preserved; new layout system + typography.
   ============================================================ */

:root {
  --blue: #075fff;
  --blue-dark: #0046dc;
  --blue-deep: #0a2a6e;
  --cyan: #11b7ff;
  --teal: #11c7a6;
  --green: #17c964;
  --ink: #080d24;
  --ink-2: #11183a;
  --muted: #5a6781;
  --muted-light: #9aa6c2;
  --line: #e4ebf7;
  --soft: #f5f8ff;
  --white: #ffffff;

  --grad-brand: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-ink: radial-gradient(120% 120% at 12% 0%, #1a2a66 0%, #0b1234 45%, #070b22 100%);

  --shadow-sm: 0 4px 14px rgba(11, 24, 64, .06);
  --shadow-md: 0 18px 44px rgba(11, 24, 64, .10);
  --shadow-lg: 0 36px 80px rgba(7, 35, 90, .18);
  --shadow-glow: 0 24px 60px rgba(7, 95, 255, .35);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The homepage has its own contact form and redirects to the thank-you page,
   so hide the footer quick-form and modals that script.js injects (they
   render as unstyled junk at the bottom here since redesign.css omits the
   legacy modal styles). */
.site-footer .footer-form,
.modal-backdrop { display: none !important; }
body.nav-open, body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.eyebrow.on-dark { color: var(--cyan); }
.eyebrow.on-dark::before { background: linear-gradient(90deg, var(--cyan), var(--teal)); }

.skip-link {
  position: fixed; left: 18px; top: 12px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff;
  font-weight: 700; transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-green { background: linear-gradient(120deg, var(--green), var(--teal)); color: #04231a; box-shadow: 0 20px 46px rgba(23, 201, 100, .32); }
.btn-green:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-light { background: var(--ink); color: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  padding: 14px clamp(20px, 4vw, 40px);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid rgba(228, 235, 247, .8);
  transition: transform .28s var(--ease), box-shadow .24s var(--ease);
}
.site-header.header-hidden { transform: translateY(-115%); }
.site-header.nav-is-open { box-shadow: var(--shadow-md); }
.brand { display: inline-flex; align-items: baseline; font-family: var(--font-display); line-height: 1; }
.brand-mark { font-weight: 800; font-size: 26px; letter-spacing: -.01em; color: var(--blue-deep); }
.brand-text { margin-left: 9px; font-size: 26px; font-weight: 500; letter-spacing: .005em; text-transform: uppercase; color: var(--muted); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav > a {
  position: relative; padding: 9px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.main-nav > a:hover { color: var(--ink); background: var(--soft); }
.main-nav > a.active { color: var(--blue); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; background: var(--grad-brand); color: #fff;
  font-size: 14px; font-weight: 700; box-shadow: 0 14px 30px rgba(7,95,255,.28);
  transition: transform .18s var(--ease);
}
.header-cta:hover { transform: translateY(-2px); }
.mobile-nav-cta { display: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 14px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s var(--ease), opacity .2s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-ink); color: #fff;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.hero::before { width: 460px; height: 460px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(17,183,255,.42), transparent 62%); }
.hero::after { width: 520px; height: 520px; bottom: -260px; left: -120px; background: radial-gradient(circle, rgba(17,199,166,.28), transparent 64%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 {
  font-size: clamp(36px, 5.2vw, 60px); color: #fff; margin: 18px 0 0;
}
.hero-copy h1 .accent { background: linear-gradient(100deg, var(--cyan), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); color: #c7d0ec; max-width: 36ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 26px 38px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: #fff; line-height: 1; }
.hero-stats span { margin-top: 6px; font-size: 12.5px; letter-spacing: .04em; color: var(--muted-light); }

/* Hero trust badge */
.hero-trust { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.hero-avatars { display: inline-flex; }
.hero-avatars span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: #fff; border: 2px solid #0b1234; margin-left: -10px; }
.hero-avatars span:first-child { margin-left: 0; }
.hero-avatars span:nth-child(1){ background: linear-gradient(135deg,#075fff,#11b7ff); }
.hero-avatars span:nth-child(2){ background: linear-gradient(135deg,#11c7a6,#17c964); }
.hero-avatars span:nth-child(3){ background: linear-gradient(135deg,#7a5cff,#11b7ff); }
.hero-avatars span.more { background: rgba(255,255,255,.16); }
.hero-trust p { font-size: 13px; color: #c7d0ec; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-trust strong { color: #fff; font-weight: 700; }
.hero-stars { color: #ffc24b; font-style: normal; letter-spacing: 1px; font-size: 13px; }

/* Hero CTA reassurance */
.hero-reassure { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-reassure span { font-size: 13px; color: #aeb9d8; font-weight: 500; }

/* Hero dashboard visual */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hero-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card-top span { font-size: 13px; font-weight: 700; color: #fff; }
.hero-card-top em { font-size: 11.5px; color: var(--teal); font-style: normal; display: inline-flex; align-items: center; gap: 6px; }
.hero-card-top em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23,201,100,.18); }
.hero-chart { position: relative; padding: 12px 12px 6px; background: rgba(8,13,36,.42); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; }
.hero-chart svg { display: block; width: 100%; height: auto; }
.hero-chart-tags { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 4px; }
.hero-chart-tags span { font-size: 10px; letter-spacing: .06em; color: var(--muted-light); }
.hero-dot { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-metrics { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-metrics div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; }
.hero-metrics b { display: block; font-family: var(--font-display); font-size: 22px; color: #fff; }
.hero-metrics span { font-size: 11.5px; color: var(--muted-light); }
.hero-float {
  position: absolute; right: -10px; bottom: -26px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.hero-float b { font-family: var(--font-display); font-size: 20px; }
.hero-float span { font-size: 12px; color: var(--muted); }
.hero-float .dot { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--teal)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.hero-float { animation: floaty 5.5s var(--ease) infinite; }
.hero-chip {
  position: absolute; left: -18px; top: -20px; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  background: #fff; color: var(--ink); padding: 11px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: floaty 6s var(--ease) infinite reverse;
}
.hero-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(23,201,100,.18); }
.hero-chip b { display: block; font-family: var(--font-display); font-size: 14px; }
.hero-chip em { font-style: normal; font-size: 11.5px; color: var(--muted); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .hero-float, .hero-chip { animation: none; } }

/* ---------- Section frame ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Stat band ---------- */
.statband { background: var(--ink); color: #fff; }
.statband .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.statband div { text-align: center; }
.statband b { display: block; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); background: linear-gradient(120deg, var(--cyan), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statband span { font-size: 13.5px; color: var(--muted-light); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--soft); color: var(--blue); margin-bottom: 20px; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 21px; }
.svc-card p { margin-top: 10px; color: var(--muted); font-size: 15px; flex: 1; }
.svc-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--blue); }
.svc-link span { transition: transform .2s var(--ease); }
.svc-card:hover .svc-link span { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: #fff; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; box-shadow: 0 12px 26px rgba(7,95,255,.28); }
.step h3 { font-size: 18px; margin-top: 20px; }
.step p { margin-top: 9px; color: var(--muted); font-size: 14.5px; }

/* ---------- Proof / case + testimonial ---------- */
.proof-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.case-card {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 48px);
  background: var(--grad-ink); display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px;
}
.case-card::before { content: ""; position: absolute; width: 340px; height: 340px; top: -120px; right: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(17,183,255,.4), transparent 65%); }
.case-card .tag { position: relative; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); padding: 7px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
.case-card h3 { position: relative; font-size: clamp(24px, 3vw, 34px); margin-top: 22px; }
.case-card p { position: relative; margin-top: 14px; color: #c7d0ec; max-width: 46ch; }
.case-metrics { position: relative; margin-top: 28px; display: flex; gap: 30px; flex-wrap: wrap; }
.case-metrics b { font-family: var(--font-display); font-size: 26px; color: #fff; display: block; }
.case-metrics span { font-size: 12.5px; color: var(--muted-light); }
.case-card .card-link { position: relative; margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.case-card .card-link span { transition: transform .2s var(--ease); }
.case-card:hover .card-link span { transform: translateX(4px); }

.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.testi-stars { color: #ffb020; font-size: 18px; letter-spacing: 2px; }
.testi-card blockquote { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.testi-person { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.testi-person b { display: block; font-size: 15px; }
.testi-person span { font-size: 13px; color: var(--muted); }
.testi-dots { margin-top: 22px; display: flex; gap: 8px; }
.testi-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s, width .2s; }
.testi-dots button.active { width: 24px; border-radius: 6px; background: var(--grad-brand); }
.testi-more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--blue); font-size: 14.5px; }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.market-card { display: flex; flex-direction: column; padding: 34px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.market-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.market-flagrow { display: flex; align-items: center; gap: 12px; }
.market-flag { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--soft); }
.market-flag svg { border-radius: 4px; box-shadow: 0 1px 3px rgba(8,13,36,.22); }
.market-card h3 { font-size: 22px; }
.market-card p { margin-top: 14px; color: var(--muted); font-size: 15px; flex: 1; }
.market-card .svc-link { margin-top: 22px; }
.markets-note { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--muted); }
.markets-note b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #cfdcf6; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- Contact / lead form ---------- */
.contact { background: var(--grad-ink); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 560px; height: 560px; top: -240px; left: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(7,95,255,.34), transparent 64%); }
.contact .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.contact-copy h1, .contact-copy h2 { font-size: clamp(28px, 3.6vw, 44px); color: #fff; margin-top: 16px; font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.contact-copy > p { margin-top: 18px; color: #c7d0ec; font-size: 17px; max-width: 42ch; }
.contact-points { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-points div { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .ck { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(23,201,100,.16); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.contact-points b { display: block; font-size: 15px; color: #fff; }
.contact-points span { font-size: 13.5px; color: var(--muted-light); }
.contact-direct { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-direct a { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: #fff; font-size: 15px; }
.contact-direct a span { color: var(--cyan); }

/* Contact page: contact-method cards */
.contact-methods { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.contact-method { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background .18s var(--ease), transform .18s var(--ease); }
a.contact-method:hover { background: rgba(255,255,255,.11); transform: translateX(3px); }
.cm-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; }
.cm-icon svg { width: 20px; height: 20px; }
.contact-method b { display: block; font-size: 14.5px; color: #fff; }
.contact-method em { font-style: normal; font-size: 13px; color: var(--muted-light); }

.lead-form {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-lg);
}
.lead-form h2 { font-size: 23px; }
.lead-form h2 span { color: var(--blue); }
.lead-form > p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.form-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field span { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--soft);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(7,95,255,.12); }
.lead-form .btn { width: 100%; justify-content: center; margin-top: 18px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--blue); text-align: center; min-height: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7d0ec; padding: clamp(56px, 7vw, 88px) 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand-block .brand .brand-mark { color: #fff; }
.footer-brand-block .brand .brand-text { color: var(--muted-light); }
.footer-brand-block p { margin-top: 18px; font-size: 14.5px; max-width: 34ch; color: var(--muted-light); }
.footer-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-col h3 { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--muted-light); transition: color .15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bar { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer-bar p { font-size: 13px; color: var(--muted-light); }
.footer-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-chips span { font-size: 12.5px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.footer-chips b { color: var(--cyan); }

/* ---------- Sticky CTA (injected by script.js) ---------- */
.sticky-growth-cta {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 160%);
  z-index: 70; display: flex; align-items: center; gap: 18px;
  background: rgba(8,13,36,.94); backdrop-filter: blur(14px); color: #fff;
  padding: 12px 14px 12px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-lg); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease);
  max-width: calc(100% - 32px);
}
.sticky-growth-cta.visible { transform: translate(-50%, 0); opacity: 1; }
.sticky-growth-cta > span { font-size: 14px; font-weight: 600; }
.sticky-growth-actions { display: flex; align-items: center; gap: 14px; }
.sticky-growth-actions .btn { padding: 11px 18px; font-size: 13.5px; }
.sticky-growth-phone { font-size: 13px; font-weight: 600; color: var(--cyan); white-space: nowrap; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: 2; max-width: 460px; }
  .contact .wrap { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .statband .wrap { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 84vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px;
    background: #fff; padding: 90px 22px 28px; margin: 0;
    box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { padding: 13px 16px; font-size: 16px; border-radius: 12px; }
  .main-nav > a:hover, .main-nav > a.active { background: var(--soft); }
  .mobile-nav-cta {
    display: block; margin-top: 12px; padding: 14px; border: 0; border-radius: 12px;
    background: var(--grad-brand); color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer;
  }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(8,13,36,.5); z-index: 55; }
  .site-header { z-index: 60; }
  .main-nav { z-index: 58; }
}

@media (max-width: 560px) {
  .services-grid, .steps, .markets, .form-grid { grid-template-columns: 1fr; }
  /* Keep the stat numbers in a tidy 2x2 grid on mobile, not a tall column */
  .statband .wrap { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .hero-float, .hero-chip { animation: none; }
  .hero-float { right: 50%; transform: translateX(50%); bottom: -22px; }
  .hero-chip { left: 8px; top: -14px; }
  .hero-reassure { gap: 6px 16px; }
  .hero-reassure span { font-size: 12px; }
  .sticky-growth-cta { flex-direction: column; gap: 10px; padding: 16px 20px; border-radius: 20px; }
  .sticky-growth-cta > span { text-align: center; }
}

@media (max-width: 430px) {
  .brand-mark { font-size: 22px; }
  .brand-text { font-size: 11px; margin-left: 6px; letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
