/* =================================================================
   NUESTRO HOGAR ES LA OTRA
   estilo: pictórico, nostálgico, romántico
   paleta: morado polvoso + rosa empolvado + verde salvia + azul niebla
   tipografía: Fraunces (títulos) + Lora (cuerpo) + Caveat (manuscrito)
   ================================================================= */

/* -----------------------------------------------------------------
   1. RESET MÍNIMO + VARIABLES
   ----------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

:root {
  /* Colores: la paleta de nosotras */
  --cream: #F5EDE0;          /* papel viejo, base */
  --cream-deep: #EBE0CC;     /* sombra del papel */
  --mauve: #A688A0;          /* morado polvoso (2da date) */
  --rose: #E5B5B5;           /* rosa empolvado (gerberas) */
  --rose-deep: #C99696;
  --sage: #8B9D7E;           /* verde salvia (color de Vale) */
  --indigo: #3D4A5C;         /* azul profundo (color de Pau) */
  --sepia: #3A2D2A;          /* texto principal */
  --sepia-soft: #5A4540;     /* texto secundario */
  --gold: #B8956A;           /* acentos cálidos */

  /* Tipografías */
  --f-title: 'Fraunces', Georgia, serif;
  --f-body: 'Lora', Georgia, serif;
  --f-hand: 'Caveat', cursive;

  /* Sombras */
  --sh-soft: 0 4px 14px rgba(60, 40, 40, .12);
  --sh-deep: 0 12px 30px rgba(60, 40, 40, .18);
  --sh-polaroid: 0 6px 16px rgba(60, 40, 40, .22), inset 0 0 0 1px rgba(255, 255, 255, .5);
}

/* -----------------------------------------------------------------
   2. BASE
   ----------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--sepia);
  background:
    radial-gradient(at 20% 20%, rgba(229, 181, 181, .35), transparent 50%),
    radial-gradient(at 80% 60%, rgba(166, 136, 160, .35), transparent 55%),
    radial-gradient(at 50% 90%, rgba(139, 157, 126, .25), transparent 60%),
    linear-gradient(180deg, #F8F2E6 0%, #EFE3D0 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Cursor de monito (referencia al apodo "moquitos" + estética Yoshitomo Nara) */
body {
  cursor: url('img/cursor-monito.png') 12 12, auto;
}
a, button, label, summary, input, .polaroid, .envelope {
  cursor: url('img/cursor-monito.png') 12 12, pointer;
}

/* Grano de película — usa SVG inline para textura analógica */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='500' height='500'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.85'/></svg>");
}

/* -----------------------------------------------------------------
   3. PANTALLA DE CONTRASEÑA
   ----------------------------------------------------------------- */
.lockscreen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(at 30% 30%, rgba(229, 181, 181, .4), transparent 50%),
    radial-gradient(at 70% 70%, rgba(166, 136, 160, .4), transparent 55%),
    linear-gradient(180deg, #F8F2E6, #E5D5C0);
  padding: 2rem;
}

.lockbox {
  text-align: center;
  max-width: 460px;
  padding: 3rem 2rem;
  background: rgba(255, 252, 246, .65);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  box-shadow: var(--sh-deep);
  border: 1px solid rgba(255, 255, 255, .6);
}

.lock-flor {
  font-size: 2.5rem;
  color: var(--mauve);
  margin-bottom: .5rem;
}

.lockbox h1 {
  font-family: var(--f-title);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--sepia);
  line-height: 1.15;
  margin-bottom: .5rem;
}

.lock-sub {
  font-family: var(--f-hand);
  font-size: 1.4rem;
  color: var(--mauve);
  margin-bottom: 1.5rem;
}

#lockpass {
  width: 100%;
  padding: .8rem 1rem;
  font-family: var(--f-body);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: .15em;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--mauve);
  border-radius: 2px;
  color: var(--sepia);
  outline: none;
  transition: border-color .3s;
}
#lockpass:focus { border-color: var(--rose-deep); }

