/* =========================================================
   Restaurante La Cepa · hoja de estilos
   Colores y tipografías en :root (cámbialos aquí y cambian en toda la web)
   ========================================================= */

@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fuentes/cormorant-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fuentes/cormorant-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fuentes/cormorant-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fuentes/jost-300.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fuentes/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fuentes/jost-500.woff2") format("woff2"); }

:root {
  --bosque: #1E3027;
  --bosque-2: #253A2F;
  --bosque-3: #2F4A3C;
  --crema: #F5EFE3;
  --papel: #FBF8F1;
  --arena: #ECE3D1;
  --linea: #DCD1BB;
  --tinta: #1C1F1A;
  --texto: #4A483F;
  --suave: #6A665A;
  --oro: #C9A46A;
  --oro-oscuro: #7A5C2C;
  --terracota: #9E4426;
  --claro: #EDE6D6;
  --claro-suave: #C4C9BC;

  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65;
  color: var(--tinta); background: var(--crema); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 14px; }

.cont { max-width: var(--ancho); margin: 0 auto; padding-inline: var(--pad); }
.cont--estrecho { max-width: 1040px; }
.centro { text-align: center; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }

/* Tipografía de sección */
.ante {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--oro-oscuro); margin-bottom: 22px;
}
.ante .num { font-family: var(--serif); font-size: 18px; letter-spacing: 0; font-style: italic; }
.ante::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.centro .ante::before { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.ante--claro { color: var(--oro); }
.titulo {
  font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6vw, 76px);
  line-height: 1; letter-spacing: -.01em; color: var(--bosque);
}
.titulo em { color: var(--oro-oscuro); }
.titulo--claro { color: var(--claro); }
.titulo--claro em { color: var(--oro); }
.entradilla { margin-top: 26px; font-size: 18px; font-weight: 400; color: var(--texto); max-width: 560px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--oro { background: var(--oro); color: var(--bosque); }
.btn--oro:hover { background: var(--claro); color: var(--bosque); }
.btn--verde { background: var(--bosque); color: var(--claro); }
.btn--verde:hover { background: var(--terracota); color: #fff; }
.btn--claro { background: var(--claro); color: var(--bosque); }
.btn--claro:hover { background: var(--oro); }
.btn--linea-claro { border-color: rgba(237, 230, 214, .55); color: var(--claro); background: transparent; }
.btn--linea-claro:hover { background: var(--claro); color: var(--bosque); border-color: var(--claro); }
.botones { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===================== CABECERA ===================== */
.cab {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--claro);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.cab__in { max-width: 1400px; margin: 0 auto; padding: 22px var(--pad); display: flex; align-items: center; gap: 32px; transition: padding .4s var(--ease); }
.cab--solida { background: rgba(245, 239, 227, .97); color: var(--bosque); box-shadow: 0 1px 0 var(--linea); backdrop-filter: blur(8px); }
.cab--solida .cab__in { padding-block: 12px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.logo__nombre { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: .01em; }
.logo__sub { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; opacity: .85; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav__reserva { display: none; }
.cab--solida .btn--claro { background: var(--bosque); color: var(--claro); }
.cab--solida .btn--claro:hover { background: var(--terracota); color: #fff; }
.hamb { display: none; width: 48px; height: 48px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.hamb span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.hamb span:first-child { top: 19px; }
.hamb span:last-child { top: 28px; }
.hamb[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.hamb[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ===================== PORTADA ===================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  color: var(--claro); background: var(--bosque); overflow: hidden; isolation: isolate;
}
/* Fondo cuando aún no hay foto: ramas de vid dibujadas */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520' fill='none' stroke='%23C9A46A' stroke-width='1.2'%3E%3Cpath d='M40 480 C140 400 180 300 260 260 S420 160 480 40'/%3E%3Cpath d='M150 380c-30-40-80-50-110-40 20 40 70 60 110 40zM210 300c10-50-10-90-40-110-15 45 0 90 40 110zM290 245c40-25 90-20 115 0-40 25-85 25-115 0zM350 190c-10-45 10-90 45-110 10 45-10 90-45 110zM420 110c35-15 70-5 90 15-35 15-70 10-90-15z'/%3E%3Ccircle cx='238' cy='330' r='9'/%3E%3Ccircle cx='254' cy='346' r='9'/%3E%3Ccircle cx='224' cy='350' r='9'/%3E%3Ccircle cx='240' cy='366' r='9'/%3E%3Ccircle cx='256' cy='382' r='9'/%3E%3Ccircle cx='242' cy='398' r='9'/%3E%3C/svg%3E") right -60px center / min(760px, 90vw) no-repeat;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: acercar 18s var(--ease) both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,22,.55) 0%, rgba(20,28,22,.25) 40%, rgba(20,28,22,.85) 100%); }
@keyframes acercar { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__in { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: var(--ancho); width: 100%; margin: 0 auto; padding: 140px var(--pad) 60px; }
.hero__ante { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--oro); }
.hero__titulo { font-family: var(--serif); font-weight: 500; font-size: clamp(96px, 17vw, 230px); line-height: .9; letter-spacing: -.02em; margin: 18px 0 34px -.04em; }
.hero__lema { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; max-width: 640px; color: var(--claro); }
.hero__botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero__pie {
  max-width: var(--ancho); width: 100%; margin: 0 auto; padding: 0 var(--pad) 34px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.hero__dato { border-top: 1px solid rgba(237,230,214,.3); padding-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.hero__dato span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--claro-suave); }
.hero__dato strong { font-weight: 400; font-size: 16px; }
.hero__dato a { text-decoration: none; }
.estado::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--claro-suave); margin-right: 8px; vertical-align: 1px; }
.estado--abierto { color: #A9D8B4 !important; }
.estado--abierto::before { background: #6FCF8A; box-shadow: 0 0 0 4px rgba(111,207,138,.2); }

/* ===================== FOTOS (con relleno elegante si falta la imagen) ===================== */
.foto { position: relative; overflow: hidden; background: var(--bosque-3); isolation: isolate; }
.foto::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,164,106,.35); z-index: -1;
}
.foto::after {
  content: attr(data-etiqueta); position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; z-index: -1; padding: 0 24px;
  font-family: var(--serif); font-style: italic; font-size: 24px; color: rgba(237,230,214,.7);
}
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

/* ===================== LA CASA ===================== */
.casa__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.pilares { margin-top: 44px; display: grid; gap: 26px; }
.pilares li { display: flex; gap: 20px; align-items: flex-start; }
.pilares svg { flex: 0 0 44px; width: 44px; height: 44px; fill: none; stroke: var(--oro-oscuro); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pilares strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--bosque); line-height: 1.1; }
.pilares span { font-weight: 400; color: var(--texto); }
.casa__fotos { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto; }
.foto--alta { grid-column: 1 / 10; aspect-ratio: 4 / 5; }
.foto--baja { grid-column: 7 / 13; aspect-ratio: 1; margin-top: -38%; border: 10px solid var(--crema); }
.sello {
  position: absolute; left: -28px; bottom: 18%; width: 150px; height: 150px; border-radius: 50%;
  background: var(--terracota); color: #F7E9DF; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; transform: rotate(-10deg); box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.sello span { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; }
.sello strong { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.1; margin: 4px 0; }

/* ===================== ESPECIALIDADES ===================== */
.espec { background: var(--bosque); color: var(--claro); overflow: hidden; }
.espec__cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.espec__flechas { display: flex; gap: 10px; }
.flecha { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(237,230,214,.35); background: transparent; color: var(--claro); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; }
.flecha:hover { background: var(--oro); color: var(--bosque); border-color: var(--oro); }
.flecha svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.espec__pista {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--pad), calc((100vw - var(--ancho)) / 2 + var(--pad)));
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--ancho)) / 2 + var(--pad)));
  padding-bottom: 8px;
}
.espec__pista::-webkit-scrollbar { display: none; }
.plato-card { flex: 0 0 clamp(270px, 30vw, 380px); scroll-snap-align: start; }
.plato-card .foto { aspect-ratio: 1 / 1; background: var(--bosque-2); }
.plato-card:hover .foto img { transform: scale(1.05); }
.plato-card__cat { display: block; margin-top: 22px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); }
.plato-card__fila { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 6px; }
.plato-card h3 { font-family: var(--serif); font-size: 32px; line-height: 1.05; color: var(--claro); }
.plato-card__precio { font-family: var(--serif); font-size: 28px; color: var(--oro); white-space: nowrap; }
.plato-card p { margin-top: 10px; font-weight: 400; color: var(--claro-suave); font-size: 16px; }

