/* =============================================================
   Cueva Miñambres — versión tradicional (roca, madera y pergamino)
   ============================================================= */

/* =============================================================
   1. Tokens + texturas (SVG generadas, sin imágenes)
   ============================================================= */
:root {
  --rock:      #3a332b;
  --rock-dark: #221d18;
  --rock-deep: #15120f;
  --rock-lite: #6d6253;
  --wood:      #6b4426;
  --wood-dark: #3b2414;
  --wood-lite: #9a6a3f;
  --parch:     #eadbb8;
  --parch-2:   #dcc79c;
  --ink:       #2a1c10;
  --ink-soft:  #5a4430;
  --cream:     #f1e6cf;
  --cream-2:   #d9ccb2;
  --cream-3:   #a99a80;
  --wine:      #7d221b;
  --wine-2:    #9a2d23;
  --gold:      #d6a14b;
  --gold-2:    #e9c27a;
  --iron:      #1b1916;

  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif:   "EB Garamond", Garamond, Georgia, serif;

  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Roca: ruido fractal con relieve iluminado */
  --tex-rock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='f' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014' numOctaves='5' seed='7' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23ffffff' surfaceScale='4'%3E%3CfeDistantLight azimuth='235' elevation='48'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  /* Madera: ruido estirado en horizontal (veta) */
  --tex-wood: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='240'%3E%3Cfilter id='w' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .16' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='.5 .5 0 0 .25  .5 .5 0 0 .25  .5 .5 0 0 .25  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  /* Pergamino: ruido suave y claro */
  --tex-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='4' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='.12 .12 .12 0 .8  .12 .12 .12 0 .8  .12 .12 .12 0 .8  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}

/* =============================================================
   2. Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  background: var(--rock-deep);
}
body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--cream-2);
  background: var(--rock-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; text-wrap: balance; letter-spacing: .02em; }
address { font-style: normal; }
::selection { background: var(--wine); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--cream); color: var(--ink); border-radius: 6px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* =============================================================
   3. Superficies
   ============================================================= */
.rock {
  background-color: var(--rock);
  background-image:
    radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(10,8,6,.55) 100%),
    var(--tex-rock);
  background-size: auto, 420px 420px;
  background-blend-mode: normal, multiply;
}
.rock--dark { background-color: #2b251f; }
.wood {
  background-color: var(--wood);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 58px, rgba(20,10,4,.55) 58px 60px),
    linear-gradient(180deg, rgba(255,220,170,.06), rgba(0,0,0,.25)),
    var(--tex-wood);
  background-size: auto, auto, 800px 240px;
  background-blend-mode: normal, normal, multiply;
}
.wood--dark { background-color: var(--wood-dark); }
/* Piezas pequeñas de madera: sin juntas de tablones */
.shelf.wood, .room-plate.wood, .events-list li.wood, .btn-wood.wood, .nav.wood {
  background-image: linear-gradient(180deg, rgba(255,220,170,.07), rgba(0,0,0,.25)), var(--tex-wood);
  background-size: auto, 800px 240px;
  background-blend-mode: normal, multiply;
}
.paper {
  background-color: var(--parch);
  background-image:
    radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(120,80,30,.28) 100%),
    var(--tex-paper);
  background-blend-mode: normal, multiply;
  color: var(--ink);
}

/* Texto tallado en piedra */
.carved {
  color: #e7dcc5;
  text-shadow: 0 -1px 0 rgba(0,0,0,.7), 0 1px 0 rgba(255,240,210,.18), 0 6px 24px rgba(0,0,0,.5);
}

/* Separador con florón */
.fleuron {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: var(--gold); font-size: 1.2rem; margin: 1.2rem auto;
}
.fleuron::before, .fleuron::after { content: ""; height: 1px; width: min(120px, 25vw); background: linear-gradient(90deg, transparent, currentColor, transparent); }
.paper .fleuron { color: var(--wine); }

.kicker {
  font-family: var(--display); font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(2rem, 5vw, 3.6rem); margin-top: .6rem; }
.section-intro { max-width: 56ch; margin: 1rem auto 0; font-size: 1.15rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.6rem;
  font-family: var(--display); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 4px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn-wine {
  background: linear-gradient(180deg, var(--wine-2), var(--wine));
  color: var(--cream);
  border: 1px solid #5a1712;
  box-shadow: inset 0 1px 0 rgba(255,200,170,.25), 0 10px 24px -10px rgba(0,0,0,.8);
}
.btn-wine:hover { box-shadow: inset 0 1px 0 rgba(255,200,170,.25), 0 16px 30px -10px rgba(0,0,0,.9); }
.btn-wood {
  color: var(--cream);
  border: 1px solid rgba(0,0,0,.5);
  box-shadow: inset 0 1px 0 rgba(255,220,170,.2), 0 10px 24px -12px rgba(0,0,0,.8);
}
.btn-wood:hover { color: var(--gold-2); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }

/* Marco en arco de piedra para fotos */
.arch {
  position: relative;
  padding: 14px;
  border-radius: 999px 999px 10px 10px / 46% 46% 10px 10px;
  background-color: var(--rock-lite);
  background-image: var(--tex-rock);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.85), inset 0 2px 0 rgba(255,240,210,.15), inset 0 -3px 8px rgba(0,0,0,.5);
}
.arch-inner {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 4px 4px / 44% 44% 4px 4px;
  background: radial-gradient(80% 60% at 50% 100%, rgba(214,161,75,.18), transparent 70%), #1a1511;
  box-shadow: inset 0 0 40px rgba(0,0,0,.8);
}
.arch-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover .arch-inner img { transform: scale(1.04); }
.arch--wide .arch-inner { aspect-ratio: 4 / 3.4; }
.slot {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  text-align: center; padding: 1rem; color: var(--cream-3);
}
.slot span { font-style: italic; font-size: 1.05rem; color: var(--cream-2); }
.slot small { font-family: var(--serif); font-size: .75rem; opacity: .7; }
.slot svg { width: 30px; height: 30px; color: var(--gold); opacity: .7; }

