/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: #f7f4ee;
  color: #1e1208;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== VARIABLES ===== */
:root {
  --cream: #f7f4ee;
  --dark: #1e1208;
  --wine: #5c1a1a;
  --amber: #b5620a;
  --muted: #7a6a5a;
  --border: rgba(30,18,8,0.12);
  --font-display: 'Playfair Display', serif;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,238,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { height: 48px; width: auto; }
.main-nav { display: flex; gap: 2.5rem; }
.nav-link {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(30,18,8,0.6); transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--wine); }
.btn-reservar {
  background: var(--wine); color: var(--cream);
  padding: 0.6rem 1.4rem; font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px; transition: background 0.2s;
}
.btn-reservar:hover { background: #4a1414; }
.menu-toggle {
  display: none; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; color: var(--dark);
}
.mobile-nav {
  display: none; flex-direction: column; gap: 1rem;
  padding: 1.5rem; border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }

@media (max-width: 768px) {
  .main-nav, .btn-reservar { display: none; }
  .menu-toggle { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,18,8,0.35) 0%, rgba(30,18,8,0.3) 40%, rgba(30,18,8,0.92) 100%);
}
.hero-content {
  position: relative; max-width: 1200px; margin: 0 auto;
  padding: 10rem 1.5rem 6rem; width: 100%;
}
.eyebrow {
  font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400; line-height: 0.95;
  color: var(--cream); max-width: 900px;
}
.hero-content h1 em { color: var(--amber); font-style: italic; }
.hero-sub {
  margin-top: 2rem; max-width: 520px;
  color: rgba(247,244,238,0.82); font-size: 1.05rem; line-height: 1.65;
}
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-primary {
  background: var(--amber); color: var(--cream);
  padding: 1rem 2rem; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 2px; transition: background 0.2s; display: inline-block;
}
.btn-primary:hover { background: #9a520a; }
.btn-outline {
  border: 1px solid rgba(247,244,238,0.4); color: var(--cream);
  padding: 1rem 2rem; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 2px; transition: background 0.2s; display: inline-block;
}
.btn-outline:hover { background: rgba(247,244,238,0.1); }
.hero-stats {
  margin-top: 3.5rem; display: flex; flex-wrap: wrap;
  align-items: center; gap: 1.5rem;
  color: rgba(247,244,238,0.75); font-size: 0.9rem;
}
.stat-num {
  font-family: var(--font-display); font-size: 2rem; color: var(--amber);
}
.divider { width: 1px; height: 1.5rem; background: rgba(247,244,238,0.3); }
@media (max-width: 600px) { .divider { display: none; } }

/* ===== HISTORIA ===== */
.historia { padding: 7rem 1.5rem; max-width: 1000px; margin: 0 auto; }
.historia-inner { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: start; }
.label {
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--wine); margin-bottom: 1.5rem; display: block;
}
.historia-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400; line-height: 1.1;
}
.historia-right p { font-size: 1.05rem; line-height: 1.7; color: rgba(30,18,8,0.82); margin-bottom: 1.2rem; }
.quote {
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--wine); font-style: italic; margin-top: 1rem !important;
}
@media (max-width: 700px) {
  .historia-inner { grid-template-columns: 1fr; }
}

/* ===== PLATOS ===== */
.platos { padding: 6rem 1.5rem; background: rgba(181,98,10,0.06); }
.platos-inner { max-width: 1200px; margin: 0 auto; }
.platos-header { text-align: center; margin-bottom: 4rem; }
.platos-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400;
}
.platos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) { .platos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .platos-grid { grid-template-columns: 1fr; } }
.plato-img-wrap {
  aspect-ratio: 1; overflow: hidden; background: #e8e2d8; margin-bottom: 1.2rem;
}
.plato-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.plato:hover .plato-img-wrap img { transform: scale(1.05); }
.plato-info { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.3rem; }
.plato-info h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--wine); }
.precio { font-family: var(--font-display); font-size: 0.9rem; color: rgba(30,18,8,0.6); white-space: nowrap; }
.plato-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.platos-cta { text-align: center; margin-top: 3.5rem; }
.link-arrow {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  border-bottom: 1px solid var(--wine); padding-bottom: 0.2rem;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--wine); }