/* ===================== CARTA ===================== */
.carta { background: var(--papel); }
.carta__nota { margin-top: 16px; color: var(--suave); font-size: 15px; }
.pestanas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 36px; margin: 56px 0 48px; border-bottom: 1px solid var(--linea); }
.pestana {
  background: none; border: 0; padding: 12px 2px 16px; cursor: pointer; position: relative;
  font-family: var(--serif); font-size: 28px; color: var(--suave); transition: color .3s;
}
.pestana::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--oro-oscuro); transform: scaleX(0); transition: transform .35s var(--ease); }
.pestana:hover { color: var(--bosque); }
.pestana[aria-selected="true"] { color: var(--bosque); }
.pestana[aria-selected="true"]::after { transform: scaleX(1); }
.panel { animation: aparecer .5s var(--ease); }
.panel[hidden] { display: none; }
@keyframes aparecer { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__sello { display: flex; justify-content: center; margin-bottom: 28px; }
.etiqueta-sg { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--oro-oscuro); color: var(--oro-oscuro); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 14px; }
.lista-platos { columns: 2 380px; column-gap: 72px; }
.lp { break-inside: avoid; display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.lp__nombre { font-size: 17px; }
.lp__puntos { flex: 1; }
.lp__precio { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--bosque); white-space: nowrap; }
.lp--destacado .lp__nombre::after { content: "★"; color: var(--oro-oscuro); font-size: 12px; margin-left: 8px; vertical-align: 2px; }
.carta__leyenda { margin-top: 28px; text-align: center; font-size: 14px; color: var(--suave); }