/* =============================================================
   4. Cabecera: barra de hierro + viga de madera
   ============================================================= */
.topbar {
  background: var(--iron);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .9rem; color: var(--cream-3);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-addr { display: none; }
.topbar-right { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.topbar a:hover { color: var(--gold-2); }
.topbar-phone { font-family: var(--display); letter-spacing: .08em; color: var(--cream); }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(241,230,207,.25); color: var(--cream); transition: color .3s, border-color .3s; }
.social a:hover { color: var(--gold-2); border-color: var(--gold); }
.social svg { width: 15px; height: 15px; }

.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  border-top: 1px solid rgba(255,220,170,.12);
  border-bottom: 3px solid #1d120a;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.9);
}
.nav::before, .nav::after { /* clavos de hierro en los extremos */
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8a8378, #2a2622 70%);
  box-shadow: 0 1px 2px rgba(0,0,0,.8);
}
.nav::before { left: 10px; } .nav::after { right: 10px; }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; color: var(--cream); }
.brand svg { width: 40px; height: 40px; color: var(--gold); filter: drop-shadow(0 1px 0 rgba(0,0,0,.6)); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; line-height: 1.05; text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.brand small { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .8rem; letter-spacing: .04em; color: var(--gold-2); }
.nav-links { display: none; }
.nav-links a {
  font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream); text-shadow: 0 1px 0 rgba(0,0,0,.6);
  padding: .4rem .2rem; border-bottom: 2px solid transparent;
  transition: color .3s, border-color .3s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--gold-2); border-color: var(--gold); }
.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.nav-toggle i { display: block; width: 24px; height: 2px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s; }
.nav.is-open .nav-toggle i:nth-child(2) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav-toggle i:nth-child(3) { opacity: 0; }
.nav.is-open .nav-toggle i:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
    background: rgba(21,18,15,.97);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-links a { font-size: 1.2rem; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; }
  html:not(.js) .nav { position: relative; height: auto; }
  html:not(.js) .nav-inner { flex-wrap: wrap; padding-block: .8rem; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav-links { position: static; opacity: 1; visibility: visible; background: none; flex-direction: row; flex-wrap: wrap; gap: .3rem 1rem; width: 100%; }
  html:not(.js) .nav-links a { font-size: .8rem; }
}

/* =============================================================
   5. Hero: muro de roca + arco con la entrada
   ============================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before { /* luz de vela */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 55% at 72% 55%, rgba(233,170,80,.28), transparent 70%),
    radial-gradient(40% 50% at 20% 40%, rgba(233,170,80,.12), transparent 70%);
  animation: candle 5s ease-in-out infinite alternate;
}
@keyframes candle { 0% { opacity: .85; } 40% { opacity: 1; } 60% { opacity: .9; } 100% { opacity: 1; } }
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.hero-text { text-align: center; }
.hero-since { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--display); letter-spacing: .3em; font-size: .8rem; color: var(--gold-2); }
.hero-since::before, .hero-since::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero-title { margin-top: 1rem; }
@media (max-width: 539px) {
  .hero-since { letter-spacing: .16em; font-size: .72rem; gap: .5rem; }
  .hero-since::before, .hero-since::after { width: 18px; }
}
.hero-title .l1 { display: block; font-size: clamp(1.4rem, 3.6vw, 2.2rem); letter-spacing: .5em; margin-right: -.5em; color: var(--gold-2); }
.hero-title .l2 { display: block; font-size: clamp(2.8rem, 9vw, 6rem); font-weight: 700; letter-spacing: .04em; }
.hero-sub { margin-top: 1.2rem; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-style: italic; color: var(--cream); }
.hero-desc { max-width: 46ch; margin: 1rem auto 0; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2rem; }
.hero-photo { max-width: 440px; margin-inline: auto; width: 100%; }
.hero-photo figcaption { text-align: center; margin-top: 1rem; font-style: italic; color: var(--cream-3); font-size: .95rem; }