#lockbtn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: .8rem;
  font-family: var(--f-title);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--mauve);
  border: none;
  border-radius: 2px;
  transition: background .3s, transform .2s;
}
#lockbtn:hover { background: var(--rose-deep); transform: translateY(-1px); }

.lock-hint {
  margin-top: 1.2rem;
  font-family: var(--f-hand);
  font-size: 1.15rem;
  color: var(--sepia-soft);
}

.lock-error {
  margin-top: .6rem;
  color: #b04545;
  font-style: italic;
  min-height: 1.4em;
}

.hidden { display: none !important; }

/* -----------------------------------------------------------------
   4. LAYOUT GENERAL
   ----------------------------------------------------------------- */
.content { position: relative; z-index: 2; }

section {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.section-title {
  font-family: var(--f-title);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  text-align: center;
  color: var(--sepia);
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

.section-lede {
  text-align: center;
  font-style: italic;
  color: var(--sepia-soft);
  max-width: 620px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.sub-title {
  font-family: var(--f-title);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--sepia);
}

/* -----------------------------------------------------------------
   5. SPLASH (portada)
   ----------------------------------------------------------------- */
.splash {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 0;
  max-width: 100%;
}

.splash-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.splash-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(.95);
}
.splash-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 50% 50%, rgba(245, 237, 224, .15), rgba(58, 45, 42, .55) 90%),
    linear-gradient(180deg, rgba(58, 45, 42, .35), rgba(58, 45, 42, .55));
}

.splash-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
}

.kicker {
  font-family: var(--f-hand);
  color: #F8E5C8;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.splash-title {
  font-family: var(--f-title);
  font-weight: 500;
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: .95;
  color: #FFFAF0;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .35);
}
.splash-title em {
  font-style: italic;
  font-weight: 500;
  color: #F8C9D8;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .65), 0 2px 6px rgba(120, 60, 80, .5);
}

.splash-sub {
  font-family: var(--f-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.7vw, 1.6rem);
  color: #FFF5E1;
  margin-bottom: .6rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}
.splash-by {
  font-family: var(--f-hand);
  font-size: 1.5rem;
  color: #F8C9D8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.scroll-cue {
  margin-top: 3rem;
  font-family: var(--f-hand);
  font-size: 1.3rem;
  color: #FFF5E1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
.scroll-cue .arrow {
  font-size: 1.8rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* -----------------------------------------------------------------
   6. POLAROID — el patrón visual base
   ----------------------------------------------------------------- */
.polaroid {
  background: #fdfaf3;
  padding: 14px 14px 50px 14px;
  box-shadow: var(--sh-polaroid);
  transform: rotate(var(--rot, 0deg));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1.2), box-shadow .4s, z-index 0s .4s;
  position: relative;
}
.polaroid img {
  width: 100%;
  aspect-ratio: auto;
  filter: saturate(.9) contrast(.97);
}
.polaroid figcaption {
  font-family: var(--f-hand);
  font-size: 1.3rem;
  text-align: center;
  margin-top: 10px;
  color: var(--sepia-soft);
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
}
.polaroid:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
  box-shadow: 0 16px 36px rgba(60, 40, 40, .28);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1.2), box-shadow .4s, z-index 0s 0s;
}

/* -----------------------------------------------------------------
   7. NOSOTRAS
   ----------------------------------------------------------------- */
.us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.us-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.us-photo { max-width: 280px; }

.us-text { text-align: center; }

.us-name {
  font-family: var(--f-title);
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.us-name em {
  font-style: italic;
  color: var(--mauve);
  font-size: 1.4rem;
}

.us-list {
  list-style: none;
  text-align: left;
  display: inline-block;
}
.us-list li {
  margin-bottom: .6rem;
  padding-left: 1rem;
  position: relative;
}
.us-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--mauve);
  font-size: .7rem;
  top: .4em;
}
.us-key {
  font-family: var(--f-hand);
  font-size: 1.15rem;
  color: var(--rose-deep);
  margin-right: .4rem;
}