/* ===================== MENÚ ===================== */
.menu { background: var(--bosque-2); color: var(--claro); }
.menu__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.menu__texto { margin-top: 24px; font-weight: 400; color: var(--claro-suave); font-size: 18px; }
.precios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(237,230,214,.2); border: 1px solid rgba(237,230,214,.2); margin: 36px 0; }
.precio { background: var(--bosque-2); padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.precio span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--claro-suave); }
.precio strong { font-family: var(--serif); font-weight: 500; font-size: 60px; line-height: 1; }
.precio--oro strong { color: var(--oro); }
.papel {
  background: var(--papel); color: var(--tinta); padding: clamp(32px, 5vw, 64px); position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.25); transform: rotate(.6deg);
}
.papel::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--linea); pointer-events: none; }
.papel::after { content: ""; position: absolute; inset: 17px; border: 1px solid var(--linea); pointer-events: none; }
.papel__cab { text-align: center; margin-bottom: 32px; }
.papel__orn { font-size: 26px; color: var(--oro-oscuro); }
.papel__cab h3 { font-family: var(--serif); font-size: 46px; color: var(--bosque); line-height: 1; margin-top: 4px; }
.papel__cab p { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--suave); margin-top: 10px; }
.papel__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; text-align: center; position: relative; z-index: 1; }
.papel__cols h4 { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--oro-oscuro); margin-bottom: 10px; }
.papel__cols li { font-size: 14px; line-height: 1.4; padding: 5px 0; color: var(--texto); }
.papel__supl { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--linea); text-align: center; position: relative; z-index: 1; }
.papel__supl h4 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--suave); margin-bottom: 10px; font-weight: 500; }
.papel__supl ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 14px; }
.papel__supl strong { color: var(--oro-oscuro); font-weight: 500; }
.papel__pie { margin-top: 22px; text-align: center; font-size: 12px; letter-spacing: .08em; color: var(--suave); position: relative; z-index: 1; }

