/* =========================================================
   Miguel Pro Marketing — sistema de diseño
   Mobile first. Sin frameworks.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --azul: #024d93;
  --azul-oscuro: #013a70;
  --azul-claro: #eaf1f8;
  --tinta: #14223a;
  --gris: #6b7280;
  --linea: #d6e2ef;
  --blanco: #ffffff;
  --verde-ok: #1d7a46;
  --rojo-error: #b42318;

  --fuente: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --contenedor: 1120px;
  --margen: 24px;
  --seccion: 64px;
  --radio: 12px;
  --radio-tarjeta: 16px;
  --sombra: 0 1px 2px rgba(20, 34, 58, .04), 0 8px 24px rgba(20, 34, 58, .06);
}
@media (min-width: 900px) {
  :root { --seccion: 96px; --margen: 32px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--azul); text-underline-offset: 3px; }
a:hover { color: var(--azul-oscuro); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 4px; }
.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; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tinta); color: #fff; padding: 12px 16px; border-radius: 8px; }
.saltar:focus { top: 12px; color: #fff; }

/* ---------- 3. Tipografía ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; color: var(--tinta); }
h1 { font-size: clamp(34px, 8.5vw, 40px); line-height: 1.05; }
h2 { font-size: clamp(30px, 6.5vw, 32px); line-height: 1.1; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 900px) {
  h1 { font-size: clamp(44px, 4.6vw, 64px); }
  h2 { font-size: clamp(32px, 3vw, 40px); }
  h3 { font-size: 22px; }
}
.etiqueta {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--azul);
}
.lead { font-size: 19px; line-height: 1.5; color: var(--gris); max-width: 40em; }
@media (min-width: 900px) { .lead { font-size: 22px; } }
.texto-gris { color: var(--gris); }
.texto-peq { font-size: 14px; line-height: 1.5; color: var(--gris); }
.centro { text-align: center; }
.centro .lead { margin-left: auto; margin-right: auto; }
.azul { color: var(--azul); }

/* ---------- 4. Layout ---------- */
.contenedor { width: 100%; max-width: calc(var(--contenedor) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); }
.angosto { max-width: calc(760px + 2 * var(--margen)); }
.seccion { padding: var(--seccion) 0; }
.seccion--claro { background: var(--azul-claro); }
.seccion--oscuro { background: var(--tinta); color: #dfe6f0; }
.seccion--oscuro h2, .seccion--oscuro h3 { color: #fff; }
.seccion--oscuro .etiqueta { color: #9cc3ea; }
.seccion--oscuro .texto-gris, .seccion--oscuro .lead { color: #b7c3d4; }
.encabezado-seccion { max-width: 720px; margin-bottom: 40px; }
.centro.encabezado-seccion, .encabezado-seccion.centro { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.dividido { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .dividido { grid-template-columns: 1fr 1fr; gap: 72px; }
  .dividido--invertido > :first-child { order: 2; }
}
.pila > * + * { margin-top: 16px; }

/* ---------- 5. Encabezado y menú ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.con-borde { border-bottom-color: var(--linea); }
.header__fila { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: block; width: 160px; flex: none; }
.logo img { width: 160px; height: auto; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav a:not(.btn) { color: var(--tinta); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--azul); }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; color: var(--tinta); cursor: pointer; border-radius: 10px;
}
.nav-movil { display: none; border-top: 1px solid var(--linea); background: #fff; }
.nav-movil.abierto { display: block; }
.nav-movil ul { list-style: none; padding: 8px 0 24px; }
.nav-movil li a:not(.btn) { display: block; padding: 14px 0; font-size: 20px; font-weight: 700; color: var(--tinta); text-decoration: none; border-bottom: 1px solid var(--linea); }
.nav-movil li:last-child { margin-top: 20px; }
@media (min-width: 900px) {
  .nav { display: block; }
  .menu-btn, .nav-movil, .nav-movil.abierto { display: none; }
}
.header--landing .header__fila { justify-content: center; }
@media (min-width: 900px) { .header--landing .header__fila { justify-content: flex-start; } }

/* ---------- 6. Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  min-height: 56px; padding: 0 28px; width: 100%;
  font: 700 17px/1.2 var(--fuente); text-align: center; text-decoration: none;
  border-radius: var(--radio); border: 2px solid var(--azul);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
@media (min-width: 720px) { .btn { width: auto; } }
.btn svg { flex: none; width: 20px; height: 20px; }
.btn svg:first-child { margin-right: 10px; }
.btn svg:last-child:not(:first-child) { margin-left: 8px; }
.btn--primario { background: var(--azul); color: #fff; }
.btn--primario:hover { background: var(--azul-oscuro); border-color: var(--azul-oscuro); color: #fff; }
.btn--secundario { background: transparent; color: var(--azul); }
.btn--secundario:hover { background: var(--azul-claro); color: var(--azul-oscuro); }
.btn--blanco { background: #fff; color: var(--azul); border-color: #fff; }
.btn--blanco:hover { background: var(--azul-claro); border-color: var(--azul-claro); color: var(--azul-oscuro); }
.btn--peq { min-height: 48px; padding: 0 20px; font-size: 15px; width: auto; }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: progress; }
.botones { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 720px) { .botones { flex-direction: row; flex-wrap: wrap; } }
.centro .botones { align-items: center; justify-content: center; }
.enlace-flecha { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 48px; }
.enlace-flecha:hover { text-decoration: underline; }

/* ---------- 7. Tarjetas ---------- */
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio-tarjeta); padding: 28px; }
.tarjeta--clara { background: var(--azul-claro); border-color: transparent; }
.tarjeta h3 { margin-bottom: 8px; }
.tarjeta p:last-child { margin-bottom: 0; }
.tarjeta__icono { width: 44px; height: 44px; border-radius: 12px; background: var(--azul-claro); color: var(--azul); display: grid; place-items: center; margin-bottom: 20px; }
.tarjeta--enlace { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tarjeta--enlace:hover { border-color: var(--azul); box-shadow: var(--sombra); color: inherit; transform: translateY(-2px); }
.tarjeta--enlace .enlace-flecha { margin-top: auto; padding-top: 16px; color: var(--azul); }
.seccion--oscuro .tarjeta { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }

/* ---------- 8. Precio ---------- */
.precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.precio__antes { font-size: 20px; color: var(--gris); text-decoration: line-through; }
.precio__ahora { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: var(--azul); }
.precio__nota { flex-basis: 100%; font-size: 14px; color: var(--gris); }
.precio--simple .precio__ahora { font-size: 44px; }

/* ---------- 9. Lista con check ---------- */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px;
  background: var(--azul);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.checks--ok li::before { background: var(--verde-ok); }
.checks--no li::before {
  background: var(--gris);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6M9 9l6 6'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6M9 9l6 6'/%3E%3C/svg%3E");
}
.seccion--oscuro .checks li::before { background: #9cc3ea; }

/* ---------- 10. Barra de confianza ---------- */
.confianza { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 14px; color: var(--gris); }
.confianza li { display: inline-flex; align-items: center; gap: 6px; }
.confianza svg { width: 18px; height: 18px; color: var(--azul); flex: none; }
.centro .confianza, .hero--landing .confianza { justify-content: center; }
.seccion--oscuro .confianza { color: #b7c3d4; }
.seccion--oscuro .confianza svg { color: #9cc3ea; }

/* ---------- 11. Acordeón (details/summary) ---------- */
.faq { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 0; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; background: var(--azul);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--gris); max-width: 46em; }
.faq details > div p:last-child { margin: 0; }

/* ---------- 12. Fotos y marcadores ---------- */
.foto { border-radius: var(--radio-tarjeta); overflow: hidden; background: var(--azul-claro); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto--retrato { aspect-ratio: 4 / 5; }
.foto--vertical { aspect-ratio: 3 / 4; }
.marcador {
  display: grid; place-items: center; text-align: center; padding: 24px;
  background: #e5e7eb; color: #4b5563; border: 2px dashed #9ca3af; border-radius: var(--radio-tarjeta);
  font-size: 14px; font-weight: 700; letter-spacing: .02em; min-height: 160px;
}
.pendiente { background: #fff4c2; color: #6b4e00; padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* ---------- 13. Video con fachada ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radio-tarjeta); overflow: hidden; background: var(--tinta); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__boton {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: var(--tinta) center/cover no-repeat;
  display: grid; place-items: center; color: #fff;
}
.video__boton::before { content: ""; position: absolute; inset: 0; background: rgba(20, 34, 58, .35); }
.video__play { position: relative; width: 80px; height: 80px; border-radius: 50%; background: #fff; color: var(--azul); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.25); transition: transform .15s; }
.video__boton:hover .video__play { transform: scale(1.06); }
.video__nota { margin: 12px 0 0; font-size: 14px; color: var(--gris); text-align: center; }
.video .marcador { position: absolute; inset: 0; border-radius: 0; background: #1f2d45; color: #b7c3d4; border-color: #3b4a63; }

/* ---------- 14. Formularios ---------- */
.form { display: grid; gap: 20px; }
.form-fila { display: grid; gap: 20px; }
@media (min-width: 720px) { .form-fila { grid-template-columns: 1fr 1fr; } }
.campo label, .campo legend { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--tinta); padding: 0; }
.campo .ayuda { display: block; margin-top: -4px; margin-bottom: 8px; font-size: 14px; color: var(--gris); font-weight: 400; }
.campo input[type="text"], .campo input[type="email"], .campo input[type="tel"], .campo input[type="number"], .campo select, .campo textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: 400 17px/1.4 var(--fuente); color: var(--tinta);
  background: #fff; border: 1px solid #b9c7d8; border-radius: 10px;
  -webkit-appearance: none; appearance: none;
}
.campo select {
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/20px no-repeat;
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(2, 77, 147, .2); }
.campo fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcion span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid #b9c7d8; border-radius: 10px; font-size: 16px; cursor: pointer; }
.opcion input:checked + span { border-color: var(--azul); background: var(--azul-claro); color: var(--azul); font-weight: 700; }
.opcion input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }
.autorizacion { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--gris); cursor: pointer; }
.autorizacion input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--azul); cursor: pointer; }
.error-msg { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--rojo-error); }
.campo.con-error input, .campo.con-error select, .campo.con-error textarea, .campo.con-error .opcion span { border-color: var(--rojo-error); }
.form-estado { padding: 16px 20px; border-radius: 10px; font-size: 15px; }
.form-estado:empty { display: none; }
.form-estado--ok { background: #e8f5ee; color: var(--verde-ok); }
.form-estado--error { background: #fdecea; color: var(--rojo-error); }
.tarjeta-form { background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 28px 20px; box-shadow: var(--sombra); }
@media (min-width: 720px) { .tarjeta-form { padding: 40px; } }
[hidden] { display: none !important; }

/* ---------- 15. Pasos ---------- */
.pasos { list-style: none; display: grid; gap: 16px; counter-reset: paso; }
@media (min-width: 720px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.paso { position: relative; padding: 28px; border: 1px solid var(--linea); border-radius: var(--radio-tarjeta); background: #fff; }
.paso__num { width: 40px; height: 40px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.paso__icono { width: 44px; height: 44px; border-radius: 12px; background: var(--azul-claro); color: var(--azul); display: grid; place-items: center; margin-bottom: 16px; }
.paso h3 { margin-bottom: 6px; }
.paso p { margin: 0; color: var(--gris); }

/* ---------- 16. Carrera de relevos ---------- */
.relevos { list-style: none; display: grid; gap: 12px; }
.relevo { position: relative; padding: 24px; border: 1px solid var(--linea); border-radius: var(--radio-tarjeta); background: #fff; }
.relevo__tramo { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.relevo h3 { margin: 6px 0 4px; font-size: 24px; }
.relevo p { margin: 0; color: var(--gris); }
.relevo--activo { background: var(--azul); border-color: var(--azul); color: #fff; box-shadow: 0 12px 32px rgba(2, 77, 147, .25); }
.relevo--activo h3, .relevo--activo p, .relevo--activo .relevo__tramo { color: #fff; }
.relevo--activo .relevo__tramo { opacity: .8; }
.relevo:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; width: 2px; height: 12px; background: var(--linea); transform: translateX(-50%);
}
@media (min-width: 900px) {
  .relevos { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
  .relevo:not(:last-child)::after { left: auto; right: -24px; top: 50%; bottom: auto; width: 24px; height: 2px; transform: none; }
}

/* ---------- 17. Módulos del curso ---------- */
.modulos { list-style: none; display: grid; gap: 16px; }
.modulo { display: grid; gap: 8px; padding: 28px; border: 1px solid var(--linea); border-radius: var(--radio-tarjeta); }
@media (min-width: 900px) { .modulo { grid-template-columns: 200px 1fr; gap: 32px; padding: 36px; } }
.modulo__meta { font-size: 14px; color: var(--gris); }
.modulo__meta strong { display: block; font-size: 28px; font-weight: 800; color: var(--azul); letter-spacing: -0.02em; }
.modulo h3 { margin-bottom: 8px; }
.modulo p { margin: 0; color: var(--gris); }

/* ---------- 18. Oferta ---------- */
.oferta { max-width: 640px; margin: 0 auto; padding: 32px 24px; border: 2px solid var(--azul); border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(2, 77, 147, .12); }
@media (min-width: 720px) { .oferta { padding: 48px; } }
.oferta h3 { font-size: 26px; }
.oferta .checks { margin: 24px 0 28px; }
.oferta .btn { width: 100%; margin-top: 24px; }
.oferta__fecha { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--tinta); }

/* ---------- 19. Logos de clientes ---------- */
.logos { list-style: none; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: center; }
.logos img { height: 56px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- 20. Pilares ---------- */
.pilares { list-style: none; display: grid; gap: 16px; }
.pilar { display: grid; gap: 12px; padding: 28px; border: 1px solid var(--linea); border-radius: var(--radio-tarjeta); background: #fff; }
@media (min-width: 900px) { .pilar { grid-template-columns: 72px 1fr auto; align-items: center; gap: 32px; padding: 32px 36px; } }
.pilar__num { font-size: 40px; font-weight: 800; color: var(--linea); letter-spacing: -0.03em; line-height: 1; }
.pilar h3 { margin: 0 0 4px; }
.pilar p { margin: 0; color: var(--gris); }
.pilar--disponible { border: 2px solid var(--azul); }
.pilar--disponible .pilar__num { color: var(--azul); }
.insignia { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--azul-claro); color: var(--gris); margin-bottom: 8px; }
.insignia--ok { background: #e8f5ee; color: var(--verde-ok); }

/* ---------- 21. Línea de tiempo ---------- */
.linea-tiempo { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--linea); margin-left: 8px; }
.linea-tiempo li { position: relative; padding: 0 0 32px 32px; }
.linea-tiempo li:last-child { padding-bottom: 0; }
.linea-tiempo li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--azul); }
.linea-tiempo .mes { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--azul); }
.linea-tiempo h3 { margin: 4px 0; }
.linea-tiempo p { margin: 0; color: var(--gris); }
@media (min-width: 900px) {
  .linea-tiempo { grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 2px solid var(--linea); margin: 0; gap: 32px; }
  .linea-tiempo li { padding: 32px 0 0; }
  .linea-tiempo li::before { left: 0; top: -9px; }
}

/* ---------- 22. Barra fija de compra (celular) ---------- */
.barra-compra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--linea);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform .25s ease;
}
.barra-compra.visible { transform: none; }
.barra-compra__precio { line-height: 1.15; }
.barra-compra__precio s { font-size: 13px; color: var(--gris); }
.barra-compra__precio strong { display: block; font-size: 22px; font-weight: 800; color: var(--azul); }
.barra-compra .btn { width: auto; min-height: 52px; padding: 0 20px; font-size: 16px; }
@media (min-width: 900px) { .barra-compra { display: none; } }
.con-barra { padding-bottom: 80px; }
@media (min-width: 900px) { .con-barra { padding-bottom: 0; } }

/* ---------- 23. WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #1f8a4c; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.wa-flotante:hover { background: #18703d; color: #fff; }
@media (min-width: 900px) { .wa-flotante { right: 28px; bottom: 28px; } }

/* ---------- 24. Pie ---------- */
.pie { background: var(--tinta); color: #b7c3d4; padding: 64px 0 32px; font-size: 15px; }
.pie a { color: #dfe6f0; text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .pie__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.pie__logo img { width: 160px; }
.pie h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.pie ul { list-style: none; display: grid; gap: 4px; }
.pie ul a { display: inline-block; padding: 6px 0; }
.pie__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
.pie__legal ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pie--minimo { background: #fff; color: var(--gris); border-top: 1px solid var(--linea); padding: 32px 0; font-size: 14px; }
.pie--minimo a { color: var(--gris); text-decoration: underline; }
.pie--minimo a:hover { color: var(--azul); }
.pie--minimo .pie__legal { margin: 0; padding: 0; border: 0; }
.pie--minimo .pie__legal ul a { display: inline-block; padding: 12px 0; }

/* ---------- 25. Hero ---------- */
.hero { padding: 48px 0 var(--seccion); }
@media (min-width: 900px) { .hero { padding-top: 80px; } }
.hero .lead { margin-bottom: 32px; }
.hero--landing { text-align: center; }
.hero--landing .lead { margin-left: auto; margin-right: auto; }
.hero--landing .video { max-width: 880px; margin: 40px auto 0; }
.hero__cta { margin-top: 32px; }
.hero__cta .btn { min-width: 320px; }
.hero__cta .texto-peq { margin: 10px 0 0; }

/* ---------- 26. Modal (dialog) ---------- */
dialog.modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--tinta); }
dialog.modal::backdrop { background: rgba(20, 34, 58, .55); }
.modal__cuerpo { padding: 32px 24px; }
@media (min-width: 720px) { .modal__cuerpo { padding: 40px; } }
.modal__cerrar { position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--gris); display: grid; place-items: center; }

/* ---------- 27. Legales ---------- */
.legal h2 { font-size: 24px; margin-top: 48px; }
.legal h3 { margin-top: 28px; font-size: 19px; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.borrador { padding: 16px 20px; border-radius: 10px; background: #fff4c2; color: #6b4e00; font-weight: 700; margin-bottom: 32px; }

/* ---------- 28. Aviso de configuración (solo en pruebas) ---------- */
.aviso-config {
  position: fixed; left: 50%; bottom: 96px; z-index: 200; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px;
  background: var(--tinta); color: #fff; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.max-640 { max-width: 640px; }

/* =========================================================
   v2 — Más azul: secciones de marca, reproductor VSL, cursos
   ========================================================= */
:root { --azul-acento: #a9d0ff; --azul-profundo: #013a70; }

/* ---------- Secciones azules ---------- */
.seccion--azul, .hero--azul {
  color: #dbe8f7;
  background-color: var(--azul);
  background-image:
    radial-gradient(900px 520px at 85% -10%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px);
  background-size: auto, 24px 24px;
}
.seccion--profundo { background-color: var(--azul-profundo); }
.seccion--azul h1, .seccion--azul h2, .seccion--azul h3, .seccion--azul h4,
.hero--azul h1, .hero--azul h2, .hero--azul h3 { color: #fff; }
.seccion--azul .etiqueta, .hero--azul .etiqueta { color: var(--azul-acento); }
.seccion--azul .lead, .hero--azul .lead { color: #dbe8f7; }
.seccion--azul .texto-gris, .seccion--azul .texto-peq, .hero--azul .texto-gris, .hero--azul .texto-peq { color: #c3d7ee; }
.seccion--azul a:not(.btn):not(.tarjeta), .hero--azul a:not(.btn) { color: #fff; }
.acento { color: var(--azul-acento); }
.seccion--claro .acento, .seccion:not(.seccion--azul):not(.seccion--oscuro) .acento { color: var(--azul); }

.seccion--azul .btn--primario, .hero--azul .btn--primario { background: #fff; border-color: #fff; color: var(--azul); }
.seccion--azul .btn--primario:hover, .hero--azul .btn--primario:hover { background: var(--azul-claro); border-color: var(--azul-claro); color: var(--azul-oscuro); }
.seccion--azul .btn--secundario, .hero--azul .btn--secundario { border-color: rgba(255, 255, 255, .7); color: #fff; }
.seccion--azul .btn--secundario:hover, .hero--azul .btn--secundario:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.seccion--azul :focus-visible, .hero--azul :focus-visible { outline-color: #fff; }

.seccion--azul .tarjeta:not(.tarjeta--blanca), .hero--azul .tarjeta:not(.tarjeta--blanca) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #dbe8f7; }
.seccion--azul .tarjeta--enlace:hover { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.seccion--azul .tarjeta--enlace .enlace-flecha { color: #fff; }
.seccion--azul .tarjeta__icono, .hero--azul .tarjeta__icono { background: rgba(255, 255, 255, .14); color: #fff; }
.seccion--azul .checks li::before, .hero--azul .checks li::before { background: var(--azul-acento); }
.seccion--azul .confianza, .hero--azul .confianza { color: #c3d7ee; }
.seccion--azul .confianza svg, .hero--azul .confianza svg { color: var(--azul-acento); }
.seccion--azul .paso { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.seccion--azul .paso p { color: #c3d7ee; }
.seccion--azul .paso__num { background: #fff; color: var(--azul); }
.seccion--azul .relevo { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.seccion--azul .relevo p, .seccion--azul .relevo__tramo { color: #c3d7ee; }
.seccion--azul .relevo--activo { background: #fff; border-color: #fff; box-shadow: 0 16px 40px rgba(0, 20, 50, .35); }
.seccion--azul .relevo--activo h3 { color: var(--azul); }
.seccion--azul .relevo--activo p, .seccion--azul .relevo--activo .relevo__tramo { color: var(--tinta); opacity: 1; }
.seccion--azul .relevo:not(:last-child)::after { background: rgba(255, 255, 255, .35); }
.seccion--azul .faq, .seccion--azul .faq details { border-color: rgba(255, 255, 255, .25); }
.seccion--azul .faq summary { color: #fff; }
.seccion--azul .faq summary::after { background: var(--azul-acento); }
.seccion--azul .faq details > div { color: #dbe8f7; }
.seccion--azul .foto, .hero--azul .foto { box-shadow: 0 30px 70px rgba(0, 20, 50, .4); }
.seccion--azul .pendiente, .hero--azul .pendiente { background: #ffe58a; }
.seccion--azul .tarjeta-form, .seccion--azul .oferta { color: var(--tinta); }
.seccion--azul .tarjeta-form h2, .seccion--azul .tarjeta-form h3, .seccion--azul .oferta h3 { color: var(--tinta); }
.seccion--azul .tarjeta-form .etiqueta, .seccion--azul .oferta .etiqueta { color: var(--azul); }
.seccion--azul .tarjeta-form a:not(.btn), .seccion--azul .oferta a:not(.btn) { color: var(--azul); }
.seccion--azul .tarjeta-form .btn--primario, .seccion--azul .oferta .btn--primario { background: var(--azul); border-color: var(--azul); color: #fff; }
.seccion--azul .tarjeta-form .btn--primario:hover, .seccion--azul .oferta .btn--primario:hover { background: var(--azul-oscuro); border-color: var(--azul-oscuro); }
.seccion--azul .oferta .texto-gris, .seccion--azul .oferta .confianza, .seccion--azul .tarjeta-form .texto-gris { color: var(--gris); }
.seccion--azul .oferta .confianza svg { color: var(--azul); }
.seccion--azul .oferta .checks li::before { background: var(--azul); }
.seccion--azul .oferta { border-color: #fff; box-shadow: 0 30px 80px rgba(0, 20, 50, .45); }

/* ---------- Hero azul ---------- */
.hero--azul { padding: 48px 0 72px; }
@media (min-width: 900px) { .hero--azul { padding: 88px 0 104px; } }
.hero--azul h1 { margin-bottom: 20px; }
.hero__puntos { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.hero__puntos li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: 15px; font-weight: 700; color: #fff; }
.hero__puntos li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--azul-acento); }
.hero--landing .hero__puntos { justify-content: center; }
.hero__imagen { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 20, 50, .5), 0 0 0 1px rgba(255, 255, 255, .18); }
.hero__imagen img { width: 100%; }
.hero--azul .hero__cta .btn { min-width: 0; }
@media (min-width: 720px) { .hero--azul .hero__cta .btn { min-width: 340px; } }

/* Franja de logos */
.franja { padding: 28px 0; background: #fff; border-bottom: 1px solid var(--linea); }
.franja__fila { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.franja__fila p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); text-align: center; }
@media (min-width: 900px) { .franja__fila { flex-direction: row; justify-content: center; gap: 48px; } }
.franja .logos img { height: 48px; filter: none; opacity: 1; }

/* ---------- Reproductor VSL (colores de marca) ---------- */
.vsl {
  position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 920px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  background: #012b55;
  background-image: radial-gradient(60% 80% at 50% 45%, #0a63b5 0%, #024d93 45%, #012b55 100%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .14), 0 30px 80px rgba(0, 20, 50, .5);
}
.seccion:not(.seccion--azul):not(.seccion--oscuro) > .contenedor > .vsl { box-shadow: 0 0 0 6px var(--azul-claro), 0 30px 70px rgba(2, 77, 147, .28); }
.vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl .video__boton {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0 16px 14px; cursor: pointer;
  background: transparent center/cover no-repeat; color: #fff; font-family: var(--fuente);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.vsl .video__boton::before { content: ""; position: absolute; inset: 0; background: rgba(1, 43, 85, .38); }
.vsl__play {
  position: relative; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--azul);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.vsl__play svg { margin-left: 4px; }
.vsl__play::before, .vsl__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: vsl-pulso 2.2s ease-out infinite; }
.vsl__play::after { animation-delay: 1.1s; }
@keyframes vsl-pulso { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.vsl__texto { position: relative; text-align: center; line-height: 1.3; }
.vsl__texto strong { display: block; font-size: 18px; font-weight: 800; }
.vsl__texto small { font-size: 13px; color: #c3d7ee; }
@media (min-width: 720px) { .vsl__play { width: 104px; height: 104px; } .vsl__play svg { width: 44px; height: 44px; } .vsl__texto strong { font-size: 24px; } .vsl__texto small { font-size: 15px; } }
.vsl__barra { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255, 255, 255, .18); pointer-events: none; }
.vsl__barra i { display: block; height: 100%; width: 14%; background: var(--azul-acento); border-radius: 0 3px 3px 0; }
.vsl__pendiente { display: none; position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 6px; background: #fff4c2; color: #6b4e00; font-size: 12px; font-weight: 700; }
.vsl--pendiente .vsl__pendiente { display: block; }
.vsl--pendiente .video__boton { cursor: default; }
.vsl + .video__nota { margin-top: 20px; }
.seccion--azul .video__nota, .hero--azul .video__nota { color: #c3d7ee; }

/* ---------- Lo que vas a aprender (bullets) ---------- */
.aprender { list-style: none; display: grid; gap: 12px; }
@media (min-width: 800px) { .aprender { grid-template-columns: 1fr 1fr; gap: 16px; } }
.aprender li {
  position: relative; padding: 18px 20px 18px 60px; border-radius: 14px; font-weight: 700; line-height: 1.35;
  background: #fff; border: 1px solid var(--linea); color: var(--tinta);
}
.aprender li small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--gris); }
.aprender li::before {
  content: ""; position: absolute; left: 18px; top: 17px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.seccion--azul .aprender li { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); color: #fff; }
.seccion--azul .aprender li small { color: #c3d7ee; }
.seccion--azul .aprender li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23024d93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E"); }

/* ---------- Tarjetas de curso ---------- */
.cursos { display: grid; gap: 24px; }
@media (min-width: 800px) { .cursos { grid-template-columns: 1fr 1fr; gap: 32px; } }
.curso { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linea); border-radius: 24px; overflow: hidden; color: var(--tinta); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.curso:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(2, 77, 147, .2); color: var(--tinta); }
.curso img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.curso__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 24px; }
@media (min-width: 720px) { .curso__cuerpo { padding: 32px; } }
.curso__cuerpo h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--tinta); }
.curso__cuerpo p { color: var(--gris); }
.curso__cuerpo .btn { margin-top: auto; width: 100%; background: var(--azul); border-color: var(--azul); color: #fff; }
.curso:hover .btn { background: var(--azul-oscuro); border-color: var(--azul-oscuro); }

/* Cifras del caso */
.cifras { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cifras li { padding: 20px 12px; border-radius: 16px; text-align: center; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); }
.cifras strong { display: block; font-size: clamp(26px, 6vw, 44px); line-height: 1; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.cifras span { display: block; margin-top: 6px; font-size: 13px; color: #c3d7ee; }

/* Ajustes de ritmo */
.seccion--azul + .pie, .seccion--oscuro + .pie { border-top: 1px solid rgba(255, 255, 255, .12); }
.header--landing { background: #fff; }
.barra-compra { background: var(--azul); border-top: 0; }
.barra-compra__precio s { color: #c3d7ee; }
.barra-compra__precio strong { color: #fff; }
.barra-compra .btn { background: #fff; border-color: #fff; color: var(--azul); }

.btn [data-mpm] { margin-left: .3em; }
@media (max-width: 719px) { .vsl__pendiente { left: 8px; top: 8px; font-size: 10px; padding: 2px 6px; } }

/* =========================================================
   v3 — Home "contrátame": servicios, carrusel, consultoría, cursos
   ========================================================= */

/* Botón WhatsApp (verde solo en la acción de escribir) */
.btn--wa { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }
.btn--wa:hover { background: #18703d; border-color: #18703d; color: #fff; }
.seccion--azul .btn--wa, .hero--azul .btn--wa { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }
.seccion--azul .btn--wa:hover, .hero--azul .btn--wa:hover { background: #18703d; border-color: #18703d; color: #fff; }
.btn--grande { min-height: 60px; font-size: 18px; }

/* Hero: foto + enlace "Quién soy" */
.hero__foto { display: flex; flex-direction: column; gap: 14px; }
.hero__quien {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35);
  color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none; transition: background-color .15s;
}
.hero__quien:hover { background: rgba(255, 255, 255, .22); }
.hero__nota { margin: 14px 0 0; font-size: 14px; color: #c3d7ee; }

/* Servicios por etapa del paciente */
.etapas { list-style: none; display: grid; gap: 16px; counter-reset: etapa; }
@media (min-width: 760px) { .etapas { grid-template-columns: 1fr 1fr; gap: 24px; } }
.etapa { position: relative; padding: 28px; border: 1px solid var(--linea); border-radius: 20px; background: #fff; }
@media (min-width: 900px) { .etapa { padding: 36px; } }
.etapa__cabeza { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.etapa__num {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--azul); color: #fff; font-weight: 800; font-size: 18px;
}
.etapa__cabeza p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--azul); }
.etapa__cabeza h3 { margin: 2px 0 0; font-size: 22px; }
.etapa .checks { gap: 10px; }
.etapa .checks li { font-size: 16px; line-height: 1.45; }
.etapa--extra { border-style: dashed; background: var(--azul-claro); }
@media (min-width: 760px) { .etapa--extra { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; } .etapa--extra .etapa__cabeza { margin: 0; flex: none; } }
.etapa--extra > p { margin: 0; color: var(--gris); font-size: 16px; }

/* Carrusel */
.carrusel { position: relative; }
.carrusel__pista {
  list-style: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px var(--margen) 8px; margin: 0 calc(var(--margen) * -1);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__item { flex: 0 0 78%; scroll-snap-align: center; margin: 0; }
@media (min-width: 720px) { .carrusel__item { flex-basis: calc((100% - 32px) / 3); scroll-snap-align: start; } }
.carrusel__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; background: rgba(255, 255, 255, .1); }
.carrusel__item figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--gris); }
.seccion--azul .carrusel__item figcaption { color: #c3d7ee; }
.carrusel__controles { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.carrusel__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 2px solid currentColor; color: var(--azul);
}
.seccion--azul .carrusel__btn { color: #fff; }
.carrusel__btn:disabled { opacity: .35; cursor: default; }

/* Consultoría destacada */
.consulta { display: grid; gap: 32px; }
@media (min-width: 900px) { .consulta { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; } }
.consulta__analiza { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 600px) { .consulta__analiza { grid-template-columns: 1fr 1fr; } }
.consulta__analiza li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-weight: 700; line-height: 1.3;
}
.consulta__analiza li svg { flex: none; color: var(--azul-acento); }
.consulta__analiza li small { display: block; font-weight: 400; font-size: 14px; color: #c3d7ee; }
.consulta__tarjeta { background: #fff; color: var(--tinta); border-radius: 24px; padding: 28px 24px; box-shadow: 0 30px 80px rgba(0, 20, 50, .45); }
@media (min-width: 720px) { .consulta__tarjeta { padding: 40px; } }
.consulta__tarjeta h3 { color: var(--tinta); font-size: 24px; margin-bottom: 4px; }
.consulta__tarjeta .etiqueta { color: var(--azul); }
.consulta__tarjeta .checks { margin: 20px 0 24px; }
.consulta__tarjeta .checks li::before { background: var(--azul); }
.consulta__tarjeta .precio { margin-bottom: 8px; }
.consulta__tarjeta .btn { width: 100%; }
.consulta__tarjeta .texto-peq { margin: 14px 0 0; text-align: center; color: var(--gris); }
.consulta__tarjeta a:not(.btn) { color: var(--azul); }

/* Escasez real */
.cupos { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--azul-claro); color: var(--tinta); font-size: 15px; font-weight: 700; }
.cupos::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--verde-ok); box-shadow: 0 0 0 4px rgba(29, 122, 70, .18); }

/* Vitrina de cursos */
.vitrina { display: grid; gap: 20px; }
@media (min-width: 720px) { .vitrina { grid-template-columns: 1fr 1fr; gap: 28px; } }
.vitrina .curso { position: relative; }
.vitrina .curso img { aspect-ratio: 1 / 1; }
.sello {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px;
  background: #fff4c2; color: #6b4e00; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

/* Bloque CTA final */
.cta-final { text-align: center; }
.cta-final .botones { justify-content: center; }

/* Quién soy */
.bio { max-width: 720px; }
.bio p { font-size: 19px; }
.redes { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Aviso de cookies */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: var(--tinta); color: #dfe6f0; font-size: 14px; line-height: 1.5; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.cookies a { color: #fff; }
.cookies .btn { min-height: 48px; width: auto; align-self: flex-end; padding: 0 22px; font-size: 15px; background: #fff; border-color: #fff; color: var(--azul); }
@media (min-width: 640px) { .cookies { flex-direction: row; align-items: center; } .cookies p { margin: 0; } }
.cookies p { margin: 0; }
body.con-barra .cookies { bottom: 88px; }
@media (min-width: 900px) { body.con-barra .cookies { bottom: 16px; } }

/* Legales: datos del responsable */
.legal .ficha { list-style: none; padding: 20px 24px !important; border: 1px solid var(--linea); border-radius: 14px; background: var(--azul-claro); }
.legal .ficha li { margin: 4px 0; }
.legal__indice { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.legal__indice a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linea); font-size: 14px; text-decoration: none; }
.legal__indice a:hover { border-color: var(--azul); }
.pie__razon { flex-basis: 100%; font-size: 13px; color: #9fb0c6; }

/* Home: título del hero más compacto para que el botón quede visible */
.hero--home h1 { font-size: clamp(34px, 8.5vw, 40px); }
@media (min-width: 900px) { .hero--home h1 { font-size: clamp(40px, 3.6vw, 52px); } .hero--home { padding-top: 64px; } }
@media (min-width: 1000px) { .cookies { left: 24px; right: auto; margin: 0; max-width: 460px; } }

/* Etiqueta tipo sello, más visible (consultoría en el home) */
.etiqueta--sello { display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 14px; letter-spacing: .14em; }
.seccion--azul .etiqueta--sello { background: #fff; color: var(--azul); }
.consulta__tarjeta h3 { font-size: 26px; }
@media (min-width: 720px) { .etiqueta--sello { font-size: 15px; padding: 9px 18px; } .consulta__tarjeta h3 { font-size: 28px; } }

/* Instagram en el home */
.btn--ig { background: var(--azul); border-color: var(--azul); color: #fff; }
.btn--ig:hover { background: var(--azul-oscuro); border-color: var(--azul-oscuro); color: #fff; }
.ig__marco {
  container-type: inline-size; width: 100%; max-width: 520px; margin: 0 auto;
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 6px #fff, 0 24px 60px rgba(2, 77, 147, .18);
}
.ig__marco iframe { display: block; width: 100%; height: 600px; border: 0; }
@supports (height: 1cqw) { .ig__marco iframe { height: calc(124px + 83.7cqw); } }

/* Landings de curso en construcción */
.sello--hero { position: static; display: inline-block; box-shadow: none; }
.aprender--claro li { background: var(--azul-claro); border-color: transparent; }

/* Servicios del home: ícono, nombre, beneficio y viñetas */
.servicios { display: grid; gap: 16px; }
@media (min-width: 720px) { .servicios { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1040px) { .servicios { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.servicio { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--linea); transition: border-color .15s, box-shadow .15s, transform .15s; }
.servicio:hover { border-color: var(--azul); box-shadow: 0 16px 40px rgba(2, 77, 147, .12); transform: translateY(-2px); }
.servicio__cabeza { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.servicio__icono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--azul); color: #fff; flex: none; }
.servicio h3 { font-size: 20px; line-height: 1.25; margin: 0; }
.servicio__sub { margin: 0 0 18px; font-size: 16px; font-weight: 500; color: var(--azul); }
.servicio__lista { gap: 10px; padding-top: 18px; border-top: 1px solid var(--linea); }
.servicio__lista li { font-size: 16px; line-height: 1.45; }
.servicio--extra { margin-top: 20px; border-style: dashed; gap: 16px; }
.servicio--extra h3 { margin-bottom: 6px; }
@media (min-width: 720px) { .servicio--extra { flex-direction: row; align-items: center; gap: 20px; } }
.servicio__adicional { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--azul); }

/* Frase bajo el título del home */
.hero__tagline { display: inline-block; margin: 0 0 18px; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .12); border-left: 3px solid var(--azul-acento); color: #fff; font-size: 18px; font-weight: 700; line-height: 1.35; }
@media (min-width: 900px) { .hero__tagline { font-size: 20px; } }
