/* XiC Deli Café — Flavor Beyond
   Paleta y tipografías del kit de marca (assets/material/INDICE.md).
   Base clara (pedido del cliente, 28-sep-2026): la comida luce sobre crema.
   Cada sección elige un tema; los colores salen de las variables del tema.
   Tipografías del manual (29-sep-2026): Grenda para lo recto, Mrs Eaves XL Serif
   para lo itálico (el kit sólo trae la itálica) y Great Vibes para lo manuscrito. */

@font-face {
  font-family: 'Grenda';
  src: url('/fonts/Grenda.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Mrs Eaves XL Serif';
  src: url('/fonts/MrsEavesXLSerif-Italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Great Vibes';
  src: url('/fonts/GreatVibes-Regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  --vino: #550000;
  --vino-hondo: #360000;
  --rojo: #8e0202;
  --rojo-vivo: #b3121b;
  --crema: #f8eed5;
  --crema-claro: #fdf8ec;
  --fresa: #f7dcd5;
  --dorado: #c8b273;
  --tinta: #1c1c14;

  --serif: 'Mrs Eaves XL Serif', 'Times New Roman', serif;
  --display: 'Grenda', 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', sans-serif;
  --script: 'Great Vibes', cursive;

  --margen: clamp(20px, 5vw, 80px);
  --curva: cubic-bezier(.77, 0, .18, 1);
}

/* ---------- Temas ---------- */
.tema-crema { --fondo: var(--crema); --texto: var(--vino); --suave: rgba(85, 0, 0, .72); --acento: var(--rojo); --linea: rgba(85, 0, 0, .18); }
.tema-claro { --fondo: var(--crema-claro); --texto: var(--vino); --suave: rgba(85, 0, 0, .72); --acento: var(--rojo); --linea: rgba(85, 0, 0, .16); }
.tema-fresa { --fondo: var(--fresa); --texto: var(--vino); --suave: rgba(85, 0, 0, .75); --acento: var(--rojo-vivo); --linea: rgba(85, 0, 0, .2); }
.tema-rojo { --fondo: var(--rojo); --texto: var(--crema); --suave: rgba(248, 238, 213, .82); --acento: var(--dorado); --linea: rgba(248, 238, 213, .3); }
.tema-vino { --fondo: var(--vino-hondo); --texto: var(--crema); --suave: rgba(248, 238, 213, .7); --acento: var(--dorado); --linea: rgba(200, 178, 115, .3); }
[class*='tema-'] { background: var(--fondo); color: var(--texto); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--vino);
  font-family: var(--sans);
  font-synthesis: none;
  font-weight: 400;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--rojo); color: var(--crema); }
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 4px; }

/* ---------- Textura y cursor ---------- */
.grano {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grano 1.2s steps(6) infinite;
}
@keyframes grano {
  0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); }
}
.cursor { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; display: none; }
.cursor span {
  display: block; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--rojo); opacity: .85; transition: transform .35s var(--curva), opacity .35s;
}
.cursor.is-grande span { transform: scale(5); opacity: .25; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Carga ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--rojo);
  display: grid; place-content: center; justify-items: center; gap: 18px;
}
.loader__emblema { width: 92px; opacity: 0; }
.loader__script { font-family: var(--script); font-size: 34px; margin: 0; color: var(--crema); opacity: 0; }
.js-listo .loader { display: none; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--margen); color: var(--vino);
  transition: background .5s, padding .5s, backdrop-filter .5s, box-shadow .5s;
}
.nav.is-solida { background: rgba(253, 248, 236, .86); backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 rgba(85, 0, 0, .08); }
.nav__logo img { width: 150px; height: auto; }
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a, .nav__idioma {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; text-decoration: none; color: var(--vino);
}
.nav__links a { position: relative; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--rojo); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--curva);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__idioma { background: none; border: 0; cursor: pointer; padding: 6px 0; }
.nav__idioma span { opacity: .45; transition: opacity .3s; }
html[lang='es'] .nav__idioma [data-lang='es'], html[lang='en'] .nav__idioma [data-lang='en'] { opacity: 1; color: var(--rojo); }
.nav__menu { display: none; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border-radius: 999px; border: 1px solid var(--rojo);
  background: var(--rojo); color: var(--crema);
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; transition: background .4s, color .4s, border-color .4s, transform .4s var(--curva);
}
.boton:hover { background: var(--vino); border-color: var(--vino); transform: translateY(-2px); }
.boton--linea { background: transparent; color: var(--texto, var(--vino)); border-color: currentColor; }
.boton--linea:hover { background: var(--texto, var(--vino)); color: var(--fondo, var(--crema)); border-color: var(--texto, var(--vino)); }
.tema-rojo .boton, .tema-vino .boton { background: var(--crema); border-color: var(--crema); color: var(--rojo); }
.tema-rojo .boton:hover, .tema-vino .boton:hover { background: var(--dorado); border-color: var(--dorado); color: var(--vino-hondo); }

