/* ==========================================================================
   SSekulits LLC Insurance — Landing
   Diseñado por Easy Commerce
   ========================================================================== */

:root {
  --navy: #003060;
  --blue: #5094d9;
  --gold: #ffd859;
  --bone: #f0f0f0;
  --ink: #272d33;
  --body: #4e5359;
  --muted: #5d7084;
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --accent: "Instrument Serif", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-h: 80px;
  --radius-card: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 500; }

em { font-family: var(--accent); font-style: italic; }

button { font-family: var(--sans); }

.page { background: var(--bone); color: var(--ink); overflow-x: hidden; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 1180px; }
.wrap--slim { max-width: 1120px; }
.wrap--text { max-width: 880px; }
.wrap--faq { max-width: 860px; }

.section { padding: 100px 0; }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.eyebrow--gold { color: var(--gold); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  color: var(--navy);
  margin: 16px 0 0;
  letter-spacing: -.015em;
}
.h2--lg { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.1; }
.h2--light { color: var(--white); }

.lead { font-size: 18px; line-height: 1.65; color: var(--body); margin: 22px 0 0; }
.lead--light { color: rgba(255, 255, 255, .7); }

.section-head { max-width: 760px; margin: 0 auto 62px; text-align: center; }

.legal {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
}

/* --------------------------------------------------------------- Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn:hover { transform: scale(1.03); }
.btn:disabled { cursor: default; transform: none; }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { color: var(--navy); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { color: var(--white); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); color: var(--white); }

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  font-weight: 500;
}
.btn--outline:hover { background: rgba(255, 255, 255, .1); color: var(--white); }

.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--sm { padding: 11px 24px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------- Animaciones */

@keyframes ssRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ssBlur { from { opacity: 0; filter: blur(10px); transform: translateY(16px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes ssCard { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes ssBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes ssPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.anim-blur { animation: ssBlur .7s ease both; }
.anim-rise { animation: ssRise .7s cubic-bezier(.16, 1, .3, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* -------------------------------------------------------- Range sliders */

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0;
  height: 8px;
  border-radius: 999px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--navy);
  border: 4px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 48, 96, .35);
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--navy);
  border: 4px solid var(--gold);
  cursor: pointer;
}

/* ------------------------------------------------------- Barra progreso */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  z-index: 100;
  width: 0;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

/* -------------------------------------------------------------- Navbar  */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--nav-h);
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(12px);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* flex: none evita que el contenedor se encoja y deforme el logo cuando el
   nav va justo de espacio (a 1024px salía 117x60 en vez de 123x60). */
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 60px; width: auto; object-fit: contain; transition: filter .3s ease; }

/* Seis enlaces ya no caben con 32px de separación fija: entre 1024 y 1200 el
   navbar partía en dos líneas y el teléfono se cortaba a la mitad. */
.nav__links { display: flex; align-items: center; gap: clamp(15px, 2.1vw, 32px); }
.nav__links a, .nav__phone, .nav__cta { white-space: nowrap; }
.nav__links a,
.nav__phone {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--white);
  transition: color .3s ease;
}
.nav__links a:hover, .nav__phone:hover { color: var(--gold); }
.nav__phone { display: flex; align-items: center; gap: 7px; }
.nav__actions { display: flex; align-items: center; gap: clamp(10px, 1.3vw, 18px); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--white);
}

.nav.is-scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 rgba(0, 48, 96, .1); }
.nav.is-scrolled .nav__logo img { filter: invert(1); }
.nav.is-scrolled .nav__links a,
.nav.is-scrolled .nav__phone,
.nav.is-scrolled .nav__burger { color: var(--navy); }
.nav.is-scrolled .nav__links a:hover,
.nav.is-scrolled .nav__phone:hover { color: var(--blue); }

/* Menú móvil */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy);
  padding: 28px 24px;
  display: none;
  flex-direction: column;
}
.menu.is-open { display: flex; }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__top img { height: 48px; width: auto; object-fit: contain; }
.menu__close { background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu__nav { display: flex; flex-direction: column; gap: 22px; margin-top: 52px; }
.menu__nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 26px;
}
.menu__nav a:hover { color: var(--gold); }
.menu__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-radius: 999px;
  padding: 16px;
  font-size: 16px;
}
.menu__cta:hover { color: var(--navy); }

/* ---------------------------------------------------------------- Hero  */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 150px 0 220px;
}
.hero__glow-1,
.hero__glow-2,
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__glow-1 { background: radial-gradient(900px 600px at 85% 0%, rgba(0, 48, 96, .5), transparent 70%); }
.hero__grid {
  opacity: .05;
  background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero__glow-2 { background: linear-gradient(to top, var(--ink) 0%, transparent 45%); }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 216, 89, .3);
  background: rgba(255, 216, 89, .06);
  border-radius: 999px;
  padding: 7px 16px;
}
.badge span {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 8px 18px 8px 12px;
  margin-top: 14px;
  width: fit-content;
}
.social-proof__avatars { display: flex; align-items: center; }
.social-proof__avatars span {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-proof__avatars span + span { margin-left: -10px; }
.social-proof__label { font-size: 14px; color: rgba(255, 255, 255, .9); font-weight: 500; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  color: var(--white);
  margin: 26px 0 0;
  letter-spacing: -.015em;
}
.hero__title span { display: block; }
.hero__title em { color: var(--gold); }

.hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .7);
  max-width: 34em;
  margin: 26px 0 0;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__media { position: relative; display: flex; justify-content: center; }
.hero__media::before,
.hero__media::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 999px;
  filter: blur(90px);
}
.hero__media::before { background: rgba(255, 216, 89, .28); bottom: -40px; left: -30px; }
.hero__media::after { background: rgba(80, 148, 217, .22); top: -40px; right: -30px; }

