:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --ink: #1a2332;
  --muted: #5a6678;
  --line: #e2e8f0;
  --primary: #0b6fad;
  --primary-dark: #084b75;
  --primary-ink: #ffffff;
  --accent: #0ea5e9;
  --accent-light: #e0f2fe;
  --success: #059669;
  --surface-soft: #f0f7ff;
  --shadow: 0 4px 24px rgba(11, 111, 173, 0.08);
  --shadow-lg: 0 12px 48px rgba(11, 111, 173, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.topbar,
.hero,
.proof-band,
.section-grid,
.comparison-grid,
.process,
.content-slab,
.faq-grid,
.form-section,
.footer {
  margin-top: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  margin-left: -16px;
  margin-right: -16px;
  width: calc(100% + 32px);
}

.eyebrow,
.section-tag,
.panel-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-weight: 700;
}

.brand-block {
  display: flex;
  flex-direction: column;
}

.brand {
  display: block;
  margin-top: 2px;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.cta-link {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--success);
  color: var(--primary-ink);
  transition: background 0.2s;
  white-space: nowrap;
}

.cta-link:hover {
  background: #047857;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  position: relative;
}

.hero-image {
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  overflow: hidden;
  max-height: 520px;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.hero-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}

.hero-copy {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.accent-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.accent-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.form-copy {
  padding: 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0;
}

h1 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-top: 10px;
  color: var(--ink);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  font-size: 1.1rem;
  margin-top: 16px;
}

.lead,
.hero-copy p,
.form-copy p,
.content-slab p,
.metric-row span,
.metric-row strong,
.price-row span,
.price-row strong,
.steps p,
.footer p,
.status-message,
.comparison-list li,
.faq-list p,
.proof-band article {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.button.primary {
  background: var(--primary);
  color: var(--primary-ink);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.ghost {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.button.ghost:hover {
  background: var(--accent-light);
}

/* Direct contact */
.direct-contact,
.inline-whatsapp {
  margin: 0 0 20px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #d1fae5;
  background: #ecfdf5;
}

.direct-contact-label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--success);
  font-weight: 700;
}

.direct-contact-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--success);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.contact-pill:hover {
  background: #047857;
}

.contact-pill.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.contact-pill.secondary:hover {
  background: var(--surface-soft);
}

.direct-contact-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Trust strip */
.trust-strip {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-strip li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d1fae5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.bullet-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullet-columns li {
  margin: 10px 0;
  color: var(--muted);
  padding-left: 28px;
  position: relative;
}

.bullet-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d1fae5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Proof band */
.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 40px 0;
}

.proof-band article {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.proof-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.proof-band strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.4;
}

/* Pricing section */
.section-grid,
.form-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  padding: 48px 0;
}

.table-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.content-slab {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  margin-top: 0;
  margin-bottom: 48px;
}

.lead-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.footer {
  background: var(--ink);
  color: #cbd5e1;
  border-radius: 16px;
  padding: 32px;
  margin-top: 48px;
}

.footer p {
  color: #94a3b8;
}

.footer a {
  color: #e2e8f0;
}

.metric-row,
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.metric-row:last-of-type,
.price-row:last-of-type {
  border-bottom: 0;
}

.price-row {
  grid-template-columns: 1fr auto auto;
}

.price-row strong {
  color: var(--primary) !important;
  font-weight: 800;
}

.microcopy {
  margin-top: 18px;
}

