/* Click Producciones · Bodas
   Concepto: una película de boda vista en casa dentro de 20 años. Piedra clara y tinta casi negra,
   un solo acento (el dorado de la luz de tarde en los viñedos) usado en la acción y casi nada más.
   Títulos en Cormorant Garamond, texto en Jost. Cinco tamaños. Sin líneas, sin etiquetas pequeñas:
   las superficies se separan por un paso de tono y por espacio. */
/* Paleta etérea: el blanco del vestido de base, marfil y crema en las superficies,
   un champán suave como único acento y un gris tibio para el texto. Siempre clara,
   también en celulares con modo oscuro. */
:root {
  --bg: #FFFFFF;
  --surface: #FDFBF7;
  --fg: #48433D;
  --muted: #736C63;
  --gold: #7A6446;
  --frame: #F4EFE7;
  --night: #F8F3EB;
  --night-2: #FFFFFF;
  --night-fg: #48433D;
  --night-muted: #736C63;
  --sage-ink: #7A6446;
  --sage-soft: #F4EDE2;
  --sage-mid: #E6DAC6;
  --btn: #EFE6D7;
  --btn-ink: #3F3A34;
  --field: #FFFFFF;

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  /* cinco tamaños */
  --t-display: clamp(2.5rem, 7.2vw, 6rem);
  --t-head: clamp(2.1rem, 4.6vw, 3.6rem);
  --t-sub: clamp(1.375rem, 2vw, 1.625rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --max: 1200px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-weight: 400; font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.band { padding-block: 112px; }
.band--tint { background: var(--surface); }
.band--dark {
  --fg: var(--night-fg); --muted: var(--night-muted); --surface: var(--night-2);
  --gold: var(--sage-ink);
  background: var(--night); color: var(--fg);
}
@media (min-width: 900px) { .band { padding-block: 168px; } }

/* Tipografía */
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: var(--t-display); font-weight: 400; letter-spacing: -0.03em; line-height: 0.95; }
h2 { font-size: var(--t-head); font-weight: 400; }
h3 { font-size: var(--t-sub); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: 1.25rem; line-height: 1.55; max-width: 34em; }
.note { font-size: var(--t-small); color: var(--muted); }
.stack { display: grid; gap: 24px; align-content: start; }
.stack-lg { display: grid; gap: 64px; }
.sec-head { display: grid; gap: 24px; max-width: 46rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 0;
  font: 500 1rem/1.2 var(--body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--btn); color: var(--btn-ink); }
.btn--ghost { background: var(--surface); color: var(--fg); }
.band--tint .btn--ghost { background: var(--bg); }
.btn--wa { background: var(--sage-ink); color: #fff; }
.band--dark .btn--wa { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 500; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }

/* Cabecera */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font-family: var(--display); font-size: var(--t-sub); font-weight: 500; text-decoration: none; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.nav { display: none; gap: 28px; font-size: 1.0625rem; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.top .btn { gap: 0; min-height: 44px; padding: 10px 18px; font-size: 1.0625rem; white-space: nowrap; }
.top .btn .long { display: none; }
@media (min-width: 560px) { .top .btn .long { display: inline; } }
@media (min-width: 980px) { .nav { display: flex; } }

/* Portada */
.hero { padding-block: 24px 96px; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { max-width: 15ch; }
.hero-photo {
  margin: 0; aspect-ratio: 4 / 3; max-width: 100%; width: 100%; overflow: hidden; background: var(--frame);
  order: -1;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s var(--ease) both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: var(--t-small); color: var(--muted); }
.trust b { color: var(--fg); font-weight: 500; }
@media (min-width: 900px) {
  .hero { padding-block: 56px 160px; }
  .hero-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: 48px 64px; }
  .hero h1 { grid-column: 1 / -1; max-width: none; }
  .hero-photo { order: 0; aspect-ratio: 3 / 2; }
}

/* Miedos */
.fears { display: grid; gap: 40px; }
.fear { display: grid; gap: 14px; align-content: start; }
.fear q { font-family: var(--display); font-size: var(--t-sub); font-style: italic; line-height: 1.3; quotes: "“" "”"; }
@media (min-width: 860px) { .fears { grid-template-columns: repeat(2, 1fr); gap: 48px 64px; } }

/* Proceso */
.steps { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.step { background: var(--surface); padding: 28px 24px; display: grid; gap: 10px; align-content: start; }
.step .when { font-size: var(--t-small); color: var(--gold); font-weight: 500; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { padding: 36px 28px 44px; } .step:nth-child(even) { transform: translateY(40px); } }

/* Lo que reciben */
.album { display: grid; gap: 48px; }
.ph-box { margin: 0; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--frame); }
.ph-box img { width: 100%; height: 100%; object-fit: cover; }
.gets { display: grid; gap: 18px; }
.get { padding: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.get strong { font-family: var(--display); font-weight: 500; font-size: var(--t-sub); }
.get span { font-size: var(--t-small); color: var(--muted); }
@media (min-width: 900px) { .album { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; } }

/* Promesa */
.promise-grid { display: grid; gap: 56px; }
.promise { display: grid; gap: 36px; }
.promise-item { display: grid; gap: 8px; }
.promise-item h3 { color: var(--fg); }
@media (min-width: 900px) { .promise-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } .promise { grid-template-columns: 1fr 1fr; gap: 48px 56px; } }

/* Bodas reales */
.weddings { display: grid; gap: 40px 24px; grid-template-columns: 1fr; }
.wedding { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.wedding .ph { aspect-ratio: 3 / 2; max-width: 100%; background: var(--frame); overflow: hidden; position: relative; }
.wedding img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.wedding .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.wedding .meta span { font-size: var(--t-small); color: var(--muted); }
.wedding--feature .ph { aspect-ratio: 16 / 9; }
.wedding--feature h3 { font-size: var(--t-head); font-weight: 400; }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--btn); transition: transform .3s var(--ease); }
.play::after { content: ""; position: absolute; left: 34px; top: 28px; border-left: 22px solid var(--btn-ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
@media (min-width: 640px) { .weddings { grid-template-columns: 1fr 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--frame); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(6, 1fr); gap: 12px; } .gallery img:nth-child(odd) { transform: translateY(32px); } }

/* Testimonios */
.quotes { display: grid; gap: 64px; }
.quote { margin: 0; display: grid; gap: 20px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: var(--t-sub); font-weight: 400; line-height: 1.3; font-style: italic; }
.quote cite { font-style: normal; font-size: var(--t-small); color: var(--gold); font-weight: 500; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* Paquetes */


/* Equipo */
.team-grid { display: grid; gap: 48px; }
.team { display: grid; gap: 40px; }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.person .ph { width: 120px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--frame); }
.person img { width: 100%; height: 100%; object-fit: cover; }
.person .role { color: var(--gold); font-weight: 500; margin-block: 6px 8px; }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } .person { grid-template-columns: 160px 1fr; } .person .ph { width: 160px; } }

/* Blog */
.posts { display: grid; gap: 40px; }
.post-card { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.post-card h3, .post-card h2 { transition: color .2s; }
.post-card span { font-size: var(--t-small); color: var(--gold); font-weight: 500; }
.post-card h3 { font-size: var(--t-sub); line-height: 1.15; }
.post-card p { color: var(--muted); }
@media (min-width: 860px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* Preguntas */
.faq-grid { display: grid; gap: 40px; }
.faq { display: grid; gap: 4px; }
.faq details { background: var(--bg); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 52px 20px 20px; position: relative;
  font-weight: 500; font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: var(--t-sub); font-weight: 300; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 22px; max-width: 60ch; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }

/* Cierre */
.close { text-align: center; }
.close .stack { justify-items: center; }
.close .lead { margin-inline: auto; }
.close .actions { justify-content: center; }

/* Pie */
.foot { padding-block: 72px 120px; background: var(--surface); color: var(--fg); }
.foot .wrap { display: grid; gap: 28px; }
.foot .bigname { font-family: var(--display); font-size: var(--t-display); line-height: 0.9; letter-spacing: -0.03em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot a { text-decoration: none; color: var(--muted); transition: color .2s; }
.foot .note { color: var(--muted); }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; z-index: 30;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; background: var(--sage-ink); color: #fff;
  display: grid; place-items: center; transition: transform .25s var(--ease);
  box-shadow: 0 6px 20px rgba(0,0,0,.25); /* taste-skill-ignore: botón flotante real */
}
.wa-float svg { width: 28px; height: 28px; }

/* Formulario (landing) */
.form-card { background: var(--surface); padding: 28px 20px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 500; }
.field .hint { font-size: var(--t-small); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--fg);
  background: var(--field); border: 1px solid var(--frame); border-radius: 0;
  padding: 13px 14px; min-height: 50px; transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.row2 { display: grid; gap: 22px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } .form-card { padding: 40px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); padding: 10px 14px; min-height: 46px; cursor: pointer; font-weight: 400; }
.chips input { accent-color: var(--gold); width: 18px; height: 18px; min-height: 0; }
.form-error { color: var(--gold); font-weight: 500; }
.thanks { display: grid; gap: 18px; background: var(--surface); padding: 32px 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: campo oculto anti-spam */
.checks { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 12px; height: 12px; background: var(--gold); }

/* Artículos */
.article { padding-block: 40px 96px; }
.article-head { display: grid; gap: 20px; max-width: 760px; margin-inline: auto; padding-bottom: 8px; }
.article-head h1 { font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1; }
.crumbs { font-size: var(--t-small); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { text-decoration: none; }
.prose { max-width: 680px; margin-inline: auto; padding-top: 32px; display: grid; gap: 20px; font-size: 1.125rem; line-height: 1.65; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-top: 28px; }
.prose strong { font-weight: 500; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose .table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--frame); vertical-align: top; }
.prose th { font-weight: 500; color: var(--gold); }
.prose td { font-variant-numeric: tabular-nums; }
.cta-box { background: var(--surface); padding: 32px 24px; display: grid; gap: 16px; margin-top: 16px; }
.cta-box h2 { margin-top: 0; }

/* Entradas al hacer scroll: el contenido es visible si el script no corre */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .step.rv.in:nth-child(even) { transform: translateY(40px); }
@media (max-width: 899px) { .js .step.rv.in:nth-child(even) { transform: none; } }
.js .gallery img.rv.in:nth-child(odd) { transform: translateY(32px); }
@media (max-width: 899px) { .js .gallery img.rv.in:nth-child(odd) { transform: none; } }


.privacy { font-size: var(--t-small); color: var(--muted); }
@media (min-width: 860px) { .posts--2 { grid-template-columns: 1fr 1fr; } }
.prose a.btn { text-decoration: none; }
.prose a.btn--primary { color: var(--btn-ink); }
.prose a.btn--wa { color: #fff; }
.article-fig { margin: 32px auto 0; max-width: 980px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--frame); }
.article-fig img { width: 100%; height: 100%; object-fit: cover; }
.form-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; } }
.lp-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--frame); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--frame); margin-bottom: 8px; transition: transform .9s var(--ease); }
.post-card { overflow: hidden; }
.post-card p { color: var(--fg); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block: 12px; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--frame); }


