/* Tipografías alojadas en /assets/fonts (Cormorant Garamond, Imbue, Pinyon Script · SIL OFL) */
/* cormorant latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-italic-300-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* cormorant latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-italic-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cormorant latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-normal-300-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* cormorant latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-normal-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* imbue latin-ext */
@font-face {
  font-family: 'Imbue';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/imbue-normal-100-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* imbue latin */
@font-face {
  font-family: 'Imbue';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/imbue-normal-100-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* pinyon latin-ext */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pinyon-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* pinyon latin */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pinyon-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═════════ Lea & Xavier · Save the date ═════════ */
:root {
  --paper: #f8f4ec;
  --paper-2: #eeeee5;
  --card: #fcfaf5;
  --ink: #2b2a26;
  --ink-2: #55524a;
  --ink-3: #8a8477;
  --wine: #6e2f3a;
  --wine-2: #56222b;
  --line: rgba(43, 42, 38, .13);
  --ink-soft: var(--ink-2); /* lo usa 404.html */

  --f-serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --f-script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --f-sans: 'Avenir Next', Avenir, 'Helvetica Neue', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --header: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(110, 47, 58, .16); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i18n-pending .site-header, .i18n-pending main, .i18n-pending .site-footer { visibility: hidden; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.label { font-family: var(--f-sans); font-size: 11.5px; font-weight: 600; line-height: 1.4; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); }

/* ───────── Botones y enlaces ───────── */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease), color .35s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn__chev { width: 14px; height: 14px; flex: none; margin: 0 -6px 0 -2px; transition: transform .5s var(--ease); }
.btn__out { width: 13px; height: 13px; flex: none; transition: transform .4s var(--ease); }
.btn--primary { background: var(--wine); color: #fbf6ef; box-shadow: 0 1px 2px rgba(60, 20, 28, .18), 0 14px 28px -16px rgba(110, 47, 58, .8); }
.btn--primary:hover { background: var(--wine-2); box-shadow: 0 1px 2px rgba(60, 20, 28, .2), 0 20px 36px -18px rgba(110, 47, 58, .9); }
.btn--ghost { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1px rgba(110, 47, 58, .3); }
.btn--ghost:hover { background: rgba(110, 47, 58, .05); box-shadow: inset 0 0 0 1px rgba(110, 47, 58, .75); }
.btn--ghost:hover .btn__out { transform: translate(2px, -2px); }
.btn--small { --h: 42px; gap: 9px; padding: 0 18px; font-size: 11px; }
.btn--small .btn__icon { width: 16px; height: 16px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.link span { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover span { background-size: 35% 1px; }
.link svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.link:hover svg { transform: translateY(3px); }

/* «Guardar la fecha»: menú con los calendarios */
.cal { position: relative; display: inline-flex; }
.cal__menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 10px);
  left: 0;
  min-width: 256px;
  padding: 8px;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(43, 42, 38, .06), 0 30px 60px -28px rgba(43, 42, 38, .45);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transform-origin: 28px 0;
  transition: opacity .25s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.cal.is-open .cal__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .5s var(--ease); }
.cal.is-open .btn__chev { transform: rotate(180deg); }
.cal--end .cal__menu { left: auto; right: 0; transform-origin: calc(100% - 28px) 0; }
.cal--up .cal__menu { top: auto; bottom: calc(100% + 10px); transform: translateY(6px) scale(.97); transform-origin: 50% 100%; }
.cal--center .cal__menu { left: 50%; margin-left: -128px; }
.cal--up.is-open .cal__menu { transform: none; }
.cal--flip .cal__menu { top: auto; bottom: calc(100% + 10px); transform: translateY(6px) scale(.97); transform-origin: 50% 100%; }
.cal--up.cal--flip .cal__menu { top: calc(100% + 10px); bottom: auto; transform: translateY(-6px) scale(.97); transform-origin: 50% 0; }
.cal--flip.is-open .cal__menu { transform: none; }
.cal__title { padding: 10px 14px 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.cal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 11px 14px;
  border-radius: 12px;
  font-family: var(--f-serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .25s ease;
}
.cal__item svg { width: 14px; height: 14px; flex: none; color: var(--ink-3); transition: transform .4s var(--ease), color .25s ease; }
.cal__item:hover, .cal__item:focus-visible { background: var(--paper); outline: none; }
.cal__item:focus-visible { box-shadow: inset 0 0 0 1.5px var(--wine); }
.cal__item:hover svg, .cal__item:focus-visible svg { color: var(--wine); transform: translateX(2px); }

/* ───────── Cabecera ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header);
  padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-scrolled { background: rgba(248, 244, 236, .86); -webkit-backdrop-filter: saturate(1.3) blur(16px); backdrop-filter: saturate(1.3) blur(16px); box-shadow: 0 1px 0 var(--line); }
.brand { font-family: var(--f-serif); font-size: 27px; font-weight: 500; line-height: 1; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.brand span { margin: 0 .04em; font-style: italic; font-weight: 400; color: var(--wine); }
.site-header__end { display: flex; align-items: center; }
.langs { display: flex; }
.langs button {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  padding: 0 6px 0 calc(6px + .18em);
  border: 0;
  background: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .3s ease;
}
.langs button:hover { color: var(--ink); }
.langs button[aria-pressed='true'] { color: var(--wine); }
.langs button::after { content: ''; position: absolute; left: 50%; bottom: 7px; width: 14px; height: 1px; margin-left: -7px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease); }
.langs button[aria-pressed='true']::after { transform: scaleX(1); }
/* el acceso directo de la cabecera solo ocupa sitio cuando se muestra */
.no-js .header-cta { display: none; }
.header-cta { max-width: 300px; margin-left: clamp(8px, 1.6vw, 20px); transition: max-width .6s var(--ease), margin .6s var(--ease), opacity .45s var(--ease), transform .45s var(--ease), visibility 0s; }
.js .site-header:not(.has-cta) .header-cta { max-width: 0; margin-left: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: max-width .6s var(--ease), margin .6s var(--ease), opacity .3s ease, transform .45s var(--ease), visibility 0s .6s; }

/* ───────── Papel: textura de algodón en toda la página ───────── */
body { background: var(--paper) url('../img/fx/paper-grain.svg?v=c38f36e3') repeat; background-size: 260px; }

/* ───────── Portada: el paisaje es el escenario ───────── */
.hero {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header));
  padding: clamp(24px, 4vh, 48px) 0 clamp(64px, 12vh, 140px) max(var(--pad), calc((100% - var(--max)) / 2));
}
/* el color del cielo de la acuarela se derrama por el papel */
.hero__sky {
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--header)) 0 -30% 0;
  pointer-events: none;
  background:
    radial-gradient(34% 40% at 16% 24%, rgba(236, 189, 175, .26), transparent 70%),
    radial-gradient(42% 44% at 74% 18%, rgba(188, 184, 214, .24), transparent 72%),
    radial-gradient(56% 46% at 62% 92%, rgba(172, 186, 148, .20), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero__art {
  position: absolute;
  z-index: 0;
  right: -3vw;
  bottom: -11vh;
  width: min(80vw, 1240px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
}
.art { position: relative; width: 100%; aspect-ratio: 3 / 2; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 36%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 36%); }
.art__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.js .art__img.is-blooming {
  -webkit-mask-image: url('../img/fx/bloom.png');
  mask-image: url('../img/fx/bloom.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 52% 42%;
  mask-position: 52% 42%;
  -webkit-mask-size: var(--bloom, 0%) var(--bloom, 0%);
  mask-size: var(--bloom, 0%) var(--bloom, 0%);
}
.art__fx { position: absolute; inset: 0; pointer-events: none; }
.mist { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(250, 247, 241, .8), rgba(250, 247, 241, .36) 55%, rgba(250, 247, 241, 0)); opacity: 0; }
.mist--a { left: -12%; top: 47%; width: 50%; height: 11%; }
.mist--b { left: 62%; top: 50%; width: 48%; height: 10%; }
.mist--c { left: 12%; top: 57%; width: 30%; height: 7%; }
.birds { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.birds__flock { visibility: hidden; }
.bird path { fill: none; stroke: #5b6072; stroke-opacity: .7; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero__copy { position: relative; z-index: 2; width: min(100%, 540px); }
.hero__script { margin-left: -.04em; font-family: var(--f-script); font-size: clamp(36px, 3.4vw, 54px); line-height: 1.15; color: var(--wine); }
.hero__script span, .letter__sign span {
  display: inline-block;
  padding: 0 .3em 0 .05em;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 320% 100%;
  mask-size: 320% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: var(--write, 0%) 0;
  mask-position: var(--write, 0%) 0;
}
.hero__names { margin-top: .08em; font-family: var(--f-serif); font-size: clamp(64px, 9.4vw, 152px); font-weight: 300; line-height: .92; letter-spacing: -.025em; color: var(--ink); mix-blend-mode: multiply; }
.hero__names .mask { display: block; overflow: hidden; padding: 0 .12em .1em; margin: 0 -.12em -.1em; }
.hero__line { display: inline-block; }
.hero__names em { padding-right: .03em; font-style: italic; font-weight: 300; color: var(--wine); }
.hero__info { position: relative; margin-top: clamp(30px, 3.4vw, 46px); padding-top: clamp(22px, 2.4vw, 30px); }
.hero__info::before { content: ''; position: absolute; left: 0; top: 0; width: 56px; height: 1px; background: var(--wine); transform-origin: 0 50%; transform: scaleX(var(--rule, 1)); }
.hero__date { font-family: var(--f-serif); font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; line-height: 1.2; color: var(--ink); }
.hero__place { margin-top: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.hero__info, .hero__actions .link { text-shadow: 0 0 14px var(--paper), 0 0 4px var(--paper); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: clamp(30px, 3.6vw, 46px); }

/* antes de que arranque la animación de entrada, nada parpadea */
.motion-pending .site-header, .motion-pending [data-hero], .motion-pending .hero__line, .motion-pending .art__img, .motion-pending .hero__sky { opacity: 0; }

/* ───────── Mensaje ───────── */
.section { position: relative; padding: clamp(88px, 12vw, 176px) 0; }
.letter { z-index: 2; padding: clamp(96px, 13vw, 190px) 0 clamp(170px, 22vw, 320px); }
.letter__inner { max-width: 820px; text-align: center; }
.ornament { width: 76px; height: 34px; margin: 0 auto clamp(28px, 3vw, 40px); color: var(--wine); stroke-dasharray: 1; stroke-dashoffset: 0; }
.letter__lead { font-family: var(--f-serif); font-size: clamp(40px, 5vw, 76px); font-weight: 300; line-height: 1.06; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.letter__text { max-width: 34em; margin: clamp(26px, 2.8vw, 38px) auto 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.8; text-wrap: pretty; }
.countdown { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: clamp(38px, 4vw, 54px); font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); }
.countdown::before, .countdown::after { content: ''; width: clamp(32px, 6vw, 72px); height: 1px; background: rgba(110, 47, 58, .32); }
.countdown__num { margin: 0 .15em; font-family: var(--f-serif); font-size: 30px; font-weight: 400; font-style: italic; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; }
.countdown.is-today .countdown__num, .countdown.is-today .countdown__unit { display: none; }
.letter__note { max-width: 30em; margin: clamp(26px, 2.8vw, 34px) auto 0; font-family: var(--f-serif); font-size: clamp(19px, 1.6vw, 22px); font-style: italic; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }

/* ───────── El lugar: se entra en las montañas ───────── */
:root {
  --forest: #25312a;
  --v-ink: #f5f0e7;
  --v-soft: rgba(245, 240, 231, .7);
  --v-line: rgba(245, 240, 231, .15);
  --blush: #e4b9b2;
  --ridge-h: clamp(110px, 16vw, 260px);
}
.venue, .site-footer { position: relative; background: var(--forest); color: var(--v-soft); }
.venue { z-index: 1; padding: clamp(24px, 4vw, 56px) 0 clamp(96px, 11vw, 150px); }
/* grano claro sobre el verde (y sobre la cordillera) */
.venue::before, .site-footer::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: 0; background: url('../img/fx/paper-grain-light.svg?v=726e629d') repeat; background-size: 260px; pointer-events: none; }
.venue::before { top: calc(-1 * var(--ridge-h)); }
.ridges { position: absolute; left: 0; bottom: calc(100% - 1px); display: block; width: 100%; height: var(--ridge-h); overflow: hidden; }
.ridge--back { fill: url(#rg-back); }
.ridge--mid { fill: url(#rg-mid); }
.ridge--front { fill: var(--forest); }
.venue__mist { position: absolute; left: 0; right: 0; bottom: calc(100% + var(--ridge-h) * .2); height: calc(var(--ridge-h) * .55); pointer-events: none; }
.venue__mist span { position: absolute; top: 0; width: 60%; height: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(248, 244, 236, .55), rgba(248, 244, 236, 0)); opacity: .7; }
.venue__mist span:first-child { left: -10%; }
.venue__mist span:last-child { left: 48%; top: 22%; width: 56%; height: 80%; }
.venue__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.venue .label, .site-footer .label { color: var(--blush); }
.venue__name { margin-top: 18px; font-family: var(--f-serif); font-size: clamp(58px, 8.6vw, 140px); font-weight: 300; line-height: .92; letter-spacing: -.03em; color: var(--v-ink); }
.venue__place { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--v-soft); }
.venue__map { margin-top: clamp(30px, 3.4vw, 44px); }
.btn--light { background: transparent; color: var(--v-ink); box-shadow: inset 0 0 0 1px rgba(245, 240, 231, .38); }
.btn--light:hover { background: rgba(245, 240, 231, .08); box-shadow: inset 0 0 0 1px rgba(245, 240, 231, .8); }
.btn--light:hover .btn__out { transform: translate(2px, -2px); }
.venue :focus-visible, .site-footer :focus-visible { outline-color: var(--v-ink); }

.stay {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(100%, 940px);
  margin-top: clamp(64px, 7vw, 110px);
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid var(--v-line);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(245, 240, 231, .08), rgba(245, 240, 231, .02) 60%);
  text-align: left;
}
.stay__pct { margin-top: 14px; font-family: var(--f-serif); font-size: clamp(72px, 7vw, 108px); font-weight: 300; line-height: .85; letter-spacing: -.03em; color: var(--blush); font-variant-numeric: lining-nums tabular-nums; }
.stay__sign { margin-left: .04em; font-size: .5em; }
.stay__pct-text { margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blush); }
.stay__text { font-size: 17px; line-height: 1.75; color: rgba(245, 240, 231, .86); text-wrap: pretty; }
.stay__note { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--v-line); font-size: 14.5px; line-height: 1.65; color: var(--v-soft); text-wrap: pretty; }

/* ───────── Pie ───────── */
.site-footer { padding: 0 0 calc(clamp(64px, 8vw, 96px) + env(safe-area-inset-bottom)); text-align: center; }
.footer__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--v-line); }
.footer__seal { width: 66px; height: 66px; overflow: visible; transform: rotate(-8deg); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.footer__names { margin-top: 28px; font-family: var(--f-serif); font-size: clamp(42px, 4.6vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--v-ink); }
.footer__names em { font-weight: 300; color: var(--blush); }
.footer__date { margin-top: 18px; font-family: var(--f-serif); font-size: 22px; letter-spacing: .12em; color: var(--blush); font-variant-numeric: lining-nums; }
.footer__place { margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--v-soft); }
.site-footer .cal { margin-top: 36px; }

/* la cabecera se oscurece sobre las montañas */
.site-header.on-dark.is-scrolled { background: rgba(37, 49, 42, .84); box-shadow: 0 1px 0 rgba(245, 240, 231, .1); }
.site-header.on-dark .brand { color: var(--v-ink); }
.site-header.on-dark .brand span { color: var(--blush); }
.site-header.on-dark .langs button { color: rgba(245, 240, 231, .58); }
.site-header.on-dark .langs button:hover { color: var(--v-ink); }
.site-header.on-dark .langs button[aria-pressed='true'] { color: var(--blush); }
.brand, .langs button { transition: color .4s ease; }

/* ───────── Tableta y móvil ───────── */
@media (max-width: 860px) {
  :root { --header: 64px; }
  .brand { font-size: 24px; }
  .btn--small { padding: 0 14px; }
  .hero { flex-direction: column; align-items: center; min-height: 0; padding: 18px 0 72px; text-align: center; }
  .hero__copy { display: contents; }
  .hero__script { order: 1; padding: 0 var(--pad); }
  .hero__names { order: 2; padding: 0 var(--pad); font-size: clamp(46px, 13.6vw, 76px); line-height: 1; }
  .hero__names .mask { display: inline-block; }
  .hero__info { order: 3; position: relative; z-index: 2; padding: 20px var(--pad) 0; margin-top: 22px; }
  .hero__info::before { left: 50%; margin-left: -28px; transform-origin: 50% 50%; }
  .hero__place { font-size: 10.5px; }
  .hero__art { order: 4; position: relative; right: auto; bottom: auto; width: 124vw; margin: -12vw 0 -16vw; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 98%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 98%); }
  .art { -webkit-mask-image: none; mask-image: none; }
  .hero__actions { order: 5; position: relative; z-index: 2; flex-direction: column; gap: 8px; width: 100%; margin-top: 0; padding: 0 var(--pad); }
  .hero__actions .cal, .hero__actions .cal__toggle { width: min(100%, 340px); }
  .hero__actions .cal__menu { left: 50%; margin-left: -128px; }
  .stay { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 420px) {
  .langs button { min-width: 34px; padding: 0 4px 0 calc(4px + .18em); }
  .header-cta .btn__icon { display: none; }
}

/* ───────── Movimiento reducido ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mist, .birds, .venue__mist { display: none; }
  .btn, .link span, .link svg, .cal__menu, .btn__chev { transition: none; }
}

/* ───────── ?render=og → imagen para compartir el enlace (1200 × 630) ───────── */
.is-render .site-header, .is-render main > section:not(.hero), .is-render .site-footer, .is-render .hero__actions { display: none !important; }
.is-render-og, .is-render-og body { overflow: hidden; }
/* composición centrada y sin textos de idioma: funciona también si WhatsApp la recorta en cuadrado */
.is-render-og .hero { flex-direction: column; justify-content: flex-start; height: 100vh; min-height: 0; padding: 34px 0 0; text-align: center; }
.is-render-og .hero__copy { display: contents; }
.is-render-og .hero__script { order: 1; font-size: 42px; }
.is-render-og .hero__names { order: 2; margin-top: 0; font-size: 90px; line-height: 1; }
.is-render-og .hero__names .mask { display: inline-block; }
.is-render-og .hero__info { order: 3; margin-top: 8px; padding-top: 0; }
.is-render-og .hero__info::before, .is-render-og .hero__place { display: none; }
.is-render-og .hero__date { font-size: 0; }
.is-render-og .hero__date::after { content: '19 · 06 · 2027'; font-size: 28px; letter-spacing: .12em; color: var(--wine); }
.is-render-og .hero__art { order: 4; position: relative; right: auto; bottom: auto; width: 640px; margin-top: -30px; -webkit-mask-image: none; mask-image: none; }
.is-render-og .art { -webkit-mask-image: none; mask-image: none; }