/* ===================== BODEGA ===================== */
.bodega__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.vinos { margin-top: 44px; }
.vinos__cab, .vino { display: grid; grid-template-columns: minmax(0, 1fr) 70px 80px; gap: 16px; align-items: baseline; }
.vinos__cab { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--suave); padding-bottom: 10px; border-bottom: 1px solid var(--bosque); }
.vinos__cab span:not(:first-child), .vino > span:not(:first-child) { text-align: right; }
.vino { padding: 16px 0; border-bottom: 1px solid var(--linea); }
.vino__nombre { font-family: var(--serif); font-size: 23px; line-height: 1.15; color: var(--bosque); }
.vino__do { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-oscuro); margin-top: 3px; }
.vino__copa { color: var(--suave); }
.vino__botella { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--bosque); }
.bebidas { background: var(--arena); padding: clamp(28px, 4vw, 44px); position: sticky; top: 100px; }
.bebidas h3 { font-family: var(--serif); font-size: 38px; color: var(--bosque); margin-bottom: 18px; }
.beb { border-top: 1px solid var(--linea); }
.beb summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--oro-oscuro); }
.beb summary::-webkit-details-marker { display: none; }
.beb summary::after { content: "+"; font-size: 22px; font-weight: 400; letter-spacing: 0; transition: transform .3s; }
.beb[open] summary::after { transform: rotate(45deg); }
.beb li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15.5px; }
.beb ul { padding-bottom: 14px; }
.beb li strong { font-weight: 500; white-space: nowrap; }

/* ===================== SALONES ===================== */
.salones { background: var(--arena); }
.salones__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.foto--salon { aspect-ratio: 5 / 4; }
.cifras { display: flex; gap: 48px; margin-top: 36px; }
.cifras strong { display: block; font-family: var(--serif); font-size: 84px; font-weight: 500; line-height: .9; color: var(--terracota); }
.cifras span { font-size: 14px; color: var(--suave); }
.salones .btn { margin-top: 36px; }

