/* Inter autohospedada (variable, 400-800). Sin Google Fonts. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Finanzas Healthy — Landing styles */
:root {
  --green-50:  oklch(0.97 0.03 155);
  --green-100: oklch(0.93 0.06 155);
  --green-300: oklch(0.82 0.12 155);
  --green-500: oklch(0.72 0.15 155);
  --green-600: oklch(0.62 0.16 155);
  --green-700: oklch(0.50 0.14 155);

  --blue-50:  oklch(0.97 0.02 245);
  --blue-100: oklch(0.93 0.05 245);
  --blue-500: oklch(0.55 0.18 245);
  --blue-600: oklch(0.46 0.18 245);
  --blue-700: oklch(0.38 0.16 245);

  --ink-900: oklch(0.18 0.015 250);
  --ink-700: oklch(0.32 0.012 250);
  --ink-500: oklch(0.50 0.010 250);
  --ink-400: oklch(0.62 0.008 250);
  --ink-300: oklch(0.78 0.006 250);
  --ink-200: oklch(0.88 0.005 250);
  --ink-100: oklch(0.94 0.004 250);
  --ink-50:  oklch(0.98 0.003 250);
  --white:   oklch(0.995 0.002 250);

  --primary: var(--green-500);
  --primary-hover: var(--green-600);
  --primary-deep: var(--green-700);
  --secondary: var(--blue-500);
  --secondary-hover: var(--blue-600);

  --shadow-sm: 0 1px 2px oklch(0.18 0.015 250 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.18 0.015 250 / 0.08), 0 1px 3px oklch(0.18 0.015 250 / 0.04);
  --shadow-lg: 0 18px 40px oklch(0.18 0.015 250 / 0.12), 0 4px 12px oklch(0.18 0.015 250 / 0.06);
  --shadow-cta: 0 12px 28px oklch(0.62 0.16 155 / 0.32);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --container: 1200px;
}

/* Theme: ocean (azul primario) */
[data-theme="ocean"] {
  --primary: var(--blue-500);
  --primary-hover: var(--blue-600);
  --primary-deep: var(--blue-700);
  --secondary: var(--green-500);
  --secondary-hover: var(--green-600);
  --shadow-cta: 0 12px 28px oklch(0.46 0.18 245 / 0.32);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.995 0.002 250 / 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.brand-logo {
  height: 64px;
  width: auto;
  display: block;
}
.brand-logo-light {
  height: 96px;
  width: auto;
  display: block;
  background: white;
  padding: 10px 14px;
  border-radius: 14px;
}
.footer-brand .brand { margin-bottom: 16px; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green-500), var(--blue-500));
  position: relative;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 15px;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name b { font-weight: 700; }
.brand-name span { font-size: 10px; letter-spacing: 0.18em; color: var(--ink-500); margin-top: 3px; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-700);
}
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--primary-deep); }
.nav-cta {
  background: var(--ink-900);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover { background: var(--primary-deep); transform: translateY(-1px); }

@media (max-width: 880px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  background: white;
  color: var(--ink-900);
  border: 1.5px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--ink-900);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--primary-deep);
  padding: 8px 14px;
}
.btn-ghost:hover { color: var(--ink-900); }
.btn-lg { padding: 18px 30px; font-size: 16px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, oklch(0.93 0.06 155 / 0.6), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 100%, oklch(0.93 0.05 245 / 0.5), transparent 60%),
    linear-gradient(180deg, var(--ink-50), var(--white));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--ink-200);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px oklch(0.72 0.15 155 / 0.18);
}
h1.hero-title {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 22px 0 20px;
  color: var(--ink-900);
  text-wrap: balance;
}
h1.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 540px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-trust {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.avatars {
  display: flex;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid white;
  margin-left: -10px;
  background: linear-gradient(135deg, var(--green-300), var(--blue-500));
  display: grid;
  place-items: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
}
.avatar:first-child { margin-left: 0; }
.hero-trust-text { font-size: 13.5px; color: var(--ink-700); }
.hero-trust-text b { color: var(--ink-900); }
.stars { color: oklch(0.78 0.16 70); letter-spacing: 1px; font-size: 14px; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Hero card (right side calculator) */
.calc-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
  border: 1px solid var(--ink-200);
}
.calc-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, oklch(0.72 0.15 155 / 0.3), transparent 50%);
  z-index: -1;
  filter: blur(20px);
}
.calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.calc-title { font-weight: 600; font-size: 16px; }
.calc-tag {
  background: var(--green-100);
  color: var(--green-700);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.bill-tile {
  background: var(--ink-50);
  border: 1.5px solid transparent;
  padding: 14px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.bill-tile:hover { background: var(--ink-100); }
.bill-tile.active {
  background: oklch(0.97 0.04 155);
  border-color: var(--green-500);
}
.bill-tile-icon {
  font-size: 20px;
  margin-bottom: 6px;
  display: block;
}
.bill-tile-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-700);
}
.bill-tile.active .bill-tile-name { color: var(--green-700); font-weight: 600; }

