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

:root {
  --cream: #f5ede0;
  --warm-white: #faf7f2;
  --brown: #7a4f2d;
  --brown-light: #a0673a;
  --brown-dark: #4a2e16;
  --charcoal: #1a1714;
  --stone: #8a7e72;
  --gold: #c9a84c;
  --gold-light: #e8d49a;
  --text: #3a3028;
  --text-muted: #7a6e64;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
}

/* ── CURSOR ─────────────────────────────────── */
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: multiply;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.6;
}

/* ── HEADER ─────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
header.scrolled {
  background: rgba(250, 247, 242, 0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--warm-white);
  transition: color 0.5s ease;
}
header.scrolled .logo { color: var(--brown-dark); }

nav { display: flex; gap: 36px; align-items: center; }
nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--gold-light); }
header.scrolled nav a { color: var(--text-muted); }
header.scrolled nav a:hover { color: var(--brown); }

.nav-cta {
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  color: white !important;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  text-transform: uppercase;
  transition: all 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: white !important;
}
header.scrolled .nav-cta {
  border-color: var(--brown);
  color: var(--brown) !important;
}
header.scrolled .nav-cta:hover {
  background: var(--brown) !important;
  color: white !important;
}

.menu-btn {
  display: none;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.menu-btn span {
  width: 24px; height: 1.5px;
  background: white;
  display: block;
  transition: all 0.3s ease;
}
header.scrolled .menu-btn span { background: var(--brown-dark); }

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: url('../images/fuego.webp') center 30% / cover no-repeat;
  display: flex; align-items: flex-end;
  padding-bottom: 12vh;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,10,5,0.2) 0%,
    rgba(15,10,5,0.1) 40%,
    rgba(15,10,5,0.65) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 7%;
  max-width: 820px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards ease;
}
.hero-eyebrow span {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 1px;
  background: var(--gold);
  display: block;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: white;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.55s forwards ease;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s 0.75s forwards ease;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.95s forwards ease;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  background: var(--gold);
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: #b8943e;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,168,76,0.35);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* ── SCROLL INDICATOR ───────────────────────── */
.scroll-indicator {
  position: absolute; bottom: 40px; right: 7%;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.scroll-indicator span {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s infinite;
}

/* ── STATS BAR ──────────────────────────────── */
.stats-bar {
  background: var(--charcoal);
  padding: 28px 7%;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
}
.stat {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.stat.visible { opacity: 1; transform: translateY(0); }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ── SECTION BASE ───────────────────────────── */
section { padding: 110px 7%; }

.section-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.section-badge span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-badge::before {
  content: ''; width: 30px; height: 1px;
  background: var(--gold); display: block;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--brown-dark);
}
.section-heading em { font-style: italic; color: var(--brown-light); }

/* ── ABOUT ──────────────────────────────────── */
.about-section { background: var(--warm-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.8s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }
.about-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 160px; height: 160px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}
.about-tag {
  position: absolute;
  top: 28px; left: -20px;
  background: var(--gold);
  color: var(--charcoal);
  padding: 12px 18px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 8px 20px rgba(201,168,76,0.35);
}

.about-text { padding-left: 20px; }
.about-text .section-heading { margin-bottom: 28px; }
.about-p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 18px;
}
.about-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-style: italic;
  color: var(--brown-light);
  margin-top: 36px;
}

/* ── SERVICES ───────────────────────────────── */
.services-section { background: var(--cream); }
.services-header {
  max-width: 1200px; margin: 0 auto 60px;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px;
}
.services-desc {
  max-width: 320px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(122,79,45,0.12);
  border: 1px solid rgba(122,79,45,0.12);
  border-radius: 4px;
  overflow: hidden;
  max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: var(--cream);
  padding: 44px 32px;
  transition: background 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.service-card:hover { background: white; }
.service-card:hover::before { width: 100%; }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(122,79,45,0.12);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(201,168,76,0.25); }
.service-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── GALLERY ────────────────────────────────── */
.gallery-section { background: var(--charcoal); padding: 110px 7%; }
.gallery-header {
  max-width: 1200px; margin: 0 auto 60px;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px;
}
.gallery-header .section-heading { color: var(--cream); }
.gallery-header .section-badge span { color: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  max-width: 1200px; margin: 0 auto;
}
.dish-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.dish-card:nth-child(1) { grid-row: span 2; }
.dish-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
  border-radius: 4px;
}
.dish-card:nth-child(1) img { min-height: 520px; }
.dish-card:not(:nth-child(1)) img { height: 250px; }
.dish-card:hover img { transform: scale(1.07); }

.dish-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,10,5,0.85) 0%, transparent 50%);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity 0.4s ease;
  border-radius: 4px;
}
.dish-card:hover .dish-overlay { opacity: 1; }
.dish-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: white;
  margin-bottom: 6px;
}
.dish-overlay p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
}

/* ── TESTIMONIALS ───────────────────────────── */
.testi-section { background: var(--warm-white); }
.testi-wrap { max-width: 1200px; margin: 0 auto; }
.testi-header { margin-bottom: 56px; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.testi-card {
  padding: 44px 36px;
  background: var(--cream);
  position: relative;
  transition: background 0.3s;
}
.testi-card:hover { background: white; box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.testi-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}
.testi-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-dark);
}
.testi-stars { color: var(--gold); font-size: 0.7rem; letter-spacing: 2px; }

/* ── CONTACT ────────────────────────────────── */
.contact-section {
  background: var(--brown-dark);
  padding: 110px 7%;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px; margin: 0 auto;
}

.contact-left .section-heading { color: var(--cream); margin-bottom: 24px; }
.contact-left .section-badge span { color: var(--gold); }
.contact-desc {
  font-size: 1rem;
  color: rgba(245,237,224,0.6);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 44px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.info-item {
  display: flex; align-items: center; gap: 16px;
}
.info-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.info-item:hover .info-icon {
  background: var(--gold);
  border-color: var(--gold);
}
.info-label {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,237,224,0.4);
}
.info-value {
  font-size: 0.95rem;
  color: var(--cream);
  font-weight: 300;
}

.contact-form {
  background: var(--warm-white);
  padding: 48px;
  border-radius: 4px;
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(122,79,45,0.2);
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  transition: border-color 0.3s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  width: 100%;
  padding: 17px;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover {
  background: #b8943e;
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
  transform: translateY(-2px);
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 32px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 0.08em;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-socials a:hover { color: var(--gold); }

/* ── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  nav {
    display: none;
    position: absolute; top: 80px; right: 5%; left: 5%;
    background: var(--warm-white);
    flex-direction: column;
    padding: 24px; border-radius: 4px; gap: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  }
  nav.open { display: flex; }
  nav a { color: var(--text) !important; font-size: 0.85rem; letter-spacing: 0.12em; }
  nav a:hover { color: var(--brown) !important; }
  .nav-cta { border-color: var(--brown); color: var(--brown) !important; }
  .menu-btn { display: flex; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .dish-card:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .dish-card:nth-child(1) img { min-height: 280px; }
  .dish-card:not(:nth-child(1)) img { height: 220px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }

  .about-accent { display: none; }
  .about-tag { left: 12px; }

  .hero h1 { font-size: 3rem; }
  .stats-bar { flex-wrap: wrap; gap: 28px; padding: 28px 5%; }
  .cursor, .cursor-ring { display: none; }
}

@media (max-width: 560px) {
  section { padding: 80px 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .dish-card:nth-child(1) { grid-column: auto; }
}