/* ===================================================================
   Capa de interacción (criterios de Emil Kowalski)
   - Curvas propias de salida rápida. Retroalimentación al presionar en 140ms.
   - Hover solo en dispositivos con mouse; en celular, :active.
   - Solo transform, opacity y clip-path (la altura solo en el acordeón).
   =================================================================== */

/* Celular nativo */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, label, .btn { touch-action: manipulation; }
.btn, .chips label, .faq summary, .menu-btn, .wa-float {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
section[id], [id="formulario"] { scroll-margin-top: 84px; }

/* Botones: presión inmediata, flecha que acompaña */
.btn .arw { display: inline-block; transition: transform 200ms var(--ease-out); }
.btn:active .arw { transform: translateX(2px); }
.chips label:active { transform: scale(0.97); }
.chips label { transition: transform 140ms var(--ease-out), background-color 200ms ease; }
.wa-float:active { transform: scale(0.94); }
.post-card:active, .wedding:active { transform: scale(0.99); }
.post-card, .wedding { transition: transform 160ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--gold); color: #fff; }
  .btn--ghost:hover { background: var(--frame); }
  .btn--wa:hover { background: var(--btn); color: var(--btn-ink); }
  .prose a.btn--primary:hover { color: #fff; }
  .prose a.btn--wa:hover { color: var(--btn-ink); }
  .btn:hover .arw { transform: translateX(4px); }
  .textlink:hover, .crumbs a:hover { color: var(--fg); }
  .nav a:hover { color: var(--fg); }
  .foot a:hover { color: var(--gold); }
  .wedding:hover img, .post-card:hover img { transform: scale(1.04); }
  .wedding--feature:hover .play { transform: scale(1.08); }
  .post-card:hover h3, .post-card:hover h2 { color: var(--gold); }
  .wa-float:hover { transform: scale(1.06); }
  .chips label:hover { background: var(--frame); }
  .faq summary:hover { color: var(--gold); }
  .gallery img { transition: transform 600ms var(--ease-out), filter 300ms ease; }
  .gallery:hover img { filter: saturate(0.6); }
  .gallery img:hover { filter: none; }
}

/* Cabecera: se esconde al bajar y vuelve al subir; marca la sección activa */
.top { transition: transform 300ms var(--ease-drawer), background-color 200ms ease; }
/* La cabecera ya no se esconde: el botón de consultar queda siempre a la vista */
.top.is-scrolled { background: var(--surface); }
.nav { position: relative; }
.nav a { position: relative; padding-block: 6px; }
.nav a.is-active { color: var(--fg); }
.nav-ind {
  position: absolute; left: 0; bottom: -2px; width: 100px; height: 2px; /* taste-skill-ignore: indicador de sección activa */
  background: var(--gold); transform-origin: left center; transform: scaleX(0);
  transition: transform 250ms var(--ease-in-out), opacity 200ms ease; opacity: 0; pointer-events: none;
}

/* Menú en celular: cortina desde arriba */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 14px; background: transparent; border: 0; cursor: pointer;
  font: 500 1.0625rem/1 var(--body); color: var(--fg); margin-left: auto;
  transition: transform 140ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.97); }
