/* ============================================================
   MaxFlyerDigital.com — Stylesheet
   Aesthetic: editorial-luxury, midnight navy + warm amber gold
   Typography: Fraunces (display) + Inter Tight (body)
   ============================================================ */

/* ---- Design tokens --------------------------------------- */
:root {
  --navy-1000: #050a1a;
  --navy-900:  #0a1230;
  --navy-800:  #0e1a44;
  --navy-700:  #142357;
  --navy-600:  #1d3074;
  --ink:       #07091a;
  --paper:    #f6f1e7;        /* warm off-white */
  --paper-2:   #efe6d3;
  --gold:      #e9a951;
  --gold-2:    #f3c87a;
  --gold-deep: #b97817;
  --rose:      #d96f5b;
  --green:     #5b8a72;
  --line:      rgba(246, 241, 231, 0.14);
  --line-strong: rgba(246, 241, 231, 0.32);

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans:  'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ---- Reset & base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--navy-1000);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--navy-1000); }

/* ---- Typography ------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-variation-settings: 'opsz' 144, 'SOFT' 50; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-variation-settings: 'opsz' 96, 'SOFT' 30; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-variation-settings: 'opsz' 36; }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; }
p  { margin: 0 0 1em; }

.italic { font-style: italic; }
.serif  { font-family: var(--serif); }
.mono   { font-family: var(--mono); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px;
  background: var(--gold);
}

/* ---- Layout helpers -------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(5, 10, 26, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold-deep) 80%);
  position: relative;
  box-shadow: 0 0 24px rgba(233, 169, 81, 0.4);
}
.logo-mark::after {
  content: ''; position: absolute; inset: 6px;
  border-radius: 50%;
  background: var(--navy-1000);
}
.logo-mark::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  color: rgba(246, 241, 231, 0.78);
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 11px 22px;
  background: var(--gold);
  color: var(--navy-1000);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--gold-2);
  box-shadow: 0 8px 24px rgba(233, 169, 81, 0.35);
}

.nav-burger { display: none; width: 28px; height: 22px; flex-direction: column; justify-content: space-between; }
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--paper); border-radius: 2px; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(233, 169, 81, 0.18), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(29, 48, 116, 0.6), transparent 65%),
    linear-gradient(180deg, var(--navy-1000) 0%, var(--navy-900) 100%);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 241, 231, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 231, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero h1 {
  margin-bottom: 28px;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  display: inline-block;
  position: relative;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.42em;
  background: rgba(233, 169, 81, 0.14);
  z-index: -1;
}

.hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(246, 241, 231, 0.78);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-lede strong { color: var(--paper); font-weight: 600; }

.hero-cta-row {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-1000);
  box-shadow: 0 12px 32px -8px rgba(233, 169, 81, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
  box-shadow: 0 18px 40px -10px rgba(233, 169, 81, 0.6);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-arrow {
  transition: transform 0.3s;
  display: inline-block;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Trust bar */
.trust-bar {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-bar-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(246, 241, 231, 0.55);
}
.trust-stars {
  display: flex; gap: 2px;
  color: var(--gold);
}
.trust-bar-text {
  font-size: 0.88rem;
  color: rgba(246, 241, 231, 0.7);
}
.trust-bar-text strong { color: var(--paper); }

/* Hero visual card */
.hero-visual {
  position: relative;
}
.metric-card {
  background: linear-gradient(160deg, rgba(246, 241, 231, 0.04), rgba(246, 241, 231, 0.01));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg, transparent, rgba(233, 169, 81, 0.4), transparent);
  z-index: -1;
  opacity: 0.5;
}
.metric-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.metric-head .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.55);
}
.metric-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(91, 138, 114, 0.15);
  border: 1px solid rgba(91, 138, 114, 0.4);
  color: #8fcfa8;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--mono);
}
.metric-pill::before {
  content: ''; width: 6px; height: 6px;
  background: #8fcfa8;
  border-radius: 50%;
  box-shadow: 0 0 8px #8fcfa8;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.metric-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.metric-row:last-child { border-bottom: none; }
.metric-name { font-size: 0.95rem; color: rgba(246, 241, 231, 0.8); }
.metric-val {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-feature-settings: 'tnum';
}
.metric-delta { font-size: 0.78rem; color: #8fcfa8; margin-left: 8px; }

.metric-chart {
  margin-top: 20px;
  height: 80px;
  display: flex; align-items: flex-end; gap: 6px;
}
.metric-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-radius: 2px 2px 0 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.metric-chart .bar:hover { opacity: 1; }

/* Floating decorative element */
.hero-deco {
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.5);
  animation: rotate 30s linear infinite;
}
.hero-deco span {
  display: inline-block;
  position: absolute;
}
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero-deco { display: none; }
}