.hero__card {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(160deg, var(--navy), var(--ink));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  animation: ssCard .9s cubic-bezier(.16, 1, .3, 1) .7s both;
}
.hero__card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.hero__card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(39, 45, 51, .05) 40%, rgba(0, 48, 96, .35) 70%, rgba(39, 45, 51, .9));
}
.hero__card-tag {
  position: absolute;
  top: 18px; right: 18px;
  transform: rotate(-8deg);
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
}
.hero__card-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__card-name { font-family: var(--serif); font-size: 25px; color: var(--white); }
.hero__card-rule { width: 42px; height: 2px; background: var(--gold); margin: 10px 0 12px; }
.hero__card-role { font-size: 14px; color: rgba(255, 255, 255, .72); }
.hero__card-org { font-size: 11.5px; color: rgba(255, 255, 255, .5); margin-top: 4px; }

.stats {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 100%;
  max-width: 920px;
  padding: 0 24px;
}
.stats__grid {
  border-radius: 26px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  animation: ssRise .8s ease 1s both;
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--white);
  line-height: 1.1;
}
.stat__label { font-size: 12.5px; color: rgba(255, 255, 255, .7); line-height: 1.4; }
.stats__chevron {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  animation: ssBob 2s ease-in-out infinite;
}

/* ------------------------------------------------------- Aseguradoras   */

.carriers { background: var(--navy); padding: 64px 0; }
.carriers__kicker {
  text-align: center;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin: 0 0 44px;
}
/* Carrusel infinito: la lista se duplica en el HTML y la pista viaja
   translateX(0) -> -50%, de modo que el corte cae en una copia idéntica. */
@keyframes ssMarquee { to { transform: translateX(-50%); } }

.marquee {
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: ssMarquee 34s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.carrier {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  opacity: .62;
  transition: opacity .3s ease;
}
.carrier:hover { opacity: 1; }

/* Placeholder tipográfico. Al llegar los archivos oficiales se reemplaza
   .carrier__mark + .carrier__name por <img class="carrier__logo">. */
.carrier__mark {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12);
}
.carrier__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.carrier__logo {
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Sin animación: rejilla estática legible en lugar del carrusel. */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
  }
  .marquee__track .carrier[data-clone="1"] { display: none; }
}
.carriers__note {
  max-width: 640px;
  margin: 44px auto 0;
  text-align: center;
  font-family: var(--accent);
  font-style: italic;
  font-size: 17px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.6;
}

/* --------------------------------------------------------- Coberturas   */

.coverages { background: var(--bone); }
.coverages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 22px;
}
.coverage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid rgba(0, 48, 96, .08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.coverage:hover {
  border-color: var(--gold);
  box-shadow: 0 30px 60px -30px rgba(0, 48, 96, .4);
  transform: translateY(-3px);
}
.coverage__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.coverage__title { font-family: var(--serif); font-size: 22px; color: var(--navy); }
.coverage__desc { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.coverage__ideal { font-size: 13.5px; line-height: 1.6; color: var(--body); margin: 0; }
.coverage__ideal strong { color: var(--navy); font-weight: 600; }
.coverage__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 48, 96, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.coverage__foot span { font-size: 12px; color: var(--muted); font-style: italic; }
.coverage__foot a {
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.closer { text-align: center; margin-top: 62px; }
.closer p { font-size: 18px; color: var(--body); margin: 0 0 18px; }

/* ------------------------------------------------------ Método DIME     */

.method { background: var(--white); }
.method__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 60px;
  align-items: center;
}
.tile-list { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.tile {
  border-radius: 14px;
  background: var(--bone);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.tile__icon {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile__title { font-size: 15px; font-weight: 500; color: var(--navy); }
.tile__desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.method__hint { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 12px; }

.video { position: relative; display: flex; justify-content: center; }
.video::before,
.video::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 999px;
  filter: blur(90px);
}
.video::before { background: rgba(255, 216, 89, .3); bottom: -30px; left: -20px; }
.video::after { background: rgba(80, 148, 217, .2); top: -30px; right: -20px; }
.video__frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 48, 96, .1);
  box-shadow: 0 40px 80px -35px rgba(0, 48, 96, .6);
  background: linear-gradient(160deg, var(--navy), var(--ink));
}
/* El video se carga solo al hacer clic (preload="none"): hasta entonces se ve
   el póster con la portada encima, y el reproductor nativo aparece al reproducir. */
.video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
  display: block;
}
.video__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 48, 96, .34) 0%, rgba(39, 45, 51, .12) 45%, rgba(39, 45, 51, .82) 100%);
  transition: opacity .35s ease;
}
.video__frame.is-playing .video__cover { opacity: 0; pointer-events: none; }
.video__frame.is-playing .video__tag { opacity: 0; pointer-events: none; }

.video__play {
  width: 78px; height: 78px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
  transition: transform .25s ease, background .25s ease;
}
.video__play:hover { transform: scale(1.07); background: var(--gold); }
.video__play svg { margin-left: 3px; }
.video__title {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--white);
  line-height: 1.3;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.video__tag {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  transition: opacity .35s ease;
  transform: rotate(-6deg);
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 13px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
}

/* ---------------------------------------------------------------- Quiz  */

.quiz { background: var(--ink); position: relative; overflow: hidden; }
.quiz__glow-a,
.quiz__glow-b {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
}
.quiz__glow-a { background: rgba(255, 216, 89, .1); top: -140px; left: -140px; }
.quiz__glow-b { background: rgba(80, 148, 217, .12); bottom: -140px; right: -140px; }
.quiz__inner { position: relative; z-index: 2; }
.quiz__head { text-align: center; margin-bottom: 48px; }