.menu-btn .bars { position: relative; width: 20px; height: 12px; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; /* taste-skill-ignore: icono de menú */
  transition: transform 250ms var(--ease-out);
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 980px) { .menu-btn { display: none; } }
.top .wrap > .btn { margin-left: 0; }

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 18; background: rgba(59, 47, 41, 0.28);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 300ms ease, visibility 0s 300ms;
}
.sheet {
  position: fixed; inset: 0 0 auto 0; z-index: 19; background: var(--bg);
  padding-top: calc(84px + env(safe-area-inset-top, 0px)); padding-bottom: 32px;
  max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  /* Se despliega como una cortina: el recorte baja desde la cabecera */
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 380ms var(--ease-in-out), visibility 0s 380ms;
  box-shadow: 0 24px 48px -32px rgba(72, 67, 61, .35);
}
.menu-open .sheet { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 620ms var(--ease-drawer); }
.menu-open .sheet-backdrop { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 400ms ease; }
.menu-open .top { transform: none; background: var(--bg); }
.sheet .wrap { display: grid; gap: 28px; }
.sheet nav { display: grid; gap: 0; }

/* Cada opción sube desde su propia máscara, una tras otra */
.sheet nav a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-size: var(--t-head); line-height: 1.15; text-decoration: none; color: var(--fg);
  padding: 10px 4px; border-bottom: 1px solid var(--sage-soft);
  opacity: 0; transform: translateY(60%); clip-path: inset(0 0 100% 0);
  transition: opacity 200ms ease, transform 200ms var(--ease-out), clip-path 200ms var(--ease-out), color 200ms ease, background-color 200ms ease, padding 300ms var(--ease-out);
}
.menu-open .sheet nav a {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0);
  transition: opacity 500ms ease, transform 700ms var(--ease-out), clip-path 700ms var(--ease-out), color 200ms ease, background-color 200ms ease, padding 300ms var(--ease-out);
  transition-delay: calc(160ms + var(--i, 0) * 55ms), calc(160ms + var(--i, 0) * 55ms), calc(160ms + var(--i, 0) * 55ms), 0s, 0s, 0s;
}
/* Flecha que aparece al iluminar la opción */
.sheet nav a::after {
  content: "→"; font-family: var(--body); font-size: 1.25rem; color: var(--gold);
  opacity: 0; transform: translateX(-10px); transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
/* Línea dorada que se dibuja bajo la opción iluminada */
.sheet nav a::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center; transition: transform 400ms var(--ease-out);
}
.sheet nav a[aria-current="page"] { color: var(--gold); }
.sheet nav a[aria-current="page"]::before { transform: scaleX(1); }

/* Iluminar: con el mouse, con el teclado y al tocar en el celular */
.sheet nav a:focus-visible, .sheet nav a:active, .sheet nav a.is-picked { color: var(--gold); background: var(--surface); padding-left: 14px; }
.sheet nav a:focus-visible::after, .sheet nav a:active::after, .sheet nav a.is-picked::after { opacity: 1; transform: none; }
.sheet nav a:focus-visible::before, .sheet nav a:active::before, .sheet nav a.is-picked::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .sheet nav:hover a { color: var(--muted); }
  .sheet nav a:hover { color: var(--gold); background: var(--surface); padding-left: 14px; }
  .sheet nav a:hover::after { opacity: 1; transform: none; }
  .sheet nav a:hover::before { transform: scaleX(1); }
}

/* Los botones de consultar entran al final */
.sheet .actions { opacity: 0; transform: translateY(12px); transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.menu-open .sheet .actions { opacity: 1; transform: none; transition: opacity 500ms ease 520ms, transform 700ms var(--ease-out) 520ms; }

/* Botón de menú: la etiqueta cambia a "Cerrar" y las rayas giran a una X */
.menu-btn .label { display: inline-block; transition: opacity 200ms ease, transform 250ms var(--ease-out); }
.menu-btn.is-swapping .label { opacity: 0; transform: translateY(-6px); }
@media (hover: hover) and (pointer: fine) { .menu-btn:hover { color: var(--gold); } }

/* Menú de computadora: la raya dorada sigue al mouse y la opción se ilumina */
@media (hover: hover) and (pointer: fine) {
  .nav:hover a { color: var(--muted); }
  .nav a:hover { color: var(--fg); }
}

@media (prefers-reduced-motion: reduce) {
  .sheet, .menu-open .sheet { clip-path: none; opacity: 0; transition: opacity 200ms ease, visibility 0s 200ms; }
  .menu-open .sheet { opacity: 1; transition: opacity 200ms ease; }
  .sheet nav a, .menu-open .sheet nav a { transform: none; clip-path: none; transition: opacity 200ms ease, color 200ms ease; transition-delay: 0s; }
  .sheet .actions, .menu-open .sheet .actions { transform: none; transition: opacity 200ms ease; }
}
@media (min-width: 980px) { .sheet, .sheet-backdrop { display: none; } }

/* Imágenes que se abren al entrar en pantalla (clip-path, una sola vez) */
.js .clip { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-in-out); }
.js .clip.in { clip-path: inset(0 0 0 0); }
.js .clip img { transform: scale(1.12); transition: transform 1400ms var(--ease-out); }
.js .clip.in img { transform: scale(1); }
.hero-photo img { animation: none; }

