/* AEOfox static site - single stylesheet, no frameworks */
:root {
  --navy: #02235B;
  --navy-deep: #011a44;
  --accent: #DE3707;
  --accent-dark: #c22f04;
  --bg: #fbfaf8;
  --surface: #ffffff;
  --ink: #1c2434;
  --muted: #5a6472;
  --line: #e6e3dd;
  --radius: 12px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--navy);
  text-decoration: none; letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 32px; }
.brand span em { color: var(--accent); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.nav-cta {
  background: var(--accent); color: #fff; padding: 9px 18px;
  border-radius: 999px; font-weight: 600;
}
.site-nav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  border-radius: 999px; padding: 13px 28px; font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
  border: none; cursor: pointer; font-family: inherit;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Hero (inner pages: light, text only) ---------- */
.hero { padding: 72px 0 88px; }
.hero .wrap {
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--navy);
  margin-bottom: 20px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lede {
  font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Homepage hero: full-bleed brand image (phone/incoming call) ---------- */
.hero-home {
  background:
    linear-gradient(90deg, rgba(1, 16, 40, 0.88) 0%, rgba(1, 16, 40, 0.55) 46%, rgba(1, 16, 40, 0) 72%),
    var(--navy-deep) url("/assets/aeofox-hero-desktop-v3.webp") no-repeat right center / cover;
  padding: 96px 0 110px;
  min-height: min(78vh, 640px);
  display: flex; align-items: center;
}
.hero-home .wrap { width: 100%; }
.hero-home .wrap { max-width: 1120px; }
.hero-home .hero-copy { max-width: 34rem; }
.hero-home h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.06;
  letter-spacing: -0.02em; color: #ffffff; margin-bottom: 20px;
}
.hero-home h1 em { color: #ff5c2b; font-style: normal; }
.hero-home .lede { color: #c3cfe4; font-size: 1.15rem; margin-bottom: 30px; }
.btn-ghost-light {
  background: transparent; color: #ffffff; border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost-light:hover { background: #ffffff; color: var(--navy); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15;
  letter-spacing: -0.015em; color: var(--navy); margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Services: asymmetric list, no equal cards */
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 2fr 3fr; gap: 32px;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.svc-row h3 { color: var(--navy); font-size: 1.25rem; letter-spacing: -0.01em; }
.svc-row p { color: var(--muted); margin-bottom: 10px; }
.svc-row ul { list-style: none; }
.svc-row li {
  padding-left: 22px; position: relative; color: var(--ink); font-size: 0.95rem;
  margin-bottom: 4px;
}
.svc-row li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 3px; background: var(--accent); border-radius: 2px;
}

/* Steps */
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 2.4rem; font-weight: 700; color: var(--line);
  display: block; line-height: 1; margin-bottom: 14px;
}
.step h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* Audience band */
.band {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 48px; display: grid; grid-template-columns: 5fr 7fr; gap: 40px;
  align-items: center;
}
.band h2 { font-size: 1.7rem; letter-spacing: -0.015em; line-height: 1.2; }
.band p { color: #c3cfe4; }
.band .trades { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.band .trades span {
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
  padding: 6px 16px; font-size: 0.9rem; color: #e8edf6;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy);
  padding: 18px 32px 18px 0; list-style: none; position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font-size: 1.5rem; font-weight: 400; color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 46rem; }

/* CTA section */
.cta-final { text-align: left; }
.cta-final .inner {
  border: 1.5px solid var(--navy); border-radius: var(--radius);
  padding: 56px 48px; display: grid; grid-template-columns: 3fr 1fr;
  gap: 32px; align-items: center; background: var(--surface);
}
.cta-final h2 { color: var(--navy); font-size: 1.8rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.cta-final p { color: var(--muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 8px; font-family: inherit; font-size: 1rem; background: var(--surface);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy);
}
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Prose (privacy, etc.) ---------- */
.prose { max-width: 46rem; }
.prose h1 { color: var(--navy); font-size: 2.2rem; letter-spacing: -0.02em; margin-bottom: 24px; }
.prose h2 { color: var(--navy); font-size: 1.35rem; margin: 36px 0 12px; }
.prose p, .prose ul { color: var(--ink); margin-bottom: 14px; }
.prose ul { padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: #b9c5da; margin-top: 48px;
  padding: 56px 0 32px; font-size: 0.95rem;
}
.site-footer .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer a { color: #b9c5da; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-brand { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand em { color: var(--accent); font-style: normal; }

/* ---------- Reveal on scroll (CSS only, reduced-motion safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .hero .wrap, .band, .cta-final .inner, .svc-row,
  .site-footer .cols, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 0 56px; }
  .hero-home {
    background:
      linear-gradient(180deg, rgba(1, 16, 40, 0.82) 0%, rgba(1, 16, 40, 0.35) 38%, rgba(1, 16, 40, 0) 60%),
      var(--navy-deep) url("/assets/Hero-mobile.webp") no-repeat center bottom / cover;
    padding: 56px 0 60vh; /* text sits in the empty navy top; phone shows below */
    min-height: 0; display: block;
  }
  section { padding: 52px 0; }
  .band { padding: 32px 24px; }
  .cta-final .inner { padding: 36px 24px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 0.88rem; }
  .site-nav a.nav-cta { padding: 8px 14px; }
  .brand span { display: none; }
  .hero-media { display: none; }
}
