
:root{
  --oscuro:#1a2535; --oscuro-2:#253040; --oscuro-rgb:26,37,53;
  --oro:#d4b840; --oro-claro:#f0dc80;
  --accion:#c87890; --accion-suave:#f4bfc8;
  --crema:#f8f6fc; --texto:#1a2030; --texto-medio:#5a6a80;

  --display:'Great Vibes',cursive;
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'Montserrat',system-ui,sans-serif;

  --ancho:1240px;
  --hero-img:none;
  --hero-fallback:1;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;padding-top:var(--cinta-alto,0px);background:var(--crema);color:var(--texto);
  font-family:var(--sans);font-weight:300;line-height:1.7;
  overflow-x:hidden;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}

section{width:100%;padding:6.5rem 0;position:relative}
.container{width:100%;max-width:var(--ancho);margin:0 auto;padding:0 2.5rem}
.oscura{background:linear-gradient(135deg,var(--oscuro-2) 0%,var(--oscuro) 100%);color:#fff}
.centrado{text-align:center}

.etiqueta{
  font-size:.75rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:var(--oro);margin:0 0 .5rem;
}
.etiqueta.clara{color:var(--oro-claro)}
.titulo{
  font-family:var(--serif);font-weight:300;font-size:clamp(1.9rem,3.4vw,2.7rem);
  letter-spacing:.02em;margin:0;
}
.linea{width:80px;height:1px;background:var(--oro);margin:1.1rem 0 2rem}
.linea.clara{background:var(--oro-claro)}
.centrado .linea{margin-left:auto;margin-right:auto}

.divisor{display:flex;align-items:center;justify-content:center;gap:1rem;margin:1.4rem 0}
.divisor i{width:80px;height:1px;background:linear-gradient(90deg,transparent,var(--oro),transparent)}
.divisor b{display:flex;gap:.3rem;color:var(--accion)}
.divisor b svg.ico{width:11px;height:11px}

.btn{
  display:inline-block;padding:.75rem 2rem;border:none;border-radius:25px;
  background:var(--accion);color:#fff;cursor:pointer;text-decoration:none;
  font-family:var(--sans);font-size:.72rem;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;
  transition:background .25s,transform .25s;
}
.btn:hover{background:var(--oscuro);transform:translateY(-2px)}
.btn:focus-visible,a:focus-visible,button:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--oro);outline-offset:2px;
}
.btn-linea{
  background:transparent;border:1px solid var(--accion);color:var(--accion);
  padding:.55rem 1.3rem;font-size:.7rem;font-weight:500;letter-spacing:.08em;
}
.btn-linea:hover{background:var(--accion);color:#fff;transform:none}

.reveal{opacity:0;transform:translateY(30px);
  transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}

.nav{
  position:fixed;top:var(--cinta-alto,0px);left:0;right:0;z-index:400;

  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  column-gap:1.5rem;padding:.9rem 2.5rem;
  background:transparent;transition:background .35s,padding .35s,box-shadow .35s;
}
.nav.solida{
  background:rgba(var(--oscuro-rgb),.96);backdrop-filter:blur(10px);
  padding:.55rem 2.5rem;box-shadow:0 2px 24px rgba(0,0,0,.25);
}
.logo{
  grid-column:1;justify-self:start;
  position:relative;width:46px;height:46px;flex-shrink:0;
  border:1px solid var(--oro);border-radius:50%;
  display:grid;place-items:center;
}
.logo .mono{font-family:var(--display);font-size:1.65rem;color:var(--oro);line-height:1}
.nav ul{grid-column:2;display:flex;gap:1.9rem;list-style:none;margin:0;padding:0}
.nav ul a{
  font-size:.72rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.85);text-decoration:none;transition:color .2s;
}
.nav ul a:hover{color:var(--oro)}
.nav .btn-linea{grid-column:3;justify-self:end}
.burger{grid-column:3;justify-self:end;display:none;background:none;border:none;
  color:var(--oro);cursor:pointer;padding:.2rem}
.burger svg.ico{width:24px;height:24px}

.menu-movil{
  position:fixed;inset:0;z-index:600;display:none;
  background:rgba(var(--oscuro-rgb),.985);
  flex-direction:column;align-items:center;justify-content:center;gap:1.6rem;
}
.menu-movil.abierto{display:flex}
.menu-movil a{color:#fff;text-decoration:none;font-size:.9rem;
  letter-spacing:.18em;text-transform:uppercase}