.slider-row { margin-bottom: 18px; }
.slider-row label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.slider-row label b { color: var(--ink-900); font-weight: 600; }
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--ink-200);
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 2px 6px oklch(0 0 0 / 0.18);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 2px 6px oklch(0 0 0 / 0.18);
  cursor: pointer;
}

.savings-result {
  background: linear-gradient(135deg, oklch(0.97 0.04 155), oklch(0.95 0.05 175));
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.savings-label { font-size: 13px; color: var(--ink-700); margin-bottom: 4px; }
.savings-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.savings-amount small { font-size: 14px; font-weight: 500; color: var(--ink-500); }
.savings-meta { font-size: 12px; color: var(--ink-500); margin-top: 2px; }

.calc-cta {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s;
}
.calc-cta:hover { background: var(--primary-hover); }
.calc-fineprint {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-500);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 0;
}
.section-tight { padding: 72px 0; }
.section-alt { background: var(--ink-50); }
.section-dark {
  background: var(--ink-900);
  color: var(--white);
}
.section-dark h2 { color: white; }
.section-dark p { color: oklch(0.78 0.012 250); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 14px;
}
.section-dark .section-eyebrow { color: var(--green-300); }
h2.section-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-lede {
  font-size: 18px;
  color: var(--ink-700);
  max-width: 640px;
  text-wrap: pretty;
}
.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Problem section */
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bill-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fake-bill {
  background: white;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s;
}
.fake-bill:hover { transform: translateX(6px); }
.fb-left { display: flex; align-items: center; gap: 14px; }
.fb-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--ink-100);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.fb-name { font-weight: 600; font-size: 14.5px; }
.fb-co { font-size: 12px; color: var(--ink-500); }
.fb-amt {
  font-weight: 700;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.fb-old {
  font-size: 12.5px;
  color: oklch(0.55 0.16 28);
  text-decoration: line-through;
  margin-right: 8px;
}
.fb-new { color: var(--green-700); }
.fb-badge {
  position: absolute;
  top: -8px;
  right: 16px;
  background: var(--green-500);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}
.fb-bg {
  position: absolute;
  inset: -20px -20px -20px -20px;
  background: radial-gradient(ellipse at center, oklch(0.93 0.05 155 / 0.5), transparent 70%);
  z-index: -1;
  border-radius: 40px;
}

@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* Solution / steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.step {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.step p {
  color: var(--ink-700);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
.step-divider {
  position: absolute;
  right: -16px;
  top: 50px;
  color: var(--ink-300);
  font-size: 22px;
  z-index: 1;
}

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step-divider { display: none; }
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ink-200);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 16px;
}
.benefit {
  background: white;
  padding: 36px 32px;
  display: flex;
  gap: 18px;
  transition: background 0.15s;
}
.benefit:hover { background: var(--ink-50); }
.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: oklch(0.97 0.04 155);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.benefit-icon.blue { background: oklch(0.96 0.04 245); }
.benefit h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.benefit p {
  margin: 0;
  color: var(--ink-700);
  font-size: 14.5px;
  line-height: 1.6;
}
.benefits-3col { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 880px) {
  .benefits-3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits-3col { grid-template-columns: 1fr; }
  .benefit { padding: 22px 18px; }
}
@media (max-width: 480px) {
  .benefit { padding: 18px 16px; }
}

/* Trust section */
.trust-marquee {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px 8px;
  overflow: hidden;
  position: relative;
  margin-top: 40px;
}
.trust-track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.trust-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-400);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.trust-logo:hover { color: var(--ink-900); }
.trust-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.5;
}
.trust-marquee::before, .trust-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-marquee::before {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}
.trust-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, white, transparent);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  text-align: center;
}
.trust-stat-num {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.trust-stat-label {
  margin-top: 8px;
  color: var(--ink-700);
  font-size: 14px;
}
@media (max-width: 760px) {
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.testimonial-stars { color: oklch(0.78 0.16 70); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-quote {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-900);
  margin: 0 0 18px;
  flex: 1;
  text-wrap: pretty;
}
.testimonial-quote::before { content: '“'; }
.testimonial-quote::after { content: '”'; }
.testimonial-meta { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-300), var(--blue-500));
  color: white; display: grid; place-items: center; font-weight: 600; font-size: 13px;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12.5px; color: var(--ink-500); }
