/* Dearly Club — hoja de estilos */

:root {
  --papel: #FDFBF7;
  --carta: #FFFDF9;
  --crema: #F7F1E8;
  --beige: #EFE5D6;
  --arena: #E3D4BE;
  --cafe-claro: #C9AF8F;
  --cafe: #A08062;
  --cafe-boton: #8A6A4C;
  --cafe-oscuro: #6E5440;
  --tinta: #3F3128;
  --tinta-suave: #6B5A4C;
  --linea: #E8DDCE;

  --sombra: 0 1px 2px rgba(63, 49, 40, .05), 0 10px 28px -8px rgba(63, 49, 40, .14);
  --sombra-papel: 0 1px 1px rgba(63, 49, 40, .08), 0 14px 34px -10px rgba(63, 49, 40, .28);

  --f-titulo: 'Cormorant Garamond', Georgia, serif;
  --f-texto: 'EB Garamond', Georgia, serif;
  --f-script: 'Pinyon Script', 'Snell Roundhand', cursive;

  --ancho: 1160px;
  --margen: 16px;

  /* Forro del sobre: olas finas */
  --forro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M0 7 Q5 1 10 7 T20 7 T30 7 T40 7' fill='none' stroke='%23B99C7B' stroke-width='1.3'/%3E%3C/svg%3E") 0 0 / 3.2em .96em, #F3EADB;
}

@media (min-width: 700px) {
  :root { --margen: 32px; }
}

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

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

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font: 400 1.1875rem/1.65 var(--f-texto);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Grano de papel muy sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--f-titulo);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 .45em;
  color: var(--tinta);
}
h1 em, h2 em { font-style: italic; color: var(--cafe); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.contenedor { width: min(var(--ancho), 100% - 2 * var(--margen)); margin-inline: auto; }

.antetitulo {
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cafe);
  margin-bottom: 14px;
}

.adorno {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--cafe-claro);
  margin-bottom: 16px;
}
.adorno::before, .adorno::after { content: ""; width: 44px; height: 1px; background: currentColor; }
.adorno svg { width: 12px; height: 12px; }

/* Botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .82em 1.7em;
  border: 1px solid var(--cafe-boton);
  border-radius: 999px;
  background: var(--cafe-boton);
  color: #fff;
  font: 500 1rem/1.2 var(--f-texto);
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.boton:hover { background: var(--cafe-oscuro); border-color: var(--cafe-oscuro); transform: translateY(-1px); }
.boton:focus-visible, .nav a:focus-visible, .enlace:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cafe);
  outline-offset: 3px;
}
.boton--claro { background: transparent; color: var(--cafe-oscuro); border-color: var(--cafe-claro); }
.boton--claro:hover { background: var(--beige); border-color: var(--cafe); color: var(--tinta); }
.boton--pequeno { padding: .6em 1.3em; font-size: .95rem; }

.enlace {
  color: var(--cafe-oscuro);
  text-decoration: none;
  border-bottom: 1px solid var(--cafe-claro);
  padding-bottom: 2px;
  transition: border-color .25s, color .25s;
}
.enlace:hover { color: var(--tinta); border-color: var(--tinta); }

/* Cabecera */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }

.logo { display: inline-flex; align-items: baseline; gap: 8px; color: var(--tinta); text-decoration: none; }
.logo__script { font-family: var(--f-script); font-size: 2.35rem; line-height: 1; }
.logo__club { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--cafe); }

.nav { display: flex; gap: 30px; }
.nav a { position: relative; font-size: 1rem; color: var(--tinta-suave); text-decoration: none; transition: color .25s; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--cafe-claro);
  transform: scaleX(0);
  transition: transform .3s;
}
.nav a:hover { color: var(--tinta); }
.nav a:hover::after { transform: scaleX(1); }

