
:root {
  --bg: #0A3D62;
  --bg-2: #092f4b;
  --bg-3: #0d527f;
  --surface: rgba(10, 44, 70, 0.72);
  --surface-2: rgba(20, 66, 103, 0.92);
  --card: rgba(245, 245, 240, 0.10);
  --card-2: rgba(245, 245, 240, 0.16);
  --border: rgba(245, 245, 240, 0.22);
  --text: #ffffff;
  --text-soft: rgba(255,255,255,0.83);
  --muted: rgba(255,255,255,0.68);
  --primary: #27AE60;
  --primary-2: #37c975;
  --gold: #E67E22;
  --off: #F5F5F0;
  --danger: #ffb3a8;
  --success: #d6ffe6;
  --shadow: 0 22px 60px rgba(4, 22, 36, 0.34);
  --shadow-soft: 0 10px 26px rgba(4, 22, 36, 0.26);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(39,174,96,.22), transparent 28%),
    radial-gradient(circle at top right, rgba(230,126,34,.20), transparent 22%),
    linear-gradient(180deg, #0f4c77 0%, var(--bg) 18%, var(--bg-2) 55%, #08263c 100%);
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.bg-orb {
  position: fixed; border-radius: 999px; filter: blur(84px); opacity: .28; pointer-events: none; z-index: 0;
}
.orb-1 { width: 360px; height: 360px; background: rgba(39,174,96,.78); top: -120px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: rgba(230,126,34,.75); right: -80px; top: 120px; }
.bg-grid {
  position: fixed; inset: 0; z-index: 0; opacity: .05; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 40px 40px;
}
.topbar, .page, .site-footer { position: relative; z-index: 1; }
.topbar {
  width: min(calc(100% - 26px), var(--container));
  margin: 16px auto 0;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(8, 36, 58, 0.46);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}
.brand-wrap, .footer-brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { max-width: 300px; width: 100%; height: auto; display: block; }
.footer-logo { max-width: 140px; width: 100%; height: auto; display: block; }
.topbar-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.meta-pill, .eyebrow, .chip {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
}
.meta-pill {
  padding: 10px 14px; background: rgba(245,245,240,.10); border: 1px solid rgba(245,245,240,.18); color: var(--text-soft); font-size: .88rem;
}
.page { width: min(calc(100% - 26px), var(--container)); margin: 26px auto 46px; }
.glass {
  background: rgba(8, 35, 56, 0.52);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
}
.hero-panel {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch;
}
.hero-copy, .hero-side, .progress-block, .funnel-card, .result-card, .cookie-modal-card, .loading-card {
  border-radius: 28px;
}
.hero-copy {
  padding: 28px;
}
.hero-side {
  padding: 18px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}
.eyebrow {
  padding: 10px 14px; font-size: .84rem; margin-bottom: 14px;
  background: rgba(39,174,96,.16); border: 1px solid rgba(39,174,96,.34); color: var(--success);
}
.hero-copy h1, .step-title, .side-card-title, .result-card h2, .cookie-modal-card h3 {
  font-family: 'Playfair Display', serif;
}
.hero-copy h1 {
  margin: 0; font-size: clamp(2.05rem, 4vw, 3.7rem); line-height: 1.08;
}
.hero-copy h1 em { color: var(--gold); font-style: normal; }
.hero-text {
  margin: 14px 0 18px; color: var(--text-soft); line-height: 1.72; font-size: 1.02rem;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip {
  padding: 10px 14px; background: rgba(245,245,240,.12); border: 1px solid rgba(245,245,240,.18); color: var(--off); font-size: .9rem;
}
.mini-proof {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px;
}
.proof-card {
  padding: 16px; border-radius: 20px; background: rgba(245,245,240,.10); border: 1px solid rgba(245,245,240,.17);
}
.proof-card strong { display: block; margin-bottom: 6px; }
.proof-card span { color: var(--text-soft); font-size: .92rem; line-height: 1.55; }
.photo-frame {
  background: rgba(245,245,240,.10);
  border: 1px solid rgba(245,245,240,.18);
  border-radius: 22px;
  padding: 8px;
  display: flex;
  align-items: stretch;
}
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  border-radius: 18px; min-height: 100%;
}
.consultant-card {
  background: rgba(245,245,240,.10);
  border: 1px solid rgba(245,245,240,.18);
  border-radius: 22px;
  padding: 18px;
  display: flex; flex-direction: column; justify-content: center;
}
.consultant-kicker {
  color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; font-weight: 700;
}
.consultant-card strong { font-size: 1.35rem; margin: 4px 0 8px; }
.consultant-card p, .result-text, .summary-item span, .field-help, .cookie-content p, .cookie-modal-card p, .notice-box span {
  color: var(--text-soft); line-height: 1.68;
}
.bullet-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.bullet-list li {
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; color: var(--off);
}
.bullet-list li::before {
  content: '•'; color: var(--gold); line-height: 1; font-size: 1.4rem;
}
.bullet-list.compact { gap: 8px; }
.primary-btn, .secondary-btn, .ghost-btn {
  border: none; border-radius: 18px; padding: 16px 22px; transition: .22s ease; font-weight: 700;
}
.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #062d19;
  box-shadow: 0 14px 34px rgba(39,174,96,.30);
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(39,174,96,.35); }
.secondary-btn {
  background: rgba(245,245,240,.12); color: var(--off); border: 1px solid rgba(245,245,240,.18);
}
.secondary-btn:hover, .ghost-btn:hover { background: rgba(245,245,240,.18); }
.ghost-btn {
  background: transparent; color: var(--text-soft); border: 1px solid rgba(245,245,240,.18);
}
.primary-btn.full { width: 100%; display: inline-flex; justify-content: center; }
.funnel-shell, .result-shell { max-width: 860px; margin: 0 auto; }
.progress-block { padding: 16px 18px; margin-bottom: 16px; }
.progress-track { height: 10px; border-radius: 999px; background: rgba(245,245,240,.12); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--primary)); border-radius: inherit; transition: width .32s ease; }
.funnel-card, .result-card { padding: 30px; }
.question-meta {
  color: rgba(255,255,255,.78); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; margin-bottom: 12px;
}
.step-title {
  font-size: clamp(1.85rem, 3vw, 2.45rem); line-height: 1.13; margin: 0 0 8px;
}
.step-subtitle { color: var(--text-soft); line-height: 1.7; margin-bottom: 22px; }
.option-grid { display: grid; gap: 14px; }
.option-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.option-card {
  width: 100%; text-align: left; padding: 18px; border-radius: 22px; background: rgba(245,245,240,.12);
  border: 1px solid rgba(245,245,240,.18); color: var(--off); position: relative; transition: .2s ease;
}
.option-card:hover { transform: translateY(-2px); background: rgba(245,245,240,.16); border-color: rgba(245,245,240,.3); }
.option-card.selected {
  background: rgba(39,174,96,.18); border-color: rgba(39,174,96,.5); box-shadow: inset 0 0 0 1px rgba(39,174,96,.18);
}
.option-title { font-weight: 700; display: block; margin-bottom: 6px; }
.option-desc { color: var(--text-soft); font-size: .94rem; line-height: 1.55; }
.field-block { display: grid; gap: 18px; }
.field-row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.field { display: grid; gap: 8px; }
.field label { color: var(--off); font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid rgba(245,245,240,.18); background: rgba(245,245,240,.12); color: var(--off);
  border-radius: 16px; padding: 16px; outline: none; transition: .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.55); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(39,174,96,.55); box-shadow: 0 0 0 4px rgba(39,174,96,.15);
}
.field-help { font-size: .85rem; }
.helper-box, .notice-box {
  padding: 16px 18px; border-radius: 18px; background: rgba(230,126,34,.12); border: 1px solid rgba(230,126,34,.22); color: #ffe2c6;
}
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-soft); line-height: 1.58; }
.check-list li::before { content: '✓'; color: var(--success); font-weight: 800; }
.age-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.age-chip {
  padding: 12px 14px; border-radius: 18px; background: rgba(245,245,240,.10); border: 1px solid rgba(245,245,240,.18);
}
.age-chip strong { display: block; margin-bottom: 8px; font-size: .92rem; }
.age-chip input {
  width: 100%; padding: 14px; border-radius: 14px; border: 1px solid rgba(245,245,240,.18); background: rgba(245,245,240,.10); color: var(--off);
}
.age-note { margin-bottom: 18px; color: var(--gold); font-size: .9rem; }
.nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.nav-row .primary-btn, .nav-row .secondary-btn { min-width: 140px; }
.error-text { color: #ffd2ca; font-size: .9rem; margin-top: 12px; }
.result-icon {
  width: 66px; height: 66px; display: grid; place-items: center; border-radius: 20px; background: rgba(39,174,96,.18); color: var(--success); font-size: 2rem; margin-bottom: 12px;
}
.summary-panel { display: grid; gap: 12px; margin: 22px 0; }
.summary-item {
  border-radius: 18px; padding: 14px 16px; background: rgba(245,245,240,.10); border: 1px solid rgba(245,245,240,.16);
}
.summary-item strong { display: block; margin-bottom: 4px; }
.notice-box { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.cookie-banner { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; }
.cookie-content {
  max-width: var(--container); margin: 0 auto; padding: 18px 20px; border-radius: 22px; background: rgba(8,35,56,.92);
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-modal, .loading-overlay {
  position: fixed; inset: 0; display: grid; place-items: center; z-index: 70; background: rgba(4,18,30,.62); padding: 20px;
}
.cookie-modal-card, .loading-card { width: min(100%, 560px); padding: 28px; }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.toggle-row:last-of-type { margin-bottom: 18px; }
.toggle-fixed { color: var(--text-soft); font-size: .92rem; }
.loading-card { text-align: center; display: grid; gap: 10px; }
.loader {
  width: 42px; height: 42px; border-radius: 999px; border: 4px solid rgba(255,255,255,.12); border-top-color: var(--primary); margin: 0 auto; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.site-footer {
  width: min(calc(100% - 26px), var(--container)); margin: 0 auto 24px; padding: 18px 0 32px;
  display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; color: var(--text-soft);
}
.site-footer p { margin: 2px 0 0; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--text-soft); font-size: .94rem; }
.legal-page {
  width: min(calc(100% - 26px), 900px); margin: 28px auto 48px; padding: 34px; border-radius: 28px;
  background: rgba(8,35,56,.8); border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow);
}
.legal-page h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.8vw, 3rem); margin-top: 0; }
.legal-page h2 { font-size: 1.2rem; margin-top: 28px; }
.legal-page p, .legal-page li { color: var(--text-soft); line-height: 1.75; }
@media (max-width: 1000px) {
  .hero-panel { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .brand-logo { max-width: 210px; }
  .topbar-meta { display: none; }
  .hero-copy, .hero-side, .funnel-card, .result-card { padding: 22px 18px; }
  .hero-side { grid-template-columns: 1fr; }
  .mini-proof, .field-row, .option-grid.cols-2, .age-grid { grid-template-columns: 1fr; }
  .nav-row { flex-direction: column-reverse; }
  .nav-row .primary-btn, .nav-row .secondary-btn { width: 100%; }
  .cookie-content { flex-direction: column; align-items: stretch; }
}


/* === V3 refinements: first screen split, compact CTA, clearer cards === */
.hero-panel { display: none; }

.hero-compact {
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border-radius: 28px;
  min-height: 0;
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-main h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.04;
  margin: 0;
  max-width: 760px;
}

.hero-main .hero-text {
  max-width: 690px;
  margin: 14px 0 16px;
}

.hero-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-mini-row span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(245,245,240,.12);
  border: 1px solid rgba(245,245,240,.18);
  color: var(--off);
  font-size: .88rem;
}