.menu-movil .cerrar{position:absolute;top:1.6rem;right:1.8rem;background:none;
  border:none;color:var(--oro);cursor:pointer;padding:.2rem}
.menu-movil .cerrar svg.ico{width:26px;height:26px}

.hero{
  position:relative;min-height:100svh;width:100%;
  display:flex;align-items:center;justify-content:center;text-align:center;
  padding:0;overflow:hidden;
  background-color:var(--oscuro);
  background-image:var(--hero-img);
  background-size:cover;background-position:center top;
}
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;opacity:var(--hero-fallback);
  background:radial-gradient(120% 90% at 50% 15%,
    var(--accion-suave) 0%,var(--oro) 35%,var(--oscuro-2) 75%,var(--oscuro) 100%);
}

.hero-overlay{
  position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(80% 60% at 50% 47%,
      rgba(var(--oscuro-rgb),.90) 0%,
      rgba(var(--oscuro-rgb),.70) 48%,
      rgba(var(--oscuro-rgb),.20) 82%,
      rgba(var(--oscuro-rgb),0) 100%),
    linear-gradient(to bottom,
      rgba(var(--oscuro-rgb),.42) 0%,
      rgba(var(--oscuro-rgb),0) 22%);
}
.hero-contenido{position:relative;z-index:2;padding:9rem 1.5rem 6rem;max-width:820px}
.hero-kicker{
  font-size:.75rem;font-weight:600;letter-spacing:.28em;text-transform:uppercase;
  color:var(--oro);margin:0;
}
.hero-nombre{
  font-family:var(--display);font-size:clamp(3.6rem,11vw,8rem);
  color:#fff;line-height:1.04;margin:.35rem 0 .2rem;font-weight:400;
  text-shadow:0 2px 40px rgba(212,184,64,.4);
}
.hero-frase{
  font-family:var(--serif);font-size:clamp(1.05rem,1.7vw,1.35rem);
  color:rgba(255,255,255,.88);margin:1.2rem 0 2.6rem;line-height:2;
}
.cuenta{display:flex;align-items:flex-start;justify-content:center;gap:.6rem}
.cuenta .item{display:flex;flex-direction:column;align-items:center;min-width:74px}
.cuenta b{
  font-family:var(--serif);font-weight:400;font-size:clamp(2rem,4vw,2.9rem);
  color:#fff;line-height:1;font-variant-numeric:tabular-nums;
}
.cuenta small{font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(255,255,255,.65);margin-top:.45rem}
.cuenta .sep{color:rgba(255,255,255,.3);font-size:1.7rem;margin-top:.2rem}

.plantilla-jardin .cuenta .sep{font-size:0}
.plantilla-jardin .cuenta .sep::before{content:"·";font-size:1.7rem}

.plantilla-boho .cuenta .sep{font-size:0}
.plantilla-boho .cuenta .sep::before{content:"+";font-size:1.4rem}

.plantilla-playa .cuenta .sep{font-size:0}
.plantilla-playa .cuenta .sep::before{content:"~";font-size:1.6rem}

.plantilla-lujo .cuenta{border-top:1px solid var(--oro);padding-top:1.2rem}

.plantilla-marfil .divisor b{display:none}
.plantilla-marfil .divisor i{width:120px}
.plantilla-marfil .btn{border-radius:0;letter-spacing:.15em}