/* Calculador: indicador que se desliza entre opciones y resultado con fundido */

/* Preguntas: abren y cierran suave */
.faq details { overflow: hidden; }
.faq summary::after { transition: transform 250ms var(--ease-out); }

/* Botón de WhatsApp: aparece cuando ya pasaron la portada */
.js .wa-float { opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none;
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.js .wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) { .js .wa-float.show:hover { transform: scale(1.06); } }
.js .wa-float.show:active { transform: scale(0.94); }

/* Formulario: estado de envío */
.form-card button[type="submit"] { width: 100%; }
.form-card button[type="submit"][disabled] { opacity: 0.7; cursor: progress; }
.thanks { animation: rise 500ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Movimiento reducido: menos y más suave, no cero. Sin desplazamientos, se mantienen los fundidos. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv.in, .js .step.rv.in:nth-child(even), .js .gallery img.rv.in:nth-child(odd) { transform: none; transition: opacity 300ms ease; }
  .js .clip, .js .clip.in { clip-path: none; transition: none; }
  .js .clip img { transform: none; transition: none; }
  .top, .top.is-hidden { transform: none; transition: background-color 200ms ease; }
  .js .wa-float, .js .wa-float.show { transform: none; }
  .thanks { animation: none; }
  .btn:active,.chips label:active,.wa-float:active { transform: none; }
}

/* Cabecera en pantallas angostas: marca, menú y botón entran en una línea */
@media (max-width: 979px) { .top .wrap { gap: 4px; } }
@media (max-width: 440px) {
  .brand { font-size: 1.3125rem; }
  .top .btn { padding: 10px 14px; font-size: 1rem; }
  .menu-btn { padding: 10px 10px; }
  .menu-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* taste-skill-ignore: texto solo para lectores de pantalla */
}
.author-box { background: var(--surface); padding: 22px 24px; margin-top: 12px; }
.author-box p { font-size: 1rem; }
.close .lead + .lead { margin-top: -8px; } .close .stack { max-width: 52rem; margin-inline: auto; }
.statement { font-family: var(--display); font-style: italic; font-size: var(--t-sub); line-height: 1.3; color: var(--gold); max-width: 30em; margin-inline: auto; }
@media (max-width: 899px) {
  .close { text-align: left; }
  .close .stack { justify-items: start; }
  .close .actions { justify-content: flex-start; }
  .statement { margin-inline: 0; }
}

/* Entrega: línea de tiempo de adelantos */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl { background: var(--night-2); padding: 28px 24px; display: grid; gap: 10px; align-content: start; }
.tl .when { font-size: var(--t-small); color: var(--sage-ink); font-weight: 500; }
.tl .tag { justify-self: start; font-size: var(--t-small); font-weight: 500; color: var(--gold); background: var(--bg); padding: 4px 10px; margin-top: 4px; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); } .tl { padding: 32px 26px 36px; } }

/* Videollamada */
.vc { display: grid; gap: 40px; }
.vc-card { background: var(--surface); padding: 32px 26px; display: grid; gap: 18px; justify-items: start; align-content: start; }
.vc-points { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 500; color: var(--sage-ink); }
@media (min-width: 900px) { .vc { grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; } .vc-card { padding: 40px; } }