.hero-cta {
  align-self: flex-start;
  min-width: 240px;
}

.hero-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 24px;
  background: rgba(245,245,240,.10);
  border: 1px solid rgba(245,245,240,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.hero-photo-card .hero-photo {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 24px;
}

.photo-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(5, 29, 47, .74);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}

.photo-caption span {
  display: block;
  color: var(--text-soft);
  font-size: .78rem;
  margin-bottom: 2px;
}

.photo-caption strong {
  display: block;
  font-size: 1.02rem;
}

.intro-details {
  max-width: 860px;
  margin: 0 auto;
}

.intro-details-card {
  border-radius: 28px;
  padding: 28px;
}

.details-logo-wrap {
  margin-bottom: 18px;
}

.details-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
}

.intro-details-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.intro-details-card p {
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 22px;
}

.detail-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(245,245,240,.12);
  border: 1px solid rgba(245,245,240,.20);
}

.detail-card strong {
  display: block;
  margin-bottom: 6px;
}

.detail-card span {
  display: block;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: .92rem;
}

/* Stronger visual separation in the funnel */
.funnel-card, .result-card, .intro-details-card, .hero-compact {
  background: linear-gradient(180deg, rgba(12, 54, 86, .78), rgba(7, 35, 57, .86));
  border: 1px solid rgba(245,245,240,.20);
}