.price-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.hero-mini-grid div {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.hero-mini-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-mini-grid strong {
  display: block;
  line-height: 1.35;
  font-size: 0.92rem;
}

.disclaimer-copy {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  font-size: 0.92rem;
}

/* Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 0 48px;
}

.comparison-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.comparison-card.spotlight {
  background: linear-gradient(180deg, var(--accent-light), var(--panel));
  border-color: #bae6fd;
}

.comparison-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

/* Process */
.process {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.process .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.steps article {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.steps article h3 {
  color: var(--primary);
}

/* Bullet columns */
.bullet-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.faq-list p {
  margin: 10px 0 0;
}

/* Form */
.form-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 111, 173, 0.1);
}

.full-width {
  grid-column: 1 / -1;
  margin-top: 14px;
}

.consent-row {
  margin-top: 14px;
  flex-direction: row;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.88rem;
}

.consent-row input {
  width: auto;
  margin-top: 3px;
}

.status-message {
  min-height: 24px;
  margin-top: 8px;
}

.status-message.success {
  color: var(--success);
}

.status-message.error {
  color: #dc2626;
}

.field-hint { display: block; font-size: 0.78rem; color: #666; margin-top: 4px; }
.contact-error { color: #dc2626; font-size: 0.88rem; margin: 0 0 8px; grid-column: 1 / -1; }
.form-trust-signals { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.trust-signal { font-size: 0.88rem; color: #444; }
.trust-signal strong { color: var(--primary); }

.inline-whatsapp {
  margin-top: 24px;
}

.inline-whatsapp a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--success);
  font-weight: 700;
}

/* Footer */
.footer-copy {
  display: grid;
  gap: 12px;
  width: 100%;
}

.footer-links {
  gap: 20px;
}

.footer-links a {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Panel label */
.panel-label {
  color: var(--primary);
  margin-bottom: 8px;
}

/* ---------- Floating WhatsApp ---------- */
.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(11, 111, 173, 0.3);
  transition: background 0.2s;
}
.floating-wa::before {
  content: attr(data-tooltip);
  position: absolute;
  top: -36px;
  right: 0;
  padding: 6px 12px;
  border-radius: 6px;
  background: #333;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.floating-wa:hover { background: var(--primary-dark); }
.floating-wa:hover::before { opacity: 1; }

/* ---------- Social Proof Stats ---------- */
.social-proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
}
.social-proof-bar .proof-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.2;
}
.social-proof-bar .proof-stat span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Cross-Brand Banner ---------- */
.cross-brand-banner {
  max-width: 1120px;
  margin: 0 auto 32px;
  padding: 24px 32px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cross-brand-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.cross-brand-banner p strong {
  color: var(--primary);
}
.cross-brand-banner a {
  display: inline-flex;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}
.cross-brand-banner a:hover { background: var(--primary-dark); }

/* ---------- Exit-Intent Popup ---------- */
.exit-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-popup-overlay.visible {
  display: flex;
}
.exit-popup {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}
.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 4px 8px;
}
.exit-popup-close:hover { color: var(--ink); }
.exit-popup h2 {
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.exit-popup .exit-popup-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 20px;
  line-height: 1.5;
}
.exit-popup-form {
  display: grid;
  gap: 14px;
}
.exit-popup-form input,
.exit-popup-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
}
.exit-popup-form input:focus,
.exit-popup-form select:focus {
  outline: none;
  border-color: var(--primary);
}
.exit-popup-form .consent-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}
.exit-popup-form .consent-row input { width: auto; margin-top: 2px; }
.exit-popup-form button {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.exit-popup-form button:hover { background: var(--primary-dark, var(--primary)); }
.exit-popup-status { font-size: 0.88rem; min-height: 20px; margin: 0; }
.exit-popup-status.success { color: var(--success, #1a7f62); }
.exit-popup-status.error { color: #dc2626; }

/* ---------- Social Proof Ticker ---------- */
.social-proof-ticker {
  margin-top: 12px;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 8px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticker-item {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ticker-item.active {
  display: inline;
  opacity: 1;
}

/* ---------- Urgency Callout ---------- */
.urgency-callout {
  margin-top: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(11,111,173,0.08), rgba(11,111,173,0.04));
  border: 1px solid rgba(11,111,173,0.18);
  border-radius: 8px;
  text-align: center;
}
.urgency-callout a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.urgency-callout a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content,
  .proof-band,
  .section-grid,
  .comparison-grid,
  .faq-grid,
  .form-section,
  .process .steps,
  .bullet-columns,
  .field-grid,
  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-image {
    max-height: 320px;
  }

  .hero-image img {
    height: 320px;
  }

  .hero-copy,
  .accent-card,
  .form-copy,
  .table-card,
  .content-slab,
  .lead-form,
  .footer {
    padding: 22px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .social-proof-bar { grid-template-columns: 1fr; padding: 32px 24px; gap: 16px; }
  .cross-brand-banner { flex-direction: column; text-align: center; padding: 20px; }
  .referral-share-buttons { flex-direction: column; }
}

/* ---------- Referral Share Buttons ---------- */
.referral-share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