/* Preboda */
.pb-grid { display: grid; gap: 40px; }
.pb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pb-list li { padding-left: 26px; position: relative; }
.pb-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 10px; border-radius: 50%; background: var(--sage-ink); }
.pb-list strong { font-weight: 500; }
.pb-gift { color: var(--gold); font-weight: 500; max-width: 34em; }
.pb-video { margin: 0; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--frame); }
.pb-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pb-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--frame); }
@media (min-width: 900px) {
  .pb-grid { grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
  .pb-photos { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (min-width: 980px) and (max-width: 1180px) { .nav { gap: 18px; font-size: 1rem; } }


/* Paleta nupcial: botones y acentos suaves */
.btn--primary { background: var(--btn); color: var(--btn-ink); }
.btn--wa { background: var(--surface); color: var(--btn-ink); }
.band--tint .btn--wa, .band--dark .btn--wa { background: var(--bg); color: var(--btn-ink); }
.btn--ghost { background: var(--surface); color: var(--fg); }
.band--tint .btn--ghost, .band--dark .btn--ghost { background: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--sage-mid); color: var(--btn-ink); }
  .btn--wa:hover, .band--tint .btn--wa:hover, .band--dark .btn--wa:hover { background: var(--sage-soft); color: var(--btn-ink); }
  .btn--ghost:hover { background: var(--sage-soft); }
  .prose a.btn--primary:hover, .prose a.btn--wa:hover { color: var(--btn-ink); }
}
.prose a.btn--primary, .prose a.btn--wa { color: var(--btn-ink); }
.wa-float { background: #FFFFFF; color: var(--gold); border: 1px solid var(--sage-mid); }
.step, .tl { background: var(--surface); }
.band--dark .tl { background: var(--bg); }
.tl .tag { background: var(--sage-soft); color: var(--btn-ink); }
.statement { color: var(--sage-ink); }
.checks li::before, .pb-list li::before { background: #D6C4A6; }
.top.is-scrolled { background: var(--bg); box-shadow: 0 1px 0 var(--frame); } /* taste-skill-ignore: separación de la cabecera fija */
.foot { background: var(--surface); }
.sheet-backdrop { background: rgba(72, 67, 61, 0.14); }

/* Película que se reproduce dentro de la página */
.wedding .ph iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.wedding--feature.playing .play { opacity: 0; pointer-events: none; }
.wedding--feature.playing { cursor: default; }
.opt { color: var(--muted); font-weight: 300; }

/* Contactos del pie: Rafael y Ricardo */
.foot .contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.foot .contacts li { display: grid; gap: 4px; }
.foot .contacts span { color: var(--fg); }
.foot .contacts a { color: var(--gold); min-height: 44px; display: inline-flex; align-items: center; width: fit-content; }
@media (min-width: 700px) { .foot .contacts { grid-template-columns: repeat(2, max-content); gap: 16px 56px; } }

/* Detalles del navegador con la paleta: selección, cursor, casillas */
::selection { background: var(--sage-mid); color: var(--fg); }
input, textarea { caret-color: var(--gold); }
input[type="checkbox"], input[type="radio"], input[type="date"] { accent-color: var(--gold); }

/* Áreas táctiles cómodas en celular (mínimo 44 px) */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.foot nav a, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.foot nav { gap: 0 28px; }
.post-card h2 { font-size: var(--t-sub); line-height: 1.15; font-weight: 500; }

/* Tablas que en celular se leen como fichas */
@media (max-width: 640px) {
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 18px 16px; margin-bottom: 8px; background: var(--surface); }
  table.stack td { padding: 2px 0; border: 0; }
  table.stack td::before { content: attr(data-label) ": "; color: var(--muted); }
  table.stack td:first-child { font-family: var(--display); font-size: var(--t-sub); line-height: 1.2; padding-bottom: 6px; }
  table.stack td:first-child::before { content: none; }
}

/* ===== Movimiento con GSAP (js/motion.js) ===== */
.count { font-variant-numeric: tabular-nums; }
h1.is-split { text-wrap: wrap; }

/* Línea de entregas que se dibuja con el scroll */
.timeline.is-drawn { position: relative; padding-left: 30px; }
.timeline.is-drawn::before, .timeline.is-drawn::after {
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--sage-mid);
}
.timeline.is-drawn::after { background: var(--gold); transform: scaleY(var(--p, 0)); transform-origin: top; }
.timeline.is-drawn .tl { position: relative; opacity: 0.5; transition: opacity 600ms var(--ease-out); }
.timeline.is-drawn .tl.is-on { opacity: 1; }
.timeline.is-drawn .tl::before {
  content: ""; position: absolute; left: -27px; top: 32px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 2px var(--sage-mid); /* taste-skill-ignore: punto de la línea de tiempo */
  transition: background-color 400ms ease, box-shadow 400ms ease, transform 500ms var(--ease-out);
}
.timeline.is-drawn .tl.is-on::before { background: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); transform: scale(1.15); }
@media (min-width: 900px) {
  .timeline.is-drawn { padding-left: 0; padding-top: 30px; }
  .timeline.is-drawn::before, .timeline.is-drawn::after { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 2px; }
  .timeline.is-drawn::after { transform: scaleX(var(--p, 0)); transform-origin: left; }
  .timeline.is-drawn .tl::before { left: 26px; top: -27px; }
}

/* Bodas reales: carrusel deslizable en el celular */
.swipe-ind { margin: 0; font-size: var(--t-small); color: var(--muted); }
@media (max-width: 639px) {
  .weddings {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter);
    scrollbar-width: none;
  }
  .weddings::-webkit-scrollbar { display: none; }
  .weddings .wedding { scroll-snap-align: start; }
}
@media (min-width: 640px) { .swipe-ind { display: none; } }

/* Logo: firma de Click */
.brand img { display: block; height: 56px; width: auto; }
@media (min-width: 900px) { .brand img { height: 64px; } }
.foot .bigname img { display: block; height: clamp(100px, 16vw, 156px); width: auto; }

/* Firma animada del cierre */
.sig-wrap { width: min(250px, 52vw); color: var(--fg); margin-bottom: 4px; }
.sig { display: block; width: 100%; height: auto; overflow: visible; }

/* Título principal en dos tiempos: la pregunta y la promesa */
h1 .h1-sub { display: block; margin-top: 0.3em; font-size: 0.5em; font-style: italic; line-height: 1.15; letter-spacing: -0.01em; color: var(--gold); }
/* Las máscaras del título dejan respirar los signos y letras que bajan de la línea (¿, j, g) */
h1 .ln-mask { padding-block: 0.08em 0.16em; margin-block: -0.08em -0.16em; }

/* Preboda con fotos reales: video de YouTube que se reproduce en la página y tira de fotos */
.pb-video { display: block; position: relative; aspect-ratio: 16 / 9; text-decoration: none; cursor: pointer; }
.pb-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.pb-video.playing .play { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .pb-video:hover .play { transform: scale(1.08); } }
.pb-photos img { aspect-ratio: auto; height: auto; }
@media (max-width: 899px) {
  .pb-photos {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .pb-photos::-webkit-scrollbar { display: none; }
  .pb-photos img { flex: 0 0 auto; width: auto; height: 340px; scroll-snap-align: start; }
}
@media (min-width: 900px) {
  .pb-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .pb-photos img { width: 100%; height: auto; object-fit: cover; }
  .pb-photos .v { grid-column: span 2; aspect-ratio: 2 / 3; order: 0; }
  .pb-photos .h { grid-column: span 3; aspect-ratio: 3 / 2; order: 1; }
}

/* Retrato de novia: grilla en computadora, tira deslizable en celular */
.rn-item { padding: 0; margin: 0; border: 0; background: var(--frame); cursor: zoom-in; overflow: hidden; display: block; aspect-ratio: 2 / 3; }
.rn-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rn-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .rn-item img { transition: transform 700ms var(--ease-out); }
  .rn-item:hover img { transform: scale(1.04); }
}
@media (max-width: 899px) {
  .rn-grid {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .rn-grid::-webkit-scrollbar { display: none; }
  .rn-item { flex: 0 0 auto; height: 400px; width: auto; scroll-snap-align: start; }
  .rn-wide { aspect-ratio: 3 / 2; }
}
@media (min-width: 900px) {
  .rn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .rn-wide { grid-column: span 2; aspect-ratio: auto; }
}

/* Visor en grande */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--surface); color: var(--fg); overflow: hidden; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { animation: lb-in 260ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; padding: 64px 16px 72px; }
.lb-slide img { max-width: 100%; max-height: calc(100vh - 136px); max-height: calc(100dvh - 136px); width: auto; height: auto; object-fit: contain; }
.lb-close, .lb-nav { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: var(--bg); color: var(--fg); border-radius: 50%; cursor: pointer; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-close { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
.lb-nav { top: 50%; transform: translateY(-50%); display: none; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
@media (hover: hover) and (pointer: fine) { .lb-nav { display: grid; } .lb-close:hover, .lb-nav:hover { background: var(--btn); } }
.lb-count { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); margin: 0; text-align: center; font-size: var(--t-small); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } .rn-item img { transition: none; } }
/* Promesa: título y puntos alineados arriba, sin estirarse */
.promise-grid { align-items: start; }
.promise-item, .promise-grid .sec-head { align-content: start; }

/* Nuestra promesa: cada compromiso con título protagonista y un trazo a mano que se dibuja al leerlo */
.promise { gap: 44px; }
.promise-item { gap: 10px; max-width: 36rem; }
.promise-item h3 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; }
.promise-item p { color: var(--fg); }
.pm-line { display: block; width: min(220px, 64%); height: 12px; overflow: visible; margin-bottom: 4px; }
.pm-line path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (min-width: 900px) {
  .promise { grid-template-columns: 1fr; gap: 56px; }
  .promise-grid .sec-head { position: sticky; top: 120px; }
}