/* ---------- El arco: la forma de marca ---------- */
.arco { position: relative; aspect-ratio: 3 / 4; }
.arco__ventana, .arco__marco { position: absolute; inset: 0; border-radius: 50% 50% 0 0 / 34% 34% 0 0; }
.arco__ventana { overflow: hidden; background: rgba(85, 0, 0, .08); box-shadow: 0 30px 60px -30px rgba(85, 0, 0, .45); }
.arco__ventana img, .arco__ventana video { width: 100%; height: 118%; object-fit: cover; transform-origin: center; }
.arco__marco { border: 1px solid var(--acento, var(--rojo)); transform: translate(14px, -14px); opacity: .6; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 130px var(--margen) 110px;
  display: grid; grid-template-columns: 1fr minmax(260px, 30vw) 1fr; align-items: center; gap: 3vw;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 45%, rgba(247, 220, 213, .9), rgba(247, 220, 213, 0) 70%);
}
.hero__titulo {
  position: absolute; inset: 0; margin: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--margen);
  font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--rojo);
  font-size: clamp(76px, 15.5vw, 280px); line-height: .82; letter-spacing: -.02em;
}
.hero__titulo .linea { display: block; overflow: hidden; padding: .06em 0; }
.hero__titulo .linea--der { text-align: right; }
.hero__titulo .palabra { display: inline-block; }
.arco--hero { grid-column: 2; grid-row: 1; width: 100%; z-index: 1; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-activa { opacity: 1; }
.hero__lado { grid-column: 1; grid-row: 1; align-self: end; z-index: 3; max-width: 340px; justify-self: start; }
.hero__intro { font-size: clamp(17px, 1.25vw, 20px); color: var(--suave); margin: 0 0 28px; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 12px; }

.cinta {
  position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; z-index: 3;
  padding: 16px 0; background: var(--rojo); color: var(--crema);
}
.cinta__pista { display: flex; width: max-content; gap: 34px; animation: cinta 38s linear infinite; }
.cinta__pista span { font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.cinta__pista i { font-style: normal; color: var(--dorado); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Encabezados de sección ---------- */
.seccion__cabeza { display: flex; align-items: baseline; gap: 22px; margin-bottom: clamp(40px, 6vw, 90px); }
.seccion__num { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--acento); }
.seccion__titulo {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(52px, 8vw, 132px); line-height: .92; letter-spacing: -.015em;
}

/* ---------- Manifiesto ---------- */
.manifiesto { position: relative; padding: clamp(120px, 18vw, 240px) var(--margen); text-align: center; overflow: hidden; }
.manifiesto__emblema {
  position: absolute; left: 50%; top: 50%; width: min(70vw, 720px); transform: translate(-50%, -50%);
  opacity: .07; pointer-events: none;
}
.manifiesto__texto {
  position: relative; max-width: 1100px; margin: 0 auto;
  font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 74px); line-height: 1.12;
}
.js-movimiento .manifiesto__texto .p { opacity: .16; }
.manifiesto__firma { position: relative; margin: 48px 0 0; font-family: var(--script); font-size: clamp(30px, 3vw, 46px); color: var(--rojo); }

/* ---------- El lugar ---------- */
.lugar { padding: clamp(100px, 12vw, 180px) var(--margen); }
.lugar__collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2vw; }
.lugar__pieza { margin: 0; }
.lugar__pieza figcaption { margin-top: 26px; font-size: 15px; color: var(--suave); max-width: 320px; }
.lugar__pieza figcaption em { display: block; font-family: var(--serif); font-size: 30px; color: var(--texto); margin-bottom: 4px; }
.lugar__pieza--a { grid-column: 1 / span 5; }
.lugar__pieza--b { grid-column: 7 / span 3; margin-top: 22vw; }
.lugar__pieza--c { grid-column: 9 / span 4; margin-top: -8vw; grid-row: 2; }
.lugar__cita { grid-column: 1 / span 6; grid-row: 2; align-self: center; margin: 0; padding-right: 4vw; }
.lugar__cita p { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.2; }
.lugar__cita cite { font-style: normal; font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--acento); }