/* Viga con datos bajo el hero */
.beam { border-block: 3px solid #1d120a; box-shadow: 0 8px 24px -8px rgba(0,0,0,.9), 0 -8px 24px -8px rgba(0,0,0,.9); }
.beam-list { display: grid; gap: .4rem; padding-block: 1.2rem; text-align: center; }
.beam-list li { font-family: var(--display); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 0 rgba(0,0,0,.7); }
.beam-list li span { color: var(--gold-2); margin-right: .4rem; }
@media (min-width: 720px) and (max-width: 1099px) { .beam-list li { font-size: .7rem; letter-spacing: .1em; } }

/* =============================================================
   6. Historia: pergamino sobre roca + placa 1608
   ============================================================= */
.story-grid { display: grid; gap: 2.5rem; align-items: start; }
.scroll {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.4rem, 5vw, 3.5rem);
  border-radius: 6px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.9), inset 0 0 0 1px rgba(120,80,30,.25);
}
.scroll::before, .scroll::after { /* bordes enrollados */
  content: ""; position: absolute; left: -6px; right: -6px; height: 16px; border-radius: 10px;
  background: linear-gradient(180deg, #cdb588, #a88a5a 60%, #8c7048);
  box-shadow: 0 3px 6px rgba(0,0,0,.4);
}
.scroll::before { top: -8px; } .scroll::after { bottom: -8px; }
.scroll h2 { color: var(--wine); font-size: clamp(1.7rem, 4vw, 2.6rem); text-align: center; }
.scroll .kicker { display: block; text-align: center; color: var(--ink-soft); }
.scroll p { color: var(--ink); font-size: 1.12rem; margin-top: 1rem; }
.scroll p.dropcap::first-letter {
  float: left; font-family: var(--display); font-weight: 700; font-size: 4.2em; line-height: .8;
  margin: .08em .12em 0 0; color: var(--wine);
}
.scroll .sign { text-align: center; font-style: italic; font-size: 1.25rem; color: var(--wine); margin-top: 1.6rem; }

.plaques { display: grid; gap: 1.2rem; }
.plaque {
  text-align: center;
  padding: 1.6rem 1.2rem;
  border-radius: 8px;
  background-color: var(--rock-lite);
  background-image: var(--tex-rock);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  box-shadow: inset 0 2px 0 rgba(255,240,210,.15), inset 0 -4px 10px rgba(0,0,0,.45), 0 20px 40px -20px rgba(0,0,0,.9);
}
.plaque strong { display: block; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; }
.plaque span { display: block; margin-top: .5rem; font-family: var(--display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-2); }
.story-photo { margin-top: .5rem; }
.story-fig { margin-top: 1.2rem; }
.story-photo .arch-inner img { object-position: 14% 50%; } /* encuadre a la izquierda: deja fuera la firma de la esquina */
.story-fig figcaption { margin-top: .9rem; text-align: center; font-style: italic; color: var(--cream-2); font-size: .98rem; }
.story-fig figcaption span { display: block; font-style: normal; font-size: .75rem; letter-spacing: .08em; color: var(--cream-3); margin-top: .2rem; }

/* =============================================================
   7. Salas: arcos con placa de madera
   ============================================================= */
.rooms-grid { display: grid; gap: 2.4rem 1.6rem; }
.room { text-align: center; }
.room .arch { max-width: 340px; margin-inline: auto; }
.room-plate {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: -10px; position: relative; z-index: 1;
  padding: .55rem 1.2rem;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.6);
  box-shadow: 0 8px 16px -6px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,220,170,.2);
}
.room-plate span { font-family: var(--display); font-size: .7rem; color: var(--gold-2); }
.room-plate h3 { font-size: 1rem; color: var(--cream); letter-spacing: .1em; text-shadow: 0 1px 0 rgba(0,0,0,.7); }

/* =============================================================
   8. Carta: especialidades en arcos + pergamino enmarcado en madera
   ============================================================= */