.option-card, .field input, .field textarea, .field select, .age-chip, .summary-item {
  background: rgba(245,245,240,.15);
  border-color: rgba(245,245,240,.24);
}

.option-card:hover {
  background: rgba(245,245,240,.21);
}

.option-card.selected {
  background: rgba(39,174,96,.24);
  border-color: rgba(39,174,96,.72);
}

@media (max-width: 780px) {
  .page { margin-top: 16px; }
  .topbar { margin-top: 10px; padding: 10px 12px; }
  .brand-logo { max-width: 196px; }

  .hero-compact {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .hero-photo-card {
    order: -1;
    min-height: 158px;
    max-height: 178px;
  }

  .hero-photo-card .hero-photo {
    min-height: 158px;
    max-height: 178px;
    object-position: center 22%;
  }

  .photo-caption {
    padding: 9px 11px;
    border-radius: 14px;
  }

  .photo-caption span { font-size: .72rem; }
  .photo-caption strong { font-size: .95rem; }

  .hero-main h1 {
    font-size: clamp(1.82rem, 9vw, 2.45rem);
    line-height: 1.05;
  }

  .hero-main .hero-text {
    margin: 10px 0 12px;
    font-size: .96rem;
    line-height: 1.56;
  }

  .eyebrow {
    margin-bottom: 10px;
    padding: 8px 11px;
    font-size: .76rem;
  }

  .hero-mini-row {
    gap: 7px;
    margin-bottom: 14px;
  }

  .hero-mini-row span {
    padding: 7px 10px;
    font-size: .78rem;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    padding: 15px 18px;
  }

  .intro-details-card {
    padding: 22px 18px;
  }

  .details-logo {
    max-width: 210px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}


/* === V4 refinements === */
@media (max-width: 780px) {
  .hero-photo-card {
    min-height: 260px !important;
    max-height: 280px !important;
    background: linear-gradient(180deg, rgba(8,35,56,.72), rgba(8,35,56,.92));
  }

  .hero-photo-card .hero-photo {
    height: 100% !important;
    min-height: 260px !important;
    max-height: 280px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: linear-gradient(180deg, rgba(8,35,56,.35), rgba(8,35,56,.72));
  }
}

.result-actions {
  display: grid;
  gap: 12px;
}

.secondary-btn.full {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

.footer-links a[target="_blank"] {
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,.28);
}


/* === V8 mobile-safe legal pages for preview === */
.legal-preview-panel {
  width: min(calc(100% - 26px), 940px);
  margin: 0 auto 46px;
}

.legal-preview-card {
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(12, 54, 86, .82), rgba(7, 35, 57, .90));
  border: 1px solid rgba(245,245,240,.20);
}

.legal-back-btn {
  margin-bottom: 20px;
}

.legal-doc-logo {
  max-width: 230px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.legal-doc-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 20px;
}

.legal-doc-content h2 {
  font-size: 1.15rem;
  margin: 26px 0 8px;
}

.legal-doc-content p,
.legal-doc-content li {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1rem;
}

.legal-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

@media (max-width: 780px) {
  .legal-preview-panel {
    width: min(calc(100% - 20px), 940px);
    margin-top: 0;
  }

  .legal-preview-card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .legal-doc-logo {
    max-width: 190px;
  }

  .legal-doc-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .legal-doc-content p,
  .legal-doc-content li {
    font-size: .96rem;
  }
}


/* === V11 gift incentive === */
.gift-callout {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(230,126,34,.18), rgba(39,174,96,.13));
  border: 1px solid rgba(230,126,34,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.gift-callout strong {
  display: block;
  color: #ffffff;
  margin-bottom: 4px;
}

.gift-callout span {
  display: block;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: .94rem;
}

.gift-btn {
  border: 1px solid rgba(230,126,34,.42);
  border-radius: 18px;
  padding: 16px 22px;
  transition: .22s ease;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(230,126,34,.95), rgba(255,176,87,.95));
  color: #1d1207;
  box-shadow: 0 14px 34px rgba(230,126,34,.22);
  text-align: center;
}

.gift-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(230,126,34,.30);
}