.testimonial-savings {
  margin-left: auto;
  background: oklch(0.97 0.04 155);
  color: var(--green-700);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
}
@media (max-width: 880px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* Mid CTA */
.cta-band {
  background: linear-gradient(135deg, var(--primary-deep), oklch(0.42 0.14 175));
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  color: white;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cta-band::before {
  width: 320px; height: 320px;
  background: oklch(0.82 0.12 155 / 0.4);
  top: -120px; right: -80px;
}
.cta-band::after {
  width: 280px; height: 280px;
  background: oklch(0.55 0.18 245 / 0.35);
  bottom: -120px; left: 20%;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
  color: white;
  text-wrap: balance;
}
.cta-band p {
  margin: 0;
  font-size: 16px;
  color: oklch(0.92 0.02 155);
  text-wrap: pretty;
}
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-band .btn-primary {
  background: white;
  color: var(--primary-deep);
  box-shadow: 0 12px 28px oklch(0 0 0 / 0.2);
}
.cta-band .btn-primary:hover { background: var(--ink-50); }
.cta-band .btn-secondary {
  background: transparent;
  color: white;
  border-color: oklch(1 0 0 / 0.3);
}
.cta-band .btn-secondary:hover { background: oklch(1 0 0 / 0.1); border-color: white; }

@media (max-width: 880px) {
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-100);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-700);
  transition: transform 0.2s, background 0.15s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--green-500);
  color: white;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  padding: 0 26px;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 26px 22px;
}

/* Footer */
footer.footer {
  background: linear-gradient(135deg, var(--green-700) 0%, oklch(0.38 0.16 245) 100%);
  color: white;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid oklch(1 0 0 / 0.18);
}
.footer-brand { color: white; }
.footer-brand p { margin: 16px 0 24px; font-size: 14.5px; line-height: 1.6; max-width: 320px; color: white; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { display: flex; align-items: center; gap: 10px; color: white; transition: opacity 0.15s; }
.footer-contact a:hover { opacity: 0.75; }
.footer-col h4, .footer-col .footer-h {
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; color: white; transition: opacity 0.15s; }
.footer-col a:hover { opacity: 0.75; color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.footer-bottom .legal { display: flex; gap: 20px; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* Check icon */
.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-500);
  color: white;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

/* Hero list */
.hero-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-700);
}

/* Highlight number */
.big-stat {
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.big-stat-suffix {
  font-size: 0.4em;
  color: var(--ink-500);
  -webkit-text-fill-color: var(--ink-500);
  margin-left: 6px;
  font-weight: 600;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Modal (factura upload) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(0.18 0.015 250 / 0.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  animation: fade 0.2s;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  margin: auto;
  max-height: none;
  box-shadow: var(--shadow-lg);
  animation: pop 0.25s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-100);
  display: grid; place-items: center;
  font-size: 18px;
  color: var(--ink-700);
}
.modal-close:hover { background: var(--ink-200); }
.modal h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.015em; }
.modal p { color: var(--ink-700); font-size: 14.5px; margin: 0 0 20px; }
.dropzone {
  border: 2px dashed var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  background: var(--ink-50);
  transition: all 0.15s;
  cursor: pointer;
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--primary);
  background: oklch(0.97 0.04 155);
}
.dropzone-icon { font-size: 36px; margin-bottom: 12px; }
.dropzone p { margin: 0 0 4px; }
.dropzone b { color: var(--primary-deep); }
.modal-form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.modal-form input {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--ink-200);
  font-family: inherit;
  font-size: 14.5px;
  transition: border 0.15s;
}
.modal-form input:focus {
  outline: none;
  border-color: var(--primary);
}
.modal-form button {
  margin-top: 8px;
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
}
.modal-form button:hover { background: var(--primary-hover); }