.us-shared {
  background: rgba(255, 252, 246, .55);
  border: 1px dashed var(--mauve);
  padding: 2rem;
  text-align: center;
  border-radius: 2px;
}
.us-shared-title {
  font-family: var(--f-title);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--mauve);
  margin-bottom: 1rem;
}
.us-shared-list {
  list-style: none;
}
.us-shared-list li {
  margin-bottom: .6rem;
  font-size: 1.05rem;
}

/* -----------------------------------------------------------------
   8. CÓMO NOS CONOCIMOS
   ----------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.story-photo { position: sticky; top: 2rem; }

.story-text p { margin-bottom: 1.2rem; }
.dropcap::first-letter {
  font-family: var(--f-title);
  font-style: italic;
  font-size: 3.4rem;
  float: left;
  line-height: 1;
  margin: .1rem .6rem -.4rem 0;
  color: var(--mauve);
}
.story-twist {
  font-style: italic;
  color: var(--sepia-soft);
  border-left: 2px solid var(--rose-deep);
  padding-left: 1rem;
  margin-top: 1.5rem !important;
}

/* -----------------------------------------------------------------
   9. LÍNEA DEL TIEMPO
   ----------------------------------------------------------------- */
.tl-line {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 0;
}
.tl-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--mauve) 0px, var(--mauve) 6px,
    transparent 6px, transparent 12px
  );
  transform: translateX(-50%);
}

.tl-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}
.tl-item.visible { opacity: 1; transform: translateY(0); }
.tl-left { margin-right: auto; }
.tl-right { margin-left: 50%; }

.tl-dot {
  position: absolute;
  top: 2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rose);
  border: 2px solid var(--mauve);
  box-shadow: 0 0 0 5px var(--cream);
}
.tl-left .tl-dot { right: -7px; }
.tl-right .tl-dot { left: -7px; }

.tl-card {
  background: rgba(255, 252, 246, .8);
  padding: 1.5rem;
  border-radius: 2px;
  box-shadow: var(--sh-soft);
  border: 1px solid rgba(166, 136, 160, .25);
}
.tl-card--big {
  background: linear-gradient(135deg, rgba(229, 181, 181, .25), rgba(166, 136, 160, .2));
  border-color: var(--rose-deep);
}

.tl-date {
  font-family: var(--f-hand);
  color: var(--mauve);
  font-size: 1.25rem;
  margin-bottom: .3rem;
}

.tl-title {
  font-family: var(--f-title);
  font-weight: 400;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sepia);
  margin-bottom: .7rem;
  line-height: 1.25;
}

.tl-photo {
  margin-top: 1rem;
  border-radius: 2px;
  filter: saturate(.9);
  box-shadow: var(--sh-soft);
}

/* -----------------------------------------------------------------
   10. GALERÍA
   ----------------------------------------------------------------- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem 1.5rem;
  padding: 1rem;
}
.gal-grid .polaroid {
  max-width: 100%;
}

/* -----------------------------------------------------------------
   11. NUESTRO PEQUEÑO UNIVERSO (mood board)
   ----------------------------------------------------------------- */
.universe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 320px;
  gap: 1.5rem;
}

.uni-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--sh-soft);
  background: #2a2222;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.uni-card.uni-tall {
  grid-row: span 2;
}
.uni-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(.98);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .5s;
}
.uni-card figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.4rem;
  color: #fff;
  background: linear-gradient(180deg, transparent 30%, rgba(40, 25, 30, .75) 75%, rgba(40, 25, 30, .92) 100%);
  opacity: 1;
  transition: background .4s;
}
.uni-title {
  font-family: var(--f-title);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: .4rem;
  color: #FFEBD0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}
.uni-text {
  font-family: var(--f-body);
  font-size: .95rem;
  line-height: 1.5;
  font-style: italic;
  color: #fdf3df;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
  opacity: .95;
}
.uni-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-deep);
}
.uni-card:hover img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.05);
}
.uni-card:hover figcaption {
  background: linear-gradient(180deg, transparent 10%, rgba(40, 25, 30, .85) 50%, rgba(40, 25, 30, .98) 100%);
}

