/* ── Variables ── */
:root {
  --cream:  #f5f0e8;
  --warm:   #ede5d0;
  --brown:  #3b2a1a;
  --caramel:#9b6a2f;
  --gold:   #c89848;
  --dust:   #d4b896;
  --white:  #fdfaf5;
  --text:   #2e1f0f;
  --muted:  #7a6348;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Noise overlay ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: .5;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(245,240,232,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(155,106,47,.15);
  transition: padding .3s;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; letter-spacing: .05em;
  color: var(--brown); text-decoration: none;
}
.nav-logo span { color: var(--caramel); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--caramel); }
.nav-cta {
  background: var(--brown); color: var(--cream);
  padding: .55rem 1.4rem; border-radius: 2px;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--caramel); }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 70px;
  position: relative; overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4rem 5rem 6rem;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--caramel); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.hero-eyebrow::before {
  content: ''; width: 2rem; height: 1px; background: var(--caramel);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300; line-height: 1.0;
  color: var(--brown); margin-bottom: .5rem;
}
.hero-title em {
  font-style: italic; color: var(--caramel); display: block;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300; font-style: italic;
  color: var(--muted); margin: 1.5rem 0 2.5rem;
  line-height: 1.6; max-width: 380px;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--brown); color: var(--cream);
  padding: .9rem 2rem; border-radius: 2px;
  text-decoration: none; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  transition: background .2s, transform .2s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover { background: var(--caramel); transform: translateY(-1px); }
.btn-ghost {
  color: var(--brown); text-decoration: none;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  border-bottom: 1px solid var(--caramel); padding-bottom: 2px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--caramel); }

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid rgba(155,106,47,.2);
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600; color: var(--brown); line-height: 1;
}
.hero-stat-label {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-top: .2rem;
}

/* Hero right – mosaic */
.hero-right {
  position: relative; overflow: hidden; background: var(--warm);
}
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%; gap: 3px;
}
.mosaic-cell {
  overflow: hidden; position: relative;
}
.mosaic-cell:first-child { grid-row: span 2; }
.mosaic-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
  filter: sepia(.12) saturate(.95);
}
.mosaic-cell:hover img { transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(59,42,26,.18) 100%);
  pointer-events: none;
}

/* Decorative large letter */
.hero-deco {
  position: absolute; right: -2rem; bottom: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18rem; font-weight: 600;
  color: rgba(155,106,47,.06); line-height: 1;
  pointer-events: none; z-index: 1; user-select: none;
}

/* ── DIVIDER ── */
.divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--dust), transparent);
  margin: 0 4rem;
}

/* ── SECTION BASE ── */
section { padding: 6rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.section-tag {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--caramel); display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
}
.section-tag::before {
  content: ''; width: 1.5rem; height: 1px; background: var(--caramel);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300;
  color: var(--brown); line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--caramel); }

/* ── NOSOTROS ── */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 6rem; align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  filter: sepia(.1) saturate(.9);
}
.about-img-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--brown); color: var(--cream);
  width: 7rem; height: 7rem; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  border: 3px solid var(--cream);
}
.about-img-badge span:first-child { font-size: 1.8rem; font-weight: 600; line-height: 1; }
.about-img-badge span:last-child { font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .1rem; }
.about-body p {
  color: var(--muted); line-height: 1.8; font-size: .95rem; margin-bottom: 1.2rem;
  font-weight: 300;
}
.about-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  margin-top: 2rem; list-style: none;
}
.about-list li {
  font-size: .82rem; letter-spacing: .05em; color: var(--text);
  display: flex; align-items: center; gap: .5rem;
}
.about-list li::before {
  content: '✦'; color: var(--gold); font-size: .6rem;
}

/* ── ESPECIALIDADES ── */
.menu { background: var(--cream); }
.menu-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1rem;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--dust);
}
.menu-item {
  background: var(--cream); padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.menu-item:hover { background: var(--warm); }
.menu-item-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: rgba(155,106,47,.18);
  line-height: 1; position: absolute; top: 1rem; right: 1.5rem;
}
.menu-item-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.menu-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--brown);
  margin-bottom: .4rem;
}
.menu-item-desc {
  font-size: .82rem; color: var(--muted); line-height: 1.6; font-weight: 300;
}

/* ── RESEÑAS ── */
.reviews { background: var(--brown); }
.reviews .section-tag { color: var(--gold); }
.reviews .section-tag::before { background: var(--gold); }
.reviews .section-title { color: var(--cream); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3.5rem;
}
.review-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  padding: 2rem; position: relative;
  transition: background .3s, border-color .3s;
}
.review-card:hover {
  background: rgba(255,255,255,.08); border-color: rgba(200,152,72,.3);
}
.review-stars { color: var(--gold); font-size: .9rem; letter-spacing: .1em; margin-bottom: 1rem; }
.review-text {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.05rem; line-height: 1.7; color: rgba(245,240,232,.85);
  margin-bottom: 1.5rem;
}
.review-author { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dust); }
.review-quote {
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; line-height: 1; color: rgba(200,152,72,.15);
}
.reviews-rating {
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.rating-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem; font-weight: 600; line-height: 1; color: var(--gold);
}
.rating-info { color: rgba(245,240,232,.6); font-size: .85rem; line-height: 1.6; }
.rating-info strong { color: var(--cream); display: block; margin-bottom: .15rem; }

