/* La Dama de Azul — landing "próximamente".
   Colores y letras del manual de identidad de marca (2026).
   Idea: la portada está "bajo el manto" (Azul Manto con estrellas) y el logo vive
   en una hornacina iluminada, como un nicho de capilla de noche. */

:root {
  --perla: #F7F6F2;
  --manto: #0E3A82;
  --noche: #0A1B3D;
  --celeste: #6CAAE7;
  --celeste-claro: #B4D4F4;
  --oro: #E3A530;
  --rosa: #E9B8B4;
  --blanco: #FFFFFF;
  --texto-suave: #3B4A66;
  --linea: #D9DCE4;
  --error: #A3261B;

  --titulo: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --grabado: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --firma: "Pinyon Script", "Cormorant Garamond", cursive;
  --texto: "Mulish", "Segoe UI", system-ui, sans-serif;

  --ancho: 76rem;
  --margen: clamp(1rem, 4vw, 2.5rem);
  --estrellas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M28 16l2.2 8.8 8.8 2.2-8.8 2.2L28 38l-2.2-8.8-8.8-2.2 8.8-2.2z' fill='%23B4D4F4' fill-opacity='.16'/%3E%3Cpath d='M90 76l1.4 5.6 5.6 1.4-5.6 1.4L90 90l-1.4-5.6-5.6-1.4 5.6-1.4z' fill='%23E3A530' fill-opacity='.28'/%3E%3Ccircle cx='96' cy='22' r='1.2' fill='%23F7F6F2' fill-opacity='.35'/%3E%3Ccircle cx='40' cy='98' r='1' fill='%23F7F6F2' fill-opacity='.3'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--perla);
  color: var(--noche);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--manto); }
a:hover { color: var(--noche); }

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

h1, h2, h3 { font-family: var(--titulo); font-weight: 600; line-height: 1.1; margin: 0; }

.saltar {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--oro);
  color: var(--noche);
  padding: .6rem 1rem;
  border-radius: 6px;
  z-index: 20;
}
.saltar:focus { top: 1rem; }

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

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--manto);
  color: var(--blanco);
  font: 700 1.05rem/1.2 var(--texto);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s, color .2s;
}
.boton:hover { background: var(--noche); color: var(--blanco); box-shadow: 0 0 0 4px rgba(227, 165, 48, .4); }
.boton[disabled] { opacity: .7; cursor: progress; }

.boton-oro { background: var(--oro); color: var(--noche); }
.boton-oro:hover { background: #F0BA52; color: var(--noche); box-shadow: 0 0 0 4px rgba(247, 246, 242, .25); }

/* ---------- Encabezado (flota sobre la portada) ---------- */

.encabezado {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: .9rem var(--margen);
}

.marca {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--perla);
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 1.35rem;
  min-height: 44px;
}
.marca:hover { color: var(--blanco); }
.marca span { white-space: nowrap; }
@media (max-width: 420px) { .marca { font-size: 1.15rem; gap: .5rem; } }
.marca img { width: 40px; height: 40px; background: var(--perla); border-radius: 50%; padding: 3px; }

.redes { display: flex; gap: .25rem; }

.red {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--perla);
  position: relative;
}
.red svg { width: 21px; height: 21px; fill: currentColor; }
.red:hover { background: rgba(247, 246, 242, .14); color: var(--blanco); }

.globo {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--perla);
  color: var(--noche);
  font-size: .85rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 6px;
  pointer-events: none;
  z-index: 6;
}

/* ---------- Portada ---------- */