.quiz__card {
  border-radius: 26px;
  background: var(--white);
  padding: 38px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.quiz__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.quiz__step {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.quiz__question { font-family: var(--serif); font-size: 25px; color: var(--navy); margin-top: 6px; line-height: 1.25; }
.quiz__dots { display: flex; align-items: center; gap: 6px; padding-top: 6px; }
.quiz__dots span { height: 8px; width: 8px; border-radius: 999px; background: var(--bone); transition: all .3s ease; }
.quiz__dots span.is-current { width: 24px; background: var(--navy); }
.quiz__dots span.is-done { background: var(--gold); }

.quiz__bar { height: 4px; background: var(--bone); border-radius: 999px; overflow: hidden; margin-top: 22px; }
.quiz__bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transition: width .5s cubic-bezier(.16, 1, .3, 1);
}

.quiz__body { margin-top: 32px; flex: 1; }
.quiz__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.opt {
  text-align: left;
  cursor: pointer;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all .2s ease;
  border: 2px solid var(--bone);
  background: var(--white);
}
.opt:hover { border-color: var(--blue); }
.opt.is-selected { border-color: var(--navy); background: rgba(0, 48, 96, .05); }
.opt__icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  background: var(--bone);
}
.opt.is-selected .opt__icon { background: var(--navy); }
.opt__label { font-size: 15px; font-weight: 500; color: var(--navy); line-height: 1.4; }

.quiz__slider { padding: 10px 4px 0; }
.quiz__age { text-align: center; font-family: var(--serif); font-size: 56px; color: var(--navy); line-height: 1; }
.quiz__age-unit { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.quiz__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.quiz__note { font-size: 12px; color: var(--muted); margin: 18px 0 0; font-style: italic; line-height: 1.6; }

.result {
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, var(--navy), var(--ink));
  padding: 32px;
  color: var(--white);
}
.result__title { font-family: var(--serif); font-size: 26px; margin-top: 16px; line-height: 1.25; }
.result__reason { font-size: 15px; color: rgba(255, 255, 255, .72); line-height: 1.65; margin: 12px 0 0; }
.result__kicker {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-top: 26px;
}
.result__capital { font-family: var(--serif); font-size: clamp(30px, 7vw, 40px); color: var(--gold); margin-top: 6px; }
.result__rule { height: 1px; background: rgba(255, 255, 255, .12); margin: 22px 0; }
.result__meta { display: grid; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.result__legal {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .5);
  font-style: italic;
  line-height: 1.6;
  margin: 20px 0 0;
}

.lead-form {
  border-radius: var(--radius-card);
  background: var(--bone);
  padding: 26px;
  margin-top: 26px;
}
.lead-form__title { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.lead-form__sub { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
  margin-top: 20px;
}
.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  cursor: pointer;
}
.lead-form__consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--navy); }
.lead-form__consent span { font-size: 12px; color: var(--muted); line-height: 1.5; }

.field {
  width: 100%;
  border: 2px solid var(--white);
  background: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--navy);
  outline: none;
  transition: border-color .2s ease;
}
.field:focus { border-color: var(--navy); }
.field--bordered { border-color: var(--bone); }

/* Varias utilidades del sitio usan display:flex, que gana sobre el display:none
   implícito del atributo hidden. Sin esto los errores y los mensajes de éxito
   se ven siempre. */
[hidden] { display: none !important; }

.err {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #b91c1c;
  margin-top: 6px;
}

.success {
  border-radius: var(--radius-card);
  background: var(--navy);
  color: var(--white);
  padding: 26px;
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.success span { font-size: 15.5px; line-height: 1.6; }

.quiz__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 12px;
}
.quiz__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  font-size: 14.5px;
  padding: 8px 4px;
  color: var(--muted);
  cursor: pointer;
}
.quiz__back:disabled { cursor: default; opacity: .35; }
.quiz__next { padding: 13px 26px; font-size: 15px; }
.quiz__next:disabled { opacity: .45; }

/* -------------------------------------------------------- Calculadora   */

.calc { background: var(--bone); }
.calc__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 52px;
  align-items: start;
}
.calc__lead { max-width: 30em; }

.info-card {
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid rgba(0, 48, 96, .08);
  padding: 26px;
  margin-top: 32px;
}
.info-card__head { display: flex; align-items: center; gap: 10px; }
.info-card__head span { font-family: var(--serif); font-size: 19px; color: var(--navy); }
.info-card p { font-size: 14.5px; color: var(--body); line-height: 1.7; margin: 12px 0 0; }
.info-card__list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.info-card__list div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--muted);
}

.checks { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.checks div { display: flex; align-items: center; gap: 12px; }
.checks span.mark {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(255, 216, 89, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.checks span.txt { font-size: 14.5px; color: var(--body); }

.calc__panel {
  border-radius: 26px;
  background: var(--white);
  padding: 32px;
  box-shadow: 0 40px 80px -45px rgba(0, 48, 96, .6);
  border: 1px solid rgba(0, 48, 96, .08);
}
.calc__panel-title { font-family: var(--serif); font-size: 24px; color: var(--navy); line-height: 1.25; }
.calc__panel-sub { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

.presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.preset {
  cursor: pointer;
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  transition: all .2s ease;
  border: 2px solid var(--bone);
  background: var(--white);
}
.preset:hover { border-color: var(--blue); }
.preset.is-selected { border-color: var(--navy); background: rgba(0, 48, 96, .05); }
.preset__title { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.preset__desc { font-size: 11.5px; color: var(--muted); line-height: 1.4; }

.calc__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 14px;
  margin-top: 26px;
}
.calc__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--body);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 7px;
}
.calc__input {
  width: 100%;
  border: 2px solid var(--bone);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  outline: none;
  transition: border-color .2s ease;
}
.calc__input:focus { border-color: var(--navy); }
/* Cada campo apila etiqueta + control + ayuda. La ayuda va al fondo de la
   celda para que los inputs de una misma fila queden alineados aunque los
   textos de ayuda tengan largos distintos. */
.calc__field { display: flex; flex-direction: column; }
.calc__field .calc__hint { margin-top: 7px; }
.calc__hint {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 6px;
}
.calc__years .calc__hint { margin-top: 10px; }

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--bone);
  border-radius: 10px;
  padding: 6px 8px;
}
.stepper button {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 0;
  background: var(--bone);
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: background .2s ease;
}
.stepper button:hover { background: #e2e6ea; }
.stepper output { flex: 1; text-align: center; font-size: 16px; font-weight: 600; color: var(--navy); }

.calc__years { margin-top: 22px; }
.calc__years-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}
.calc__years-value { font-family: var(--serif); font-size: 24px; color: var(--navy); }