/* ── LOCALES ── */
.locales { background: var(--white); }
.locales-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.local-card {
  border: 1px solid rgba(155,106,47,.2); padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.local-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--caramel), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.local-card:hover { border-color: var(--caramel); box-shadow: 0 8px 30px rgba(59,42,26,.08); }
.local-card:hover::before { transform: scaleX(1); }
.local-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300; color: rgba(155,106,47,.12);
  line-height: 1; margin-bottom: .5rem;
}
.local-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--brown); margin-bottom: .3rem;
}
.local-address { font-size: .82rem; color: var(--caramel); margin-bottom: 1.2rem; font-weight: 500; }
.local-detail {
  font-size: .8rem; color: var(--muted); line-height: 1.7; font-weight: 300;
}
.local-detail strong { color: var(--text); font-weight: 500; }
.local-map-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem; font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--caramel); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.local-map-btn:hover { border-color: var(--caramel); }

/* Map embed */
.map-embed {
  margin-top: 3rem;
  border: 1px solid rgba(155,106,47,.2);
  overflow: hidden; height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: sepia(.15) saturate(.9); }

/* ── HORARIOS ── */
.horarios-strip {
  background: var(--warm);
  padding: 3rem 0;
  border-top: 1px solid rgba(155,106,47,.15);
  border-bottom: 1px solid rgba(155,106,47,.15);
}
.horarios-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 4rem; flex-wrap: wrap;
}
.horarios-group { text-align: center; }
.horarios-days {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--caramel); margin-bottom: .4rem;
}
.horarios-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 400; color: var(--brown);
}
.horarios-sep { width: 1px; height: 3rem; background: var(--dust); }

/* ── CONTACTO ── */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info p {
  font-size: .9rem; color: var(--muted); line-height: 1.8;
  margin: 1.5rem 0 2rem; font-weight: 300;
}
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  font-size: .85rem; color: var(--text);
}
.contact-item-icon {
  width: 2.5rem; height: 2.5rem; background: var(--warm);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
}
.form-group input, .form-group textarea {
  background: var(--white); border: 1px solid rgba(155,106,47,.25);
  padding: .8rem 1rem; font-family: 'DM Sans', sans-serif;
  font-size: .9rem; color: var(--text); outline: none; resize: none;
  transition: border-color .2s;
  border-radius: 0;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--caramel);
}
.form-note {
  font-size: .72rem; color: var(--muted); font-style: italic;
}

/* Social */
.social-links {
  display: flex; gap: 1rem; margin-top: 2rem;
}
.social-link {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--muted); font-size: .82rem;
  font-weight: 500; letter-spacing: .05em;
  border: 1px solid rgba(155,106,47,.25); padding: .5rem 1rem;
  transition: all .2s;
}
.social-link:hover {
  border-color: var(--caramel); color: var(--caramel); background: var(--warm);
}

/* ── FOOTER ── */
footer {
  background: var(--brown); color: rgba(245,240,232,.6);
  padding: 3rem; text-align: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--cream);
  letter-spacing: .1em; margin-bottom: .5rem;
}
footer p { font-size: .78rem; margin-top: .75rem; }
footer a { color: var(--dust); text-decoration: none; }
.footer-disclaimer {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .7rem; color: rgba(245,240,232,.3);
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 200;
  background: #25d366; color: white;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: .4rem; color: var(--brown);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--brown); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Hamburger → X cuando está abierto */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DROPDOWN MENU ── */
.nav-mobile-menu {
  display: none;
  position: fixed; top: 62px; left: 0; right: 0; z-index: 99;
  background: rgba(245,240,232,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(155,106,47,.2);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column; gap: 0;
  transform: translateY(-8px); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}
.nav-mobile-menu.open {
  transform: translateY(0); opacity: 1;
  pointer-events: auto;
}
.nav-mobile-menu a {
  display: block; padding: .85rem 0;
  border-bottom: 1px solid rgba(155,106,47,.1);
  text-decoration: none; font-size: .9rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brown);
  transition: color .2s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--caramel); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

  /* Nav */
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: flex; }

  /* Hero: foto arriba, texto abajo */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 55vw auto;
    min-height: unset;
    padding-top: 62px;
  }
  .hero-right {
    grid-row: 1;
    height: 55vw; min-height: 240px; max-height: 340px;
  }
  .hero-left {
    grid-row: 2;
    padding: 2.5rem 1.5rem 3rem;
  }
  .hero-deco { display: none; }
  .hero-stats { gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { max-width: 100%; }
  .about-img-badge {
    position: relative; bottom: auto; right: auto;
    margin-top: 1rem; align-self: flex-end;
  }
  .about-img-wrap {
    display: flex; flex-direction: column;
  }

  /* Grids */
  .menu-grid,
  .reviews-grid,
  .locales-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Mapa */
  .map-embed { height: 220px; }

  /* Horarios */
  .horarios-sep { display: none; }
  .horarios-inner { gap: 1.5rem; }

  /* General */
  .container { padding: 0 1.5rem; }
  section { padding: 4rem 0; }
  .divider { margin: 0 1.5rem; }
}