.grid-historia{display:grid;grid-template-columns:auto 1fr;gap:5rem;align-items:center}
.arco-wrap{display:flex;flex-direction:column;align-items:center;width:300px}
.arco{
  position:relative;width:300px;height:430px;
  border-radius:150px 150px 0 0;overflow:hidden;
  border:2px solid var(--oro);
  background:linear-gradient(160deg,var(--accion-suave),var(--accion));
  box-shadow:0 8px 40px rgba(var(--oscuro-rgb),.18),0 2px 12px rgba(0,0,0,.12);
  display:grid;place-items:center;
}
.arco{background-size:cover;background-position:center}
.arco .inicial{font-family:var(--display);font-size:4.5rem;color:#fff;opacity:.85}
.arco.con-foto .inicial{display:none}
.arco .marco{position:absolute;inset:10px 10px -5px;border-radius:140px 140px 0 0;
  border:1px solid rgba(212,184,64,.45);pointer-events:none}
.arco-badge{
  position:relative;z-index:2;margin-top:-1px;
  background:var(--oro);color:var(--oscuro);
  font-size:.65rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  padding:.45rem 1.5rem;border-radius:0 0 20px 20px;
  box-shadow:0 4px 12px rgba(212,184,64,.3);
}
.cita{font-family:var(--serif);font-style:italic;font-size:1.22rem;
  color:var(--texto-medio);line-height:1.95;margin:0 0 1.6rem}
.comilla{font-family:var(--serif);font-size:2.6rem;color:var(--oro);
  line-height:0;display:block;margin-bottom:1.2rem}
.firma{font-family:var(--display);font-size:2.1rem;color:var(--accion);margin:0 0 2.4rem}

.detalles{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:rgba(var(--oscuro-rgb),.12);margin:0}
.detalles.cols-4{grid-template-columns:repeat(4,1fr)}
.detalles.cols-5{grid-template-columns:repeat(5,1fr)}
.detalles div{background:var(--crema);padding:1.4rem 1.2rem}
.detalles dt{font-size:.62rem;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:var(--oro);margin-bottom:.4rem}
.detalles dd{margin:0;font-family:var(--serif);font-size:1.08rem;
  color:var(--texto);line-height:1.5}

.galeria{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;margin-top:2.5rem}
.galeria figure{
  margin:0;aspect-ratio:3/4;border-radius:3px;overflow:hidden;
  background:linear-gradient(150deg,var(--accion-suave),var(--oro),var(--oscuro-2));
  display:grid;place-items:center;
  color:rgba(255,255,255,.9);font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;
  transition:transform .35s;
}
.galeria figure:hover{transform:scale(1.03)}
.galeria figure img{width:100%;height:100%;object-fit:cover}
.galeria figure.con-foto{cursor:zoom-in}

.aviso-muestra{
  display:flex;flex-direction:column;align-items:center;gap:1.4rem;
  max-width:560px;margin:3rem auto 0;padding:2rem 1.8rem;
  border:1px solid rgba(var(--oscuro-rgb),.14);border-radius:4px;
  background:rgba(var(--oscuro-rgb),.03);
}
.aviso-muestra-texto{
  margin:0;font-family:var(--sans);font-size:.9rem;line-height:1.7;
  letter-spacing:normal;text-transform:none;color:var(--oscuro-2);
}

.lightbox{
  position:fixed;inset:0;z-index:1000;
  display:flex;align-items:center;justify-content:center;
  background:rgba(10,8,6,.94);
}
.lightbox[hidden]{display:none}
.lightbox-img{
  max-width:88vw;max-height:86vh;object-fit:contain;
  border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.lightbox-cerrar,.lightbox-flecha{
  position:absolute;background:rgba(255,255,255,.12);border:none;
  color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;
  border-radius:50%;transition:background .2s;
}
.lightbox-cerrar:hover,.lightbox-flecha:hover{background:rgba(255,255,255,.28)}
.lightbox-cerrar{top:1.2rem;right:1.2rem;width:2.8rem;height:2.8rem}
.lightbox-cerrar .ico{width:20px;height:20px}
.lightbox-flecha{top:50%;transform:translateY(-50%);width:3.2rem;height:3.2rem}
.lightbox-flecha .ico{width:24px;height:24px}
.lightbox-prev{left:1rem}
.lightbox-next{right:1rem}
@media (max-width:560px){
  .lightbox-cerrar{width:2.3rem;height:2.3rem;top:.7rem;right:.7rem}
  .lightbox-flecha{width:2.5rem;height:2.5rem}
  .lightbox-prev{left:.4rem}
  .lightbox-next{right:.4rem}
}

.cinta-vista{
  position:fixed;top:0;left:0;right:0;z-index:900;margin:0;
  background:var(--oscuro);color:#fff;text-align:center;
  font-family:var(--sans);font-size:.95rem;font-weight:600;
  letter-spacing:normal;text-transform:none;padding:.65rem 1rem;
  line-height:1.4;
}

.cinta-demo{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  gap:1.2rem;padding:.65rem 1rem;
}
.cinta-demo-centro{
  grid-column:2;
  display:flex;align-items:center;justify-content:center;gap:1.2rem;
  flex-wrap:wrap;
}
.cinta-demo .cinta-volver{grid-column:3;justify-self:end}
.cinta-demo .btn-pequeno{
  font-size:.8rem;
  padding:.5rem 1.4rem;
}

.cinta-volver{
  color:rgba(255,255,255,.82);text-decoration:none;
  font-size:.82rem;font-weight:500;white-space:nowrap;
  transition:color .2s;
}
.cinta-volver:hover{color:#fff;text-decoration:underline}

@media (max-width:560px){
  .cinta-vista{font-size:.85rem;}
  .cinta-volver{font-size:.78rem}

  .cinta-demo-texto{display:none}

  .cinta-demo{
    grid-template-columns:auto auto;justify-content:space-between;
    gap:.6rem;padding:.5rem .8rem;
  }
  .cinta-demo-centro{grid-column:1}
  .cinta-demo .cinta-volver{grid-column:2}
}

.vestimenta{display:flex;gap:3.5rem;justify-content:center;
  margin:2rem 0 2.5rem;flex-wrap:wrap}
.vest-item{display:flex;flex-direction:column;align-items:center;gap:.7rem}
.vest-circulo{width:74px;height:74px;border-radius:50%;
  border:1px solid rgba(212,184,64,.5);display:grid;place-items:center;color:var(--oro-claro)}
.vest-circulo svg.ico{width:30px;height:30px}
.vest-item span{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.75)}
.reservados{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,255,255,.55);margin-bottom:.9rem}
.swatches{display:flex;gap:.6rem;justify-content:center;margin-bottom:.8rem}
.swatches i{width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(255,255,255,.28);display:block}
.nota{font-family:var(--serif);font-style:italic;font-size:.98rem;
  color:var(--accion-suave);margin:.4rem 0 0}

.padrinos{display:grid;grid-template-columns:repeat(2,1fr);gap:2.2rem 3rem;
  margin:2.5rem auto 0;list-style:none;padding:0;max-width:720px}
.padrinos li{text-align:center}
.padrinos:has(li:only-child){grid-template-columns:1fr;justify-items:center}
.padrino-rol{font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--oro-claro);margin:0 0 .5rem}
.padrino-nombre{font-family:var(--serif);font-size:1.15rem;
  color:rgba(255,255,255,.88);margin:0;line-height:1.6}