/* Compact density */
[data-density="compact"] .section { padding: 72px 0; }
[data-density="compact"] .hero { padding: 88px 0 64px; }
[data-density="compact"] h1.hero-title { font-size: clamp(36px, 4.6vw, 54px); }


/* ───── Mortgage calculator ───────────────────────────────── */
#hipoteca .section-title { text-wrap: balance; }
.mortgage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 900px) { .mortgage-grid { grid-template-columns: 1fr; gap: 20px; } }

.mortgage-form {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
}
.mort-row { display: grid; gap: 12px; }
.mort-field { display: flex; flex-direction: column; gap: 6px; }
.mort-label {
  font-size: 12.5px; color: var(--ink-700); font-weight: 500;
  letter-spacing: -0.005em;
}
.mort-input-wrap {
  position: relative; display: flex; align-items: center;
  background: var(--ink-50);
  border: 1.5px solid transparent;
  border-radius: 12px;
  transition: all 0.15s;
}
.mort-input-wrap:focus-within {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.72 0.15 155 / 0.15);
}
.mort-input-wrap input,
.mort-input-wrap select {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  padding: 13px 14px;
  font: inherit; font-size: 15px; font-weight: 500;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  appearance: none;
}
.mort-input-wrap select { padding-right: 36px; cursor: pointer; }
.mort-input-wrap:has(select)::after {
  content: '▾';
  position: absolute; right: 14px; pointer-events: none;
  color: var(--ink-500); font-size: 12px;
}
.mort-suffix {
  padding: 0 14px; color: var(--ink-500);
  font-size: 13px; font-weight: 500; flex-shrink: 0;
}

.mort-pill-group { display: flex; gap: 8px; }
.mort-pill {
  flex: 1; padding: 11px 14px;
  border-radius: 12px;
  background: var(--ink-50);
  border: 1.5px solid transparent;
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink-700); cursor: pointer;
  transition: all 0.15s;
}
.mort-pill.active {
  background: oklch(0.97 0.04 155);
  border-color: var(--primary);
  color: var(--green-700);
}

/* Result panel */
.mortgage-result {
  background: linear-gradient(180deg, var(--white) 0%, var(--ink-50) 100%);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm);
}
.mort-verdict {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
}
.mort-verdict-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: white; font-size: 18px; font-weight: 800;
  flex-shrink: 0;
}
.mort-verdict-label {
  font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 600;
  opacity: 0.7;
}
.mort-verdict-value {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em;
}
.mort-verdict-desc {
  margin: -4px 0 0; color: var(--ink-700);
  font-size: 14px; line-height: 1.5;
}
.mort-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 4px;
}
@media (max-width: 480px) { .mort-stats { grid-template-columns: 1fr; } }
.mort-stat {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 14px;
}
.mort-stat-label {
  font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500); font-weight: 600;
  margin-bottom: 6px;
}
.mort-stat-value {
  font-size: 18px; font-weight: 700; color: var(--ink-900);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.mort-stat-value.accent { color: var(--green-700); }
.mort-stat-hint {
  font-size: 12px; color: var(--ink-500); margin-top: 3px;
}

.mort-disclaimer {
  font-size: 12.5px; color: var(--ink-500); line-height: 1.5;
  background: var(--ink-50); padding: 12px 14px; border-radius: 10px;
  margin: 0;
}
.mort-actions { display: flex; flex-direction: column; gap: 10px; }
.mort-actions .btn { width: 100%; }

.mort-pitch {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: oklch(0.97 0.04 155);
  border-radius: 12px;
}
.mort-pitch-price {
  font-size: 22px; font-weight: 800; color: var(--green-700);
  letter-spacing: -0.01em; line-height: 1;
  width: 64px; text-align: center; flex-shrink: 0;
}
.mort-pitch b { display: block; font-size: 14px; color: var(--ink-900); margin-bottom: 4px; }
.mort-pitch p { margin: 0; font-size: 12.5px; color: var(--ink-700); line-height: 1.45; }


/* ───── Mortgage modal (wider, 2-col form) ───────────────── */
.modal.modal-mortgage {
  max-width: 640px;
  width: 100%;
}
.modal-mortgage .modal-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-700);
  background: oklch(0.97 0.04 155);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.modal-mortgage .modal-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-600);
}
.modal-mortgage .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-mortgage .mort-field.full { grid-column: 1 / -1; }
@media (max-width: 540px) {
  .modal-mortgage .form-grid { grid-template-columns: 1fr; }
}
.modal-mortgage .modal-form { gap: 16px; margin-top: 18px; }
.modal-mortgage textarea {
  flex: 1; width: 100%;
  background: transparent; border: none; outline: none;
  padding: 13px 14px;
  font: inherit; font-size: 15px;
  color: var(--ink-900); resize: vertical;
  min-height: 84px;
}
/* Reset the global .modal-form input box-styling inside the mortgage modal —
   we use the .mort-input-wrap pattern here instead. */