/* Portada */
.hero {
  background:
    radial-gradient(ellipse 60% 70% at 82% 40%, #F0E4D2 0%, transparent 70%),
    var(--crema);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px);
}
.hero__rejilla { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); letter-spacing: -.01em; margin-bottom: .4em; }
.entrada { font-size: 1.3rem; color: var(--tinta-suave); max-width: 33em; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.hero__nota { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .98rem; color: var(--tinta-suave); }
.hero__nota li { display: flex; align-items: center; gap: 8px; }
.hero__nota li::before { content: ""; width: 7px; height: 7px; background: var(--cafe-claro); transform: rotate(45deg); }

/* Composición ilustrada de la portada (todo en em para escalar) */
.hero__visual { container-type: inline-size; display: flex; justify-content: center; }
.composicion {
  position: relative;
  font-size: min(10px, 1.82cqi);
  width: 54em;
  height: 52em;
}
.composicion > * { position: absolute; animation: aparecer 1s cubic-bezier(.2, .7, .2, 1) both; }
.composicion > :nth-child(2) { animation-delay: .12s; }
.composicion > :nth-child(3) { animation-delay: .24s; }
.composicion > :nth-child(n+4) { animation-delay: .45s; }
@keyframes aparecer { from { opacity: 0; translate: 0 1.6em; } to { opacity: 1; translate: 0 0; } }

.periodico {
  left: 0; top: 5em;
  width: 26em; height: 34em;
  rotate: -6deg;
  padding: 2em 1.8em;
  overflow: hidden;
  background: #F8F2E7;
  box-shadow: var(--sombra-papel);
  color: #4A3B30;
  font-family: var(--f-texto);
}
.periodico p { margin: 0; }
.periodico__cabecera {
  font: 700 2.15em/1 var(--f-titulo);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .3em 0 .25em;
  border-top: .12em double #6E5440;
  border-top-width: .18em;
}
.periodico__fecha {
  display: flex;
  justify-content: space-between;
  font-size: .9em;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-block: 1px solid #8A7360;
  padding: .35em 0;
}
.periodico__titular { font: 700 2.3em/1.02 var(--f-titulo); margin: .45em 0 .45em !important; }
.periodico__columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3em; font-size: 1.1em; line-height: 1.35; text-align: justify; hyphens: auto; }
.periodico__columnas p + p { margin-top: .5em; }
.periodico__foto {
  aspect-ratio: 4 / 4.6;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #D8C7AF, #9C8167);
  margin-bottom: .4em;
}
.periodico__foto svg { width: 38%; height: 60%; opacity: .9; }
.periodico__pie { font-style: italic; font-size: .85em; margin-bottom: .5em !important; text-align: left; }

.carta {
  right: 0; top: 0;
  width: 28em; height: 39em;
  rotate: 4deg;
  padding: 3.4em 2.6em;
  text-align: center;
  font-family: var(--f-script);
  color: #3A2F27;
  background:
    linear-gradient(180deg, transparent calc(33.3% - 1px), rgba(110, 84, 64, .07) 33.3%, transparent calc(33.3% + 3px)),
    linear-gradient(180deg, transparent calc(66.6% - 1px), rgba(110, 84, 64, .07) 66.6%, transparent calc(66.6% + 3px)),
    var(--carta);
  box-shadow: var(--sombra-papel);
}
.carta__titulo { font-size: 3.3em; line-height: 1.1; margin: 0 0 .55em; }
.carta__versos { font-size: 1.85em; line-height: 1.55; margin: 0 0 .9em; }