.voto-texto{font-family:var(--serif);font-style:italic;
  color:rgba(255,255,255,.65);margin:0 auto 2.5rem;max-width:520px;line-height:1.8}
.marcador{display:flex;align-items:center;justify-content:center;
  gap:2.5rem;margin-bottom:2.5rem;flex-wrap:wrap}
.marcador-lado{display:flex;flex-direction:column;align-items:center;gap:.4rem;
  min-width:130px;padding:1.6rem 1.2rem;
  border:1px solid rgba(255,255,255,.18);border-radius:2px}
.marcador-lado b{font-family:var(--display);font-size:2.8rem;line-height:1;
  color:var(--oro-claro)}
.marcador-lado small{font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;
  color:rgba(255,255,255,.6)}
.marcador-sep{font-family:var(--serif);font-style:italic;
  color:rgba(255,255,255,.4);font-size:1.1rem}

.pasos{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;
  margin-top:2.5rem;list-style:none;padding:0}
.pasos li{text-align:center}
.pasos .num{width:52px;height:52px;margin:0 auto .9rem;border-radius:50%;
  border:1px solid var(--oro);color:var(--oro);
  display:grid;place-items:center;font-family:var(--serif);font-size:1.3rem}
.pasos .txt{font-family:var(--serif);font-size:1.12rem;color:var(--texto);margin:0}
.pasos .hora{font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--texto-medio);margin:.3rem 0 0}