.gift-btn.full {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

@media (max-width: 780px) {
  .gift-callout {
    padding: 12px 14px;
    margin-bottom: 14px;
  }

  .gift-callout span {
    font-size: .88rem;
  }
}


/* === CNPJ — Selos de operadoras parceiras === */
.trust-badges-row {
  margin: 18px auto 0;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 54, 86, .62), rgba(7, 35, 57, .72));
  border: 1px solid rgba(245, 245, 240, .18);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.trust-badges-label {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.trust-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(245, 245, 240, .10);
  border: 1px solid rgba(245, 245, 240, .22);
  color: var(--off);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: .2s ease;
}

.trust-badge:hover {
  background: rgba(39, 174, 96, .14);
  border-color: rgba(39, 174, 96, .42);
  transform: translateY(-1px);
}

@media (max-width: 780px) {
  .trust-badges-row {
    padding: 14px 14px;
    border-radius: 18px;
  }
  .trust-badges-label {
    font-size: .72rem;
    margin-bottom: 10px;
  }
  .trust-badge {
    padding: 8px 12px;
    font-size: .84rem;
  }
}


/* === CNPJ — Auto-save (banner de retomada) === */
.autosave-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(39, 174, 96, .14);
  border: 1px solid rgba(39, 174, 96, .32);
  color: var(--success);
  font-size: .8rem;
  font-weight: 600;
}