/* ===== BODEGA ===== */
.bodega { padding: 7rem 1.5rem; }
.bodega-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 800px) { .bodega-inner { grid-template-columns: 1fr; } }
.bodega-img-col { position: relative; }
.bodega-img-col img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.bodega-quote {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--wine); color: var(--cream);
  padding: 2rem; max-width: 260px;
  font-family: var(--font-display); font-size: 1.1rem; line-height: 1.4;
}
@media (max-width: 800px) { .bodega-quote { position: static; margin-top: 1rem; } }
.bodega-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400;
  margin-bottom: 2rem; line-height: 1.1;
}
.bodega-text p { font-size: 1.05rem; line-height: 1.7; color: rgba(30,18,8,0.82); margin-bottom: 1.2rem; }
.muted { color: var(--muted) !important; font-style: italic; }
.terraza-img { margin-top: 2rem; width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 6rem 1.5rem; background: var(--dark);
  color: var(--cream); text-align: center;
}
.cta-section .label.accent { color: var(--amber); }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400;
  margin-bottom: 1rem;
}
.cta-sub { color: rgba(247,244,238,0.7); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); color: var(--cream); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-inner h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 0.75rem; }
.footer-inner h4 {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.footer-inner p { color: rgba(247,244,238,0.7); font-size: 0.9rem; line-height: 1.7; }
.footer-inner a:hover { color: var(--amber); }
.footer-copy {
  border-top: 1px solid rgba(247,244,238,0.1);
  padding: 1.5rem; text-align: center;
  font-size: 0.75rem; color: rgba(247,244,238,0.4); letter-spacing: 0.1em;
}

/* ===== INNER PAGES ===== */
.page-hero {
  padding: 7rem 1.5rem 4rem; text-align: center;
  max-width: 800px; margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 400;
  margin-bottom: 1rem; line-height: 1.1;
}
.page-hero h1 em { color: var(--wine); }
.page-hero p { font-size: 1.1rem; color: var(--muted); line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* ===== CARTA PAGE ===== */
.carta-body { max-width: 900px; margin: 0 auto; padding: 0 1.5rem 6rem; }
.carta-section { margin-bottom: 4rem; }
.carta-section-header {
  display: flex; align-items: flex-end; gap: 1.5rem; margin-bottom: 1rem;
}
.carta-section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--wine); white-space: nowrap; font-weight: 400;
}
.carta-line { flex: 1; height: 1px; background: var(--border); margin-bottom: 4px; }
.carta-cols-header {
  display: flex; gap: 1rem; justify-content: flex-end;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.carta-cols-header span { width: 60px; text-align: right; }
.carta-intro { font-size: 0.9rem; color: var(--muted); font-style: italic; margin-bottom: 1.5rem; }
.carta-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.9rem 0; border-bottom: 1px solid var(--border);
}
.carta-item:last-child { border-bottom: none; }
.carta-item-name { flex: 1; }
.carta-item-name h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 400; display: inline; }
.carta-item-name .star { color: var(--amber); font-size: 0.75rem; margin-left: 0.3rem; }
.carta-item-prices { display: flex; gap: 1rem; font-family: var(--font-display); font-size: 0.9rem; color: var(--wine); }
.carta-item-prices span { width: 60px; text-align: right; }
.carta-nota { font-size: 0.75rem; color: var(--muted); text-align: center; padding-top: 2rem; }

/* ===== SOBRE NOSOTROS ===== */
.sobre-text { max-width: 720px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.sobre-text p { font-size: 1.1rem; line-height: 1.8; color: rgba(30,18,8,0.82); margin-bottom: 1.5rem; }
.sobre-img-full { width: 100%; height: 55vh; object-fit: cover; }
.sobre-pilares { max-width: 1100px; margin: 0 auto; padding: 5rem 1.5rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
@media (max-width: 800px) { .sobre-pilares { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .sobre-pilares { grid-template-columns: 1fr; } }
.pilar { padding: 2rem; border: 1px solid var(--border); }
.pilar-num { font-family: var(--font-display); font-size: 2rem; color: var(--wine); margin-bottom: 0.75rem; }
.pilar h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.5rem; }
.pilar p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ===== CONTACTO ===== */
.contacto-grid { max-width: 1000px; margin: 0 auto; padding: 0 1.5rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
@media (max-width: 650px) { .contacto-grid { grid-template-columns: 1fr; } }
.contacto-cell { background: var(--cream); padding: 3rem; }
.contacto-cell .cell-label { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.contacto-cell .cell-main { font-family: var(--font-display); font-size: 1.6rem; color: var(--wine); line-height: 1.3; }
.contacto-cell .cell-main a:hover { color: var(--amber); }
.contacto-cell .cell-sub { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }
.contacto-cell .cell-sub a { border-bottom: 1px solid var(--wine); padding-bottom: 0.1rem; }
.map-wrap { width: 100%; height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3); }
