/* ============================================================
   PetrelliPrenup — Premium Legal Services
   Dark Navy #1a1a2e · Gold #c9a84c · Cream #faf8f5
   Playfair Display + DM Sans
   ============================================================ */

:root {
  --navy:       #1a1a2e;
  --navy-mid:   #16213e;
  --navy-light: #0f3460;
  --gold:       #c9a84c;
  --gold-light: #e2c272;
  --gold-dim:   #8a7034;
  --cream:      #faf8f5;
  --cream-dark: #f0ece5;
  --text:       #1a1a2e;
  --text-muted: #5a5a7a;
  --text-light: #8888aa;
  --white:      #ffffff;
  --border:     rgba(26, 26, 46, 0.1);
  --border-gold: rgba(201, 168, 76, 0.3);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  --shadow-md: 0 8px 40px rgba(26, 26, 46, 0.14);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.2);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 500; }
em { font-style: italic; color: var(--gold); }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 780px; }

/* ── SECTIONS ── */
.section { display: none; }
.section.active { display: block; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}
.btn-primary.btn-large {
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--navy); background: rgba(26,26,46,0.04); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.85rem 1.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color var(--transition), border-color var(--transition);
}
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-ghost-dark:hover { border-color: var(--navy); }
.btn-nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--gold-light); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
}
.nav-links a:hover { color: #fff; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  transition: all var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  text-decoration: none;
}
.nav-mobile .btn-nav-cta { align-self: flex-start; margin-top: 0.5rem; }

/* ── HERO ── */
.section-landing { background: var(--cream); }
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 2rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 10% 80%, rgba(15,52,96,0.4) 0%, transparent 60%);
}
.hero-content {
  max-width: 580px;
  margin-left: max(2rem, calc((100vw - 1100px) / 2));
  position: relative;
  z-index: 2;
  padding: 7rem 0 4rem;
  animation: fadeUp 0.8s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: -0.01em;
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 490px;
}
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.price-tag {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
}
.price-note {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 400;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }
.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.15);
}

/* hero doc visual */
.hero-visual {
  position: absolute;
  right: max(2rem, calc((100vw - 1100px) / 2 + 40px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: fadeUp 0.8s 0.2s ease both;
}
.doc-preview {
  width: 280px;
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201,168,76,0.1);
  position: relative;
  overflow: hidden;
}
.doc-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}
.doc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
}
.doc-seal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  flex-shrink: 0;
}
.doc-title-sm {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.doc-subtitle-sm {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.doc-line {
  height: 6px;
  border-radius: 3px;
  background: var(--cream-dark);
  margin-bottom: 6px;
}
.doc-line.wide { width: 80%; }
.doc-line.medium { width: 60%; }
.doc-line.full { width: 100%; }
.doc-spacer { height: 12px; }
.doc-section-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 6px;
}
.doc-sig-area {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.doc-sig-line { display: flex; flex-direction: column; gap: 4px; }
.sig-underline {
  height: 1px;
  background: var(--navy);
  width: 100%;
}
.sig-label { font-size: 0.55rem; color: var(--text-muted); letter-spacing: 0.06em; }
.doc-stamp {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 3px 8px;
  border-radius: 2px;
  opacity: 0.6;
  transform: rotate(-12deg);
}

/* ── JURISDICTIONS BANNER ── */
.jurisdictions-banner {
  background: var(--navy-mid);
  padding: 1.25rem 2rem;
  overflow: hidden;
}
.jb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.jb-label {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.jb-states {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.jb-states span {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 100px;
}

/* ── SECTION BLOCKS ── */
.section-block {
  padding: 6rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ── STEPS ── */
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-icon {
  color: var(--gold);
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  color: var(--gold);
  opacity: 0.4;
  flex-shrink: 0;
  padding-top: 3rem;
}
.steps-cta { text-align: center; margin-top: 3rem; }

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--navy);
  padding: 5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-card {
  padding: 1.5rem;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}
.trust-card:hover { border-color: rgba(201,168,76,0.35); }
.trust-icon {
  margin-bottom: 1rem;
}
.trust-icon.gold { color: var(--gold); }
.trust-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.trust-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ── FAQ ── */
.faq-section { background: var(--cream); }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.25rem; }
.faq-a p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.faq-a a { color: var(--gold); }

/* ── FOOTER CTA ── */
.footer-cta {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.footer-cta-inner {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.footer-cta-inner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-cta-inner p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.footer-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}
.footer-trust-row span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-trust-row svg { color: var(--gold); }

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--navy);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 2px;
}
.footer-logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.25rem;
}
.footer-links a, .footer-links span {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ── QUESTIONNAIRE ── */
.section-questionnaire {
  background: var(--cream);
  min-height: 100vh;
}
.q-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(20px);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.q-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition: color var(--transition);
}
.q-back:hover { color: #fff; }
.q-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
}
.q-price-badge {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(201,168,76,0.25);
}

/* PROGRESS */
.progress-bar-container {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  overflow-x: auto;
}
.progress-steps {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
}
.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  cursor: default;
}
.prog-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  transition: all var(--transition);
}
.prog-step.active .prog-dot {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
.prog-step.completed .prog-dot {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
.prog-label {
  font-size: 0.7rem;
  color: var(--text-light);
  white-space: nowrap;
  transition: color var(--transition);
}
.prog-step.active .prog-label { color: var(--gold); font-weight: 500; }
.prog-step.completed .prog-label { color: var(--text-muted); }
.prog-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  min-width: 20px;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.prog-line.completed { background: var(--gold); }

/* Q BODY */
.q-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}
.q-step { display: none; }
.q-step.active { display: block; animation: fadeUp 0.3s ease both; }

.step-title-row {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.step-title-row h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 0.4rem; }
.step-title-row p { color: var(--text-muted); font-size: 0.95rem; }

/* FORM ELEMENTS */
.form-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}
.form-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row:last-child { margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group-full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.req { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: var(--white);
}
.form-group input.error,
.form-group select.error {
  border-color: #e53e3e;
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 80px; }

.radio-group { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text);
}
.radio-label input[type="radio"] { accent-color: var(--gold); }

