/* ============================================
   GRAN VADORI — Cocina criolla gourmet
   Falda del Carmen · Sierras de Córdoba
   ============================================ */

:root {
  --borravino: #6B2737;
  --borravino-oscuro: #451822;
  --carbon: #2B1A1E;
  --crudo: #E0D9CC;
  --beige: #D4C5A9;
  --oxido: #B5541E;
  --plomo: #4B5563;
  --blanco-humo: #F4EFE7;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Lato', 'Helvetica Neue', sans-serif;

  --ancho-max: 1120px;
  --ancho-texto: 680px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--carbon);
  background: var(--crudo);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--oxido); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--oxido);
  outline-offset: 3px;
}

/* ---------- Navegación ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(69, 24, 34, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(224, 217, 204, 0.15);
}

.nav-inner {
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-marca {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--crudo);
  text-transform: uppercase;
}
.nav-marca:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--beige);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--crudo); text-decoration: none; }

.nav-cta {
  background: var(--borravino-oscuro);
  color: var(--blanco-humo) !important;
  padding: 9px 20px;
  border-radius: 2px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--carbon); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--crudo);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--crudo);
  color: var(--carbon);
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxido);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  letter-spacing: 0.06em;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-rule {
  width: 64px;
  height: 1px;
  background: var(--oxido);
  margin: 30px auto;
  position: relative;
}
.hero-rule::after {
  content: '';
  position: absolute;
  top: 4px; left: 12px; right: 12px;
  height: 1px;
  background: rgba(212, 197, 169, 0.4);
}

.hero-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--borravino);
  max-width: 560px;
}

.hero-datos {
  margin-top: 44px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plomo);
}

.hero-acciones {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; }

.btn-primario {
  background: var(--borravino);
  color: var(--blanco-humo);
}
.btn-primario:hover { background: var(--borravino-oscuro); }

.btn-secundario {
  border: 1px solid var(--borravino);
  color: var(--borravino);
}
.btn-secundario:hover { background: rgba(107, 39, 55, 0.08); }

/* ---------- Secciones como "tiempos" ---------- */

.seccion {
  padding: 96px 24px;
}

.seccion-inner {
  max-width: var(--ancho-max);
  margin: 0 auto;
}

.tiempo {
  text-align: center;
  margin-bottom: 52px;
}

.tiempo-numero {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oxido);
  margin-bottom: 10px;
}

.tiempo h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--borravino);
}

.tiempo-rule {
  width: 48px;
  height: 1px;
  background: var(--borravino);
  margin: 20px auto 0;
}

.seccion-oscura { background: var(--borravino); color: var(--crudo); }
.seccion-oscura .tiempo h2 { color: var(--crudo); }
.seccion-oscura .tiempo-rule { background: var(--beige); }
.seccion-oscura .lead, .seccion-oscura p { color: rgba(224, 217, 204, 0.92); }

.seccion-beige { background: var(--beige); }

.lead {
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
  max-width: var(--ancho-texto);
  margin: 0 auto 24px;
  text-align: center;
  color: var(--carbon);
}

.texto {
  max-width: var(--ancho-texto);
  margin: 0 auto;
}
.texto p + p { margin-top: 18px; }

/* ---------- Grillas de contenido ---------- */

.grilla-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grilla-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tarjeta h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--borravino);
  margin-bottom: 10px;
}
.seccion-oscura .tarjeta h3 { color: var(--crudo); }

.tarjeta p { font-size: 0.98rem; }

/* Placeholder de imágenes hasta cargar fotos reales */
.foto {
  background:
    linear-gradient(135deg, rgba(107, 39, 55, 0.12), rgba(181, 84, 30, 0.12)),
    var(--beige);
  border: 1px solid rgba(107, 39, 55, 0.2);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plomo);
  text-align: center;
  padding: 12px;
}
.foto-alta { aspect-ratio: 3 / 4; }
.foto-panoramica { aspect-ratio: 21 / 9; }