.calc__privacy { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; }
.calc__privacy span { font-size: 12px; color: var(--muted); font-style: italic; line-height: 1.6; }

.readout {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, var(--navy), var(--ink));
  padding: 30px;
  color: var(--white);
  margin-top: 28px;
}
.readout::before {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 999px;
  background: rgba(255, 216, 89, .2);
  filter: blur(70px);
  top: -70px; right: -60px;
}
.readout__inner { position: relative; }
.readout__kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.readout__total {
  font-family: var(--serif);
  /* Es un rango ("$1,075,000 – $1,475,000"), no una cifra: al tamaño de antes
     partía en dos líneas y perdía la lectura de banda. */
  font-size: clamp(25px, 3.2vw, 38px);
  color: var(--gold);
  margin-top: 8px;
  line-height: 1;
}
.readout__unit { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-top: 8px; }
.readout__rule { height: 1px; background: rgba(255, 255, 255, .12); margin: 24px 0; }
.readout__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 16px;
}
.readout__grid dt {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.readout__grid dd { font-size: 17px; font-weight: 500; margin: 4px 0 0; }
.readout__insight {
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  padding: 16px;
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.readout__insight span { font-size: 14px; line-height: 1.65; }

/* --------------------------------------------------------------- Modal  */

.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(39, 45, 51, .75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__box {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
  animation: ssBlur .35s ease both;
}
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal__title { font-family: var(--serif); font-size: 23px; color: var(--navy); line-height: 1.25; }
.modal__sub { font-size: 14px; color: var(--muted); margin: 8px 0 0; line-height: 1.6; }
.modal__close { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; }
.modal__body { margin-top: 22px; }
.modal__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--body);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 18px 0 8px;
}
.prefs { display: flex; gap: 10px; }
.pref {
  flex: 1;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: all .2s ease;
  border: 2px solid var(--bone);
  background: var(--white);
}
.pref.is-selected { border-color: var(--navy); background: rgba(0, 48, 96, .06); }
.modal__legal { font-size: 11px; color: var(--muted); font-style: italic; line-height: 1.6; margin: 14px 0 0; }
.modal__success {
  margin-top: 22px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.modal__success span { font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------- Sobre Stephan  */

.about { background: var(--white); }
.about__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 64px;
  align-items: center;
}
.about__media { position: relative; display: flex; justify-content: center; }
.about__media::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 999px;
  background: rgba(255, 216, 89, .4);
  filter: blur(90px);
  bottom: -30px; left: -20px;
}
.about__frame { position: relative; width: 100%; max-width: 440px; }
.about__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 22px;
  box-shadow: 0 40px 70px -40px rgba(0, 48, 96, .6);
  display: block;
}
.about__licence {
  position: absolute;
  bottom: -18px; right: -12px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  gap: 13px;
}
.about__licence-label {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.about__licence-value { font-size: 14px; font-weight: 500; margin-top: 3px; }

.about__body p { font-size: 17px; line-height: 1.75; color: var(--body); margin: 20px 0 0; }
.about__body p:first-of-type { margin-top: 30px; }
.about__sign { font-family: var(--accent); font-style: italic; font-size: 34px; color: var(--navy); margin-top: 34px; }
.about__role {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.about__creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
  margin-top: 42px;
}
.cred {
  border-radius: 14px;
  background: var(--bone);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.cred__title { font-size: 14px; font-weight: 600; color: var(--navy); }
.cred__desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* -------------------------------------------------------- Casos reales  */

.cases { background: var(--bone); }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 22px;
}
.case {
  border-radius: var(--radius-card);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 20px 40px -30px rgba(0, 48, 96, .5);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.case:hover { box-shadow: 0 40px 70px -35px rgba(0, 48, 96, .55); transform: translateY(-3px); }
.case__head {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.case__head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Vela navy en la esquina superior: la insignia dorada tiene que leerse sobre
   cualquier foto, y de paso ata las tres tarjetas a la paleta. */
.case__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 48, 96, .55) 0%, rgba(0, 48, 96, .1) 45%, rgba(0, 48, 96, 0) 70%);
  pointer-events: none;
}
.case:hover .case__head img { transform: scale(1.03); }
.case__head img { transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.case__product {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 12px;
}
.case__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.case__name { font-family: var(--serif); font-size: 19px; color: var(--navy); }
.case__label {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.case__text { font-size: 14px; color: var(--body); line-height: 1.6; margin: 6px 0 0; }
.case__body > div:last-child { margin-bottom: auto; }
.cases__legal {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
  margin: 44px auto 0;
  max-width: 62em;
}

/* ----------------------------------------------------------------- FAQ  */

.faq { background: var(--white); }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border-radius: 14px;
  background: var(--bone);
  border: 1px solid rgba(0, 48, 96, .08);
  padding: 0 24px;
}
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 20px 0;
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.45;
}
.faq__chevron { display: flex; flex: none; transition: transform .3s ease; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__a {
  font-size: 15.5px;
  color: var(--body);
  line-height: 1.75;
  margin: 0;
  padding: 0 0 22px;
}
.faq__item:not(.is-open) .faq__a { display: none; }

/* ----------------------------------------------------------- CTA final  */

.cta { background: var(--navy); position: relative; overflow: hidden; }
.cta__glow-a,
.cta__glow-b {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
}
.cta__glow-a { background: rgba(255, 216, 89, .3); top: -160px; right: -140px; }
.cta__glow-b { background: rgba(80, 148, 217, .25); bottom: -160px; left: -140px; }
.cta__inner { position: relative; z-index: 2; text-align: center; }
.cta__title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.08;
  color: var(--white);
  margin: 18px 0 0;
  letter-spacing: -.015em;
}
.cta__title em { color: var(--gold); }
.cta__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(255, 255, 255, .7);
  margin: 24px auto 0;
  max-width: 36em;
  line-height: 1.65;
}
.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.cta__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
}
.cta__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