.portada {
  position: relative;
  background: var(--estrellas), radial-gradient(120% 90% at 75% 40%, #164A9E 0%, var(--manto) 45%, #0B2F6B 100%);
  color: var(--perla);
  padding: 5.5rem var(--margen) clamp(5rem, 9vw, 7.5rem);
  overflow: hidden;
}

.portada-dentro {
  max-width: var(--ancho);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  justify-items: center;
  text-align: center;
}

.hornacina {
  position: relative;
  width: min(74vw, 300px);
  aspect-ratio: 400 / 480;
  order: -1;
}

/* Celular: el arco se achica en pantallas cortas para que el botón se vea sin bajar */
@media (max-width: 899px) {
  .portada { padding-top: 4.4rem; }
  .portada-dentro { gap: 1.25rem; }
  .hornacina { width: clamp(150px, calc((100vh - 430px) * .8), min(74vw, 300px)); }
  @supports (height: 100svh) {
    .hornacina { width: clamp(150px, calc((100svh - 430px) * .8), min(74vw, 300px)); }
  }
  .entrada { margin: 1rem auto 1.4rem; }
}
.hornacina::before {
  content: "";
  position: absolute;
  inset: 8% -10% 0;
  background: radial-gradient(closest-side, rgba(227, 165, 48, .38), rgba(227, 165, 48, 0));
  filter: blur(6px);
}

.resplandor { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rayos line { stroke: var(--oro); stroke-width: 2.4; stroke-linecap: round; }
.arco { fill: url(#luz); stroke: var(--oro); stroke-width: 1.5; }
.peana { stroke: var(--oro); stroke-width: 3; stroke-linecap: round; }

.hornacina .logo {
  position: absolute;
  left: 18%;
  top: 27%;
  width: 64%;
  height: auto;
}

h1 {
  font-size: clamp(3.4rem, 13vw, 8.25rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--blanco);
  max-width: 12ch;
  margin: 0 auto;
}

.entrada {
  font-size: 1.15rem;
  color: var(--celeste-claro);
  max-width: 32rem;
  margin: 1.25rem auto 1.75rem;
}

.nota-apertura { margin: 1rem 0 0; font-size: .95rem; color: var(--perla); opacity: .85; }

.ondas {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(36px, 5.5vw, 76px);
}
.ondas path { fill: var(--perla); }

@media (min-width: 900px) {
  .portada { padding-top: 6.5rem; }
  .portada-dentro {
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    justify-items: start;
    text-align: left;
    gap: 2rem;
  }
  h1 { margin: 0; }
  .entrada { margin-left: 0; }
  .hornacina { order: 0; width: min(100%, 400px); justify-self: end; }
}

/* ---------- Lo que hacemos ---------- */

.lineas {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 3.5rem var(--margen) 5rem;
  display: grid;
  gap: 2rem;
}
.lineas h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--manto); max-width: 12ch; }
.lineas ul { list-style: none; margin: 0; padding: 0; display: grid; }
.lineas li {
  display: grid;
  gap: .35rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--linea);
}
.lineas li:last-child { border-bottom: 1px solid var(--linea); }
.lineas h3 { font-size: 1.75rem; color: var(--noche); }
.lineas p { margin: 0; color: var(--texto-suave); max-width: 34rem; }

@media (min-width: 900px) {
  .lineas { grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; padding-top: 4.5rem; }
  .lineas li { grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: baseline; }
}

/* ---------- Tarjeta de intención (interactiva) ---------- */

.taller {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 1rem var(--margen) 6.5rem;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}
.taller h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--manto); }
.taller-texto > p { color: var(--texto-suave); max-width: 34rem; margin: 1rem 0 1.75rem; }

.elegir { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.elegir legend { font-weight: 700; padding: 0; margin-bottom: .75rem; }
.opciones { display: flex; flex-wrap: wrap; gap: .5rem; }
.opciones label { position: relative; cursor: pointer; }
.opciones input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.opciones span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1.1rem;
  border: 1.5px solid #8A93A8;
  border-radius: 999px;
  background: var(--blanco);
  color: var(--noche);
  font-weight: 700;
  font-size: .98rem;
  transition: background-color .15s, color .15s, border-color .15s;
}
.opciones label:hover span { border-color: var(--manto); }
.opciones input:checked + span { background: var(--manto); border-color: var(--manto); color: var(--blanco); }
.opciones input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }

.campo-para { max-width: 20rem; margin-bottom: 2rem; }
@media (max-width: 899px) { .campo-para { margin-bottom: 0; } }

.solo-lector {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tarjeta-intencion {
  margin: 0;
  justify-self: center;
  width: min(100%, 360px);
  aspect-ratio: 5 / 7;
  background: var(--blanco);
  border-radius: 6px;
  padding: 2.25rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transform: rotate(-2.5deg);
  box-shadow: 0 1px 2px rgba(10, 27, 61, .08), 0 12px 28px rgba(10, 27, 61, .14), 0 40px 60px -30px rgba(10, 27, 61, .35);
}
.tarjeta-intencion::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--oro);
  outline: 1px solid var(--oro);
  outline-offset: 3px;
  border-radius: 3px;
  pointer-events: none;
}
.tarjeta-intencion p { margin: 0; }
.ti-coleccion { font-family: var(--grabado); font-size: .9rem; letter-spacing: .16em; color: var(--manto); }
.ti-para {
  font-family: var(--firma);
  font-size: clamp(2.4rem, 9vw, 3rem);
  line-height: 1.15;
  color: var(--manto);
  margin-top: 1.25rem !important;
  overflow-wrap: anywhere;
}
.ti-estrella {
  width: 16px;
  height: 16px;
  margin-top: 1rem;
  background: var(--oro);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.ti-frase {
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--noche);
  margin-top: 1rem !important;
  flex: 1;
}
.ti-va { font-size: .9rem; color: var(--texto-suave); margin-top: 1rem !important; }
.ti-firma { font-family: var(--grabado); font-size: .78rem; letter-spacing: .16em; color: var(--manto); margin-top: 1rem !important; }

.taller-accion { justify-self: center; }

@media (min-width: 900px) {
  .taller {
    grid-template-columns: 1.15fr .85fr;
    grid-template-areas: "texto tarjeta" "accion tarjeta";
    column-gap: 4rem;
    row-gap: 0;
  }
  .taller-texto { grid-area: texto; align-self: end; }
  .tarjeta-intencion { grid-area: tarjeta; }
  .taller-accion { grid-area: accion; justify-self: start; align-self: start; }
}

/* ---------- Bajo su manto + formulario ---------- */