/* ---------- Firmas: visor fijo + lista ---------- */
.firmas { padding: clamp(100px, 12vw, 180px) var(--margen); }
.firmas__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 8vw; }
.firmas__visor { position: sticky; top: 14vh; align-self: start; height: 72vh; display: flex; align-items: center; }
.firmas__visor .arco { height: 100%; aspect-ratio: 3 / 4; max-width: 100%; }
.firmas__capa { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--curva); }
.firmas__capa.is-activa { clip-path: inset(0 0 0 0); z-index: 1; }
.firmas__capa.is-saliendo { clip-path: inset(0 0 0 0); z-index: 0; }
.firmas__capa img, .firmas__capa video { width: 100%; height: 100%; object-fit: cover; }
.firma { min-height: 78vh; display: flex; align-items: center; border-top: 1px solid var(--linea); }
.firma:last-child { min-height: 60vh; }
.firma__media { display: none; }
.firma__texto { max-width: 520px; transition: opacity .6s; }
.js-movimiento .firma__texto { opacity: .3; }
.js-movimiento .firma.is-activa .firma__texto { opacity: 1; }
.firma__num { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--acento); }
.firma h3 { margin: 10px 0 20px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(48px, 6vw, 104px); line-height: .95; color: var(--rojo); }
.firma p { margin: 0; font-size: clamp(17px, 1.3vw, 21px); color: var(--suave); }
.firma .firma__precio {
  display: inline-block; margin-top: 26px; padding: 10px 20px; border-radius: 999px;
  background: var(--rojo); color: var(--crema); letter-spacing: .14em; font-size: 14px; font-weight: 500;
}

/* ---------- Nieves (rosa fresa) ---------- */
.nieves { padding: clamp(100px, 12vw, 180px) var(--margen); }
.nieves__cuerpo { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; align-items: start; }
.nieves__foto { position: sticky; top: 110px; }
.nieves__lista { list-style: none; margin: 0; padding: 0; counter-reset: sabor; }
.nieves__lista li {
  counter-increment: sabor; position: relative; display: flex; align-items: baseline; gap: 22px;
  padding: 10px 0; border-bottom: 1px solid var(--linea);
  font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4.6vw, 78px); line-height: 1.05;
  transition: color .4s, padding-left .5s var(--curva);
}
.nieves__lista li::before { content: counter(sabor, decimal-leading-zero); font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--acento); }
.nieves__lista li:hover { color: var(--rojo-vivo); padding-left: 18px; }
.nieves__lista li.is-local { color: var(--rojo); }
.nieves__lista li.is-local::after { content: 'Sonora'; font-family: var(--script); font-style: normal; font-size: .5em; color: var(--rojo-vivo); margin-left: auto; }
html[lang='en'] .nieves__lista li.is-local::after { content: 'from Sonora'; }
.nieves__precios { display: flex; flex-wrap: wrap; gap: 14px 50px; margin-top: 60px; justify-content: flex-end; }
.nieves__precios p { margin: 0; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; font-weight: 500; }
.nieves__precios b { font-family: var(--serif); font-size: 36px; font-style: italic; font-weight: 500; letter-spacing: 0; margin-left: 10px; text-transform: none; color: var(--rojo); }

/* ---------- Menú (rojo, como las pantallas del local) ---------- */
.menu { padding: clamp(100px, 12vw, 180px) var(--margen); }
.menu__pestanas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.menu__pestanas button {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--linea);
  background: transparent; color: var(--texto); cursor: pointer; transition: all .35s;
}
.menu__pestanas button[aria-selected='true'] { background: var(--crema); color: var(--rojo); border-color: var(--crema); }
.menu__panel { animation: aparece .7s var(--curva); }
@keyframes aparece { from { opacity: 0; transform: translateY(18px); } }
.menu__columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3vw 7vw; }
.menu__lista { list-style: none; margin: 0; padding: 0; }
.menu__lista li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; font-size: 18px; }
.menu__lista li span { font-family: var(--display); font-size: 26px; font-weight: 400; }
.menu__lista li small { display: block; font-family: var(--sans); font-size: 14px; color: var(--suave); font-weight: 400; }
.menu__lista li i { flex: 1; border-bottom: 1px dotted var(--acento); opacity: .7; transform: translateY(-6px); }
.menu__lista li b { font-weight: 500; letter-spacing: .08em; color: var(--acento); white-space: nowrap; }
.menu__lista .menu__encabezado { border-bottom: 1px solid var(--linea); margin-bottom: 8px; justify-content: space-between; }
.menu__lista .menu__encabezado span { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--acento); }
.menu__lista .menu__encabezado b { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--suave); }
.menu__lista--ancha { grid-column: 1 / -1; max-width: 900px; }
.menu__nota { margin-top: 56px; font-size: 14px; color: var(--suave); letter-spacing: .1em; }