/* ===================== GALERÍA ===================== */
.galeria { background: var(--papel); }
.galeria__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 240px; gap: 14px; }
.galeria__grid button { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--arena); }
.galeria__grid button:nth-child(5n+1) { grid-row: span 2; }
.galeria__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.galeria__grid button:hover img { transform: scale(1.05); }
.visor { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.visor::backdrop { background: rgba(15,20,16,.9); }
.visor img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.visor p { color: var(--claro); text-align: center; padding-top: 10px; }
.visor__cerrar { position: fixed; top: 16px; right: 20px; width: 48px; height: 48px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; }

/* ===================== VISÍTANOS ===================== */
.visita { background: var(--bosque); color: var(--claro); }
.visita__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.datos { margin: 40px 0; display: grid; gap: 24px; }
.datos dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); margin-bottom: 4px; }
.datos dd { font-size: 19px; font-weight: 400; }
.datos a { text-decoration-color: rgba(201,164,106,.6); text-underline-offset: 4px; }
.estado-linea { font-size: 15px !important; color: var(--claro-suave); margin-top: 4px; }
.mapa {
  position: relative; min-height: 460px; background: var(--bosque-2); border: 1px solid rgba(237,230,214,.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 32px; overflow: hidden;
}
.mapa__dibujo { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(201,164,106,.25); stroke-width: 1.2; }
.mapa__dibujo circle { fill: var(--oro); stroke: none; }
.mapa__caja { position: relative; background: var(--bosque-2); padding: 26px 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; border: 1px solid rgba(237,230,214,.15); }
.mapa p { font-size: 15px; color: var(--claro-suave); }
.mapa--cargado { padding: 0; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }

/* ===================== PIE ===================== */
.pie { background: #141C17; color: var(--claro-suave); padding: 72px 0 28px; font-size: 15px; }
.pie__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.logo--pie { color: var(--claro); margin-bottom: 16px; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--oro); }
.pie__nav { display: flex; flex-direction: column; gap: 8px; }
.pie__copy { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(237,230,214,.12); font-size: 13px; }

/* ===================== BARRA MÓVIL ===================== */
.barra-movil { display: none; }

/* ===================== ANIMACIONES AL HACER SCROLL ===================== */
.js .revelar { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .revelar.visto { opacity: 1; transform: none; }
.js .hero .revelar { transition-duration: 1.2s; }
.js .hero .revelar:nth-child(2) { transition-delay: .12s; }
.js .hero .revelar:nth-child(3) { transition-delay: .24s; }
.js .hero .revelar:nth-child(4) { transition-delay: .36s; }

/* ===================== PÁGINAS LEGALES ===================== */
.legal { padding: 150px 0 110px; background: var(--papel); }
.legal .cont { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-size: clamp(44px, 6vw, 64px); color: var(--bosque); line-height: 1; margin-bottom: 28px; }
.legal h2 { font-family: var(--serif); font-size: 30px; color: var(--bosque); margin: 40px 0 10px; }
.legal p, .legal li { color: var(--texto); margin-bottom: 12px; font-weight: 400; }
.legal ul { list-style: disc; padding-left: 22px; }
.pendiente { background: #FFF0B8; padding: 0 4px; }
.pagina-simple .cab { position: sticky; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .nav { gap: 20px; font-size: 13px; }
}
@media (max-width: 960px) {
  .hamb { display: block; }
  .cab__cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 4px;
    background: var(--bosque); color: var(--claro); font-family: var(--serif); font-size: 34px; letter-spacing: 0; text-transform: none;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.abierto { opacity: 1; visibility: visible; }
  .nav__reserva { display: inline-flex; margin-top: 24px; font-family: var(--sans); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; background: var(--oro); color: var(--bosque); padding: 16px 28px !important; }
  .nav__reserva::after { display: none; }
  .menu-abierto .cab { color: var(--claro); background: transparent; box-shadow: none; }
  .menu-abierto { overflow: hidden; }

  .casa__grid, .menu__grid, .bodega__grid, .salones__grid, .visita__grid { grid-template-columns: minmax(0, 1fr); }
  .casa__fotos { max-width: 620px; }
  .sello { left: auto; right: 0; bottom: auto; top: -30px; width: 124px; height: 124px; }
  .sello strong { font-size: 26px; }
  .papel { transform: none; }
  .bebidas { position: static; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
  .pie__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .hero__pie { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 20px; }
  .hero__dato { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; }
  .hero__dato strong { font-size: 15px; text-align: right; }
  .hero__in { padding-top: 120px; }
  .hero__botones .btn { flex: 1 1 100%; }
  .lista-platos { columns: 1; }
  .papel__cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .papel { padding: 36px 26px; }
  .precio strong { font-size: 46px; }
  .vinos__cab, .vino { grid-template-columns: minmax(0, 1fr) 54px 64px; gap: 10px; }
  .vino__nombre { font-size: 20px; }
  .pestanas { gap: 0 22px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .pestana { font-size: 24px; flex: 0 0 auto; }
  .cifras strong { font-size: 64px; }
  .mapa { min-height: 360px; }
  .barra-movil {
    display: grid; grid-template-columns: 1fr 1.4fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(20,28,23,.97); backdrop-filter: blur(8px); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .barra-movil a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; color: var(--claro); text-decoration: none; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  .barra-movil svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .barra-movil__principal { background: var(--oro); color: var(--bosque) !important; font-weight: 500; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar { opacity: 1; transform: none; }
}

/* ===================== AÑADIDOS VERSIÓN 3 ===================== */
.hero__h1 { margin: 0; font-weight: 500; }
.hero__h1 .hero__ante, .hero__h1 .hero__titulo { display: block; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.btn--linea { border-color: var(--bosque); color: var(--bosque); background: transparent; }
.btn--linea:hover { background: var(--bosque); color: var(--claro); }

.espec__pie { margin-top: 48px; }

/* Resumen de la carta en la portada */
.resumen { background: var(--papel); }
.resumen__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--linea); border: 1px solid var(--linea); }
.resumen__item { background: var(--papel); padding: 34px 30px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background .3s var(--ease); }
.resumen__item:hover { background: #fff; }
.resumen__num { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-oscuro); }
.resumen__item h3 { font-family: var(--serif); font-size: 36px; color: var(--bosque); line-height: 1; }
.resumen__item ul { font-weight: 400; font-size: 15px; color: var(--texto); display: grid; gap: 6px; margin: 6px 0 10px; flex: 1; }
.resumen__ver { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bosque); font-weight: 500; }
.papel--mini { transform: rotate(.6deg); }
.papel__mas { font-style: italic; color: var(--suave) !important; }

/* Opiniones */
.opina { background: var(--arena); padding: 56px 0; border-top: 1px solid var(--linea); }
.opina__in { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.opina__txt { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); color: var(--bosque); line-height: 1.2; max-width: 640px; }
.opina__txt em { color: var(--oro-oscuro); }

/* Preguntas frecuentes */
.faq { background: var(--crema); }
.faq__lista { margin-top: 48px; border-top: 1px solid var(--linea); }
.faq__item { border-bottom: 1px solid var(--linea); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 28px; font-weight: 400; color: var(--oro-oscuro); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item h3 { font-family: var(--serif); font-size: 26px; color: var(--bosque); line-height: 1.2; }
.faq__item p { padding: 0 0 24px; font-weight: 400; color: var(--texto); max-width: 760px; }

/* Cabecera de páginas interiores */
.phero { background: var(--bosque); color: var(--claro); padding: 150px 0 72px; }
.migas { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--claro-suave); margin-bottom: 26px; }
.migas a { text-decoration: none; color: var(--oro); }
.phero__titulo { font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 9vw, 120px); line-height: .95; }
.phero__titulo em { color: var(--oro); }
.phero__texto { margin: 24px 0 34px; max-width: 680px; font-weight: 400; font-size: 19px; color: var(--claro-suave); }
.precios--phero { max-width: 560px; margin-bottom: 0; }

/* Índice fijo de la carta */
.indice { position: sticky; top: 64px; z-index: 50; background: var(--crema); border-bottom: 1px solid var(--linea); }
.indice__in { display: flex; gap: 6px 30px; overflow-x: auto; scrollbar-width: none; }
.indice__in::-webkit-scrollbar { display: none; }
.indice a { flex: 0 0 auto; padding: 16px 0 14px; text-decoration: none; font-family: var(--serif); font-size: 22px; color: var(--suave); border-bottom: 2px solid transparent; }
.indice a:hover, .indice a.activo { color: var(--bosque); border-bottom-color: var(--oro-oscuro); }
.carta-completa { background: var(--papel); padding: 40px 0 80px; }
.cseccion { padding: 56px 0 24px; scroll-margin-top: 140px; }
.cseccion__cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--bosque); }
.cseccion__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--oro-oscuro); }
.cseccion h2 { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); color: var(--bosque); line-height: 1; margin-right: auto; }
#bodega, #bebidas { scroll-margin-top: 140px; }
.bebidas h2 { font-family: var(--serif); font-size: 38px; color: var(--bosque); margin-bottom: 18px; }