.dishes { display: grid; gap: 2.4rem 1.6rem; margin-bottom: clamp(4rem, 8vw, 6rem); }
.dish { text-align: center; }
.dish .arch { max-width: 360px; margin-inline: auto; }
.dish-tag { margin-top: 1.2rem; font-family: var(--display); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.dish h3 { margin-top: .4rem; font-size: 1.35rem; color: var(--cream); }
.dish p { max-width: 34ch; margin: .5rem auto 0; font-size: 1.02rem; }

.frame {
  padding: clamp(12px, 2.4vw, 22px);
  border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,220,170,.2);
}
.frame > .paper { border-radius: 2px; box-shadow: inset 0 0 30px rgba(90,60,20,.35); }
.menu-sheet { padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 5vw, 4rem); }
.menu-sheet-head { text-align: center; margin-bottom: 2rem; }
.menu-sheet-head h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--wine); }
.menu-sheet-head p { font-style: italic; color: var(--ink-soft); }
.menu-cols { columns: 1; column-gap: 3.5rem; column-rule: 1px solid rgba(90,60,20,.25); }
.menu-cat { break-inside: avoid; margin-bottom: 2.2rem; }
.menu-cat h4 {
  font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wine);
  text-align: center; padding-bottom: .5rem; margin-bottom: .8rem;
  border-bottom: 1px solid rgba(125,34,27,.35);
}
.menu-cat h4::before, .menu-cat h4::after { content: "❧"; font-family: var(--serif); letter-spacing: 0; margin: 0 .5rem; color: var(--ink-soft); font-size: .9em; }
.menu-cat h4::before { display: inline-block; transform: scaleX(-1); }
.menu-cat li { padding: .42rem 0; font-size: 1.08rem; line-height: 1.35; color: var(--ink); text-align: center; }
.menu-cat li small { display: block; font-style: italic; font-size: .9rem; color: var(--ink-soft); }
.tag { display: inline-block; margin-left: .3rem; padding: .05rem .45rem; border-radius: 3px; background: var(--wine); color: var(--parch); font-family: var(--display); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.menu-note { text-align: center; font-style: italic; color: var(--ink-soft); font-size: .95rem; margin-top: 1rem; }

/* Bodega: estantes de madera */
.cellar { margin-top: clamp(4.5rem, 9vw, 7rem); }
.cellar-grid { columns: 1; column-gap: 1.4rem; }
.shelf {
  break-inside: avoid; margin-bottom: 1.4rem;
  padding: 1.4rem 1.3rem 1.2rem;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.6);
  box-shadow: 0 18px 30px -16px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,220,170,.15);
}
.shelf h4 { font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); text-shadow: 0 1px 0 rgba(0,0,0,.7); }
.shelf h4 em { display: block; font-family: var(--serif); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--cream-2); margin-top: .15rem; }
.shelf ul { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid rgba(0,0,0,.45); box-shadow: 0 -1px 0 rgba(255,220,170,.1); display: grid; gap: .3rem; }
.shelf li { color: var(--cream); font-size: 1.05rem; text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.shelf li small { font-style: italic; color: var(--cream-2); font-size: .9rem; }
.shelf .tag { background: var(--gold); color: var(--ink); }
.shelf--house { border-color: #5a1712; background-color: #5c2317 !important; }
.shelf-sub { margin-top: 1.2rem; }

/* =============================================================
   9. Reservas: placa de piedra tallada
   ============================================================= */
.reserve { text-align: center; }
.stone-tablet {
  max-width: 820px; margin-inline: auto;
  padding: clamp(2.2rem, 6vw, 4rem) clamp(1.2rem, 5vw, 3.5rem);
  border-radius: 16px 16px 8px 8px;
  background-color: #7a6e5d;
  background-image: radial-gradient(90% 80% at 50% 30%, rgba(255,235,200,.12), transparent 70%), var(--tex-rock);
  background-size: auto, 300px 300px;
  background-blend-mode: normal, multiply;
  box-shadow: inset 0 3px 0 rgba(255,240,210,.18), inset 0 -6px 14px rgba(0,0,0,.5), 0 40px 70px -30px rgba(0,0,0,.95);
  position: relative;
}
.stone-tablet .kicker { color: var(--cream); text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.stone-tablet h2 { font-size: clamp(1.8rem, 4.6vw, 3rem); margin-top: .6rem; }
.stone-tablet p { color: #f3ead6; text-shadow: 0 1px 2px rgba(0,0,0,.6); font-size: 1.15rem; }
.phone-carved {
  display: block; margin: 1.6rem auto 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 5.4rem); letter-spacing: .06em; line-height: 1.1;
  color: #2b241d;
  text-shadow: 0 1px 0 rgba(255,240,210,.35), 0 -1px 0 rgba(0,0,0,.6);
  transition: color .3s;
}
.phone-carved:hover { color: var(--wine); }
.reserve-call { margin-top: 1.4rem; }
.reserve-facts { display: grid; gap: .8rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(0,0,0,.35); box-shadow: 0 -1px 0 rgba(255,240,210,.15); }
.reserve-facts strong { display: block; font-family: var(--display); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: #2b241d; text-shadow: 0 1px 0 rgba(255,240,210,.3); }
.reserve-facts span, .reserve-facts a { color: #fbf4e4; text-shadow: 0 1px 2px rgba(0,0,0,.6); font-size: 1.1rem; }

.events { max-width: 820px; margin: 3rem auto 0; }
.events h3 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--cream); }
.events > p { margin-top: .6rem; }
.events-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.6rem; }
.events-list li {
  padding: .6rem 1.1rem; border-radius: 4px; border: 1px solid rgba(0,0,0,.6);
  font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream);
  text-shadow: 0 1px 0 rgba(0,0,0,.7);
  box-shadow: 0 8px 16px -8px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,220,170,.2);
}

/* =============================================================
   10. Contacto
   ============================================================= */
.contact-grid { display: grid; gap: 1.6rem; }
.contact-sheet { padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: 4px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); }
.contact-block + .contact-block { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(90,60,20,.25); }
.contact-block h3 { font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin-bottom: .7rem; }
.contact-block address { font-size: 1.2rem; color: var(--ink); line-height: 1.45; }
.contact-block a.more { display: inline-block; margin-top: .6rem; font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); border-bottom: 1px solid currentColor; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dotted rgba(90,60,20,.35); color: var(--ink); }
.hours div:last-child { border-bottom: 0; }
.hours dd { text-align: right; }
.hours .is-today { color: var(--wine); font-weight: 600; }
.hours .is-today dt::after { content: " · hoy"; font-style: italic; font-weight: 400; }
.clist li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .25rem 0; color: var(--ink); }
.clist span { color: var(--ink-soft); font-style: italic; }
.clist a { color: var(--ink); border-bottom: 1px solid rgba(125,34,27,.35); }
.clist a:hover { color: var(--wine); }
.map-frame { padding: 12px; border-radius: 6px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: 2px; filter: sepia(.25) saturate(.9); }

/* =============================================================
   11. Reseñas: notas de pergamino clavadas
   ============================================================= */