.sobre {
  left: 2em; bottom: .5em;
  width: 33em; height: 21em;
  rotate: -3deg;
  filter: drop-shadow(0 .15em .2em rgba(63, 49, 40, .12)) drop-shadow(0 1.2em 1.8em rgba(63, 49, 40, .18));
}
.sobre > div { position: absolute; }
.sobre__solapa {
  left: 0; right: 0; bottom: 100%;
  height: 13em;
  background: #EADDC8;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.sobre__solapa::after {
  content: "";
  position: absolute;
  inset: 1.5em 2.3em 0;
  background: var(--forro);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.sobre__interior { inset: 0; background: var(--forro); }
.sobre__bolsillo {
  inset: 0;
  background: linear-gradient(180deg, #F0E6D6, #E9DDCA);
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
}
.sobre__fondo {
  inset: 0;
  background: linear-gradient(180deg, #E6D9C4, #EDE2D1);
  clip-path: polygon(0 100%, 50% 60%, 100% 100%);
}

.lacre {
  width: 6.6em; height: 6.6em;
  display: grid;
  place-items: center;
  border-radius: 50% 47% 52% 48% / 48% 52% 47% 51%;
  background: radial-gradient(circle at 34% 30%, #C9A07D, #A0704F 52%, #7E553B);
  box-shadow: inset 0 -.3em .6em rgba(0, 0, 0, .2), inset 0 .2em .3em rgba(255, 255, 255, .18), 0 .3em .7em rgba(63, 49, 40, .3);
  color: rgba(255, 243, 230, .88);
}
.lacre::before {
  content: "";
  position: absolute;
  inset: .85em;
  border-radius: 50%;
  border: .14em solid rgba(255, 240, 225, .25);
}
.lacre span { font-family: var(--f-script); font-size: 3.6em; line-height: 1; margin-top: .05em; }
.sobre .lacre { position: absolute; left: 50%; top: 57%; translate: -50% -50%; }

/* Sello de correos con borde troquelado */
.sello-sombra {
  left: 20em; top: 1.5em;
  rotate: 8deg;
  filter: drop-shadow(0 .3em .4em rgba(63, 49, 40, .22));
  z-index: 3;
}
.sello {
  width: 8.8em; height: 11.2em;
  padding: .7em;
  background: #FBF6EE;
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle, transparent .3em, #000 .32em) -.4em -.4em / .8em .8em;
  mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle, transparent .3em, #000 .32em) -.4em -.4em / .8em .8em;
}
.sello__dentro {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2em;
  background: #EADCC6;
  border: .1em solid #B99C7B;
  color: #6E5440;
}
.sello__templo { width: 5em; height: 4em; }
.sello__nombre { font-family: var(--f-script); font-size: 2.1em; line-height: 1; }
.sello__anio { font-family: var(--f-titulo); font-size: .95em; letter-spacing: .18em; }

/* Pegatinas troqueladas */
.pegatina {
  filter:
    drop-shadow(.24em 0 0 #fff) drop-shadow(-.24em 0 0 #fff)
    drop-shadow(0 .24em 0 #fff) drop-shadow(0 -.24em 0 #fff)
    drop-shadow(0 .35em .4em rgba(63, 49, 40, .25));
}
.pegatina--laurel { left: -.5em; bottom: 1em; width: 9em; height: 9em; rotate: -10deg; }
.pegatina--rayo { right: 1.5em; bottom: 5em; width: 5.6em; height: 9.4em; rotate: 16deg; }
.pegatina--columna { left: 36.5em; bottom: .5em; width: 5.4em; height: 9.9em; rotate: -9deg; }

/* Franja de ventajas */
.greca {
  height: 14px;
  opacity: .75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14'%3E%3Cpath d='M0 13H24M4 13V1.5H22V10H10V5H17' fill='none' stroke='%23C9AF8F' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x center / 24px 14px;
}
.ventajas { background: var(--papel); border-bottom: 1px solid var(--linea); }
.ventajas__lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 26px;
  font-family: var(--f-titulo);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--tinta-suave);
}
.ventajas__lista li { display: flex; align-items: center; gap: 10px; }
.ventajas__lista svg { width: 12px; height: 12px; color: var(--cafe-claro); flex: none; }

/* Secciones */
.seccion { padding: clamp(72px, 10vw, 124px) 0; }
.seccion--crema { background: var(--crema); }
.encabezado { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.encabezado h2 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.encabezado p:last-child { color: var(--tinta-suave); font-size: 1.2rem; margin: 0; }
.nota-centrada { text-align: center; color: var(--tinta-suave); font-size: 1rem; font-style: italic; margin: 36px 0 0; }

/* Cómo funciona */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.paso { border-top: 1px solid var(--arena); padding-top: 28px; }
.paso__num { display: block; font: italic 500 3.1rem/1 var(--f-titulo); color: var(--cafe-claro); margin-bottom: 16px; }
.paso h3 { font-size: 1.8rem; margin-bottom: .35em; }
.paso p { color: var(--tinta-suave); margin: 0; }

/* Qué hay dentro */
.contenido-sobre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pieza {
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: 8px;
  padding: 32px 26px 30px;
  transition: transform .35s, box-shadow .35s;
}
.pieza:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.pieza__icono {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--beige);
  color: var(--cafe-oscuro);
  margin-bottom: 22px;
}
.pieza__icono svg { width: 28px; height: 28px; }
.pieza h3 { font-size: 1.6rem; font-weight: 600; }
.pieza p { font-size: 1.06rem; color: var(--tinta-suave); margin: 0; }

/* Adelanto */
.adelanto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.adelanto__texto h2 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.adelanto__texto p { color: var(--tinta-suave); }
.adelanto__texto .enlace { display: inline-block; margin-top: 8px; }

.carta-pila { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.carta-pila::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--beige);
  rotate: 5deg;
  box-shadow: var(--sombra-papel);
}
.carta-grande {
  position: relative;
  rotate: -2deg;
  padding: 56px 40px 52px;
  text-align: center;
  font-family: var(--f-script);
  color: #3A2F27;
  background:
    linear-gradient(180deg, transparent calc(33.3% - 1px), rgba(110, 84, 64, .07) 33.3%, transparent calc(33.3% + 3px)),
    linear-gradient(180deg, transparent calc(66.6% - 1px), rgba(110, 84, 64, .07) 66.6%, transparent calc(66.6% + 3px)),
    var(--carta);
  box-shadow: var(--sombra-papel);
}
.carta-grande h3 { font-family: var(--f-script); font-weight: 400; font-size: 2.55rem; line-height: 1.1; margin-bottom: .7em; }
.carta-grande p { font-size: 1.6rem; line-height: 1.5; margin: 0 0 .9em; }
.carta-grande p:last-of-type { margin-bottom: 0; }
.carta-grande__rayo { position: absolute; right: -18px; bottom: 34px; width: 46px; height: 78px; rotate: 14deg; font-size: 9px; }
.carta-grande__lacre { position: absolute; left: -26px; top: -22px; font-size: 9.5px; }

/* Calendario */
.calendario { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mes {
  position: relative;
  overflow: hidden;
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: 8px;
  padding: 22px 22px 24px;
  transition: transform .35s, box-shadow .35s;
}
.mes:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.mes__num {
  position: absolute;
  top: 8px; right: 16px;
  font: italic 500 2.7rem/1 var(--f-titulo);
  color: var(--beige);
}
.mes__nombre { position: relative; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cafe); }
.mes__dios { position: relative; font-size: 1.8rem; font-weight: 600; margin: .3em 0 .15em; }
.mes__tema { position: relative; font-size: 1rem; line-height: 1.4; color: var(--tinta-suave); margin: 0; }
.mes--destacado { background: var(--carta); border-color: var(--cafe-claro); box-shadow: var(--sombra); }
.etiqueta {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--beige);
  color: var(--cafe-oscuro);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Manifiesto */
.manifiesto { background: var(--beige); text-align: center; padding: clamp(72px, 9vw, 116px) 0; }
.manifiesto__laurel { width: 72px; height: 72px; margin: 0 auto 22px; }
.manifiesto blockquote { margin: 0 auto; max-width: 860px; }
.manifiesto blockquote p { font: italic 500 clamp(1.9rem, 3.8vw, 2.9rem)/1.25 var(--f-titulo); margin: 0; }
.firma { font-family: var(--f-script); font-size: 2.3rem; color: var(--cafe); margin: 18px 0 0; }

/* Planes */
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1060px; margin-inline: auto; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--carta);
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: 38px 32px 32px;
}
.plan--destacado { border: 1.5px solid var(--cafe-claro); box-shadow: var(--sombra-papel); background: #FFFCF6; }
.plan__insignia {
  position: absolute;
  top: -14px; left: 50%;
  translate: -50% 0;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--cafe-boton);
  color: #fff;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan__nombre { font-family: var(--f-script); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--cafe-oscuro); margin-bottom: 8px; }
.plan__desc { color: var(--tinta-suave); font-size: 1.04rem; margin: 0; }
.plan__precio { font: 600 3.3rem/1 var(--f-titulo); margin: 22px 0 6px; }
.plan__precio span { font: 400 1.1rem var(--f-texto); color: var(--tinta-suave); }
.plan__precio small { font: italic 400 1.1rem var(--f-texto); color: var(--tinta-suave); }
.plan__equiv { font-size: .96rem; color: var(--cafe); font-style: italic; margin: 0; min-height: 1.5em; }
.plan ul { flex: 1; display: grid; align-content: start; gap: 11px; margin: 24px 0 30px; padding-top: 22px; border-top: 1px solid var(--linea); }
.plan li { position: relative; padding-left: 24px; font-size: 1.04rem; line-height: 1.45; }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px; top: .5em;
  width: 8px; height: 8px;
  background: var(--cafe-claro);
  rotate: 45deg;
}
.plan .boton { width: 100%; }

/* Preguntas */
.preguntas { max-width: 780px; margin-inline: auto; }
.preguntas details { border-bottom: 1px solid var(--arena); }
.preguntas details:first-child { border-top: 1px solid var(--arena); }
.preguntas summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font: 600 1.45rem/1.3 var(--f-titulo);
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 14px; height: 14px;
  translate: 0 -50%;
  background:
    linear-gradient(var(--cafe), var(--cafe)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--cafe), var(--cafe)) center / 1.5px 14px no-repeat;
  transition: rotate .3s;
}
.preguntas details[open] summary::after { rotate: 45deg; }
.preguntas details p { color: var(--tinta-suave); margin: -4px 0 24px; max-width: 64ch; }