.universe-foot {
  margin-top: 3rem;
  text-align: center;
  font-style: italic;
  color: var(--sepia-soft);
  font-size: 1.05rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.universe-foot em {
  color: var(--mauve);
  font-style: italic;
}

/* -----------------------------------------------------------------
   12. CARTAS (sobres abribles)
   ----------------------------------------------------------------- */
.letters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.envelope {
  position: relative;
  height: 220px;
  perspective: 1000px;
}

.envelope .env-front,
.envelope .env-back {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  backface-visibility: hidden;
  transition: transform .9s cubic-bezier(.65, .05, .36, 1);
}

.env-front {
  background: linear-gradient(135deg, #f1e0c9 0%, #e8d4b8 100%);
  box-shadow: var(--sh-deep);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.env-flap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, #ddc5a3, #e8d4b8);
  clip-path: polygon(0 0, 100% 0, 50% 90%);
  z-index: 1;
}
.env-seal {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--rose-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 1.4rem;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(60, 40, 40, .25);
}
.env-label {
  position: relative;
  z-index: 0;
  margin-top: 4rem;
  font-family: var(--f-title);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sepia);
  padding: 0 1rem;
  line-height: 1.3;
}
.env-hint {
  position: absolute;
  bottom: 1rem;
  left: 0; right: 0;
  font-family: var(--f-hand);
  font-size: 1rem;
  color: var(--sepia-soft);
}

.env-back {
  background: #fdfaf3;
  padding: 1.5rem 1.5rem 1.5rem;
  overflow-y: auto;
  font-size: .98rem;
  line-height: 1.65;
  color: var(--sepia);
  box-shadow: var(--sh-deep);
  transform: rotateY(180deg);
}
.envelope.open { height: auto; min-height: 400px; }
.envelope.open .env-front { transform: rotateY(180deg); }
.envelope.open .env-back { transform: rotateY(0); position: relative; }

.env-close {
  position: absolute;
  top: .5rem;
  right: .8rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--mauve);
  line-height: 1;
}

.letter-greet {
  font-family: var(--f-title);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--mauve);
  margin-bottom: 1rem;
}
.env-back p { margin-bottom: .9rem; }
.letter-sign {
  font-family: var(--f-hand);
  font-size: 1.4rem;
  color: var(--rose-deep);
  text-align: right;
  margin-top: 1.5rem;
}

/* -----------------------------------------------------------------
   13. MÚSICA
   ----------------------------------------------------------------- */
.playlist-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 252, 246, .5);
  padding: 1.5rem;
  border-radius: 2px;
  box-shadow: var(--sh-soft);
}
.playlist-wrap iframe {
  border-radius: 2px;
}
.playlist-note {
  margin-top: 1rem;
  font-family: var(--f-hand);
  font-size: 1.1rem;
  color: var(--sepia-soft);
  text-align: center;
}

/* -----------------------------------------------------------------
   14. FUTURO: countdown + bucket
   ----------------------------------------------------------------- */
.countdown-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(229, 181, 181, .3), rgba(166, 136, 160, .25));
  padding: 2.5rem 1.5rem;
  border-radius: 2px;
  margin-bottom: 4rem;
  box-shadow: var(--sh-soft);
  border: 1px solid rgba(255, 255, 255, .4);
}
.countdown-lede {
  font-family: var(--f-hand);
  font-size: 1.4rem;
  color: var(--mauve);
}
.countdown-nums {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.cn-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.cn-block b {
  font-family: var(--f-title);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.5rem, 8vw, 3.6rem);
  line-height: 1;
  color: var(--sepia);
}
.cn-block small {
  font-family: var(--f-hand);
  font-size: 1.1rem;
  color: var(--mauve);
  margin-top: .3rem;
}
.countdown-foot {
  font-family: var(--f-title);
  font-style: italic;
  color: var(--sepia-soft);
  font-size: 1.1rem;
}
.countdown-foot em {
  color: var(--rose-deep);
  font-size: .95rem;
}