/* ============================================================
   MARQUEE / LOGO STRIP
   ============================================================ */
.marquee {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy-900);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.5);
  margin-bottom: 32px;
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: scroll 40s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(246, 241, 231, 0.6);
  white-space: nowrap;
  display: flex; align-items: center; gap: 80px;
}
.marquee-item::after {
  content: '✦';
  color: var(--gold);
  font-style: normal;
  font-size: 1rem;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.sec {
  padding: 120px 0;
  position: relative;
}
.sec-light {
  background: var(--paper);
  color: var(--navy-1000);
}
.sec-light .eyebrow { color: var(--gold-deep); }
.sec-light .eyebrow::before { background: var(--gold-deep); }

.sec-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.sec-head.center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.sec-head.center .eyebrow { justify-content: center; }
.sec-head p {
  font-size: 1.1rem;
  color: rgba(246, 241, 231, 0.7);
  margin-top: 20px;
  max-width: 60ch;
}
.sec-light .sec-head p { color: rgba(7, 9, 26, 0.65); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  padding: 100px 0;
  background: var(--paper);
  color: var(--navy-1000);
  position: relative;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(233, 169, 81, 0.06), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(217, 111, 91, 0.04), transparent 40%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.stats-grid > * + *::before {
  content: '';
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 1px;
  background: rgba(7, 9, 26, 0.12);
}
.stat {
  position: relative;
  padding: 0 32px;
}
.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy-1000);
}
.stat-num .accent { color: var(--gold-deep); font-style: italic; font-weight: 300; }
.stat-label {
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(7, 9, 26, 0.65);
  line-height: 1.4;
}
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .stat { padding: 0 16px; }
  .stats-grid > *:nth-child(3)::before { display: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid > * + *::before { display: none; }
  .stat { padding: 0; border-top: 1px solid rgba(7, 9, 26, 0.12); padding-top: 32px; }
  .stats-grid > *:first-child { border-top: none; padding-top: 0; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--navy-900);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  background: var(--navy-900);
  padding: 44px 36px;
  position: relative;
  transition: background 0.4s;
  overflow: hidden;
}
.svc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(233, 169, 81, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.svc:hover { background: var(--navy-800); }
.svc:hover::before { opacity: 1; }

.svc-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 24px;
  display: block;
}
.svc-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
}
.svc h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}
.svc p {
  color: rgba(246, 241, 231, 0.68);
  font-size: 0.96rem;
  line-height: 1.6;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 18px;
  font-weight: 500;
  transition: gap 0.3s;
}
.svc:hover .svc-link { gap: 14px; }

/* ============================================================
   PROCESS / METHOD (numbered editorial)
   ============================================================ */
.method {
  background: var(--paper);
  color: var(--navy-1000);
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr; gap: 48px; }
}
.method-side h2 { margin-bottom: 24px; }
.method-side p { color: rgba(7, 9, 26, 0.65); margin-bottom: 32px; }

.method-list { list-style: none; padding: 0; margin: 0; }
.method-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(7, 9, 26, 0.12);
  position: relative;
}
.method-item:last-child { border-bottom: 1px solid rgba(7, 9, 26, 0.12); }
.method-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
  line-height: 0.9;
  min-width: 80px;
}
.method-item h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}
.method-item p {
  color: rgba(7, 9, 26, 0.7);
  font-size: 0.98rem;
  margin: 0;
}

/* ============================================================
   TESTIMONIAL (single, large, editorial)
   ============================================================ */
.testimonial {
  padding: 140px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(233, 169, 81, 0.1), transparent 60%),
    var(--navy-1000);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  font-family: var(--serif);
  font-size: 30rem;
  font-style: italic;
  color: rgba(233, 169, 81, 0.06);
  top: -8rem; left: -2rem;
  line-height: 1;
  pointer-events: none;
}
.testimonial-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.testimonial-quote .accent { color: var(--gold); font-style: italic; }
.testimonial-attr {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 0.95rem;
}
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy-1000);
  font-weight: 500;
}
.testimonial-name { font-weight: 600; }
.testimonial-role { color: rgba(246, 241, 231, 0.6); display: block; font-size: 0.85rem; }

/* Mini testimonial chips */
.mini-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
}
@media (max-width: 800px) { .mini-quotes { grid-template-columns: 1fr; } }
.mini-quote {
  background: rgba(246, 241, 231, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  transition: transform 0.3s, border-color 0.3s;
}
.mini-quote:hover { transform: translateY(-4px); border-color: var(--gold); }
.mini-quote-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(246, 241, 231, 0.9);
  margin-bottom: 18px;
}
.mini-quote-attr {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem;
  color: rgba(246, 241, 231, 0.6);
}
.mini-quote-attr strong { color: var(--paper); font-weight: 600; }