/* Llamada final */
.final { text-align: center; }
.final__sobre { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--cafe-claro); }
.final h2 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
.final p { color: var(--tinta-suave); font-size: 1.2rem; margin-bottom: 32px; }

/* Pie */
.pie { background: var(--beige); padding: 60px 0 30px; font-size: 1rem; }
.greca + .pie { border-top: 0; }
body > .greca { background-color: var(--beige); opacity: 1; }
.pie__rejilla { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.pie__lema { color: var(--tinta-suave); max-width: 30ch; margin-top: 10px; }
.pie h4 { font: 500 .78rem/1.4 var(--f-texto); letter-spacing: .22em; text-transform: uppercase; color: var(--cafe-oscuro); margin: 6px 0 16px; }
.pie ul { display: grid; gap: 8px; }
.pie ul a { color: var(--tinta-suave); text-decoration: none; transition: color .2s; }
.pie ul a:hover { color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }
.pie__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--arena);
  color: var(--tinta-suave);
  font-size: .92rem;
}

/* Aviso "muy pronto" */
dialog { border: 0; padding: 0; background: transparent; max-width: min(460px, 100vw - 32px); }
dialog::backdrop { background: rgba(63, 49, 40, .35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialogo { background: var(--carta); padding: 44px 36px 36px; text-align: center; border-radius: 6px; box-shadow: var(--sombra-papel); }
.dialogo__titulo { font-family: var(--f-script); font-size: 3rem; line-height: 1.1; color: var(--cafe-oscuro); margin-bottom: 12px; }
.dialogo p:not(.dialogo__titulo) { color: var(--tinta-suave); margin-bottom: 26px; }

/* Aparición al hacer scroll */
.js .revelar { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .revelar.visible { opacity: 1; transform: none; }
.pieza.revelar.visible:hover, .mes.revelar.visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .revelar { opacity: 1; transform: none; transition: none; }
  .composicion > * { animation: none; }
}

/* Adaptación a pantallas */
@media (max-width: 1060px) {
  .contenido-sobre { grid-template-columns: repeat(2, 1fr); }
  .calendario { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .hero__rejilla { grid-template-columns: 1fr; }
  .hero__texto { text-align: center; }
  .entrada { margin-inline: auto; }
  .hero__acciones, .hero__nota { justify-content: center; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .ventajas__lista { justify-content: center; }
  .adelanto { grid-template-columns: 1fr; }
  .adelanto__texto { text-align: center; }
  .planes { grid-template-columns: 1fr; max-width: 460px; gap: 32px; }
  .pie__rejilla { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 1.0625rem; }
  .logo__script { font-size: 2rem; }
  .cabecera__fila { height: 64px; }
  .pasos { grid-template-columns: 1fr; }
  .contenido-sobre { grid-template-columns: 1fr; }
  .calendario { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mes { padding: 18px 16px 20px; }
  .mes__dios { font-size: 1.45rem; }
  .mes__num { font-size: 2.1rem; right: 12px; }
  .ventajas__lista { font-size: 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .carta-grande { padding: 44px 26px 42px; }
  .carta-grande h3 { font-size: 2.1rem; }
  .carta-grande p { font-size: 1.38rem; }
  .carta-grande__lacre { left: -10px; }
  .carta-grande__rayo { right: -6px; }
  .plan { padding: 34px 24px 26px; }
  .pie__rejilla { grid-template-columns: 1fr; gap: 28px; }
}