.modal-mortgage .modal-form input,
.modal-mortgage .modal-form select,
.modal-mortgage .modal-form textarea {
  padding: 13px 14px;
  border: none;
  background: transparent;
  border-radius: 0;
  font-size: 15px;
}
.modal-mortgage .modal-form input:focus,
.modal-mortgage .modal-form select:focus,
.modal-mortgage .modal-form textarea:focus {
  outline: none;
  border: none;
}
.modal-mortgage .modal-form .mort-input-wrap {
  background: var(--ink-50);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 0;
}
.modal-mortgage .modal-form .mort-input-wrap:focus-within {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.72 0.15 155 / 0.15);
}
.modal-mortgage .modal-form button.modal-submit:hover { background: var(--primary-hover); }
.modal-mortgage .modal-submit {
  margin-top: 4px;
  background: var(--primary);
  color: white; border: none; padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px; cursor: pointer;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-cta);
  transition: transform 0.1s, background 0.15s;
}
.modal-mortgage .modal-submit:hover { background: var(--primary-hover); }
.modal-mortgage .modal-submit:active { transform: translateY(1px); }
.modal-mortgage .modal-fineprint {
  font-size: 12px; color: var(--ink-500);
  text-align: center; line-height: 1.5;
  margin: 6px 0 0;
}


/* ───── Advisor card (sección hipotecas) ─────────────────── */
.advisor-card {
  display: flex; align-items: center; gap: 24px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 22px 26px;
  margin: 28px 0 8px;
  box-shadow: var(--shadow-sm);
}
.advisor-photo {
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: oklch(0.93 0.06 155);
  box-shadow: 0 4px 14px -6px oklch(0.18 0.015 250 / 0.18),
              0 0 0 4px var(--white),
              0 0 0 5.5px oklch(0.93 0.06 155);
}
.advisor-photo img {
  width: 100%; height: 100%; display: block; object-fit: cover;
}
.advisor-body { flex: 1; min-width: 0; }
.advisor-name {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 17px; font-weight: 700;
  color: var(--ink-900); letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.advisor-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-700);
  background: oklch(0.97 0.04 155);
  padding: 4px 9px; border-radius: 999px;
}
.advisor-badge-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-600);
}
.advisor-text {
  margin: 0 0 12px; font-size: 14.5px;
  line-height: 1.55; color: var(--ink-700);
  max-width: 60ch;
}
.advisor-checks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.advisor-checks li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-700); font-weight: 500;
}
.advisor-checks .ck {
  width: 18px; height: 18px; border-radius: 50%;
  background: oklch(0.93 0.06 155);
  color: var(--green-700);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
}

@media (max-width: 600px) {
  .advisor-card { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; }
  .advisor-photo { width: 84px; height: 84px; }
}


/* ── WhatsApp floating button ─────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 6px 24px -6px rgba(37,211,102,0.55), 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 30px -6px rgba(37,211,102,0.65), 0 2px 8px rgba(0,0,0,0.12);
}
.whatsapp-fab svg {
  width: 24px; height: 24px;
}

/* ── Responsive móvil extra — 640px ──────────────────────────── */
@media (max-width: 640px) {
  .problem-grid { gap: 32px; }
  .hero-grid { gap: 28px; }
  .calc-card { padding: 20px 18px; }
  .faq-q { padding: 16px 18px; }
  .faq-a { padding: 0 18px; }
  .faq-item.open .faq-a { padding: 0 18px 16px; }
  .section { padding: 64px 0; }
}