/* ASSET TABLES */
.asset-table { margin-bottom: 0.75rem; }
.asset-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.asset-row.asset-header div {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 0.25rem 0.4rem;
  border-bottom: 1px solid var(--border);
}
.asset-row input {
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.asset-row input:focus {
  border-color: var(--gold);
  background: var(--white);
}
.btn-remove-row {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color var(--transition);
  font-size: 1rem;
  line-height: 1;
}
.btn-remove-row:hover { color: #e53e3e; }
.btn-add-row {
  background: transparent;
  border: 1.5px dashed var(--border-gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  text-align: center;
}
.btn-add-row:hover { background: rgba(201,168,76,0.06); border-color: var(--gold); }

.sub-fields {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 0.75rem;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold-dim);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

/* STEP NAV */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.step-nav-review { justify-content: flex-start; }

/* REVIEW SECTION */
.review-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.review-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.review-section-header h4 {
  font-size: 0.9rem;
  color: var(--navy);
}
.btn-edit {
  font-size: 0.78rem;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
}
.btn-edit:hover { background: rgba(201,168,76,0.08); }
.review-body { padding: 1.25rem 1.5rem; }
.review-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  align-items: flex-start;
}
.review-label {
  color: var(--text-muted);
  font-weight: 500;
  min-width: 180px;
  flex-shrink: 0;
}
.review-value { color: var(--text); }
.review-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin: 0.5rem 0; }
.review-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid var(--border);
}
.review-table td { padding: 0.4rem 0.5rem; color: var(--text); border-bottom: 1px solid var(--cream-dark); }
.review-table tr:last-child td { border-bottom: none; }

/* DISCLAIMERS */
.disclaimers-section { background: var(--white); }
.disclaimer-box {
  background: #fff9ec;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.disclaimer-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.disclaimer-box p:last-child { margin-bottom: 0; }
.checkbox-row { margin-bottom: 0.75rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* PAYMENT */
.payment-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
}
.payment-summary { margin-bottom: 1.5rem; }
.payment-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.payment-total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  border-bottom: none;
  padding-top: 0.75rem;
}
.btn-pay {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 1rem;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.8);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-header { text-align: center; margin-bottom: 2rem; }
.modal-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.modal-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.modal-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy);
}
.payment-form .form-group { margin-bottom: 1rem; }
.payment-form .form-group label { font-size: 0.8rem; }
.card-input-wrap { position: relative; }
.card-input-wrap input { padding-right: 60px; background: var(--cream); }
.card-icons {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.payment-secure-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  justify-content: center;
}
.btn-pay-modal {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.9rem;
}

/* ── LOADING OVERLAY ── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.92);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}
.loading-overlay.active { display: flex; }
.loading-inner { text-align: center; color: var(--white); }
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-inner h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.loading-inner p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }

/* ── SUCCESS ── */
.section-success {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.success-inner {
  max-width: 620px;
  text-align: center;
}
.success-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.05) 100%);
  border: 2px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}