.manto {
  position: relative;
  background: var(--estrellas), var(--manto);
  color: var(--perla);
  padding: clamp(5rem, 9vw, 7rem) var(--margen) 5.5rem;
  scroll-margin-top: 0;
}
.manto .ondas { top: -1px; bottom: auto; transform: scaleY(-1); }

.manto-dentro {
  max-width: var(--ancho);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.manto-titulo {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: .95;
  color: var(--blanco);
  margin: 0;
}
.concepto {
  font-family: var(--titulo);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.45;
  max-width: 30rem;
  margin: 1.25rem 0 0;
  color: var(--celeste-claro);
}

.tarjeta {
  background: var(--blanco);
  color: var(--noche);
  border-radius: 12px;
  padding: clamp(1.5rem, 5vw, 2.75rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.tarjeta h2 { font-size: clamp(2rem, 5vw, 2.5rem); color: var(--manto); }
.tarjeta-entrada { color: var(--texto-suave); margin: .75rem 0 1.75rem; }

@media (min-width: 900px) {
  .manto-dentro { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; align-items: start; }
  .manto-texto { position: sticky; top: 3rem; padding-top: 1rem; }
}

/* ---------- Campos ---------- */

.formulario { display: grid; gap: 1.2rem; }

.campo { display: grid; gap: .4rem; }
.campo label { font-weight: 700; font-size: 1rem; }
.opcional { font-weight: 400; color: var(--texto-suave); }

.campo input[type="text"],
.campo input[type="email"],
.campo input[type="tel"],
.campo select {
  width: 100%;
  min-height: 50px;
  padding: .7rem .9rem;
  border: 1.5px solid #8A93A8;
  border-radius: 8px;
  background: var(--blanco);
  color: var(--noche);
  font: 400 1.05rem/1.3 var(--texto);
}
.campo select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230E3A82' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.campo input:focus-visible, .campo select:focus-visible { border-color: var(--manto); }
.campo [aria-invalid="true"] { border-color: var(--error); }

.campo-casilla { grid-template-columns: auto 1fr; column-gap: .75rem; align-items: start; }
.campo-casilla input { width: 24px; height: 24px; margin: .1rem 0 0; accent-color: var(--manto); }
.campo-casilla label { font-weight: 400; font-size: .95rem; color: var(--texto-suave); }
.campo-casilla .error { grid-column: 1 / -1; }

.error { margin: 0; color: var(--error); font-size: .95rem; font-weight: 700; }

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

.boton-ancho { width: 100%; margin-top: .25rem; }

.estado { margin: 0; min-height: 1.5em; font-weight: 700; }
.estado.es-error { color: var(--error); }

.gracias { text-align: center; padding: 1.5rem 0 .5rem; }
.gracias:focus { outline: none; }
.gracias-titulo { font-family: var(--titulo); font-weight: 600; font-size: 2.1rem; color: var(--manto); margin: 0; }
.gracias-texto { color: var(--texto-suave); margin: .75rem auto 1.25rem; max-width: 28rem; }
.firma { font-family: var(--firma); font-size: 2rem; color: var(--manto); margin: 0; }

/* ---------- Preguntas ---------- */

.preguntas {
  max-width: 48rem;
  margin: 0 auto;
  padding: 5rem var(--margen);
}
.preguntas h2 { font-size: clamp(2.2rem, 6vw, 3.2rem); color: var(--manto); margin-bottom: 1.5rem; }

.preguntas details { border-top: 1px solid var(--linea); }
.preguntas details:last-of-type { border-bottom: 1px solid var(--linea); }
.preguntas summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  min-height: 44px;
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--noche);
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--oro);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  transition: transform .25s;
}
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { margin: 0 0 1.25rem; color: var(--texto-suave); max-width: 40rem; }

/* ---------- Pie ---------- */

.pie {
  background: var(--estrellas), var(--noche);
  color: var(--perla);
  text-align: center;
  padding: 3rem var(--margen) 2.5rem;
  display: grid;
  justify-items: center;
  gap: .35rem;
}
.pie img { width: 56px; height: 56px; background: var(--perla); border-radius: 50%; padding: 4px; }
.pie-marca { font-family: var(--titulo); font-weight: 600; font-size: 1.6rem; margin: .5rem 0 0; }
.pie-lema { font-family: var(--grabado); letter-spacing: .14em; font-size: .9rem; color: var(--oro); margin: 0 0 .75rem; }
.redes-pie .globo { top: auto; bottom: calc(100% + 4px); }
.pie-legal { font-size: .9rem; color: #C9CFDC; margin: 0; }
.redes-pie { margin-bottom: .75rem; }
.pie-legal a { color: var(--perla); display: inline-block; padding: .45rem .25rem; }

/* ---------- Página de política ---------- */

.pagina-legal .encabezado { position: static; background: var(--manto); max-width: none; }
.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem var(--margen) 5rem;
}
.legal h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); color: var(--manto); max-width: none; margin-bottom: .5rem; }
.legal h2 { font-size: 1.6rem; color: var(--manto); margin: 2.25rem 0 .5rem; }
.legal .pendiente { background: #FFF3D6; border-left: 4px solid var(--oro); padding: .75rem 1rem; }
