@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --cream:   #F4EFE4;
  --ivory:   #FAF7F2;
  --charcoal:#1A1814;
  --brown:   #2E2720;
  --gold:    #B8944A;
  --gold-lt: #D4AF6A;
  --muted:   #8A8070;
  --rule:    rgba(184,148,74,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── UTILITY ── */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.gold  { color: var(--gold); }

.divider {
  display: flex; align-items: center; gap: 18px;
  margin: 0 auto 48px;
  max-width: 220px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--gold);
}
.divider-icon {
  color: var(--gold); font-size: 0.65rem;
  letter-spacing: 3px; white-space: nowrap;
  text-transform: uppercase;
}

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  transition: background 0.5s, border 0.5s;
}
#nav.solid {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(184,148,74,0.2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  height: 72px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--ivory); text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  list-style: none; display: flex; gap: 40px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(250,247,242,0.55);
  text-decoration: none;
  font-size: 0.72rem; letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold-lt); }

.nav-reserve {
  margin-left: 40px;
  border: 1px solid var(--gold);
  color: var(--gold); padding: 8px 22px;
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.3s;
}
.nav-reserve:hover { background: var(--gold); color: var(--charcoal); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 24px; height: 1px; background: var(--ivory); transition: all 0.3s; }

/* ── HERO ── */
#hero {
  min-height: 100dvh;
  background: var(--charcoal);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  position: relative; overflow: hidden;
  padding: 80px 32px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(184,148,74,0.06) 0%, transparent 70%);
}

/* Ornamento de esquinas */
.corner {
  position: absolute; width: 60px; height: 60px;
  border-color: rgba(184,148,74,0.3);
  border-style: solid;
}
.corner-tl { top: 32px; left: 32px; border-width: 1px 0 0 1px; }
.corner-tr { top: 32px; right: 32px; border-width: 1px 1px 0 0; }
.corner-bl { bottom: 32px; left: 32px; border-width: 0 0 1px 1px; }
.corner-br { bottom: 32px; right: 32px; border-width: 0 1px 1px 0; }

.hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  position: relative; z-index: 1;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 300; color: var(--ivory);
  line-height: 0.95; letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.hero-title em { font-style: italic; color: var(--gold-lt); display: block; }

.hero-rule {
  width: 80px; height: 1px;
  background: var(--gold);
  margin: 28px auto;
  position: relative; z-index: 1;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300; font-style: italic;
  color: rgba(250,247,242,0.5);
  letter-spacing: 2px;
  margin-bottom: 48px;
  position: relative; z-index: 1;
}

.hero-cta {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

.btn-outline {
  border: 1px solid rgba(250,247,242,0.3);
  color: var(--ivory); padding: 14px 36px;
  font-size: 0.72rem; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--ivory); }

.btn-gold {
  background: var(--gold);
  color: var(--charcoal); padding: 14px 36px;
  font-size: 0.72rem; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none;
  font-weight: 500; transition: all 0.3s;
}
.btn-gold:hover { background: var(--gold-lt); }

/* Scroll indicator */
.scroll-down {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(184,148,74,0.5); font-size: 0.6rem; letter-spacing: 3px;
  text-transform: uppercase;
}
.scroll-down::after {
  content: '';
  display: block; width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%,100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; }
}

/* ── SECTIONS ── */
section { padding: 110px 32px; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  font-size: 0.62rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px; display: block;
}

/* ── HISTORIA ── */
#historia {
  background: var(--ivory);
  text-align: center;
}
.historia-inner { max-width: 720px; margin: 0 auto; }
.historia-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300; line-height: 1.15;
  color: var(--charcoal); margin-bottom: 28px;
}
.historia-inner h2 em { font-style: italic; color: var(--gold); }
.historia-inner p {
  color: var(--muted); line-height: 1.9;
  font-size: 0.95rem; margin-bottom: 16px;
}
.year-badge {
  display: inline-block;
  border: 1px solid var(--rule);
  padding: 10px 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; letter-spacing: 4px;
  color: var(--gold); margin-top: 32px;
}

/* ── MENÚ ── */
#menu { background: var(--cream); }
.menu-header { text-align: center; margin-bottom: 64px; }
.menu-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; color: var(--charcoal);
}

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