.success-inner h1 { font-size: 2.4rem; color: var(--navy); margin-bottom: 0.75rem; }
.success-inner > p { color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; }
.download-area { margin-bottom: 2.5rem; }
.doc-ready-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
}
.doc-ready-card svg { color: var(--gold); flex-shrink: 0; }
.doc-name { font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.doc-meta { font-size: 0.8rem; color: var(--text-muted); }
.btn-download {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.btn-download:hover { background: var(--gold-light); }
.next-steps {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: left;
  margin-bottom: 2rem;
}
.next-steps h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.next-steps ol { padding-left: 1.25rem; }
.next-steps li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.next-steps li strong { color: var(--navy); }
.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; padding-right: 2rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); padding: 0.5rem 0; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .progress-steps { gap: 0; }
  .prog-label { display: none; }
  .prog-dot { width: 28px; height: 28px; font-size: 0.72rem; }
  .asset-row { grid-template-columns: 1fr 1fr auto; }
  .asset-row > :nth-child(3) { display: none; }
  .asset-row.asset-header > :nth-child(3) { display: none; }
  .review-label { min-width: 130px; }
  .doc-ready-card { flex-wrap: wrap; }
  .btn-download { margin-left: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .q-body { padding: 1.5rem 1.25rem 4rem; }
  .form-section { padding: 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .trust-divider { display: none; }
}

/* ── PRICING SECTION ── */
.pricing-section {
  background: var(--navy);
  padding: 6rem 0;
}
.pricing-section .section-header .section-title { color: var(--cream); }
.pricing-section .section-header .section-eyebrow { color: var(--gold); }
.pricing-section .section-header .section-desc { color: rgba(250,248,245,0.7); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card-popular {
  border-color: var(--gold);
  border-width: 2px;
  transform: scale(1.03);
  background: linear-gradient(145deg, #16213e 0%, #1a1a40 100%);
}
.pricing-card-popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.pricing-card-popular .pricing-tier-name { color: var(--gold); }

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-dollar {
  font-size: 1.5rem;
  vertical-align: top;
  padding-top: 0.5rem;
  display: inline-block;
}
.pricing-period {
  font-size: 0.8rem;
  color: rgba(250,248,245,0.5);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(250,248,245,0.85);
  line-height: 1.4;
}
.pricing-features li svg { flex-shrink: 0; margin-top: 1px; stroke: var(--gold); }

.btn-pricing {
  width: 100%;
  display: block;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-pricing:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}
.btn-pricing-popular {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-pricing-popular:hover {
  background: var(--gold-light);
  color: var(--navy);
  border-color: var(--gold-light);
}

/* ── POSTNUPTIAL SECTION ── */
.postnup-section {
  background: var(--cream-dark);
  padding: 4rem 0;
  border-top: 1px solid var(--border-gold);
}
.postnup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.postnup-text h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0.5rem 0 0.75rem;
}
.postnup-text p { color: var(--text-muted); }
.waitlist-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.waitlist-form input[type="email"]:focus { border-color: var(--gold); }
.waitlist-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.75rem 0;
}
.waitlist-success svg { stroke: var(--gold); flex-shrink: 0; }
.waitlist-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.6rem; }

/* ── TIER SELECTOR (STEP 6) ── */
.tier-selection-section { background: var(--white); border-radius: var(--radius-lg); }

.tier-selector {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tier-option {
  display: block;
  position: relative;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--cream);
}
.tier-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.tier-option:hover { border-color: var(--gold-dim); background: #fefcf8; }
.tier-option-popular { border-color: var(--gold); background: #fffdf5; }
.tier-selected { border-color: var(--gold) !important; background: #fffdf0 !important; box-shadow: 0 0 0 3px rgba(201,168,76,0.2); }

.tier-option-badge-inline {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.tier-option-inner {}
.tier-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tier-option-name { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.tier-option-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--gold); }
.tier-option-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── FOOTER EXTRAS ── */
.footer-also { font-size: 0.8rem; margin-top: 0.5rem; color: rgba(250,248,245,0.5); }
.footer-also a { color: rgba(201,168,76,0.7); }
.footer-also a:hover { color: var(--gold); }

/* ── RESPONSIVE: pricing ── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .pricing-card-popular { transform: scale(1); }
  .pricing-card-popular:hover { transform: translateY(-4px); }
  .postnup-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pricing-grid { max-width: 100%; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form input[type="email"] { min-width: 0; }
}

/* ── STRIPE CHECKOUT MODAL ── */
.payment-order-summary {
  background: var(--surface-alt, #f9f7f4);
  border: 1px solid var(--border, #e2ddd4);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.payment-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding: 0.3rem 0;
}
.payment-order-row + .payment-order-row { border-top: 1px solid var(--border, #e2ddd4); margin-top: 0.5rem; padding-top: 0.7rem; }
.payment-order-total { font-weight: 700; font-size: 1.05rem; }
.payment-order-label { color: var(--text-primary, #1a1a2e); }

.payment-stripe-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted, #6b7280);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1.25rem;
}
.payment-stripe-note svg { flex-shrink: 0; color: #16a34a; stroke: #16a34a; }

.payment-powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted, #6b7280);
  margin-top: 0.9rem;
}
.payment-powered-by svg { stroke: #6b7280; }

.payment-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted, #9ca3af);
  line-height: 1.5;
  text-align: center;
  margin-top: 0.75rem;
  padding: 0 0.5rem;
}