/* ---------- Splash ---------- */
.splash { position: relative; padding: clamp(110px, 14vw, 200px) var(--margen); overflow: hidden; isolation: isolate; color: var(--vino); }
.splash__cielo {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--crema-claro) 0%, #fbe3c2 30%, #f7b98a 62%, #ef8f6a 100%);
}
.splash__cabeza { text-align: center; margin-bottom: 80px; }
.splash__nuevo { margin: 0; letter-spacing: .4em; text-transform: uppercase; font-size: 13px; font-weight: 500; color: var(--rojo); }
.splash__script { margin: 0; font-family: var(--script); font-weight: 400; font-size: clamp(120px, 20vw, 340px); line-height: 1; color: var(--rojo); }
.splash__titulo { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 48px); }
.splash .arco__marco { border-color: var(--rojo); }
.splash__cuerpo { display: grid; grid-template-columns: 4fr 3fr 5fr; gap: 4vw; align-items: end; }
.splash__media--b { margin-bottom: 14vw; }
.splash__texto p { font-size: clamp(18px, 1.4vw, 22px); margin: 0 0 30px; }
.splash__menu { list-style: none; margin: 0; padding: 0; }
.splash__menu li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(85, 0, 0, .22); }
.splash__menu span { font-family: var(--display); font-size: 24px; font-weight: 400; }
.splash__menu b { font-weight: 500; letter-spacing: .08em; white-space: nowrap; color: var(--rojo); }

/* ---------- Reseñas ---------- */
.resenas { padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; }
.resenas__cabeza { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); padding: 0 var(--margen); margin-bottom: 70px; flex-wrap: wrap; }
.resenas__cifra { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(110px, 15vw, 240px); line-height: .8; color: var(--rojo); }
.resenas__estrellas { margin: 0; color: var(--rojo-vivo); letter-spacing: .2em; font-size: 22px; }
.resenas__total { margin: 6px 0 22px; letter-spacing: .26em; text-transform: uppercase; font-size: 13px; font-weight: 500; }
.resenas__botones { display: flex; flex-wrap: wrap; gap: 10px; }
.resenas__cinta { margin-bottom: 22px; }
.resenas__pista { display: flex; width: max-content; animation: cinta 70s linear infinite; }
.resenas__cinta--reversa .resenas__pista { animation-direction: reverse; animation-duration: 80s; }
.resenas__cinta:hover .resenas__pista { animation-play-state: paused; }
.resenas__grupo { display: flex; gap: 22px; padding-right: 22px; }
.resena {
  margin: 0; width: clamp(280px, 26vw, 400px); padding: 30px 32px; border: 1px solid var(--linea);
  border-radius: 200px 200px 16px 16px / 120px 120px 16px 16px; background: #fff;
  box-shadow: 0 18px 40px -28px rgba(85, 0, 0, .35);
  display: flex; flex-direction: column; gap: 16px;
}
.resena__estrellas { color: var(--rojo-vivo); letter-spacing: .18em; font-size: 14px; text-align: center; }
.resena blockquote { margin: 0; font-family: var(--display); font-size: 23px; line-height: 1.3; flex: 1; }
.resena figcaption { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--rojo); }
.resenas__nota { padding: 0 var(--margen); margin-top: 40px; font-size: 13px; letter-spacing: .1em; color: var(--suave); }

/* ---------- Equipo ---------- */
.equipo { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }
.equipo__foto { overflow: hidden; }
.equipo__foto img { width: 100%; height: 100%; object-fit: cover; }
.equipo__texto { align-self: center; padding: 10vw var(--margen); }
.equipo__texto .seccion__titulo { margin: 16px 0 30px; font-size: clamp(46px, 5.6vw, 96px); }
.equipo__texto p { max-width: 460px; font-size: clamp(18px, 1.4vw, 22px); color: var(--suave); }