/* Bloque final de reserva */
.cierre { background: var(--bosque); color: var(--claro); padding: 96px 0; text-align: center; }
.cierre__in { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cierre p { color: var(--claro-suave); font-weight: 400; }
.cierre .botones { justify-content: center; }

/* Menú: página completa */
.menu-pagina { background: var(--bosque-2); }
.papel--grande { max-width: 1040px; margin: 0 auto; transform: none; }
.papel--grande .papel__cab h2 { font-family: var(--serif); font-size: 56px; color: var(--bosque); line-height: 1; margin-top: 4px; }
.papel--grande .papel__cols h3 { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--oro-oscuro); margin-bottom: 12px; }
.papel--grande .papel__cols li { font-size: 15.5px; }
.papel__incluye { margin-top: 30px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--bosque); position: relative; z-index: 1; }
.papel--grande .papel__supl h3 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--suave); margin-bottom: 10px; font-weight: 500; }

.pie__nap { font-style: normal; line-height: 1.7; }
.pie__nap strong { color: var(--claro); font-weight: 500; }

@media (max-width: 960px) {
  .indice { top: 60px; }
}
@media (max-width: 680px) {
  .phero { padding: 120px 0 56px; }
  .opina__in .botones { width: 100%; }
  .opina__in .btn { flex: 1 1 100%; }
  .faq__item h3 { font-size: 22px; }
  .resumen__item { padding: 26px 22px; }
  .papel--mini .papel__cols { grid-template-columns: minmax(0, 1fr); }
}