.caja{max-width:660px;margin:0 auto;text-align:center;
  border:1px solid rgba(var(--oscuro-rgb),.14);padding:3rem 2.5rem;background:#fff}
.reg-texto{font-family:var(--serif);font-size:1.15rem;color:var(--texto-medio);
  line-height:1.9;margin:1rem 0 1.6rem}
.mus-desc{font-family:var(--serif);font-style:italic;
  color:rgba(255,255,255,.6);margin:0 0 2rem}
.reproductor{
  display:inline-flex;align-items:center;gap:1.2rem;
  background:rgba(255,255,255,.07);border:1px solid rgba(212,184,64,.3);
  border-radius:50px;padding:.8rem 1.5rem;backdrop-filter:blur(8px);
  box-shadow:0 4px 32px rgba(0,0,0,.3);
}
.reproductor .art{width:46px;height:46px;border-radius:50%;
  background:var(--accion-suave);display:grid;place-items:center;color:var(--oscuro)}
.reproductor .art svg.ico{width:20px;height:20px}
.reproductor .info{text-align:left}
.reproductor .info b{display:block;font-family:var(--serif);font-weight:400;
  font-size:.98rem;color:rgba(255,255,255,.9)}
.reproductor .info small{font-size:.7rem;color:var(--oro);letter-spacing:.05em}
.reproductor button{width:40px;height:40px;border-radius:50%;background:var(--accion);
  color:#fff;border:none;cursor:pointer;transition:background .2s;
  display:grid;place-items:center}
.reproductor button svg.ico{width:16px;height:16px}

.map-lugar{font-family:var(--serif);font-size:1.25rem;margin:0}
.map-dir{color:var(--texto-medio);font-size:.92rem;margin:.2rem 0 1.4rem}
.mapa{margin-top:2.2rem;height:380px;border:1px solid rgba(var(--oscuro-rgb),.14);
  background:linear-gradient(135deg,var(--crema),var(--accion-suave));
  display:grid;place-items:center;color:var(--texto-medio);font-size:.75rem;
  letter-spacing:.18em;text-transform:uppercase;overflow:hidden}
.mapa iframe{width:100%;height:100%;border:0;display:block}

.mapa-espera{cursor:pointer}
.mapa-cargar{
  border:none;background:none;font:inherit;color:var(--accion);cursor:pointer;
  display:grid;place-items:center;gap:.55rem;width:100%;height:100%;padding:1.5rem;
}
.mapa-cargar svg.ico{width:26px;height:26px}
.mapa-texto{
  font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600;
}

.mapa-cargar .mapa-nota{
  font-size:.72rem;letter-spacing:0;text-transform:none;font-weight:400;
  color:var(--texto-medio);max-width:30ch;line-height:1.5;
}
.mapa-cargar:hover .mapa-texto{text-decoration:underline}

.music-btn{
  position:fixed;right:2rem;bottom:2rem;z-index:500;
  width:50px;height:50px;border-radius:50%;border:none;cursor:pointer;
  background:var(--accion);color:#fff;display:grid;place-items:center;
  box-shadow:0 4px 20px rgba(var(--oscuro-rgb),.35);
  transition:transform .2s,background .2s;
}
.music-btn:hover{transform:scale(1.1);background:var(--oscuro)}
.music-btn.sonando{animation:pulso 2s infinite}
@keyframes pulso{
  0%,100%{box-shadow:0 4px 20px rgba(var(--oscuro-rgb),.35)}
  50%{box-shadow:0 4px 30px 6px rgba(212,184,64,.45)}
}

.conf-texto{color:rgba(255,255,255,.7);max-width:520px;margin:0 auto}
.form{max-width:620px;margin:2.5rem auto 0;display:grid;gap:1.4rem;text-align:left}
.form label{font-size:.64rem;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:rgba(255,255,255,.6);display:block;margin-bottom:.5rem}
.form input,.form select,.form textarea{
  width:100%;padding:.85rem 0;font:inherit;color:#fff;background:transparent;
  border:none;border-bottom:1px solid rgba(255,255,255,.28);border-radius:0;
  outline:none;transition:border-color .3s;
}
.form input:focus,.form select:focus,.form textarea:focus{border-bottom-color:var(--oro)}
.form select option{color:#222}
.form textarea{resize:vertical;min-height:70px}
.fila{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem}
.form-centro{text-align:center;margin-top:.6rem}

.form .nota-campo{
  margin:.5rem 0 0;font-size:.74rem;line-height:1.5;
  color:rgba(255,255,255,.5);text-transform:none;letter-spacing:0;
}
.form .nota-campo[hidden]{display:none}

.form .contador-campo{
  text-align:right;font-variant-numeric:tabular-nums;
}
.form .contador-campo.lleno{color:var(--oro)}

.acepto{display:flex;align-items:start;gap:.7rem}
.acepto input{width:auto;flex:none;margin:0;padding:0;accent-color:var(--oro);
  transform:translateY(.15rem)}
.acepto label{
  margin:0;font-size:.78rem;line-height:1.55;font-weight:400;
  text-transform:none;letter-spacing:0;color:rgba(255,255,255,.62);
}
.acepto a{color:var(--oro);text-decoration:underline}

.acepto-menor{display:block;margin-top:.35rem;color:rgba(255,255,255,.45)}

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

.aviso-error{
  margin:0;padding:.8rem 1rem;border:1px solid rgba(255,120,120,.5);
  background:rgba(255,120,120,.12);color:#ffd9d9;font-size:.88rem;border-radius:3px;
}
.aviso-error[hidden]{display:none}

.aviso-repetido{
  max-width:620px;margin:1.6rem auto 0;padding:1.4rem 1.4rem 1.2rem;
  border:1px solid rgba(255,255,255,.22);border-radius:3px;text-align:center;
}
.aviso-repetido[hidden]{display:none}
.aviso-repetido p{margin:0 0 .5rem;color:rgba(255,255,255,.8);font-size:.95rem}
.repetido-pregunta{font-weight:600}

.repetido-botones{display:grid;gap:.7rem;justify-items:center;margin-top:1rem}

.ok{display:none;max-width:620px;margin:2.5rem auto 0;padding:2.6rem 2rem;
  border:1px solid rgba(255,255,255,.22);text-align:center}
.ok.visible{display:block}
.ok .check{color:var(--oro);display:grid;place-items:center}
.ok .check svg.ico{width:34px;height:34px}
.ok h3{font-family:var(--serif);font-weight:300;font-size:1.8rem;margin:.6rem 0 .3rem}
.ok p{margin:0;color:rgba(255,255,255,.66)}

.footer{text-align:center;padding:5rem 0 3rem}
.footer .nombre{font-family:var(--display);font-size:3rem;color:var(--oro);line-height:1.1}
.footer .meta{font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;
  color:rgba(255,255,255,.5);margin:.6rem 0 1.8rem}
.footer .texto{color:rgba(255,255,255,.6);max-width:520px;margin:0 auto 1.6rem;font-size:.95rem}
.footer .fecha{font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--oro)}

.footer .creditos{margin:2.4rem 0 0;font-size:.62rem;font-family:var(--sans)}
.footer .creditos a{color:rgba(255,255,255,.32);text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.18);text-underline-offset:.25em;
  transition:color .2s ease,text-decoration-color .2s ease}