/* ---------- Visítanos ---------- */
.visita { padding: clamp(100px, 12vw, 180px) var(--margen); }
.visita__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; }
.visita__bloque { margin-bottom: 44px; }
.visita__bloque h3 { margin: 0 0 12px; font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--acento); }
.visita__bloque p { margin: 0 0 6px; font-size: 19px; }
.visita__horario { list-style: none; margin: 0 0 16px; padding: 0; }
.visita__horario li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: 18px; }
.visita__horario b { font-weight: 500; }
.visita__horario .is-cerrado { color: var(--suave); }
.visita__abierto { font-family: var(--serif); font-style: italic; font-size: 24px !important; color: var(--rojo); }
.visita__botones { display: flex; flex-wrap: wrap; gap: 12px; }
.visita__mapa { min-height: 460px; border-radius: 50% 50% 0 0 / 22% 22% 0 0; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(85, 0, 0, .45); }
.visita__mapa iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }

/* ---------- Pie ---------- */
.pie { position: relative; padding: 140px var(--margen) 50px; text-align: center; overflow: hidden; }
.pie__sello { width: 170px; margin: 0 auto 60px; animation: gira 40s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.pie__logo { width: min(460px, 80vw); margin: 0 auto 40px; }
.pie__linea { letter-spacing: .28em; text-transform: uppercase; font-size: 13px; color: var(--suave); }
.pie__hermano { margin-top: 50px; font-size: 13px; letter-spacing: .14em; color: rgba(248, 238, 213, .5); }
.pie__hermano a { color: var(--suave); text-decoration: none; border-bottom: 1px solid rgba(200, 178, 115, .4); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.pie__hermano a:hover { color: var(--dorado); border-color: var(--dorado); }
.pie__legal { margin-top: 18px; font-size: 13px; color: rgba(248, 238, 213, .45); }

/* ---------- Móvil ---------- */
@media (max-width: 900px) {
  .nav { gap: 16px; }
  .nav__logo img { width: 120px; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    background: var(--crema-claro); opacity: 0; pointer-events: none; transition: opacity .5s;
  }
  .nav__links a { font-family: var(--serif); font-style: italic; font-size: 44px; letter-spacing: 0; text-transform: none; color: var(--rojo); }
  .nav.is-abierta .nav__links { opacity: 1; pointer-events: auto; }
  .nav__idioma { margin-left: auto; }
  .nav__menu { display: grid; gap: 7px; width: 34px; padding: 8px 0; background: none; border: 0; cursor: pointer; }
  .nav__menu span { display: block; height: 1px; background: var(--vino); transition: transform .4s var(--curva); }
  .nav.is-abierta .nav__menu span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-abierta .nav__menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; padding-top: 110px; gap: 36px; }
  .hero__titulo { position: relative; inset: auto; padding: 0; font-size: clamp(72px, 23vw, 150px); }
  .arco--hero, .hero__lado { grid-column: 1; grid-row: auto; }
  .arco--hero { width: 78%; justify-self: center; }
  .hero__lado { justify-self: start; }

  .lugar__collage { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .lugar__pieza--a { grid-column: 1 / -1; }
  .lugar__pieza--b { grid-column: 1; margin-top: 0; }
  .lugar__pieza--c { grid-column: 2; grid-row: auto; margin-top: 60px; }
  .lugar__pieza figcaption em { font-size: 24px; }
  .lugar__cita { grid-column: 1 / -1; grid-row: auto; padding-right: 0; }

  .firmas__grid { grid-template-columns: 1fr; }
  .firmas__visor { display: none; }
  .firma { min-height: 0; padding: 50px 0; display: block; }
  .firma__media { display: block; width: 82%; margin-bottom: 30px; }
  .js-movimiento .firma__texto { opacity: 1; }

  .nieves__cuerpo { grid-template-columns: 1fr; }
  .nieves__foto { position: relative; top: 0; width: 70%; }
  .nieves__precios { justify-content: flex-start; }

  .splash__cuerpo { grid-template-columns: 1fr 1fr; }
  .splash__media--b { margin-bottom: 0; margin-top: 90px; }
  .splash__texto { grid-column: 1 / -1; }

  .resena { width: 78vw; }
  .equipo { grid-template-columns: 1fr; }
  .equipo__foto { aspect-ratio: 4 / 5; }
  .visita__grid { grid-template-columns: 1fr; }
  .arco__marco { transform: translate(8px, -8px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .firmas__capa { clip-path: none; opacity: 0; }
  .firmas__capa.is-activa { opacity: 1; }
}
