/* ==========================================================================
   Landing – Diplomado en Insolvencia Económica
   Fundación Alianza de Líderes
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --negro-1: #15171b;
  --negro-2: #1e2227;
  --negro-3: #2e3438;
  --tarjeta: #181a1f;
  --oro: #f9a72b;
  --oro-medio: #c67400;
  --oro-osc: #a95f00;
  --borde-oro: #7a4f16;
  --crema: #fad99a;
  --crema-claro: #f8dcbd;
  --arena: #d5aa80;
  --texto: #f1f1f1;
  --texto-suave: #d3d6da;
  --tinta: #17181b;
  --verde: #4ecb5c;
  --contenedor: 1080px;
  --radio: 14px;
  --barra-alto: 96px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--barra-alto) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--texto);
  background: linear-gradient(180deg, var(--negro-1) 0%, var(--negro-2) 28%, #262b30 60%, var(--negro-3) 100%);
  background-color: var(--negro-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--oro); }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--crema);
  outline-offset: 3px;
  border-radius: 6px;
}

.saltar {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--crema);
  color: var(--tinta);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.saltar:focus { top: 12px; }

.contenedor {
  width: min(100% - 40px, var(--contenedor));
  margin-inline: auto;
}
.contenedor--estrecho { --contenedor: 900px; }
.centrado { text-align: center; }

/* ─── Tipografía ──────────────────────────────────────────────────────── */
.titulo-xl {
  font-size: clamp(2rem, 1.1rem + 3.7vw, 3.9rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #f1f0ec;
  text-wrap: balance;
}
.titulo-l {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.titulo-crema { color: var(--crema); }
.titulo-grad {
  background: linear-gradient(100deg, #f3e0c2 0%, #f1f0ee 30%, #f1f0ee 68%, #f3dcbc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.antetitulo {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--crema);
}
.antetitulo--oro {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--oro);
}
.antetitulo--izq { margin-bottom: 40px; font-size: 1.15rem; }

.encabezado {
  text-align: center;
  display: grid;
  gap: 6px;
  margin-bottom: 48px;
}
.encabezado--compacto { margin-bottom: 28px; }
.encabezado__sub {
  color: var(--oro);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.encabezado__sub--blanco {
  color: var(--texto);
  font-weight: 700;
  margin-bottom: 0;
}

/* ─── Botones ─────────────────────────────────────────────────────────── */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 64px;
  padding: 12px 40px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  text-decoration: none;
  color: var(--tinta);
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.boton:hover { filter: brightness(1.07); transform: translateY(-1px); }
.boton:active { transform: translateY(0); }
.boton--oro {
  background: var(--oro);
  box-shadow: 0 0 22px rgba(249, 167, 43, .55);
}
.boton--claro { background: #d9d9d9; }
.boton--degradado {
  background: linear-gradient(180deg, var(--oro-osc) 0%, var(--oro) 100%);
  border-radius: 16px;
  min-height: 68px;
  width: 100%;
  max-width: 390px;
}
.boton--ancho { max-width: 390px; }

/* ─── Caja con borde dorado ───────────────────────────────────────────── */
.caja-oro {
  border: 1.5px solid var(--borde-oro);
  border-radius: var(--radio);
  background: linear-gradient(180deg, #1b1d22 0%, #15171b 100%);
}

/* ─── Brillos dorados de fondo ────────────────────────────────────────── */
.seccion { position: relative; padding-block: clamp(64px, 8vw, 110px); }
.hero::after,
#pilares::before,
#inscripcion::before,
#plan-de-estudios::before,
.seccion--precio::before,
#preguntas::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(60vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 150, 40, .55), rgba(224, 150, 40, .18) 55%, transparent 100%);
  pointer-events: none;
}
.hero::after            { right: -22vw; top: 40%; }
#pilares::before         { left: -26vw; top: -8%; }
#inscripcion::before     { right: -28vw; bottom: -30%; opacity: .8; }
#plan-de-estudios::before{ left: -30vw; top: 38%; }
.seccion--precio::before { right: -22vw; top: 0; }
#preguntas::before       { left: -30vw; top: 0; }
main { position: relative; isolation: isolate; overflow: clip; }

/* ─── Barra superior + cuenta regresiva ───────────────────────────────── */
.barra {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--oro-medio);
  padding: 14px 20px;
}
.barra__pastilla {
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 6vw, 80px);
  padding: 8px 28px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8dab4 0%, #d8a87d 100%);
  color: var(--tinta);
}
.barra__texto { font-size: clamp(.95rem, .8rem + .6vw, 1.3rem); line-height: 1.25; }
.barra__texto strong { font-weight: 700; }

.reloj {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.reloj__u { display: grid; justify-items: center; }
.reloj__u span {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.04em;
}
.reloj__u small { font-size: clamp(.72rem, .6rem + .4vw, 1rem); font-weight: 700; line-height: 1.1; }
.reloj__sep {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  font-weight: 800;
  line-height: .9;
}
.reloj__u--dias { margin-right: 10px; }

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 24px;
  padding-bottom: clamp(64px, 8vw, 110px);
}
.hero__decor {
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(320px, 42vw, 620px);
  background: url("../img/decor-hero.svg") center top / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

.slider {
  width: min(100% - 40px, 1060px);
  margin-inline: auto;
  position: relative;
}
.slider__marco {
  position: relative;
  aspect-ratio: 1600 / 700;
  border-radius: 18px;
  overflow: hidden;
}
.slider__marco::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(21, 23, 27, .85));
  pointer-events: none;
}
.slider__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.slider__item.es-activo {
  opacity: 1;
  visibility: visible;
  transition: opacity .9s ease;
}
.slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider__puntos {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.slider__punto {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--crema);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.slider__punto[aria-current="true"] { background: var(--oro); border-color: var(--oro); }

.hero__texto {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 26px;
}
.hero__texto .titulo-xl { max-width: 20ch; }
.hero__bajada {
  max-width: 60ch;
  font-size: clamp(1rem, .95rem + .25vw, 1.15rem);
  color: var(--texto);
}
.hero__acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.hero__acciones .boton { width: 220px; }

.sellos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.sellos__item {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 26px 24px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.25;
}
.sellos__item strong { font-weight: 700; }
.sellos__grande { display: block; font-size: 1.35rem; margin-bottom: 2px; }

/* ─── Video ───────────────────────────────────────────────────────────── */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #d9d9d9;
  margin-bottom: 56px;
}
.video__portada, .video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(64px, 11vw, 136px);
  height: clamp(64px, 11vw, 136px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.video__play circle { fill: rgba(22, 24, 29, .55); transition: fill .2s ease; }
.video__play path { fill: #fff; }
.video__play:hover circle { fill: var(--oro); }
.video__play--inactivo { cursor: default; }
.video__play--inactivo circle { fill: #bcbcbc; }
.video__enlace {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: var(--tinta);
  padding: 8px 14px;
  border-radius: 8px;
}

/* ─── Pilares ─────────────────────────────────────────────────────────── */
.pilares {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pilar { padding: 48px 36px; }
.pilar h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.pilar p { font-size: .95rem; color: var(--texto-suave); }

/* ─── Formulario ──────────────────────────────────────────────────────── */
.seccion--formulario { padding-top: 0; }
.formulario {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 34px) clamp(20px, 7vw, 88px);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--oro-osc) 0%, #d6861a 55%, var(--oro) 100%);
  box-shadow: 0 0 44px rgba(249, 167, 43, .38);
  color: var(--tinta);
}
.formulario__alerta {
  background: #fff4f2;
  color: #7a1010;
  border-left: 5px solid #b3261e;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
}
.campo {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: start;
  gap: 16px;
}
.campo > label {
  justify-self: end;
  padding-top: 15px;
  font-weight: 700;
  font-size: 1.05rem;
}
.campo__control input,
.campo__control select {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: #eeeeee;
  color: var(--tinta);
  font-size: 1.05rem;
}
.campo__control input::placeholder { color: #8d8d8d; }
.campo__control input:focus,
.campo__control select:focus {
  outline: none;
  border-color: var(--tinta);
  background: #fff;
}
.campo__control [aria-invalid="true"] { border-color: #8b0000; background: #fff6f5; }
.campo__control--select select {
  max-width: 470px;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 60px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181b' stroke-width='2.2'%3E%3Cpath d='M5 8l7 9 7-9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 24px;
}
.campo__error {
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .88);
  color: #7a1010;
  font-size: .9rem;
  font-weight: 600;
}

.casillas { display: grid; gap: 14px; margin-top: 4px; }
.casilla {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  align-items: center;
  cursor: pointer;
}
.casilla input {
  position: absolute;
  opacity: 0;
  width: 32px;
  height: 32px;
  margin: 0;
  cursor: pointer;
}
.casilla__caja {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(180deg, #f8dcbd, #d5aa80);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  display: grid;
  place-items: center;
}
.casilla input:checked + .casilla__caja {
  background: var(--tinta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fad99a' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.casilla input:focus-visible + .casilla__caja { outline: 3px solid var(--tinta); outline-offset: 2px; }
.casilla input[aria-invalid="true"] + .casilla__caja { box-shadow: inset 0 0 0 2px #8b0000; }
.casilla__texto { font-size: .95rem; line-height: 1.35; }
.casilla__texto--fuerte { font-weight: 700; font-size: 1.05rem; }
.casilla__texto a { color: var(--tinta); font-weight: 700; }

.formulario__botones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 6px;
}
.boton-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 78px;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--tinta);
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.boton-form:hover { filter: brightness(1.06); transform: translateY(-1px); }
.boton-form--crema {
  flex-direction: column;
  gap: 0;
  background: linear-gradient(180deg, #f8dcbe 0%, #d5aa82 100%);
}
.boton-form--crema strong { font-weight: 800; }
.boton-form--verde { background: var(--verde); }
.boton-form--verde strong { display: block; font-weight: 800; }
.boton-form[aria-busy="true"] { opacity: .7; pointer-events: none; }
.icono-wa { width: 42px; height: 42px; flex: none; fill: #fff; }

.formulario__nota {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0 clamp(0px, 9vw, 110px);
  font-weight: 700;
  font-size: .98rem;
}
.formulario__nota svg { width: 18px; height: 18px; fill: var(--crema); flex: none; }

.trampa {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ─── Plan de estudios ────────────────────────────────────────────────── */
.modulos { list-style: none; display: grid; gap: clamp(40px, 5vw, 56px); }
.modulo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-inline: clamp(0px, 5vw, 78px);
}
.modulo--invertido .modulo__imagen { order: -1; }
.modulo__fase,
.modulo__num {
  color: var(--crema);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.modulo__fase { margin-bottom: 34px; }
.modulo h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 4px 0 22px;
}
.modulo ul { padding-left: 26px; list-style: disc; }
.modulo li {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--texto);
}
.modulo li::marker { color: var(--texto); }
.modulo li strong { font-weight: 700; }
.modulo__imagen img { width: 100%; max-width: 400px; margin-inline: auto; }

/* ─── Precio ──────────────────────────────────────────────────────────── */
.seccion--precio { overflow: hidden; }
.ondas {
  position: absolute;
  inset: 12% 0 0 0;
  background: url("../img/decor-ondas.svg") center top / min(1500px, 170%) auto no-repeat;
  opacity: .55;
  z-index: -1;
  pointer-events: none;
}
.seccion--precio .titulo-xl { max-width: 26ch; margin: 0 auto clamp(40px, 6vw, 64px); }
.precio {
  border-radius: 20px;
  padding: 0 8px 8px;
  background: linear-gradient(95deg, var(--oro-osc) 0%, var(--oro-medio) 55%, var(--oro) 100%);
  box-shadow: 0 0 36px rgba(249, 167, 43, .4);
}
.precio__nombre {
  padding: 22px 18px 12px;
  color: var(--tinta);
  font-size: clamp(1.35rem, 1rem + 1.3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.precio__cuerpo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  background: linear-gradient(165deg, #fbdcb5 0%, #e5bf94 50%, #d6ab80 100%);
  color: var(--tinta);
}
.precio__valor {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 6px;
  padding-right: clamp(0px, 3vw, 40px);
}
.precio__etiqueta {
  justify-self: start;
  margin-left: clamp(0px, 1.5vw, 12px);
  font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.3rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.04em;
}
.precio__antes { font-size: 1.25rem; font-weight: 600; color: #5d4630; }
.precio__cifra {
  font-size: clamp(3rem, 1.8rem + 4.4vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.precio__moneda { font-size: .28em; letter-spacing: 0; vertical-align: .9em; }
.precio__detalle { max-width: 30ch; font-weight: 700; margin: 8px 0 20px; }
.precio__incluye {
  border-left: 1.5px solid #5b4a38;
  padding-left: clamp(20px, 3vw, 36px);
}
.precio__incluye h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; color: #26221d; }
.precio__incluye ul { padding-left: 20px; list-style: disc; }
.precio__incluye li { line-height: 1.75; color: #3a342c; margin-bottom: 2px; }

/* ─── Aval ────────────────────────────────────────────────────────────── */
.aval {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
}
.aval__imagen {
  aspect-ratio: 454 / 380;
  display: grid;
  place-items: center;
  background: url("../img/decor-ondas.svg") center 70% / 180% auto no-repeat, #1f2328;
}
.aval__imagen img { width: 58%; }
.aval__texto h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--crema);
  margin-bottom: 22px;
}
.aval__texto h2 strong { font-weight: 800; display: block; }
.aval__texto p { font-size: .98rem; color: var(--texto-suave); max-width: 46ch; }

/* ─── Preguntas frecuentes ────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq__item { border-bottom: 1px solid rgba(250, 217, 154, .14); }
.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--crema);
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-right: 2px solid var(--crema);
  border-bottom: 2px solid var(--crema);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq__item p {
  padding: 4px 0 26px 24px;
  font-size: 1.05rem;
  color: var(--texto);
}

/* ─── Cierre ──────────────────────────────────────────────────────────── */
.seccion--cierre { text-align: center; padding-block: clamp(90px, 11vw, 150px); }
.seccion--cierre::before,
.seccion--cierre::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(224, 150, 40, .6), transparent);
  pointer-events: none;
}
.seccion--cierre::before { top: 10px; height: 50px; }
.seccion--cierre::after { bottom: 0; height: 90px; }
.seccion--cierre .contenedor { display: grid; justify-items: center; gap: 14px; }
.seccion--cierre .titulo-xl { max-width: 24ch; }
.seccion--cierre .encabezado__sub { margin-bottom: 24px; }

/* ─── Pie ─────────────────────────────────────────────────────────────── */
.pie { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); }
.pie__interno {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .88rem;
  color: #9aa0a7;
}
.pie a { color: var(--texto-suave); }

/* ─── Páginas simples (gracias, política) ─────────────────────────────── */
.gracias {
  min-height: 82vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
.gracias__caja {
  max-width: 640px;
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.gracias__icono { width: 72px; height: 72px; }
.gracias__icono circle { fill: none; stroke: var(--oro); stroke-width: 2.5; }
.gracias__icono path { fill: none; stroke: var(--crema); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.gracias__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.gracias__acciones .boton-form { min-height: 64px; padding-inline: 32px; }

.legal { padding-block: 48px 80px; display: grid; gap: 14px; }
.legal h2 { color: var(--crema); font-size: 1.2rem; margin-top: 16px; }
.legal p { color: var(--texto-suave); max-width: 75ch; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .modulo,
  .aval { grid-template-columns: 1fr; }
  .modulo--invertido .modulo__imagen { order: 0; }
  .modulo__imagen img { max-width: 320px; }
  .precio__cuerpo { grid-template-columns: 1fr; gap: 32px; }
  .precio__valor { padding-right: 0; }
  .precio__etiqueta { justify-self: center; margin-left: 0; }
  .precio__incluye { border-left: 0; border-top: 1.5px solid #5b4a38; padding: 28px 0 0; }
  .aval__imagen { max-width: 520px; width: 100%; margin-inline: auto; }
  .aval__texto { text-align: center; }
  .aval__texto p { margin-inline: auto; }
}

@media (max-width: 760px) {
  :root { --barra-alto: 76px; }
  .sellos,
  .pilares { grid-template-columns: 1fr; }
  .sellos__item { min-height: 0; padding: 22px; }
  .pilar { padding: 30px 24px; }
  .campo { grid-template-columns: 1fr; gap: 6px; }
  .campo > label { justify-self: start; padding-top: 0; }
  .campo__control--select select { max-width: none; }
  .formulario__botones { grid-template-columns: 1fr; gap: 14px; }
  .formulario__nota { margin-left: 0; justify-content: center; text-align: center; }
  .barra { padding: 8px 10px; }
  .barra__pastilla { padding: 8px 14px; gap: 12px; justify-content: space-between; }
  .slider { width: 100%; }
  .slider__marco { border-radius: 0; }
  .slider__marco:has(source) { aspect-ratio: 1; }
}

@media (max-width: 420px) {
  .hero__acciones .boton { width: 100%; }
  .barra__texto { font-size: .82rem; }
  .precio__cifra { font-size: clamp(2.4rem, 13vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* En celular el decorado del hero queda detrás del slider a lo ancho */
@media (max-width: 760px) {
  .hero__decor { height: calc(24px + 44vw); }
}