.dish-card {
  background: var(--charcoal);
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.dish-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.dish-card:hover .dish-img { transform: scale(1.06); }

/* Placeholder de imagen */
.dish-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.dish-card:hover .dish-placeholder { transform: scale(1.04); }
.dish-ph-1 { background: linear-gradient(160deg, #2a1f15 0%, #1a1410 100%); }
.dish-ph-2 { background: linear-gradient(160deg, #151a12 0%, #0e1009 100%); }
.dish-ph-3 { background: linear-gradient(160deg, #1a1520 0%, #100e18 100%); }

.dish-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,24,20,0.95) 0%, transparent 55%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}
.dish-cat {
  font-size: 0.6rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.dish-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400;
  color: var(--ivory); line-height: 1.2;
  margin-bottom: 8px;
}
.dish-desc {
  font-size: 0.78rem; color: rgba(250,247,242,0.45);
  line-height: 1.6; margin-bottom: 14px;
}
.dish-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--gold-lt);
  letter-spacing: 1px;
}

/* ── CHEF ── */
#chef { background: var(--charcoal); }
.chef-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.chef-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #2a2218 0%, #1a1410 100%);
  position: relative;
}
.chef-photo::before {
  content: '';
  position: absolute; inset: -10px;
  border: 1px solid rgba(184,148,74,0.2);
  z-index: -1;
}
.chef-photo-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; opacity: 0.15;
}
.chef-text .eyebrow { margin-bottom: 14px; }
.chef-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--ivory);
  line-height: 1.15; margin-bottom: 24px;
}
.chef-text h2 em { font-style: italic; color: var(--gold-lt); }
.chef-text p {
  color: rgba(250,247,242,0.45); line-height: 1.9;
  font-size: 0.92rem; margin-bottom: 14px;
}
.chef-awards {
  display: flex; gap: 28px; margin-top: 32px;
  border-top: 1px solid rgba(184,148,74,0.15);
  padding-top: 28px;
}
.award { text-align: center; }
.award strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--gold);
}
.award span { font-size: 0.68rem; letter-spacing: 2px; color: rgba(250,247,242,0.3); text-transform: uppercase; }

/* ── PRIVADO ── */
#privado { background: var(--cream); text-align: center; }
.privado-inner { max-width: 780px; margin: 0 auto; }
.privado-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--charcoal);
  margin-bottom: 20px;
}
.privado-inner p { color: var(--muted); line-height: 1.9; font-size: 0.92rem; margin-bottom: 36px; }
.privado-features {
  display: flex; gap: 0;
  border: 1px solid var(--rule);
  margin-bottom: 40px;
}
.pf-item {
  flex: 1; padding: 28px 20px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.pf-item:last-child { border-right: none; }
.pf-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--gold);
}
.pf-item span { font-size: 0.7rem; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }

/* ── RESERVAS ── */
#reservas {
  background: var(--charcoal);
  text-align: center; padding: 120px 32px;
}
.reservas-inner { max-width: 680px; margin: 0 auto; }
.reservas-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300; color: var(--ivory);
  line-height: 1.1; margin-bottom: 20px;
}
.reservas-inner h2 em { font-style: italic; color: var(--gold-lt); }
.reservas-inner p { color: rgba(250,247,242,0.4); font-size: 0.9rem; margin-bottom: 40px; line-height: 1.8; }
.reserve-form { display: flex; gap: 0; max-width: 520px; margin: 0 auto; }
.reserve-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(184,148,74,0.3);
  border-right: none;
  color: var(--ivory); padding: 14px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem; outline: none;
  transition: border-color 0.3s;
}
.reserve-form input::placeholder { color: rgba(250,247,242,0.25); }
.reserve-form input:focus { border-color: var(--gold); }
.reserve-form button {
  background: var(--gold); color: var(--charcoal);
  border: none; padding: 14px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem; letter-spacing: 2.5px;
  text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background 0.3s; white-space: nowrap;
}
.reserve-form button:hover { background: var(--gold-lt); }

/* ── FOOTER ── */
footer {
  background: #100E0B;
  padding: 60px 32px 32px;
  border-top: 1px solid rgba(184,148,74,0.15);
}
.footer-top {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 400;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--ivory); margin-bottom: 16px;
}
.footer-brand span { color: var(--gold); }
.footer-tagline { font-size: 0.78rem; color: rgba(250,247,242,0.25); line-height: 1.8; }
.footer-col h4 {
  font-size: 0.62rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.footer-col p, .footer-col a {
  font-size: 0.82rem; color: rgba(250,247,242,0.35);
  line-height: 2; text-decoration: none; display: block;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(250,247,242,0.06);
  padding-top: 28px;
  font-size: 0.72rem; color: rgba(250,247,242,0.2);
  letter-spacing: 1px;
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-up { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr; }
  .dish-card { aspect-ratio: 16/9; }
  .chef-grid { grid-template-columns: 1fr; gap: 40px; }
  .chef-photo { aspect-ratio: 16/9; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links, .nav-reserve { display: none; }
  .burger { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 80px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .privado-features { flex-direction: column; }
  .pf-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .pf-item:last-child { border-bottom: none; }
  .chef-awards { flex-direction: column; gap: 16px; }
  .corner { width: 36px; height: 36px; }
  .reserve-form { flex-direction: column; }
  .reserve-form input { border-right: 1px solid rgba(184,148,74,0.3); }
}