/* -------------------------------------------------------------- Footer  */

.footer {
  background: var(--ink);
  padding: 68px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
/* Cinco bloques (marca + cuatro columnas). Con auto-fit, "Contacto" se caía a
   una segunda fila él solo y dejaba medio footer vacío. Las columnas se
   declaran explícitas y la de marca lleva más ancho porque tiene párrafo. */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 44px 36px;
}
@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links--dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.footer__logo { height: 54px; width: auto; object-fit: contain; object-position: left; }
.footer__tagline {
  font-family: var(--accent);
  font-style: italic;
  font-size: 19px;
  color: rgba(255, 255, 255, .6);
  margin-top: 14px;
}
.footer__about {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 30em;
}
.footer__social { display: flex; gap: 11px; margin-top: 24px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all .2s ease;
}
.footer__social a:hover { background: var(--gold); color: var(--navy); border-color: transparent; }
.footer__title {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a { font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer__links a:hover { color: var(--white); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a,
.footer__contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}
.footer__contact a:hover { color: var(--white); }
.footer__disclaimer { margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__disclaimer p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.8;
  margin: 0;
  max-width: 78em;
}
.footer__meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}
.footer__meta a { color: rgba(255, 255, 255, .6); }
.footer__meta a:hover { color: var(--gold); }

/* --------------------------------------------- Barra móvil y WhatsApp   */

.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--navy);
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .3);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
}
.mobile-bar a:first-child { background: var(--gold); color: var(--navy); }
.mobile-bar a:last-child {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  font-weight: 500;
}

.chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat.is-shown { display: flex; }
.chat__panel {
  background: var(--white);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .5);
  max-width: 270px;
  animation: ssBlur .4s ease both;
}
.chat__panel[hidden] { display: none; }
.chat__msg { font-size: 14.5px; color: var(--navy); line-height: 1.6; }
.chat__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 999px;
  padding: 11px;
  margin-top: 14px;
}
.chat__cta:hover { color: var(--white); }
.chat__fab {
  width: 56px; height: 56px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .55);
  animation: ssPulse 2.4s ease-in-out infinite;
}

/* ---------------------------------------------------------- Responsive  */

@media (max-width: 1023px) {
  .nav__links,
  .nav__phone,
  .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero { padding: 150px 0 88px; }
  .stats {
    position: static;
    transform: none;
    margin: 48px auto 0;
  }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .mobile-bar { display: grid; }
  .chat { bottom: 96px; }
  .footer { padding-bottom: 110px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav__logo img { height: 52px; }
  .quiz__card { padding: 26px 20px; }
  .calc__panel { padding: 24px 20px; }
  .quiz__top { flex-direction: column; gap: 14px; }
  .about__licence { position: static; margin-top: 20px; display: inline-flex; }
  .modal__box { padding: 24px 20px; }
  .readout { padding: 22px 20px; }
  .result { padding: 24px 20px; }
  .cta__trust { gap: 14px 20px; }
}

/* ==========================================================================
   Páginas de cobertura (cobertura-*.html)
   ========================================================================== */

/* ------------------------------------------------- Hero con foto de fondo */

/* La imagen va como background del <section> (inline, una por página) y dos
   scrims encima: uno diagonal que oscurece la izquierda para que el texto sea
   legible, otro vertical que funde con la sección siguiente. */
.phero {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  background-position: 50% 0%;
  background-size: cover;
  background-repeat: no-repeat;
  /* Sin altura mínima el hero queda en 640px y en un monitor ancho se vuelve
     una franja de 3:1 que descarta un tercio de la foto. Creciendo con el
     ancho, la caja se mantiene cerca del 2:1 del recorte. */
  min-height: clamp(560px, 40vw, 840px);
  display: flex;
  align-items: center;
  padding: 132px 0 56px;
}
.phero__scrim,
.phero__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.phero__scrim {
  background: linear-gradient(100deg,
    rgba(39, 45, 51, .96) 0%,
    rgba(0, 48, 96, .9) 38%,
    rgba(0, 48, 96, .62) 68%,
    rgba(0, 48, 96, .35) 100%);
}
.phero__fade { background: linear-gradient(to top, var(--ink) 0%, transparent 42%); }
/* Como .phero es flex, el .wrap interior es un flex item y sin width:100% se
   encoge al ancho de su contenido: la fila de datos rápidos se partía en dos. */
.phero__inner { position: relative; z-index: 2; width: 100%; }

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.crumbs a { color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: var(--gold); }
.crumbs li[aria-current] { color: rgba(255, 255, 255, .95); }
.crumbs svg { opacity: .4; }

.phero__head { display: flex; align-items: center; gap: 16px; }
.phero__icon {
  width: 58px; height: 58px;
  flex: none;
  border-radius: 16px;
  background: rgba(255, 216, 89, .14);
  border: 1px solid rgba(255, 216, 89, .3);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phero__eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.phero__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -.015em;
  margin: 6px 0 0;
}
.phero__lead {
  font-size: clamp(16.5px, 1.35vw, 19.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .8);
  max-width: 34em;
  margin: 20px 0 0;
  text-shadow: 0 1px 20px rgba(0, 0, 0, .35);
}
.phero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* Columnas explícitas: con auto-fit el contenedor calculaba 6 pistas para 4
   tarjetas y quedaba un hueco muerto a la derecha. */
.phero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.fact {
  border-radius: 15px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px);
  padding: 15px 17px;
}
.fact__label {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
  overflow-wrap: break-word;
}
.fact__value {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
  margin-top: 5px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

/* ------------------------------------------------ Qué es + aseguradoras */

.pintro { background: var(--white); }
.pintro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(27px, 2.9vw, 38px);
  line-height: 1.18;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.01em;
}
.prose p { font-size: 17px; line-height: 1.78; color: var(--body); margin: 20px 0 0; }