/* ---------- Cava ---------- */

.cava-lista {
  max-width: var(--ancho-texto);
  margin: 36px auto 0;
  list-style: none;
}

.cava-lista li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(224, 217, 204, 0.2);
  font-size: 0.95rem;
}

.cava-lista .region {
  color: var(--beige);
  font-style: italic;
  font-family: var(--display);
  white-space: nowrap;
}

/* ---------- Eventos ---------- */

.evento-tarjeta {
  background: var(--blanco-humo);
  border: 1px solid rgba(107, 39, 55, 0.15);
  padding: 32px 28px;
}

/* ---------- Bloque VVS ---------- */

.vvs {
  background:
    linear-gradient(0deg, rgba(43, 26, 30, 0.35), rgba(43, 26, 30, 0.35)),
    var(--plomo);
  color: var(--crudo);
  text-align: center;
}

.vvs h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.vvs p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(224, 217, 204, 0.9);
}

/* ---------- Reservas ---------- */

.reservas-grilla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.dato-bloque h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--borravino);
  margin-bottom: 8px;
}

.dato-bloque + .dato-bloque { margin-top: 26px; }

.horarios {
  list-style: none;
  font-size: 0.98rem;
}
.horarios li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(75, 85, 99, 0.35);
}

/* ---------- Carta (página) ---------- */

.carta-header {
  padding-top: 150px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--borravino-oscuro), var(--borravino));
  color: var(--crudo);
  text-align: center;
}

.carta-seccion {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
.carta-seccion:last-of-type { padding-bottom: 80px; }

.carta-seccion h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--borravino);
  text-align: center;
  margin-bottom: 8px;
}

.carta-seccion .carta-nota {
  text-align: center;
  font-style: italic;
  font-family: var(--display);
  color: var(--plomo);
  margin-bottom: 30px;
}

.plato {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted rgba(75, 85, 99, 0.3);
}

.plato-info h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

.plato-info p {
  font-size: 0.88rem;
  color: var(--plomo);
}

.plato-precio {
  font-family: var(--display);
  font-size: 1.1rem;
  white-space: nowrap;
  color: var(--borravino);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--carbon);
  color: rgba(224, 217, 204, 0.7);
  padding: 56px 24px 40px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-logo {
  height: 34px;
  width: auto;
  display: block;
  margin: 0 auto 14px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  list-style: none;
}

.footer-links a { color: var(--beige); }

/* ---------- WhatsApp flotante ---------- */

.wsp-flotante {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.wsp-flotante:hover { transform: scale(1.06); text-decoration: none; }
.wsp-flotante svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Logo ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.nav-logo {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-logo-wrap {
  display: inline-block;
  margin-bottom: 28px;
}

.hero-logo {
  width: clamp(180px, 28vw, 320px);
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .nav-logo { height: 32px; }
  .hero-logo { width: clamp(160px, 58vw, 240px); }
}

/* ---------- Carruseles ---------- */

.carrusel {
  position: relative;
  overflow: hidden;
  background: var(--beige);
}


.carrusel-pista {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carrusel-pista::-webkit-scrollbar { display: none; }

.carrusel-img {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  scroll-snap-align: start;
}


.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(43, 26, 30, 0.55);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.carrusel-btn:hover { background: rgba(43, 26, 30, 0.88); }
.carrusel-ant { left: 12px; }
.carrusel-sig { right: 12px; }

.carrusel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}

.carrusel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s;
}
.carrusel-dot.activo { background: #fff; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grilla-2, .grilla-3, .reservas-grilla { grid-template-columns: 1fr; }
  .grilla-2 { gap: 28px; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--borravino-oscuro);
    flex-direction: column;
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid rgba(224, 217, 204, 0.15);
  }
  .nav-links.abierto { display: flex; }

  .seccion { padding: 68px 20px; }
}