/* ============================================================
   AUDIT / FORM SECTION
   ============================================================ */
.audit {
  padding: 140px 0;
  background:
    radial-gradient(800px 400px at 100% 100%, rgba(233, 169, 81, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-1000));
  position: relative;
  overflow: hidden;
}
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .audit-grid { grid-template-columns: 1fr; gap: 48px; }
}
.audit-side .eyebrow { color: var(--gold); }
.audit-side h2 { margin-bottom: 28px; }
.audit-side h2 .accent { font-style: italic; color: var(--gold); }
.audit-side > p {
  color: rgba(246, 241, 231, 0.75);
  font-size: 1.08rem;
  margin-bottom: 32px;
  max-width: 50ch;
}
.audit-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  gap: 16px;
}
.audit-bullets li {
  display: flex; gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: rgba(246, 241, 231, 0.85);
}
.audit-bullets svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--gold);
  margin-top: 2px;
}

/* ---- Form -------- */
.form-card {
  background: linear-gradient(160deg, rgba(246, 241, 231, 0.06), rgba(246, 241, 231, 0.02));
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  position: relative;
}
@media (max-width: 600px) { .form-card { padding: 32px 24px; } }

.form-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line-strong);
}
.form-card-head h3 {
  font-size: 1.55rem;
  font-family: var(--serif);
}
.form-card-head .step-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 12px;
  border-radius: 999px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-field { position: relative; margin-bottom: 20px; }
.form-row .form-field { margin-bottom: 0; }

.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 231, 0.7);
  margin-bottom: 10px;
}
.form-field label .req { color: var(--gold); }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(5, 10, 26, 0.5);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(5, 10, 26, 0.7);
  box-shadow: 0 0 0 3px rgba(233, 169, 81, 0.15);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(246, 241, 231, 0.35);
}

.form-field.error input,
.form-field.error textarea {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217, 111, 91, 0.15);
}
.form-error {
  display: none;
  font-size: 0.82rem;
  color: var(--rose);
  margin-top: 8px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.form-field.error .form-error { display: block; }

.honey { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.char-counter {
  position: absolute;
  right: 0; top: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(246, 241, 231, 0.4);
  letter-spacing: 0.1em;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 18px 28px;
  background: var(--gold);
  color: var(--navy-1000);
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 12px 32px -8px rgba(233, 169, 81, 0.4);
}
.form-submit:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -10px rgba(233, 169, 81, 0.6);
}
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(7, 9, 26, 0.3);
  border-top-color: var(--navy-1000);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.form-submit.loading .spinner { display: inline-block; }
.form-submit.loading .submit-text { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-disclaimer {
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(246, 241, 231, 0.5);
  text-align: center;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.form-success, .form-failure {
  display: none;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.form-success {
  background: rgba(91, 138, 114, 0.12);
  border: 1px solid rgba(91, 138, 114, 0.4);
  color: #a8d8bd;
}
.form-success.show { display: flex; gap: 14px; align-items: flex-start; }
.form-failure {
  background: rgba(217, 111, 91, 0.12);
  border: 1px solid rgba(217, 111, 91, 0.4);
  color: #ec9c8a;
}
.form-failure.show { display: block; }

.form-success svg { flex-shrink: 0; width: 24px; height: 24px; color: #8fcfa8; }
.form-success strong { color: var(--paper); display: block; margin-bottom: 4px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--navy-900); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 48px; } }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--paper);
}
.faq-toggle {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.faq-toggle::before {
  content: ''; width: 12px; height: 1.5px;
  background: var(--gold); border-radius: 1px;
}
.faq-toggle::after {
  content: ''; width: 1.5px; height: 12px;
  background: var(--gold); border-radius: 1px;
  position: absolute;
  transition: transform 0.3s;
}
.faq-item.open .faq-toggle { background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-toggle::before { background: var(--navy-1000); }
.faq-item.open .faq-toggle::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: rgba(246, 241, 231, 0.7);
  font-size: 0.98rem;
  line-height: 1.6;
  transition: max-height 0.4s ease, margin-top 0.3s, opacity 0.3s;
  opacity: 0;
}
.faq-item.open .faq-a {
  max-height: 400px;
  margin-top: 16px;
  opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-1000);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(246, 241, 231, 0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  color: rgba(246, 241, 231, 0.6);
  max-width: 36ch;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(246, 241, 231, 0.5);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ============================================================
   ANIMATIONS — reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-deco { animation: none; }
}