.aside-card {
  border-radius: 20px;
  border: 1px solid rgba(0, 48, 96, .1);
  background: var(--bone);
  padding: 26px;
}
.aside-card__title { font-family: var(--serif); font-size: 20px; color: var(--navy); line-height: 1.3; }
.aside-card__text { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin: 10px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(0, 48, 96, .1);
  border-radius: 999px;
  padding: 7px 14px;
}
.aside-card__legal { font-size: 11.5px; font-style: italic; line-height: 1.6; color: var(--muted); margin: 16px 0 0; }

/* ------------------------------------------------------- Cómo funciona */

.psteps { background: var(--bone); }
.psteps__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.step {
  position: relative;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(0, 48, 96, .08);
  padding: 26px 26px 26px 74px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.step:hover { border-color: var(--gold); box-shadow: 0 24px 50px -34px rgba(0, 48, 96, .4); }
.step__num {
  position: absolute;
  left: 26px; top: 26px;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__title { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.step__desc { font-size: 14.5px; line-height: 1.68; color: var(--muted); margin: 7px 0 0; }

/* -------------------------------- Para quién / Qué considerar, en paralelo */

.psplit { background: var(--white); }
/* Dos columnas explícitas: con auto-fit el contenedor daba pie a una tercera
   pista vacía y los paneles quedaban descuadrados. */
.psplit__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.panel {
  border-radius: 22px;
  padding: 32px;
  height: 100%;
}
.panel--yes { background: var(--bone); }
.panel--care { background: linear-gradient(155deg, var(--navy), var(--ink)); color: var(--white); }
.panel__head { display: flex; align-items: center; gap: 12px; }
.panel__icon {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}
.panel--care .panel__icon { background: rgba(255, 216, 89, .16); }
.panel__title { font-family: var(--serif); font-size: 22px; color: var(--navy); line-height: 1.25; }
.panel--care .panel__title { color: var(--white); }

.panel ul { list-style: none; margin: 24px 0 0; padding: 0; }
.panel--yes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
}
.panel--yes li + li { margin-top: 15px; }
.panel--yes li span {
  width: 24px; height: 24px;
  flex: none;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(255, 216, 89, .45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel--care li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
}
.panel--care li + li { margin-top: 14px; }
.panel--care li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

/* ------------------------------------------------- Franja de consulta */

.pconsulta { background: var(--navy); position: relative; overflow: hidden; }
.pconsulta::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 999px;
  background: rgba(255, 216, 89, .2);
  filter: blur(130px);
  top: -220px; right: -140px;
  pointer-events: none;
}
.pconsulta::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 999px;
  background: rgba(80, 148, 217, .22);
  filter: blur(130px);
  bottom: -220px; left: -140px;
  pointer-events: none;
}
.pconsulta__inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.pconsulta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  color: var(--white);
  margin: 16px 0 0;
  letter-spacing: -.01em;
}
.pconsulta__text {
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .74);
  margin: 20px auto 0;
  max-width: 36em;
}
.pconsulta__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 30px;
}
.pconsulta__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 28px;
}
.pconsulta__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
}

/* ---------------------------------------------------- Otras coberturas */

.related { background: var(--bone); }
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.related__card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(0, 48, 96, .08);
  padding: 22px 24px;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.related__card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -32px rgba(0, 48, 96, .4);
  color: var(--navy);
}
.related__icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.related__name { font-family: var(--serif); font-size: 18.5px; color: var(--navy); display: block; }
.related__hint { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; display: block; }

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1023px) {
  .pintro__grid { grid-template-columns: 1fr; gap: 40px; }
  .psteps__grid { grid-template-columns: 1fr; }
  .psplit__grid { grid-template-columns: 1fr; }
  .phero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related__grid { grid-template-columns: 1fr; }
}

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

@media (max-width: 640px) {
  .phero { padding: 116px 0 48px; background-position: 68% 0%; }
  .phero__head { gap: 13px; }
  .phero__icon { width: 48px; height: 48px; }
  .step { padding: 22px 20px 22px 20px; }
  .step__num { position: static; margin-bottom: 12px; }
  .panel { padding: 26px 22px; }
}

/* ---------------------------------------------------------------- Páginas de texto
   Privacidad y Términos comparten el hero de las páginas de cubierta pero sin foto:
   la altura mínima de 40vw ahí sobra, porque no hay imagen que encuadrar. */
.phero--plain {
  background-image: none;
  background-color: var(--navy);
  min-height: 0;
  padding: 128px 0 56px;
}
.phero--plain .phero__scrim {
  background: linear-gradient(120deg, rgba(39, 45, 51, .55) 0%, rgba(0, 48, 96, 0) 62%);
}
.legal-fecha {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin: 22px 0 0;
}
.prose--legal h2 {
  font-size: clamp(21px, 2.1vw, 26px);
  margin-top: 46px;
}
.prose--legal h2:first-child { margin-top: 0; }
.prose--legal p { font-size: 16.5px; }
.prose--legal strong { color: var(--navy); font-weight: 600; }

/* --------------------------------------------------- Destacados de cubierta
   Dos entradas que no son producto (sin examen médico, negocios) y que van
   debajo de la rejilla de nueve. Fondo navy para que no compitan con ella. */
.spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.spotlight__card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-radius: 18px;
  background: var(--navy);
  border: 1px solid rgba(255, 216, 89, .22);
  padding: 26px 28px;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.spotlight__card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 28px 54px -34px rgba(0, 48, 96, .65);
}
.spotlight__icon {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 13px;
  background: rgba(255, 216, 89, .12);
  border: 1px solid rgba(255, 216, 89, .28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotlight__name {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.28;
  color: var(--white);
}
.spotlight__hint {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .74);
  margin-top: 8px;
}
.spotlight__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 14px;
}
@media (max-width: 767px) {
  .spotlight { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- Formulario corto del hero
   Tres campos sobre el hero navy. Es el camino más corto de la página, así que
   va por encima del pliegue en escritorio y justo bajo el titular en móvil. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero__form {
  margin-top: 30px;
  max-width: 540px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  padding: 22px 24px 20px;
}
.hero__form-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hero__form-grid > div:last-child { grid-column: 1 / -1; }
.hero__form .field {
  width: 100%;
  background: rgba(255, 255, 255, .95);
  border-color: transparent;
}
.hero__form select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23003060' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.hero__form-legal { font-size: 12px; color: rgba(255, 255, 255, .58); margin: 12px 0 0; line-height: 1.55; }
.hero__form-legal a { color: rgba(255, 255, 255, .8); text-decoration: underline; }
.hero__form-exito {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
}
.hero__form .err { color: #ffc9c0; }

/* --------------------------------------------- Supuestos de la calculadora */
.calc__mas {
  margin-top: 22px;
  border-top: 1px solid rgba(0, 48, 96, .1);
  padding-top: 6px;
}
.calc__mas > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 14px 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.calc__mas > summary::-webkit-details-marker { display: none; }
.calc__mas-hint {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  flex: 1;
}
.calc__mas > summary svg { flex: none; transition: transform .25s ease; }
.calc__mas[open] > summary svg { transform: rotate(180deg); }
.calc__mas .calc__years { margin-top: 6px; }

.closer__alt { font-size: 14.5px; margin: 16px 0 0; }
.closer__alt a { color: var(--muted); text-decoration: underline; }
.closer__alt a:hover { color: var(--navy); }

.menu__cta--alt {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  margin-top: 10px;
}

@media (max-width: 560px) {
  .hero__form-grid { grid-template-columns: 1fr; }
  .calc__mas-hint { display: none; }
}
.info-card__nota { font-size: 12.5px; color: var(--muted); font-style: italic; margin: 14px 0 0; line-height: 1.6; }

/* ------------------------------------------------------- Solvencia y foco */
.solvencia { background: var(--white); }
.solvencia__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.solv-card {
  border-radius: 18px;
  border: 1px solid rgba(0, 48, 96, .1);
  background: var(--bone);
  padding: 26px 24px;
}
.solv-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 216, 89, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.solv-card__title { font-family: var(--serif); font-size: 19px; color: var(--navy); line-height: 1.3; }
.solv-card p { font-size: 14.5px; line-height: 1.7; color: var(--body); margin: 10px 0 0; }
.solv-card a { color: var(--blue); text-decoration: underline; }

.foco { background: var(--bone); }
.panel__text { font-size: 15px; line-height: 1.72; margin: 0 0 14px; }
.panel--care .panel__text { color: rgba(255, 255, 255, .8); }
.panel--care .panel__text:last-child { margin: 16px 0 0; }

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

/* ==========================================================================
   Accesibilidad
   El público mayoritario tiene 55 años o más y llega por móvil desde un
   anuncio. Tamaños de lectura más grandes en pantalla chica, áreas de toque
   de 44px y nada de gris claro sobre blanco.
   ========================================================================== */

/* Área de toque mínima de 44x44 en todo lo que se pulsa (WCAG 2.5.5). */
.btn,
.nav__cta,
.menu__cta,
.faq__q,
.preset,
.opt,
.pref,
.stepper button,
.quiz__back,
.mobilebar a,
.chat__fab {
  min-height: 44px;
}
.stepper button { min-width: 44px; }
.nav__links a,
.footer__links a,
.menu__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__links { display: flex; flex-direction: column; }

/* El slider nativo tiene un pulgar de ~16px: en un dedo de 60 años eso no se
   agarra. 26px es lo mínimo usable sin romper la estética. */
input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; }

/* Las migas van sobre foto: al 55% de blanco no siempre pasan AA. */
.crumbs { color: rgba(255, 255, 255, .72); }
.crumbs a { color: rgba(255, 255, 255, .88); }

@media (max-width: 767px) {
  /* Texto de lectura a 17-18px. Debajo de eso, en un teléfono y a esta edad,
     la gente hace zoom o se va. */
  body { font-size: 17px; }
  .lead, .lead--light { font-size: 18px; line-height: 1.68; }
  .prose p, .prose--legal p { font-size: 17.5px; line-height: 1.75; }
  .coverage__desc, .coverage__ideal { font-size: 16px; }
  .faq__a { font-size: 16.5px; line-height: 1.72; }
  .faq__q { font-size: 17px; }
  .solv-card p, .panel ul li, .panel__text { font-size: 16px; line-height: 1.72; }
  .about__body p { font-size: 17px; }
  .calc__hint { font-size: 13.5px; }
  .footer__links a, .footer__contact a, .footer__contact span { font-size: 15.5px; }
  .legal, .modal__legal, .hero__form-legal { font-size: 13.5px; }
  .field, .calc__input { font-size: 16.5px; }   /* <16px hace que iOS haga zoom al enfocar */
}

/* ------------------------------------------------- Páginas de municipio
   Sin foto de hero: son once páginas y once fotos de stock distintas darían más
   sensación de plantilla que de contenido propio. El peso visual lo llevan el
   bloque de dato y las tarjetas de conversaciones. */
.phero--muni { min-height: clamp(520px, 34vw, 720px); }
.phero--muni .phero__title { font-size: clamp(34px, 4.6vw, 54px); }

.dato {
  margin-top: 44px;
  border-radius: 20px;
  border: 1px solid rgba(0, 48, 96, .12);
  background: var(--bone);
  padding: 28px 30px;
}
.dato__head { display: flex; align-items: flex-start; gap: 16px; }
.dato__icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 216, 89, .34);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dato__kicker {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.dato__num {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  line-height: 1.1;
  margin-top: 6px;
}
.dato__num span { color: var(--gold); padding: 0 4px; }
.dato__unit { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.dato__text { font-size: 16px; line-height: 1.72; color: var(--body); margin: 20px 0 0; }
.dato__fuente {
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  margin: 16px 0 0;
  line-height: 1.6;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 48, 96, .1);
}

.convs { background: var(--white); }
.convs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.conv {
  border-radius: 18px;
  border: 1px solid rgba(0, 48, 96, .1);
  border-top: 3px solid var(--gold);
  background: var(--bone);
  padding: 24px 26px;
}
.conv__title { font-family: var(--serif); font-size: 19px; color: var(--navy); line-height: 1.3; }
.conv__text { font-size: 14.5px; line-height: 1.68; color: var(--body); margin: 10px 0 0; }

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

/* -------------------------------------------------------- Dónde atiendo */
.pueblos { background: var(--bone); }
.pueblos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}
.pueblo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(0, 48, 96, .1);
  padding: 20px 22px;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.pueblo:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -32px rgba(0, 48, 96, .4);
}
.pueblo__nombre { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.pueblo__meta { font-size: 13px; color: var(--muted); }
.pueblos__resto {
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
  margin: 26px 0 0;
  line-height: 1.7;
}

/* ------------------------------------------- Autodiagnóstico y costo de esperar
   Los dos bloques que convierten la página de municipio de informativa en útil:
   uno le da algo que puede hacer hoy solo, el otro explica qué cambia si lo
   pospone. Ninguno menciona precios: son mecánica del producto. */
.pasos-cuenta { background: var(--white); }

.costos { background: var(--ink); position: relative; }
.costos__lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.costos__lista li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 22px;
}
.costo__mark {
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 216, 89, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.costo__title {
  display: block;
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.32;
  color: var(--white);
}
.costo__text {
  display: block;
  font-size: 14.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, .74);
  margin-top: 7px;
}
.costos__legal {
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  text-align: center;
  margin: 30px auto 0;
  max-width: 40em;
}
/* Tres pasos en una rejilla de dos columnas dejan una celda vacía. */
.psteps__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .psteps__grid--3 { grid-template-columns: 1fr; } }