/* Bodas reales con galería: la tarjeta invita a abrirla */
a.wedding.js-gallery { cursor: zoom-in; color: inherit; }
.wg-count { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; background: rgba(255, 255, 255, 0.92); color: var(--fg); font-size: var(--t-small); font-weight: 500; }
.js-gallery .meta span { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { a.wedding.js-gallery:hover img { transform: scale(1.04); } }
/* Video de una boda real dentro de su tarjeta */
.play--sm { width: 64px; height: 64px; }
.play--sm::after { left: 26px; top: 21px; border-left-width: 17px; border-top-width: 11px; border-bottom-width: 11px; }
a.wedding.js-film:not(.wedding--feature) { color: inherit; }
a.wedding.js-film.playing .play { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { a.wedding.js-film:hover .play { transform: scale(1.08); } }

/* Portada: fotos que se van fundiendo una en otra, con un zoom muy lento */
.hero-slides { position: relative; }
.hero-slides .hs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1600ms ease; }
.hero-slides .hs.is-on { opacity: 1; z-index: 1; }
.js .hero-slides.in .hs.is-on { animation: hs-zoom 7s linear both; }
@keyframes hs-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hs-dots { position: absolute; z-index: 2; left: 8px; bottom: 6px; display: flex; }
.hs-dot { width: 40px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hs-dot::before { content: ""; display: block; height: 2px; width: 28px; margin: 0 auto; background: rgba(255, 255, 255, 0.55); transition: background-color 300ms ease, width 300ms var(--ease-out); }
.hs-dot.is-on::before { background: #fff; width: 32px; }
.hs-dot:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
@media (prefers-reduced-motion: reduce) { .hero-slides .hs { transition: none; } .js .hero-slides.in .hs.is-on { animation: none; } }

/* Invitación a seguir viendo bodas en redes */
.more-social { margin: 0; color: var(--muted); }
.more-social a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { .more-social a:hover { color: var(--fg); } }

/* ---------- Varias páginas: cabecera de página, adelanto de preboda y enlaces para seguir explorando ---------- */
.page-head { padding-block: 32px 24px; }
.page-head h1 { max-width: 14ch; }
.page-head .lead { max-width: 40rem; }
.page-head + .band { padding-block-start: 64px; }
.nav a[aria-current="page"] { color: var(--fg); }
.pbt { display: grid; gap: 48px; align-items: center; }
.pbt-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pbt-photos { align-items: start; }
.pbt-photos img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; align-self: start; }
.pbt-photos img:nth-child(2) { transform: translateY(32px); }
@media (min-width: 900px) { .pbt { grid-template-columns: 5fr 6fr; gap: 72px; } }
.explore { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sage-mid); }
.explore li { border-bottom: 1px solid var(--sage-mid); }
.explore a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding-block: 28px; text-decoration: none; color: var(--fg); }
.explore .ex-t { font-family: var(--display); font-size: var(--t-sub); line-height: 1.15; }
.explore .ex-d { grid-column: 1; color: var(--muted); max-width: 44rem; }
.explore .arw { grid-row: 1 / span 2; grid-column: 2; font-size: 1.25rem; color: var(--gold); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.explore a:hover .arw, .explore a:focus-visible .arw { transform: translateX(6px); }
@media (min-width: 900px) { .explore a { grid-template-columns: 18rem 1fr auto; } .explore .ex-d { grid-column: 2; } .explore .arw { grid-row: 1; grid-column: 3; } }

/* ---------- Botones con más vida ----------
   Presión: se hunden un poco (140ms). En computadora: se elevan, proyectan una sombra cálida,
   un brillo de champán los cruza y siguen levemente al cursor (se mueve con "translate", así no
   pelea con el "transform" de la presión). Todo con curvas ease-out y sin animar tamaños. */
.btn { position: relative; overflow: hidden; isolation: isolate;
  transition: transform 160ms var(--ease-out), translate 300ms var(--ease-out), box-shadow 240ms ease, background-color 200ms ease, color 200ms ease; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, .15) 56%, transparent 70%);
  transform: translateX(-120%);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(122, 100, 70, .55); }
  .btn:hover::after { transform: translateX(120%); transition: transform 750ms var(--ease-out); }
  .btn:hover:active { transform: translateY(0) scale(0.97); box-shadow: 0 4px 10px -8px rgba(122, 100, 70, .5); }
}
/* El botón de la cabecera brilla solo una vez al llegar y otra vez a mitad de la lectura,
   para recordar que la consulta está siempre a mano */
.btn.shine::after { animation: shine 1100ms var(--ease-out) 1; }
@keyframes shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

/* WhatsApp: tres ondas suaves al aparecer, después queda quieto */
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(122, 100, 70, .45);
}
.js .wa-float.show::before { animation: wa-ring 2200ms var(--ease-out) 1800ms 3; }
@keyframes wa-ring { from { box-shadow: 0 0 0 0 rgba(122, 100, 70, .45); } to { box-shadow: 0 0 0 18px rgba(122, 100, 70, 0); } }

/* Títulos de sección que entran línea por línea desde su máscara (lo arma motion.js) */
h2.is-split { text-wrap: wrap; }
h2 .ln-mask { padding-block: 0.1em 0.18em; margin-block: -0.1em -0.18em; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:hover:active { transform: none; translate: none; }
  .btn::after, .btn:hover::after, .btn.shine::after { animation: none; transition: none; transform: translateX(-120%); }
  .js .wa-float.show::before { animation: none; }
}