.autosave-hint::before {
  content: '⟳';
  font-size: .95rem;
}

.resume-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(39, 174, 96, .18), rgba(230, 126, 34, .12));
  border: 1px solid rgba(39, 174, 96, .35);
  color: var(--off);
  flex-wrap: wrap;
}

.resume-banner strong { display: block; margin-bottom: 2px; }
.resume-banner span { color: var(--text-soft); font-size: .9rem; }

.resume-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.resume-banner-actions button {
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: .9rem;
  border: 1px solid rgba(245, 245, 240, .22);
  background: rgba(245, 245, 240, .12);
  color: var(--off);
  cursor: pointer;
  transition: .18s ease;
}

.resume-banner-actions button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #062d19;
  border-color: transparent;
}

.resume-banner-actions button:hover { transform: translateY(-1px); }


/* === CNPJ — Erros inline em campos === */
.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: rgba(255, 122, 105, .78);
  box-shadow: 0 0 0 4px rgba(255, 122, 105, .14);
}

.field-error {
  color: #ffd2ca;
  font-size: .85rem;
  margin-top: 4px;
}


/* === CNPJ — Brinde com destaque reforçado === */
.gift-callout-highlight {
  position: relative;
  margin: 4px 0 18px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(230,126,34,.42), rgba(255,176,87,.28) 55%, rgba(39,174,96,.20));
  border: 2px solid rgba(255,193,106,.72);
  box-shadow:
    0 14px 32px rgba(230,126,34,.28),
    inset 0 1px 0 rgba(255,255,255,.18);
  overflow: hidden;
  animation: giftPulse 2.6s ease-in-out infinite;
}