.footer .creditos a:hover,
.footer .creditos a:focus-visible{color:var(--oro);text-decoration-color:var(--oro)}

.velo{
  position:fixed;inset:0;z-index:1100;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:var(--crema);
  cursor:pointer;
  transition:opacity .6s ease;
}
.velo.abierta{opacity:0;pointer-events:none}

.velo-lavado{
  position:absolute;inset:-10%;pointer-events:none;
  background:
    radial-gradient(38% 30% at 12% 8%,  var(--accion-suave), transparent 70%),
    radial-gradient(42% 32% at 88% 14%, var(--oro-claro),    transparent 72%),
    radial-gradient(52% 36% at 50% 104%,var(--accion-suave), transparent 74%),
    radial-gradient(34% 26% at 82% 88%, var(--oro-claro),    transparent 70%);
  opacity:.5;
  transition:opacity .8s ease;
}

.portada{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(1rem,3vh,2rem);
  width:100%;height:100%;
  padding:clamp(2.5rem,7vh,4.5rem) 1.25rem;
  text-align:center;
}

.portada-cabeza{
  position:relative;z-index:5;
  display:flex;flex-direction:column;align-items:center;gap:.35rem;
}
.portada-nombre{
  margin:0;font-family:var(--display);font-weight:400;line-height:1.05;
  font-size:clamp(2.6rem,11vw,4.6rem);color:var(--oscuro);
}
.portada-kicker{
  margin:0;font-family:var(--sans);font-size:clamp(.6rem,2.4vw,.78rem);
  font-weight:600;letter-spacing:.32em;text-transform:uppercase;color:var(--texto-medio);
}
.portada-fecha{
  margin:0;font-family:var(--serif);font-style:italic;
  font-size:clamp(.82rem,2.8vw,1rem);letter-spacing:.06em;color:var(--texto-medio);
}

.velo-boton{
  position:relative;z-index:5;
  border:0;background:none;cursor:pointer;color:var(--texto-medio);
  padding:.5rem .4rem;
  font-family:var(--sans);font-size:clamp(.66rem,2.5vw,.8rem);
  font-weight:500;letter-spacing:.2em;text-transform:uppercase;
  transition:color .25s ease,opacity .4s ease;
}
.velo-boton::after{
  content:'';display:block;height:1px;margin:.55rem auto 0;width:2.4rem;
  background:var(--oro);opacity:.6;
}
.velo:hover .velo-boton{color:var(--accion)}
.velo-boton:focus-visible{outline:2px solid var(--accion);outline-offset:6px;border-radius:4px}