/* Entre 1024 y 1200 el navbar tiene seis enlaces, el teléfono y el botón: no
   caben y el botón se salía de la pantalla. El teléfono es lo prescindible ahí,
   porque sigue en la barra fija de móvil, en el footer y en el chat. */
@media (max-width: 1200px) {
  .nav__links { gap: 15px; font-size: 13.5px; }
  .nav__phone { display: none; }
}
/* Once municipios en una sola columna alargaban el footer casi al doble. */
.footer__links--dos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
@media (max-width: 1200px) and (min-width: 721px) {
  .footer__links--dos { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Blog
   Los artículos viven en /blog/<slug> y usan una sola imagen para el hero y
   para la tarjeta del índice, recortada por object-fit.
   ========================================================================== */

.phero--art { min-height: clamp(480px, 32vw, 660px); }
.art__h1 { font-size: clamp(31px, 4.2vw, 50px); max-width: 18em; }
.art__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .68);
  margin-top: 26px;
}
.art__meta span[aria-hidden] { color: rgba(255, 216, 89, .7); }

.art { background: var(--white); }
.prose--art h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-top: 52px;
}
.prose--art h2:first-child { margin-top: 0; }
.prose--art h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.3;
  color: var(--navy);
  margin: 34px 0 0;
}
.prose--art p { font-size: 17.5px; line-height: 1.8; }
.prose--art strong { color: var(--navy); font-weight: 600; }

.art__lista { margin: 20px 0 0; padding: 0 0 0 4px; list-style: none; }
.art__lista li {
  position: relative;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  padding-left: 26px;
  margin-top: 12px;
}
.art__lista li::before {
  content: "";
  position: absolute;
  left: 3px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.art__nota {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 32px 0 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--bone);
  border-left: 3px solid var(--gold);
}
.art__nota svg { flex: none; margin-top: 2px; }
.art__nota p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--body); }

.art__tabla-wrap { margin: 28px 0 0; overflow-x: auto; }
.art__tabla { width: 100%; border-collapse: collapse; font-size: 16px; }
.art__tabla th,
.art__tabla td { padding: 14px 16px; border-bottom: 1px solid rgba(0, 48, 96, .1); text-align: left; }
.art__tabla th {
  font-weight: 500;
  color: var(--body);
  width: 58%;
}
.art__tabla td { color: var(--navy); font-weight: 600; white-space: nowrap; }
.art__tabla tr:last-child th,
.art__tabla tr:last-child td {
  border-bottom: 0;
  border-top: 2px solid rgba(0, 48, 96, .18);
  font-size: 17.5px;
}

.art__cta {
  margin: 56px 0 0;
  padding: 34px 36px;
  border-radius: 22px;
  background: var(--navy);
  text-align: center;
}
.art__cta-title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); color: var(--white); line-height: 1.25; }
.art__cta-text { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .78); margin: 12px auto 22px; max-width: 34em; }
.art__legal { font-size: 12.5px; font-style: italic; line-height: 1.7; color: var(--muted); margin: 34px 0 0; }

/* --------------------------------------------------------- Índice del blog */
.posts { background: var(--bone); }
.posts--rel { background: var(--white); }
.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.posts__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 20px 40px -30px rgba(0, 48, 96, .5);
  transition: box-shadow .3s ease, transform .3s ease;
}
.posts--rel .post { background: var(--bone); }
.post:hover { box-shadow: 0 40px 70px -35px rgba(0, 48, 96, .55); transform: translateY(-3px); }
.post__img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.post:hover .post__img img { transform: scale(1.03); }
.post__body { display: flex; flex-direction: column; gap: 9px; padding: 24px 26px 26px; flex: 1; }
.post__cat {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.post__title { font-family: var(--serif); font-size: 21px; line-height: 1.28; color: var(--navy); }
.post__lead { font-size: 14.5px; line-height: 1.65; color: var(--body); }
.post__meta { font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 10px; }

@media (max-width: 1023px) {
  .posts__grid, .posts__grid--2 { grid-template-columns: 1fr; }
  .art__cta { padding: 30px 24px; }
}
@media (max-width: 767px) {
  .prose--art p { font-size: 17.5px; }
  .art__lista li { font-size: 17px; }
}