.notes { display: grid; gap: 2rem; }
.note {
  position: relative;
  padding: 2.2rem 1.6rem 1.6rem;
  border-radius: 3px;
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.95);
  transition: transform .5s var(--ease);
}
.note::before { /* clavo */
  content: ""; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9a948a, #2a2622 70%);
  box-shadow: 0 2px 3px rgba(0,0,0,.6);
}
.note:nth-child(1) { transform: rotate(-1.2deg); }
.note:nth-child(2) { transform: rotate(.8deg); }
.note:nth-child(3) { transform: rotate(-.6deg); }
.note:hover { transform: rotate(0) translateY(-4px); }
.note .stars { text-align: center; color: var(--wine); letter-spacing: .2em; }
.note h3 { margin-top: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); text-align: center; letter-spacing: 0; }
.note h3 a:hover { color: var(--wine); }
.note blockquote { margin-top: .8rem; font-style: italic; color: var(--ink); font-size: 1.05rem; }
.note figcaption { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(90,60,20,.3); text-align: center; color: var(--ink-soft); font-size: .95rem; }
.note figcaption strong { color: var(--ink); }
.notes-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.6rem; }

/* =============================================================
   12. Pie
   ============================================================= */
.footer { padding: 3.5rem 0 6rem; text-align: center; border-top: 3px solid #0e0c0a; }
.footer svg.emb { width: 64px; height: 64px; margin: 0 auto; color: var(--gold); }
.footer-name { margin-top: .8rem; font-size: 1.5rem; letter-spacing: .14em; }
.footer-tag { font-style: italic; color: var(--gold-2); }
.footer-addr { margin-top: 1rem; color: var(--cream-2); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin-top: 1.4rem; font-family: var(--display); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold-2); }
.footer .social { justify-content: center; margin-top: 1.4rem; }
.footer-copy { margin-top: 1.4rem; font-size: .85rem; color: var(--cream-3); }

/* Botón flotante de llamada (sello de lacre) */
.call-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.2rem; border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, var(--wine-2), var(--wine) 70%);
  color: var(--cream); font-family: var(--display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,200,170,.3);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.call-fab svg { width: 17px; height: 17px; }
.call-fab.is-visible, html:not(.js) .call-fab { transform: none; }

/* =============================================================
   13. Apariciones al hacer scroll
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js .note[data-reveal].is-revealed:nth-child(1) { transform: rotate(-1.2deg); }
.js .note[data-reveal].is-revealed:nth-child(2) { transform: rotate(.8deg); }
.js .note[data-reveal].is-revealed:nth-child(3) { transform: rotate(-.6deg); }
.js .note[data-reveal].is-revealed:hover { transform: rotate(0) translateY(-4px); }
.js:not(.is-ready) [data-reveal] { animation: forceShow .01s 3.5s forwards; }
@keyframes forceShow { to { opacity: 1; transform: none; } }

/* =============================================================
   13b. Más fotos y animaciones
   ============================================================= */
/* Fotos que se "encienden" como a la luz de una vela al aparecer */
.js .arch-inner img { filter: brightness(.25) saturate(.5); transform: scale(1.16); transition: filter 1.6s var(--ease), transform 1.8s var(--ease); }
.js .arch.is-lit .arch-inner img { filter: none; transform: scale(1); }
.js .arch.is-lit:hover .arch-inner img { transform: scale(1.05); }
.js:not(.is-ready) .arch-inner img { animation: forceShow .01s 4s forwards; }

/* Portada: fotos que van pasando dentro del arco */
[data-hslides] .hs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
[data-hslides] .hs.is-on { opacity: 1; z-index: 1; animation: hsZoom 6s ease-out forwards; }
@keyframes hsZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.js .hero-photo .arch-inner img.hs { filter: none; }
.hero-photo figcaption { min-height: 1.5em; transition: opacity .4s; }
.hero-photo figcaption.is-swap { opacity: 0; }
.hs-dots { display: flex; justify-content: center; gap: .45rem; margin-top: .7rem; }
.hs-dots button { width: 22px; height: 3px; border-radius: 2px; background: rgba(241,230,207,.25); position: relative; overflow: hidden; padding: 0; }
.hs-dots button.is-on::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: hsBar 5s linear forwards; }
@keyframes hsBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Cinta de platos en movimiento */
.reel { padding: 2.2rem 0 2.6rem; overflow: hidden; border-bottom: 3px solid #1d120a; }
.reel-track { display: flex; gap: 1.4rem; width: max-content; animation: reel 70s linear infinite; padding-left: 1.4rem; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }
.reel-item { display: flex; flex-direction: column; align-items: center; width: clamp(150px, 17vw, 210px); cursor: zoom-in; }
.reel-arch { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 8px; border-radius: 999px 999px 8px 8px / 46% 46% 8px 8px; background-color: var(--rock-lite); background-image: var(--tex-rock); background-size: 260px 260px; background-blend-mode: multiply; box-shadow: 0 18px 30px -14px rgba(0,0,0,.9), inset 0 2px 0 rgba(255,240,210,.15); transition: transform .6s var(--ease); }
.reel-arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 4px 4px / 44% 44% 4px 4px; }
.reel-item:hover .reel-arch { transform: translateY(-8px) rotate(-1.5deg); }
.reel-name { margin-top: -8px; position: relative; padding: .4rem .8rem; border-radius: 4px; border: 1px solid rgba(0,0,0,.6); font-family: var(--display); font-size: .68rem; letter-spacing: .1em; color: var(--cream); text-shadow: 0 1px 0 rgba(0,0,0,.7); box-shadow: 0 6px 12px -6px rgba(0,0,0,.9); white-space: nowrap; background-image: linear-gradient(180deg, rgba(255,220,170,.07), rgba(0,0,0,.25)), var(--tex-wood); background-size: auto, 800px 240px; background-blend-mode: normal, multiply; }