/* Invitación a ver las historias de amor, al final de los retratos de novia */
.rn-more { display: grid; justify-items: center; gap: 22px; text-align: center; padding-top: 24px; }
.rn-more-t { font-family: var(--display); font-style: italic; font-size: var(--t-sub); line-height: 1.25; color: var(--gold); max-width: 28ch; margin: 0; text-wrap: balance; }
.rn-more .actions { justify-content: center; }
.btn--story {
  min-height: 64px; padding: 18px 44px; gap: 14px;
  font-family: var(--display); font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 500; letter-spacing: 0;
  background: var(--gold); color: #fff;
  box-shadow: 0 18px 36px -22px rgba(122, 100, 70, .8);
}
.btn--story .arw { font-family: var(--body); font-size: 1.125rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--story:hover { background: var(--fg); color: #fff; box-shadow: 0 22px 40px -20px rgba(72, 67, 61, .7); }
}
@media (max-width: 559px) { .btn--story { width: 100%; padding-inline: 24px; } }

/* "WEDDINGS" bajo la firma animada del cierre: aparece desenfocado y se aclara */
.sig-sub { display: block; width: 68%; height: auto; margin: 2px auto 0; color: var(--fg); overflow: visible; }

/* Un recuerdo que se puede tocar: una sola columna, sin foto */
.recuerdo .stack { max-width: 52rem; }
.recuerdo .gets { margin-top: 12px; }
.recuerdo .get { border-top: 1px solid var(--sage-mid); padding-top: 18px; }
@media (min-width: 900px) {
  .recuerdo .stack { max-width: none; grid-template-columns: 6fr 5fr; column-gap: 80px; align-items: center; }
  .recuerdo .stack > h2, .recuerdo .stack > .lead { grid-column: 1; }
  .recuerdo .gets { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .recuerdo .get:last-child { border-bottom: 1px solid var(--sage-mid); padding-bottom: 18px; }
  .recuerdo .get { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Foto principal bajo el título de una página (Historias de amor) */
.head-photo { margin: 16px 0 0; overflow: hidden; border-radius: 4px; background: var(--frame); }
.head-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1003; object-fit: cover; }
@media (max-width: 599px) { .head-photo img { aspect-ratio: 4 / 3; object-position: 45% 50%; } }

/* Detalle del anillo: foto de borde a borde entre el cierre y el pie de página */
.end-photo { margin: 0; overflow: hidden; background: var(--frame); }
.end-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2400 / 1202; max-height: 88vh; object-fit: cover; object-position: 55% 50%; }
@media (max-width: 599px) { .end-photo img { aspect-ratio: 4 / 5; object-position: 52% 50%; } }

/* Línea de palabra clave sobre el título principal: "Fotógrafos y videógrafos de bodas en Tarija" */
h1 .h1-kicker { display: block; margin-bottom: 0.9rem; font-family: var(--body); font-style: normal; font-weight: 500; font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 900px) { h1 .h1-kicker { font-size: 0.875rem; margin-bottom: 1.1rem; } }
.page-head h1 { max-width: 18ch; }
.page-head h1 .h1-sub { max-width: 34ch; }
h1 .h1-main { display: block; }
h1 .h1-main .ln-mask { padding-block: 0.08em 0.16em; margin-block: -0.08em -0.16em; }
.err-code { display: block; margin-top: 6px; font-size: 0.75rem; opacity: 0.6; }

/* =====================================================================
   PORTADA A PANTALLA COMPLETA + CABECERA DE VIDRIO (estilo Apple)
   ===================================================================== */
.hero--full { position: relative; min-height: 100vh; min-height: 100svh; padding: 0; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #2b2723; }
.hero--full .hero-bg { position: absolute; inset: 0; margin: 0; }
.hero--full .hero-bg .hs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(20, 16, 12, .45) 0%, rgba(20, 16, 12, 0) 26%),
    linear-gradient(to top, rgba(20, 16, 12, .72) 0%, rgba(20, 16, 12, .25) 42%, rgba(20, 16, 12, 0) 65%); }
.hero-copy { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(88px, 13vh, 132px); display: grid; gap: 26px; }
.hero--full h1 { max-width: 23ch; color: #fff; font-size: clamp(2.35rem, 5.4vw, 4.6rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero--full h1 .h1-kicker { color: rgba(255, 255, 255, .9); letter-spacing: .2em; }
.hero--full h1 .h1-sub { color: rgba(255, 255, 255, .88); }
.hero--full .actions { gap: 12px; }
.btn--light { background: #fff; color: var(--btn-ink); }
.btn--glass {
  color: #fff; background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .28);
}
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: var(--btn); color: var(--btn-ink); }
  .btn--glass:hover { background: rgba(255, 255, 255, .26); color: #fff; }
}
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 58px; transform: translateX(-50%); display: flex; }
.hero-down { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: #fff; opacity: .85; }
.hero-down svg { width: 34px; height: 17px; animation: hero-bob 2.6s var(--ease-in-out) infinite; }
@keyframes hero-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 599px) {
  .hero-copy { padding-bottom: 104px; gap: 20px; }
  .hero--full .actions { flex-direction: column; align-items: stretch; }
  .hero--full .actions .btn { width: 100%; }
  .hero-dots { bottom: 52px; }
}

/* --- Cabecera sobre la portada: logo blanco al centro y menú de vidrio debajo --- */
.top--hero { position: fixed; inset: 0 0 auto 0; top: env(safe-area-inset-top, 0px); }
html:not(.menu-open) .top--hero:not(.is-past) { background: transparent; box-shadow: none; }
html:not(.menu-open) .top--hero:not(.is-past) .brand img { filter: brightness(0) invert(1); }
html:not(.menu-open) .top--hero:not(.is-past) .menu-btn {
  color: #fff; border-radius: 999px; background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .28);
}
@media (max-width: 979px) {
  html:not(.menu-open) .top--hero:not(.is-past) .wrap { justify-content: center; position: relative; min-height: 76px; }
  html:not(.menu-open) .top--hero:not(.is-past) .menu-btn { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
  html:not(.menu-open) .top--hero:not(.is-past) .menu-btn .label { display: none; }
  html:not(.menu-open) .top--hero:not(.is-past) > .wrap > .btn--primary { display: none; }
}
@media (min-width: 980px) {
  html:not(.menu-open) .top--hero:not(.is-past) .wrap { flex-wrap: wrap; justify-content: center; gap: 18px 10px; padding-top: 22px; }
  html:not(.menu-open) .top--hero:not(.is-past) .brand { flex-basis: 100%; justify-content: center; }
  html:not(.menu-open) .top--hero:not(.is-past) .brand img { height: 84px; }
  html:not(.menu-open) .top--hero:not(.is-past) .nav {
    padding: 4px 22px; border-radius: 999px; gap: 30px;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 30px -18px rgba(0, 0, 0, .5);
  }
  html:not(.menu-open) .top--hero:not(.is-past) .nav a { color: rgba(255, 255, 255, .9); font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }
  html:not(.menu-open) .top--hero:not(.is-past) .nav:hover a { color: rgba(255, 255, 255, .6); }
  html:not(.menu-open) .top--hero:not(.is-past) .nav a:hover { color: #fff; }
  html:not(.menu-open) .top--hero:not(.is-past) .nav-ind { background: #fff; bottom: 8px; }
  html:not(.menu-open) .top--hero:not(.is-past) > .wrap > .btn--primary {
    border-radius: 999px; min-height: 52px; color: #fff; background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .25);
  }
}
/* Al bajar de la portada: vidrio claro con letras oscuras */
.top--hero.is-past {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(72, 67, 61, .08);
}
.top--hero { transition: background-color 300ms ease, box-shadow 300ms ease; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top--hero.is-past { background: rgba(255, 255, 255, .96); }
  .btn--glass, html:not(.menu-open) .top--hero:not(.is-past) .nav, html:not(.menu-open) .top--hero:not(.is-past) .menu-btn { background: rgba(30, 26, 22, .45); }
}
@media (prefers-reduced-transparency: reduce) {
  .top--hero.is-past { background: #fff; backdrop-filter: none; }
  .btn--glass, html:not(.menu-open) .top--hero:not(.is-past) .nav { background: rgba(30, 26, 22, .6); backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-down svg { animation: none; } }
.hero--full h1 .h1-sub { max-width: 46ch; }

/* ---- Ajuste: nada de vidrio fijo sobre las fotos. Solo letras; el vidrio aparece al pasar el mouse ---- */
.hero-shade {
  background:
    linear-gradient(to bottom, rgba(20, 16, 12, .58) 0%, rgba(20, 16, 12, .22) 16%, rgba(20, 16, 12, 0) 30%),
    linear-gradient(to top, rgba(20, 16, 12, .72) 0%, rgba(20, 16, 12, .25) 42%, rgba(20, 16, 12, 0) 65%);
}
.btn--glass, .btn--glass:hover { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
@media (hover: hover) and (pointer: fine) {
  .btn--glass:hover {
    background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .45);
  }
}
html:not(.menu-open) .top--hero:not(.is-past) .menu-btn { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35)); }
html:not(.menu-open) .top--hero:not(.is-past) .brand img { filter: brightness(0) invert(1) drop-shadow(0 1px 10px rgba(0, 0, 0, .25)); }
@media (min-width: 980px) {
  html:not(.menu-open) .top--hero:not(.is-past) .wrap { padding-top: 14px; gap: 6px 4px; }
  html:not(.menu-open) .top--hero:not(.is-past) .brand img { height: 72px; }
  html:not(.menu-open) .top--hero:not(.is-past) .nav {
    background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 0; gap: 6px;
  }
  html:not(.menu-open) .top--hero:not(.is-past) .nav-ind { display: none; }
  html:not(.menu-open) .top--hero:not(.is-past) .nav a {
    padding: 0 16px; border-radius: 999px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
    transition: background-color 250ms ease, box-shadow 250ms ease, color 200ms ease;
  }
  html:not(.menu-open) .top--hero:not(.is-past) .nav:hover a { color: rgba(255, 255, 255, .75); }
  html:not(.menu-open) .top--hero:not(.is-past) .nav a:hover,
  html:not(.menu-open) .top--hero:not(.is-past) .nav a:focus-visible {
    color: #fff; background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .3);
  }
  html:not(.menu-open) .top--hero:not(.is-past) > .wrap > .btn--primary {
    min-height: 44px; margin-left: 10px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75); text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
  }
  html:not(.menu-open) .top--hero:not(.is-past) > .wrap > .btn--primary:hover {
    background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .5);
  }
}
/* Portada con muchas fotos: rayitas más cortas y cambio de foto un poco más ágil */
.hero-dots .hs-dot { width: 22px; }
.hero-dots .hs-dot::before { width: 12px; }
.hero-dots .hs-dot.is-on::before { width: 20px; }
.hero--full .hero-bg .hs { transition: opacity 1200ms ease; }

/* ---- Blog: las fotos respetan su proporción en cualquier pantalla ----
   (el alto que viene en el HTML se ignora; manda la proporción) */
.post-card img { height: auto; aspect-ratio: 16 / 10; }
.article-fig { aspect-ratio: 16 / 9; }
.article-fig img { height: 100%; }
.blog-hero { margin-inline: 0; max-width: none; aspect-ratio: 21 / 9; }
.blog-hero img { object-position: 50% 40%; }
@media (max-width: 699px) { .blog-hero { aspect-ratio: 4 / 3; } }
.pair img { height: auto; aspect-ratio: 4 / 5; }
.pair--wide { grid-template-columns: 1fr; gap: 12px; }
.pair--wide img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .pair--wide { grid-template-columns: 1fr 1fr; width: min(980px, calc(100vw - 64px)); margin-inline: calc((100% - min(980px, calc(100vw - 64px))) / 2); }
  .pair--wide img { aspect-ratio: 4 / 3; }
}
.end-photo img { aspect-ratio: 2560 / 1654; object-position: 50% 55%; }
@media (max-width: 599px) { .end-photo img { aspect-ratio: 4 / 5; object-position: 45% 55%; } }

/* Fotos dentro de los artículos (guía de iglesias) */
.ig-fig { margin: 12px 0; overflow: hidden; background: var(--frame); }
.ig-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ig-fig--tall { max-width: 520px; margin-inline: auto; }
.ig-fig--tall img { aspect-ratio: 2 / 3; }