/* ── Responsive móvil extra — 480px ──────────────────────────── */
@media (max-width: 480px) {
  .problem-grid { gap: 16px; }
  .trust-track { gap: 32px; }
  .trust-marquee::before,
  .trust-marquee::after { width: 40px; }
  .cta-band { gap: 20px; padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .benefits { gap: 12px; }
  .section { padding: 48px 0; }
  .container { overflow: hidden; }
}
/* Global animations used in wizard screens */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.3; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Wizard page layout ─────────────────────────────────────── */
.wizard-bg {
  background: oklch(0.97 0.005 250);
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink-900);
}

.wz-topbar {
  position: sticky; top: 0; z-index: 5;
  background: white;
  border-bottom: 1px solid var(--ink-100);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.wz-topbar a.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.wz-topbar img.brand-logo { height: 44px; width: auto; display: block; }
.wz-topbar .help { font-size: 13px; color: var(--ink-700); text-decoration: none; }
.wz-topbar .help:hover { color: var(--ink-900); }

.wz-stage {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 64px;
}

.wz-panel {
  width: 100%;
  max-width: 520px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.04),
              0 24px 48px -16px oklch(0.4 0.04 250 / 0.18);
  overflow: hidden;
}
.wz-panel > div { min-height: 640px; height: auto; }

.wz-aside { display: none; }

@media (max-width: 640px) {
  .wz-stage { padding: 0; }
  .wz-panel {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    min-height: calc(100vh - 64px);
  }
  .wz-panel > div { min-height: calc(100vh - 64px); }
}

@media (min-width: 960px) {
  .wz-stage { padding: 48px 24px 80px; }
  .wz-panel {
    max-width: 980px;
    display: grid;
    grid-template-columns: 360px 1fr;
    min-height: 640px;
  }
  .wz-panel > div { min-height: 640px; }
  .wz-aside {
    background: linear-gradient(165deg,
      oklch(0.96 0.05 155) 0%,
      oklch(0.94 0.06 200) 100%);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--ink-900);
  }
}

.wz-aside .a-logo img { height: 50px; width: auto; }
.wz-aside h2 {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.2; margin: 0 0 12px; text-wrap: balance;
}
.wz-aside p { font-size: 14.5px; color: var(--ink-700); line-height: 1.55; margin: 0; }
.wz-aside ul {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.wz-aside ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-900);
}
.wz-aside ul li .ck {
  width: 22px; height: 22px; border-radius: 50%;
  background: white; color: var(--green-700);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.06);
}
.wz-aside .a-foot {
  margin-top: 28px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--ink-700);
}