/* Más de nuestra carta */
.more-head { text-align: center; margin-bottom: 2.4rem; }
.more-head .section-title { font-size: clamp(1.7rem, 4vw, 2.8rem); }
.more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.2rem; margin-bottom: clamp(4rem, 8vw, 6rem); }
.more-item { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: zoom-in; }
.more-item .arch { width: 100%; max-width: 280px; padding: 10px; }
.more-item .arch, .cellar-photo .arch, .more-item .arch-inner, .cellar-photo .arch-inner { display: block; }
.more-tag { margin-top: 1rem; font-family: var(--display); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.more-name { margin-top: .3rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--cream); line-height: 1.2; }
.more-item:hover .more-name { color: var(--gold-2); }
.js .more-item[data-reveal].is-revealed:nth-child(3n+2) { transition-delay: .1s; }
.js .more-item[data-reveal].is-revealed:nth-child(3n+3) { transition-delay: .2s; }
.dish { cursor: zoom-in; }
/* Inclinación suave de las especialidades con el ratón */
.dish .arch, .more-item .arch { transition: transform .5s var(--ease); transform-style: preserve-3d; }

/* Conócenos: fotos del interior que se van turnando */
.story-fig figcaption .story-cap { display: inline; font-style: italic; font-size: .98rem; letter-spacing: 0; color: var(--cream-2); transition: opacity .4s; }
.story-fig figcaption .story-cap.is-swap { opacity: 0; }
.story-photo [data-hslides] .hs.is-on { animation-duration: 5s; }

/* Salas con foto: se abren en grande */
.room[data-lb] { cursor: zoom-in; }
.room[data-lb] .arch-inner img { object-position: 50% 55%; }
/* Última fila de salas siempre centrada */
.rooms-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.rooms-grid .room { flex: 0 0 100%; }
@media (min-width: 720px) { .rooms-grid .room { flex-basis: calc(50% - .8rem); } }
@media (min-width: 960px) { .rooms-grid .room { flex-basis: calc(33.333% - 1.1rem); } }

/* Foto en la bodega */
.cellar-photo { display: block; width: 100%; max-width: 760px; margin: 0 auto 2.6rem; cursor: zoom-in; text-align: center; }
.cellar-photo .arch-inner img { object-position: 50% 70%; }
.cellar-photo-cap { display: block; margin-top: .8rem; font-style: italic; color: var(--cream-3); }

/* Carta: platos con foto */
.menu-cat li.has-photo { cursor: zoom-in; transition: color .3s; }
.menu-cat li.has-photo:hover { color: var(--wine); }
.li-cam { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: .25rem; border-radius: 50%; background: var(--wine); color: var(--parch); vertical-align: middle; }
.li-cam svg { width: 13px; height: 13px; }

/* Foto que sigue al ratón en la carta (ordenador) */
.peek { position: fixed; left: 0; top: 0; z-index: 1500; width: 190px; aspect-ratio: 4 / 5; pointer-events: none; padding: 7px; border-radius: 999px 999px 8px 8px / 46% 46% 8px 8px; background-color: var(--rock-lite); background-image: var(--tex-rock); background-size: 240px 240px; background-blend-mode: multiply; box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6) rotate(-6deg); transition: opacity .3s, transform .45s var(--ease); }
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 4px 4px / 44% 44% 4px 4px; }