.portada-escena{
  position:relative;
  width:min(86vw,64vh,470px);
  margin-block:clamp(1.5rem,5vh,3rem);
  flex:none;
}

.portada-orla{
  position:absolute;left:50%;width:120%;transform:translateX(-50%);
  pointer-events:none;
}
.portada-orla-alta{bottom:100%;margin-bottom:-7%;z-index:0}
.portada-orla-baja{top:100%;margin-top:-11%;z-index:3}
.orn{display:block;width:100%;height:auto}

.sobre{
  position:relative;z-index:1;
  width:100%;aspect-ratio:4/3;

  perspective:1200px;
  transition:transform .85s cubic-bezier(.3,0,.2,1) .55s;

  animation:sobre-entra .8s cubic-bezier(.2,.7,.3,1) backwards;
}
@keyframes sobre-entra{
  from{opacity:0;transform:translateY(22px) scale(.95)}
  to  {opacity:1;transform:none}
}

.sobre-dentro{
  position:absolute;inset:0;background:var(--crema);

  box-shadow:inset 0 0 90px rgba(var(--oscuro-rgb),.12),
             0 22px 34px rgba(var(--oscuro-rgb),.2);
}

.solapa{
  position:absolute;inset:0;background-color:var(--crema);
  transition:transform .8s cubic-bezier(.42,0,.22,1);

  backface-visibility:hidden;
}

.solapa-arriba{
  clip-path:polygon(0 0,100% 0,50% 50%);transform-origin:50% 0;
  background-image:linear-gradient(180deg,rgba(255,255,255,.85),rgba(var(--oscuro-rgb),.15));
}
.solapa-abajo{
  clip-path:polygon(0 100%,100% 100%,50% 50%);transform-origin:50% 100%;
  background-image:linear-gradient(0deg,rgba(255,255,255,.62),rgba(var(--oscuro-rgb),.2));
}
.solapa-izq{
  clip-path:polygon(0 0,0 100%,50% 50%);transform-origin:0 50%;
  background-image:linear-gradient(90deg,rgba(255,255,255,.5),rgba(var(--oscuro-rgb),.17));
}
.solapa-der{
  clip-path:polygon(100% 0,100% 100%,50% 50%);transform-origin:100% 50%;
  background-image:linear-gradient(270deg,rgba(255,255,255,.44),rgba(var(--oscuro-rgb),.19));
}

.sobre-costuras{
  position:absolute;inset:0;z-index:3;pointer-events:none;
  border:1px solid rgba(var(--oscuro-rgb),.16);
  transition:opacity .3s ease;
}
.sobre-costuras::before,.sobre-costuras::after{
  content:'';position:absolute;top:50%;left:50%;width:125%;height:1px;
  background:linear-gradient(90deg,
    transparent,
    rgba(var(--oscuro-rgb),.3) 10%,
    rgba(var(--oscuro-rgb),.3) 90%,
    transparent);
}
.sobre-costuras::before{transform:translate(-50%,-50%) rotate(36.87deg)}
.sobre-costuras::after {transform:translate(-50%,-50%) rotate(-36.87deg)}
.velo.abriendo .sobre-costuras{opacity:0}

.sobre-sello{
  position:absolute;left:50%;top:50%;z-index:4;
  width:clamp(52px,17%,92px);aspect-ratio:1;
  display:grid;place-items:center;
  transform:translate(-50%,-50%);
  transition:transform .45s cubic-bezier(.4,0,.6,1),opacity .4s ease;
}
.sobre-sello-cera{
  position:absolute;inset:0;
  border-radius:47% 53% 44% 56%/53% 45% 55% 47%;
  background:radial-gradient(circle at 34% 28%,
    var(--oro-claro) 0%,var(--oro) 48%,var(--accion) 100%);
  box-shadow:0 5px 12px rgba(var(--oscuro-rgb),.34),
             inset 0 -3px 7px rgba(var(--oscuro-rgb),.38),
             inset 0 3px 6px rgba(255,255,255,.3);
}
.sobre-sello-ico{
  position:relative;width:52%;height:52%;
  color:var(--crema);opacity:.88;stroke-width:1.2;
}