/* ===================== LETRA MÁS GRANDE EN MÓVIL ===================== */
@media (max-width: 680px) {
  body { font-size: 18px; line-height: 1.65; }
  .btn { font-size: 15.5px; min-height: 54px; letter-spacing: .1em; }
  .ante, .hero__ante { font-size: 14px; letter-spacing: .18em; }
  .ante .num { font-size: 20px; }
  .logo__sub { font-size: 12px; letter-spacing: .24em; }
  .logo__nombre { font-size: 34px; }
  .hero__lema { font-size: 28px; }
  .hero__dato span { font-size: 13.5px; }
  .hero__dato strong { font-size: 17px; }
  .entradilla, .phero__texto, .menu__texto { font-size: 19px; }
  .pilares strong { font-size: 28px; }
  .pilares span { font-size: 18px; }
  .plato-card__cat { font-size: 13.5px; }
  .plato-card h3 { font-size: 34px; }
  .plato-card__precio { font-size: 30px; }
  .plato-card p { font-size: 18px; }
  .resumen__num { font-size: 13.5px; }
  .resumen__item h3 { font-size: 38px; }
  .resumen__item ul { font-size: 17.5px; }
  .resumen__ver { font-size: 14.5px; }
  .carta__nota { font-size: 17px; }
  .lp__nombre { font-size: 18.5px; line-height: 1.4; }
  .lp__precio { font-size: 24px; }
  .carta__leyenda { font-size: 16px; }
  .etiqueta-sg { font-size: 13.5px; }
  .cseccion__num { font-size: 24px; }
  .indice a { font-size: 24px; }
  .precio span { font-size: 14px; }
  .papel__cab p { font-size: 14px; }
  .papel__cols h3, .papel__cols h4 { font-size: 28px; }
  .papel__cols li, .papel--grande .papel__cols li { font-size: 17.5px; line-height: 1.45; padding: 6px 0; }
  .papel__mas { font-size: 16px; }
  .papel__incluye { font-size: 24px; }
  .papel__supl h3, .papel__supl h4, .papel--grande .papel__supl h3 { font-size: 14px; }
  .papel__supl ul { font-size: 17px; flex-direction: column; gap: 6px; }
  .papel__pie { font-size: 14.5px; line-height: 1.5; }
  .vinos__cab { font-size: 13.5px; }
  .vino__nombre { font-size: 23px; }
  .vino__do { font-size: 13.5px; }
  .vino__copa { font-size: 17px; }
  .vino__botella { font-size: 23px; }
  .bebidas h2, .bebidas h3 { font-size: 40px; }
  .beb summary { font-size: 15px; }
  .beb li { font-size: 17.5px; }
  .cifras strong { font-size: 72px; }
  .cifras span { font-size: 16px; }
  .opina__txt { font-size: 26px; }
  .faq__item h3 { font-size: 24px; }
  .faq__item p { font-size: 18px; }
  .datos dt { font-size: 13.5px; }
  .datos dd { font-size: 19px; }
  .estado-linea { font-size: 16.5px !important; }
  .mapa p { font-size: 16.5px; }
  .migas { font-size: 14.5px; }
  .pie { font-size: 17px; }
  .pie__copy { font-size: 14.5px; }
  .barra-movil a { font-size: 14px; }
  .sello span { font-size: 11px; }
  .legal p, .legal li { font-size: 18px; }
}