/* Visor de fotos */
.lb { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 4.5rem 1rem 3rem; }
.lb[hidden] { display: none; }
.lb-bg { position: absolute; inset: 0; background: rgba(12,9,7,.94); opacity: 0; transition: opacity .5s ease; }
.lb-fig { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.lb-arch { width: min(78vw, 62vh); aspect-ratio: 4 / 5; padding: 12px; border-radius: 999px 999px 10px 10px / 46% 46% 10px 10px; background-color: var(--rock-lite); background-image: var(--tex-rock); background-size: 300px 300px; background-blend-mode: multiply; box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); clip-path: inset(100% 0 0 0 round 999px 999px 10px 10px); transform: translateY(30px) scale(.94); transition: clip-path .9s var(--ease-io, cubic-bezier(.76,0,.24,1)), transform 1s var(--ease); }
.lb-arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 4px 4px / 44% 44% 4px 4px; transition: opacity .35s ease, transform 1.2s var(--ease); }
.lb-arch img.is-swap { opacity: 0; transform: scale(1.06); }
.lb-cap { margin-top: 1.2rem; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity .6s ease .45s, transform .6s var(--ease) .45s; }
.lb-title { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.6rem); color: var(--cream); letter-spacing: .06em; }
.lb-count { display: block; margin-top: .3rem; font-style: italic; color: var(--cream-3); }
.lb-btn, .lb-close { position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(241,230,207,.3); color: var(--cream); font-size: 1.6rem; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .5s ease .4s, background .3s; }
.lb-btn:hover, .lb-close:hover { background: var(--wine); }
.lb-prev { left: 1rem; top: 50%; margin-top: -26px; }
.lb-next { right: 1rem; top: 50%; margin-top: -26px; }
.lb-close { top: 1rem; right: 1rem; font-size: 1.1rem; }
.lb.is-open .lb-bg, .lb.is-open .lb-cap, .lb.is-open .lb-btn, .lb.is-open .lb-close { opacity: 1; }
.lb.is-open .lb-cap { transform: none; }
.lb.is-open .lb-arch { clip-path: inset(0 0 0 0 round 999px 999px 10px 10px); transform: none; }
.lb.is-closing .lb-arch { clip-path: inset(0 0 100% 0 round 999px 999px 10px 10px); transition-duration: .6s; }
.lb.is-closing .lb-bg { opacity: 0; transition-delay: .3s; }
.lb.is-closing .lb-cap, .lb.is-closing .lb-btn, .lb.is-closing .lb-close { opacity: 0; transition: opacity .2s; }
@media (max-width: 719px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; margin-top: 0; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

@media (min-width: 720px) { .more { grid-template-columns: repeat(3, 1fr); gap: 2.6rem 1.8rem; } }
/* La última fila siempre centrada, tenga los platos que tenga */
.more { display: flex; flex-wrap: wrap; justify-content: center; }
.more-item { flex: 0 0 calc(50% - .6rem); }
@media (min-width: 720px) { .more-item { flex-basis: calc(33.333% - 1.2rem); } }

/* Logotipo real en oro, con destello de luz */
.logo-gold {
  display: block; aspect-ratio: 1000 / 770;
  -webkit-mask: url("assets/img/logo-minambres.webp") center / contain no-repeat;
          mask: url("assets/img/logo-minambres.webp") center / contain no-repeat;
  background: linear-gradient(110deg, #a97a35 0%, #d6a14b 30%, #f1d08f 44%, #fff6dc 50%, #f1d08f 56%, #d6a14b 70%, #a97a35 100%);
  background-size: 260% 100%; background-position: 100% 0;
}
@supports not ((mask: url("x.webp")) or (-webkit-mask: url("x.webp"))) {
  .logo-gold { background: url("assets/img/logo-minambres.webp") center / contain no-repeat; }
}
.logo-gold.shine, .brand:hover .logo-gold--nav { animation: logoShine 4.5s ease-in-out infinite; }
.brand:hover .logo-gold--nav { animation-duration: 1.6s; animation-iteration-count: 1; }
@keyframes logoShine { 0% { background-position: 100% 0; } 55%, 100% { background-position: -60% 0; } }
.brand { gap: .7rem; }
.logo-gold--nav { height: 52px; width: auto; filter: drop-shadow(0 1px 0 rgba(0,0,0,.7)); }
.brand .brand-txt { font-weight: 400; letter-spacing: 0; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--gold-2); text-shadow: 0 1px 0 rgba(0,0,0,.6); white-space: nowrap; }
@media (max-width: 400px) { .brand-txt { display: none; } }
.logo-gold--footer { width: min(320px, 70vw); margin: 0 auto; filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)); }
/* Entrada: el logo aparece en oro y le pasa un destello */
.logo-gold--intro {
  width: min(78vw, 460px);
  filter: drop-shadow(0 0 22px rgba(233,170,80,.45)) drop-shadow(0 2px 2px rgba(0,0,0,.8));
  opacity: 0; transform: scale(.9); clip-path: inset(0 0 100% 0);
  animation: logoIn .9s cubic-bezier(.33,0,.2,1) .05s forwards, logoShine 1.5s ease-in-out .85s both;
}
@keyframes logoIn { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* =============================================================
   14. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .topbar-addr { display: block; }
  .beam-list { grid-template-columns: repeat(3, 1fr); }
  .plaques { grid-template-columns: repeat(3, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .menu-cols { columns: 2; }
  .cellar-grid { columns: 2; }
  .reserve-facts { grid-template-columns: repeat(3, 1fr); }
  .notes { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .nav-links { display: flex; gap: clamp(1rem, 2vw, 2rem); }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-text { text-align: left; }
  .hero-desc { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
  .story-grid { grid-template-columns: 1.4fr .8fr; gap: 3.5rem; }
  .plaques { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(3, 1fr); }
  .dishes { grid-template-columns: repeat(6, 1fr); }
  .dish { grid-column: span 2; }
  .dish:nth-child(4) { grid-column: 2 / span 2; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .map-frame iframe { min-height: 100%; }
  .call-fab { display: none; }
  .footer { padding-bottom: 3.5rem; }
}
@media (min-width: 1280px) {
  .cellar-grid { columns: 3; }
}

/* =============================================================
   15. Entrada animada: puertas de madera que se abren
   ============================================================= */
.intro {
  position: fixed; inset: 0; z-index: 2000;
  perspective: 1800px;
  background: transparent;
  cursor: pointer;
  /* Red de seguridad: desaparece sola aunque falle el JS */
  animation: introSafety .6s 6.5s forwards;
}
html:not(.js) .intro, .no-intro .intro, .intro.is-gone { display: none; }
@keyframes introSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.intro-door {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background-color: #5b3920;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 18%, transparent 82%, rgba(0,0,0,.45)),
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(14,7,2,.7) 86px 89px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='800'%3E%3Cfilter id='w' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.16 .004' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='.5 .5 0 0 .25  .5 .5 0 0 .25  .5 .5 0 0 .25  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  background-size: auto, auto, 240px 800px;
  background-blend-mode: normal, normal, multiply;
  box-shadow: inset 0 0 60px rgba(0,0,0,.6);
  transition: transform 1.3s cubic-bezier(.65, 0, .25, 1), filter 1.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}
.intro-door--l { left: 0; transform-origin: left center; border-right: 2px solid #1a0f07; }
.intro-door--r { right: 0; transform-origin: right center; border-left: 2px solid #1a0f07; }
.band {
  position: absolute; left: 0; right: 0; height: 26px;
  background:
    radial-gradient(circle at 50% 50%, #8d877d 0 3px, #2b2723 4px, transparent 5px) 0 50% / 64px 26px repeat-x,
    linear-gradient(180deg, #34302b, #1c1a17 50%, #2a2622);
  box-shadow: 0 3px 6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.band--t { top: 16%; } .band--b { bottom: 16%; }
.ring {
  position: absolute; top: 76%; width: 46px; height: 46px; margin-top: -23px;
  border: 5px solid #26221e; border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12);
}
.ring::before { content: ""; position: absolute; top: -14px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8d877d, #26221e 70%); }
.intro-door--l .ring { right: 34px; }
.intro-door--r .ring { left: 34px; }
@media (max-width: 719px) { .ring { top: 68%; width: 38px; height: 38px; margin-top: -19px; } .intro-door--l .ring { right: 18px; } .intro-door--r .ring { left: 18px; } }

.intro-light {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; margin-left: -3px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,210,140,.95), rgba(233,170,80,.35) 60%, transparent);
  filter: blur(6px);
  opacity: 0;
  transition: opacity .5s ease, width 1.2s ease, margin-left 1.2s ease;
}

.intro-center {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--gold-2);
  background: radial-gradient(40% 35% at 50% 48%, rgba(233,170,80,.28), transparent 70%);
  transition: opacity .4s ease;
}
.intro-emblem { width: clamp(96px, 18vw, 140px); height: auto; filter: drop-shadow(0 0 18px rgba(233,170,80,.55)); }
.intro-emblem .draw { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1s cubic-bezier(.65,0,.35,1) .05s forwards; }
.intro-emblem .intro-cm { opacity: 0; animation: fadeIn .5s ease .55s forwards; }
.intro-name {
  margin-top: 1.2rem;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.2rem, 4vw, 2rem); letter-spacing: .3em; margin-right: -.3em;
  color: #f1e6cf; text-shadow: 0 2px 12px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(10px); animation: fadeUp .7s ease .25s forwards;
}
.intro-since {
  margin-top: .4rem; font-style: italic; font-size: 1.1rem; color: var(--gold-2);
  text-shadow: 0 2px 10px rgba(0,0,0,.9);
  opacity: 0; animation: fadeIn .7s ease .5s forwards;
}
.intro-skip {
  position: absolute; z-index: 3; right: 1.2rem; bottom: 1.2rem;
  padding: .5rem 1rem; border: 1px solid rgba(241,230,207,.35); border-radius: 3px;
  font-family: var(--display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream);
  background: rgba(0,0,0,.35);
  transition: opacity .3s ease;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Apertura */
.intro.is-open { cursor: default; pointer-events: none; }
.intro.is-open .intro-center, .intro.is-open .intro-skip { opacity: 0; }
.intro.is-open .intro-light { opacity: 1; width: 60px; margin-left: -30px; }
.intro.is-open .intro-door--l { transform: rotateY(-105deg); filter: brightness(.45); }
.intro.is-open .intro-door--r { transform: rotateY(105deg); filter: brightness(.45); }
.intro.is-fading .intro-light { opacity: 0; }

/* Movimiento reducido: solo lo intrusivo */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  /* La apertura de puertas se mantiene: es breve, ocurre una vez y Windows suele traer esta opción activada */
}

/* =============================================================
   Visita virtual: vídeo del tour 360 + botón
   ============================================================= */
.tour { max-width: 1040px; margin: 0 auto; }
.tour-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  padding: 0;
  background: #120c07;
  box-shadow: 0 0 0 10px rgba(60,42,26,.9), 0 0 0 12px rgba(214,161,75,.35), 0 30px 60px -20px rgba(0,0,0,.9);
}
.tour-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.65));
}
.tour-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--display); font-size: .8rem; letter-spacing: .16em; color: var(--gold-2);
  padding: .35rem .7rem; border: 1px solid rgba(233,194,122,.5); border-radius: 999px;
  background: rgba(18,12,7,.55); backdrop-filter: blur(4px);
}
.tour-cap {
  position: absolute; left: clamp(14px, 3vw, 28px); bottom: clamp(12px, 3vw, 24px); z-index: 2;
  font-family: var(--display); font-size: clamp(1rem, 2.6vw, 1.6rem); letter-spacing: .12em; color: var(--cream);
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.tour-cap span { display: inline-block; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tour-cap span.is-out { opacity: 0; transform: translateY(8px); }
.tour-actions { margin-top: clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
.tour-note { margin: .9rem auto 0; max-width: 46ch; font-size: 1rem; color: var(--cream-2); }
.tour-actions .btn svg { width: 1.4em; height: 1.4em; }
/* Mapa: solo se carga cuando el visitante lo pide (Google Maps usa cookies) */
.map-consent {
  min-height: 380px; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem 1.5rem; text-align: center; border-radius: 2px;
}
.map-pin { width: 54px; height: 54px; color: var(--gold); filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.map-addr { font-family: var(--display); letter-spacing: .08em; color: var(--cream); font-size: 1.05rem; }
.map-note { max-width: 34ch; font-size: .9rem; color: var(--cream-3); }
.map-note a { color: var(--gold-2); text-decoration: underline; }

/* Enlaces legales del pie */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; margin-top: .8rem; font-size: .85rem; }
.footer-legal a { color: var(--cream-3); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--gold-2); }