.gift-callout-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 0%, rgba(255,255,255,.20), transparent 38%);
  pointer-events: none;
}

.gift-callout-highlight .gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #b85811;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0,0,0,.22);
}

.gift-callout-highlight strong {
  display: block;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.32;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.gift-callout-highlight .gift-callout-desc {
  display: block;
  color: #fff4e3;
  font-size: .96rem;
  line-height: 1.55;
}

.gift-callout-highlight .gift-callout-desc em {
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
}

@keyframes giftPulse {
  0%, 100% { box-shadow: 0 14px 32px rgba(230,126,34,.28), inset 0 1px 0 rgba(255,255,255,.18); }
  50%      { box-shadow: 0 14px 38px rgba(230,126,34,.45), 0 0 0 4px rgba(255,193,106,.14), inset 0 1px 0 rgba(255,255,255,.20); }
}

@media (max-width: 780px) {
  .gift-callout-highlight {
    padding: 14px 14px 12px;
  }
  .gift-callout-highlight strong { font-size: 1rem; }
  .gift-callout-highlight .gift-callout-desc { font-size: .9rem; }
}


/* === CNPJ — Dropdown nativo: contraste do <option> === */
.field select option,
.field select optgroup {
  background-color: #ffffff;
  color: #062d19;
  font-weight: 500;
}

.field select option:checked,
.field select option:hover {
  background-color: #f0f8f3;
  color: #062d19;
}

.field select {
  color: var(--off);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F5F5F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}


/* === CNPJ — Tela de obrigado === */
.thanks-shell { max-width: 760px; margin: 0 auto; }

.thanks-card {
  padding: 36px 32px;
  text-align: center;
  border-radius: 28px;
}

.thanks-confetti {
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 18px rgba(39,174,96,.32));
}

.thanks-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  margin: 4px 0 10px;
}

.thanks-card .lead-text {
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 18px;
}

.thanks-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
  text-align: left;
}

.thanks-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(245,245,240,.10);
  border: 1px solid rgba(245,245,240,.18);
}

.thanks-step .num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #062d19;
  font-weight: 800;
  display: grid; place-items: center;
  font-size: .92rem;
}

.thanks-step strong { display: block; margin-bottom: 2px; }
.thanks-step span { color: var(--text-soft); font-size: .92rem; line-height: 1.55; }

.gift-fallback {
  position: relative;
  margin: 8px 0 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(230,126,34,.32), rgba(255,176,87,.22));
  border: 2px solid rgba(255,193,106,.62);
  box-shadow: 0 14px 32px rgba(230,126,34,.22);
  text-align: left;
  animation: giftPulse 2.6s ease-in-out infinite;
}

.gift-fallback strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  color: #ffffff;
}

.gift-fallback span {
  display: block;
  color: #fff4e3;
  line-height: 1.55;
  font-size: .94rem;
  margin-bottom: 12px;
}

.thanks-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .thanks-secondary-row { grid-template-columns: 1fr; }
}


/* === CNPJ — Aviso CRM falha + botao reenviar === */
.crm-warning {
  margin: 10px 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(230,126,34,.16);
  border: 1px solid rgba(230,126,34,.42);
  color: #ffe2c6;
  font-size: .92rem;
  line-height: 1.55;
}

.crm-warning strong { display: block; color: #fff; margin-bottom: 4px; }

.crm-resend-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(245,245,240,.22);
  background: rgba(245,245,240,.14);
  color: var(--off);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: .2s ease;
}

.crm-resend-btn:hover { background: rgba(245,245,240,.22); }
.crm-resend-btn:disabled { opacity: .5; cursor: wait; }