.velo.abriendo .sobre-sello{transform:translate(-50%,-50%) scale(1.45) rotate(9deg);opacity:0}

.velo.abriendo .solapa-arriba{transform:rotateX(-170deg);transition-delay:.25s}
.velo.abriendo .solapa-izq   {transform:rotateY(170deg); transition-delay:.45s}
.velo.abriendo .solapa-der   {transform:rotateY(-170deg);transition-delay:.45s}
.velo.abriendo .solapa-abajo {transform:rotateX(170deg); transition-delay:.6s}

.velo.abriendo .sobre{transform:scale(1.3) translateY(3%)}

.velo.abriendo .portada-cabeza,
.velo.abriendo .velo-boton{opacity:0;transition:opacity .35s ease}
.velo.abriendo .velo-lavado{opacity:.22}

.orn .o-suave{fill:var(--accion-suave)}
.orn .o-medio{fill:var(--accion);opacity:.72}
.orn .o-claro{fill:var(--oro-claro);opacity:.7}
.orn .o-oro  {fill:var(--oro)}
.orn .o-hoja {fill:var(--accion);opacity:.45}
.orn .o-linea{fill:none;stroke:var(--oro);stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round;opacity:.75}
.orn .o-trazo{fill:none;stroke:var(--accion);stroke-width:1.9;
  stroke-linecap:round;opacity:.6}

.orn-vuela{
  transform-box:fill-box;transform-origin:center;
  transition:transform .9s cubic-bezier(.32,0,.3,1),opacity .7s ease;
}
.orn-quieto{transition:opacity .7s ease}

.velo.abriendo .orn-vuela{transform:translateY(-120px) rotate(-14deg) scale(.7);opacity:0}
.velo.abriendo .orn-pieza:nth-child(2n) .orn-vuela{transform:translateY(-150px) rotate(16deg) scale(.66)}
.velo.abriendo .orn-pieza:nth-child(3n) .orn-vuela{transition-delay:.12s}
.velo.abriendo .orn-pieza:nth-child(4n) .orn-vuela{transition-delay:.2s}
.velo.abriendo .orn-quieto{opacity:0}
.velo.abriendo .portada-orla{opacity:0;transition:opacity .6s ease .2s}

@media (prefers-reduced-motion:reduce){

  .sobre{animation:none}
  .sobre,.solapa,.sobre-sello,.orn-vuela,.orn-quieto{transition:opacity .4s ease}
  .velo.abriendo .sobre,
  .velo.abriendo .solapa,
  .velo.abriendo .orn-vuela{transform:none}

  .velo.abriendo .sobre-sello{transform:translate(-50%,-50%)}
}

@media (max-width:1000px){
  .grid-historia{grid-template-columns:1fr;gap:3rem;justify-items:center;text-align:center}
  .grid-historia .texto{text-align:center}
  .grid-historia .linea{margin-left:auto;margin-right:auto}
  .galeria{grid-template-columns:repeat(3,1fr)}
  .pasos{grid-template-columns:repeat(2,1fr);gap:2.5rem}
}
@media (max-width:820px){
  .nav ul,.nav .btn-linea{display:none}
  .burger{display:block}
  section{padding:4.2rem 0}
  .container{padding:0 1.4rem}
  .hero-contenido{padding:7rem 1.4rem 4.5rem}
  .cuenta .item{min-width:60px}
  .detalles{grid-template-columns:1fr!important}
  .arco-wrap,.arco{width:250px}
  .arco{height:355px;border-radius:125px 125px 0 0}
  .arco .marco{border-radius:115px 115px 0 0}
  .caja{padding:2.2rem 1.4rem}
  .mapa{height:280px}
  .music-btn{right:1.1rem;bottom:1.1rem}
}
@media (max-width:520px){
  .galeria{grid-template-columns:repeat(2,1fr)}
  .pasos,.fila,.padrinos{grid-template-columns:1fr}
  .cuenta{gap:.15rem}
  .cuenta .item{min-width:52px}
  .cuenta .sep{display:none}
  .vestimenta{gap:2rem}
  .marcador{gap:1.2rem}
  .marcador-sep{display:none}
  .arco-wrap,.arco{width:210px}
  .arco{height:300px;border-radius:105px 105px 0 0}
  .arco .marco{border-radius:95px 95px 0 0}
  .footer .nombre{font-size:2.2rem}
}

.music-btn svg.ico{width:18px;height:18px}