/* ---- Añadidos de la versión estática ---- */
.skip-link { position: absolute; left: -9999px; top: 8px; background: white; color: var(--ink-900); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.nav-cta { cursor: pointer; }
/* FAQ con <details> nativo (sin JS) */
details.faq-item > summary { list-style: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--green-500); color: white; }
details.faq-item .faq-a { max-height: none; overflow: visible; padding: 0 26px 22px; }
@media (max-width: 720px) { details.faq-item .faq-a { padding: 0 18px 16px; } }
/* Calculadora del hero */
.calc-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.calc-opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; border-radius: 14px; background: var(--ink-50); border: 1.5px solid transparent; text-align: left; min-height: 116px; transition: all .15s; }
.calc-opt[aria-pressed="true"] { background: oklch(0.97 0.04 155); border-color: var(--green-600); box-shadow: 0 6px 18px -10px oklch(0.55 0.13 155 / 0.4); }
.calc-opt-icon { width: 38px; height: 38px; border-radius: 11px; background: white; display: grid; place-items: center; font-size: 19px; box-shadow: 0 1px 2px oklch(0 0 0 / 0.05); }
.calc-opt-name { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--ink-900); }
.calc-opt[aria-pressed="true"] .calc-opt-name { color: var(--green-700); }
.calc-opt-sub { font-size: 12px; color: var(--ink-500); line-height: 1.3; }
.calc-cta[disabled] { opacity: .5; cursor: not-allowed; }
.calc-question { font-size: 13px; color: var(--ink-500); margin-bottom: 10px; }
/* Tablas y páginas legales / definiciones */
.definition { max-width: 820px; margin: 0 auto; font-size: 18px; line-height: 1.65; color: var(--ink-700); text-align: center; }
.definition strong { color: var(--ink-900); }
.savings-table { width: 100%; max-width: 820px; margin: 32px auto 0; border-collapse: collapse; font-size: 15px; background: white; border: 1px solid var(--ink-200); border-radius: var(--radius-md); overflow: hidden; }
.savings-table caption { caption-side: top; text-align: left; padding: 0 0 12px; font-weight: 600; color: var(--ink-900); }
.savings-table th, .savings-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--ink-100); }
.savings-table th { background: var(--ink-50); color: var(--ink-900); }
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.fit-grid h3 { margin: 0 0 8px; }
.fit-grid p { margin: 0; color: var(--ink-700); }
@media (max-width: 720px) { .fit-grid { grid-template-columns: 1fr; } .savings-table th, .savings-table td { padding: 10px 12px; } }
.legal-main { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; color: var(--ink-800); line-height: 1.7; font-size: 15px; }
.legal-main .legal-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.legal-main h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink-900); margin: 0 0 12px; }
.legal-main .legal-date { color: var(--ink-500); font-size: 14px; margin: 0 0 48px; }
.legal-main section { margin-bottom: 36px; }
.legal-main h2 { font-size: 20px; font-weight: 700; color: var(--ink-900); margin: 0 0 12px; letter-spacing: -0.01em; }
.legal-main ul { padding-left: 20px; margin: 8px 0; }
.legal-main a { color: var(--primary); text-decoration: underline; }
.legal-main table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.legal-main th, .legal-main td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--ink-100); }
.legal-main th { background: var(--ink-50); color: var(--ink-900); }
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: oklch(0.97 0.005 250); }
.notfound h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px; }
.notfound p { color: var(--ink-600); max-width: 360px; margin: 0 0 32px; }
.footer-contact span, .footer-col li { color: inherit; }
.footer-cookie-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-cookie-btn:hover { opacity: .8; }
#cc-main { --cc-font-family: 'Inter', system-ui, sans-serif; --cc-btn-primary-bg: #1a5c3a; --cc-btn-primary-border-color: #1a5c3a; --cc-btn-primary-hover-bg: #14472d; --cc-btn-primary-hover-border-color: #14472d; --cc-toggle-on-bg: #1a5c3a; }

/* Reseñas de Google (inyectadas por api/home.js) — mismo bloque que Electramat */
.section--google {
  background: #fff;
  color: #202124;
}
.g-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.g-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.g-logo svg {
  width: 44px;
  height: 44px;
  display: block;
}
.g-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #202124;
}
.g-sub {
  display: block;
  font-size: 0.95rem;
  color: #5f6368;
}
.g-score {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
}
.g-score strong {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 500;
  color: #202124;
}
.g-score > span:last-child {
  font-size: 0.95rem;
  color: #5f6368;
}
.g-stars {
  display: inline-flex;
  gap: 2px;
}
.g-stars svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: #dadce0;
}
.g-stars .on svg {
  fill: #fbbc04;
}
.g-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.g-card {
  flex: 1 1 290px;
  max-width: calc((100% - 40px) / 3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15), 0 4px 12px rgba(60, 64, 67, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.g-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.2), 0 10px 24px rgba(60, 64, 67, 0.12);
}
.g-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.g-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.g-meta strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: #202124;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.g-meta span {
  font-size: 0.82rem;
  color: #70757a;
}
.g-mini svg {
  width: 20px;
  height: 20px;
  display: block;
}
.g-card .g-stars svg {
  width: 17px;
  height: 17px;
}
.g-card blockquote {
  margin: 0;
  font-style: normal;
  font-size: 0.97rem;
  line-height: 1.55;
  color: #3c4043;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-card blockquote p {
  margin: 0;
}
.g-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.g-btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #1a73e8;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.g-btn:hover {
  background: #f1f6fe;
  border-color: #1a73e8;
}
.resenas-atribucion {
  font-size: 0.85rem;
  color: #70757a;
}
@media (max-width: 960px) {
  .g-card {
    max-width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 640px) {
  .g-card {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-card {
    transition: none;
  }
  .g-card:hover {
    transform: none;
  }
}