.bucket-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.bucket-note {
  font-style: italic;
  color: var(--sepia-soft);
  margin-bottom: 1.5rem;
}
.bucket-list { list-style: none; }
.bucket-list li {
  margin-bottom: .8rem;
}
.bucket-list label {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .8rem 1rem;
  background: rgba(255, 252, 246, .6);
  border-radius: 2px;
  border: 1px solid rgba(166, 136, 160, .25);
  transition: background .3s;
}
.bucket-list label:hover { background: rgba(229, 181, 181, .2); }
.bucket-list input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--mauve);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: background .2s;
}
.bucket-list input[type="checkbox"]:checked {
  background: var(--mauve);
}
.bucket-list input[type="checkbox"]:checked::after {
  content: "✓";
  color: var(--cream);
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}
.bucket-list input[type="checkbox"]:checked + span {
  text-decoration: line-through;
  text-decoration-color: var(--rose-deep);
  color: var(--sepia-soft);
}

/* -----------------------------------------------------------------
   15. FOOTER
   ----------------------------------------------------------------- */
.foot {
  text-align: center;
  padding: 4rem 1.5rem;
  border-top: 1px dashed var(--mauve);
  max-width: 600px;
  margin: 2rem auto 0;
}
.foot-flor {
  font-size: 2rem;
  color: var(--rose-deep);
  margin-bottom: 1rem;
}
.foot-msg {
  font-family: var(--f-title);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sepia);
  margin-bottom: 1.5rem;
}
.foot-sign {
  font-family: var(--f-hand);
  font-size: 1.4rem;
  color: var(--mauve);
  margin-bottom: 1rem;
}
.foot-mini {
  font-size: .9rem;
  color: var(--sepia-soft);
  font-style: italic;
}

/* -----------------------------------------------------------------
   16. NAVEGACIÓN FLOTANTE
   ----------------------------------------------------------------- */
.floatnav {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: .8rem .6rem;
  background: rgba(255, 252, 246, .7);
  backdrop-filter: blur(6px);
  border-radius: 2rem;
  border: 1px solid rgba(166, 136, 160, .3);
  box-shadow: var(--sh-soft);
}
.floatnav a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-family: var(--f-title);
  font-style: italic;
  font-size: .85rem;
  color: var(--mauve);
  text-decoration: none;
  border-radius: 50%;
  transition: all .3s;
}
.floatnav a:hover {
  background: var(--mauve);
  color: var(--cream);
}

/* -----------------------------------------------------------------
   17. RESPONSIVE: móvil
   ----------------------------------------------------------------- */
@media (max-width: 800px) {
  section { padding: 4rem 1rem; }

  .us-grid { grid-template-columns: 1fr; gap: 4rem; }

  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-photo { position: relative; top: 0; max-width: 240px; margin: 0 auto; }

  /* Timeline: una columna, todo a la derecha de la línea */
  .tl-line::before { left: 18px; }
  .tl-item {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0;
    margin-left: 0 !important;
  }
  .tl-left .tl-dot, .tl-right .tl-dot { left: 11px; right: auto; }

  .gal-grid { gap: 1.5rem 1rem; }
  /* Polaroids enderezadas en móvil para mejor uso de espacio */
  .gal-grid .polaroid { transform: rotate(0deg) !important; }

  .floatnav {
    flex-direction: row;
    right: 50%;
    top: auto;
    bottom: 1rem;
    transform: translateX(50%);
    border-radius: 2rem;
  }

  .splash-title { font-size: clamp(2.5rem, 14vw, 4rem); }
}

@media (max-width: 500px) {
  body { font-size: 16px; }
  .section-title { font-size: 2rem; }
  .countdown-nums { gap: 1rem; }
}

/* -----------------------------------------------------------------
   18. PREFERS-REDUCED-MOTION (accesibilidad)
   ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .polaroid:hover { transform: rotate(0); }
}
