/* ===================================================
   LA PROMESA – styles.css
   Paleta: lino puro · arena suave · dorado claro · marrón cálido ligero
   Tipografía: Cormorant Garamond + Jost
=================================================== */

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

:root {
  --c-bg:        #ffffff;   
  --c-bg-2:      #fdfbf7;   
  --c-bg-3:      #fcf8f2;   
  --c-bg-4:      #f9f4e8;   
  --c-gold:      #cba770;   
  --c-gold-lt:   #e4cca3;   
  --c-gold-pale: #fcf8f2;   
  --c-gold-btn:  #b59253;   
  --c-brown:     #8a715a;   
  --c-brown-dk:  #5c4a3d;   
  --c-text:      #69594f;   
  --c-text-2:    #8b7c72;   
  --c-text-3:    #b3a69d;   
  --c-dark:      #3b3027;   

  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Jost', system-ui, sans-serif;

  --r:    12px;
  --r-lg: 20px;
  --sh:    0 2px 16px rgba(92,74,61,.05);
  --sh-md: 0 6px 28px rgba(92,74,61,.08);
  --sh-lg: 0 14px 48px rgba(92,74,61,.12);

  --max-w:  1180px;
  --py:     96px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); color: var(--c-text); background: var(--c-bg); overflow-x: hidden; line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-eyebrow { font-family: var(--font-b); font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold-btn); margin-bottom: 12px; }
.section-title { font-family: var(--font-d); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.15; color: var(--c-brown-dk); margin-bottom: 16px; }
.section-title em { font-style: italic; color: var(--c-brown); }
.section-desc { color: var(--c-text-2); font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-b); font-size: .875rem; font-weight: 500; letter-spacing: .06em; padding: 13px 30px; border-radius: 60px; border: 1.5px solid transparent; cursor: pointer; transition: all .3s ease; white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--c-gold-btn); color: #fff; border-color: var(--c-gold-btn); }
.btn-primary:hover { background: var(--c-brown-dk); border-color: var(--c-brown-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(78,53,32,.25); }
.btn-outline { background: transparent; color: var(--c-gold-btn); border-color: var(--c-gold); }
.btn-outline:hover { background: var(--c-gold-btn); color: #fff; }

/* ── NAVBAR ── */
.nav-logo-img { height: 45px; width: auto; object-fit: contain; }
.hero-logo-center { height: 200px; width: auto; margin: 0 auto 15px auto; display: block; filter: drop-shadow(0px 0px 12px rgba(255, 255, 255, 0.8)); }
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 0 24px; transition: background .4s, box-shadow .4s; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); box-shadow: var(--sh); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo-fallback { align-items: center; gap: 10px; font-family: var(--font-d); font-size: 1.5rem; font-weight: 400; color: var(--c-brown-dk); }
.logo-symbol { color: var(--c-gold-btn); }
.logo-text { color: var(--c-brown-dk); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto;}
.nav-links a { font-size: .82rem; color: var(--c-brown-dk); letter-spacing: .04em; transition: color .2s; font-weight: 500; }
.nav-links a:hover { color: var(--c-gold-btn); }
.nav-cta { background: var(--c-gold-btn) !important; color: #fff !important; padding: 9px 20px; border-radius: 60px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--c-brown-dk) !important; transform: translateY(-1px) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--c-brown-dk); transition: all .3s; }

/* SELECTOR DE IDIOMAS CUSTOM */
.lang-selector {
  position: relative;
  margin-left: 15px;
}

.lang-btn {
  background: transparent;
  color: var(--c-brown-dk);
  border: 1px solid rgba(138, 113, 90, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-b);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  border-color: var(--c-gold-btn);
}

.lang-btn img, 
.lang-option img {
  width: 18px;
  height: auto;
  border-radius: 2px;
  display: block;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(138, 113, 90, 0.2);
  border-radius: 6px;
  box-shadow: var(--sh-md);
  overflow: hidden;
  z-index: 1000;
  min-width: 90px;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--c-brown-dk);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-option:hover {
  background: var(--c-bg-4);
  color: var(--c-gold-btn);
}

.arrow {
  font-size: 0.65rem;
  opacity: 0.7;
}

/* ── HERO ── */
.hero-immersion { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--c-bg); }
.hero-bg-wrapper { position: absolute; inset: 0; z-index: 1; }
.hero-white-veil { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255, 255, 255, 0.85) 15%, rgba(255, 255, 255, 0.15) 100%), linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 18%); backdrop-filter: blur(6px); z-index: 2; }
.hero-video, .hero-video-fallback { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.hero-immersion-content { position: relative; z-index: 10; max-width: 850px; padding: 120px 24px 60px; animation: fadeUp 1s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-immersion .hero-eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-brown); margin-bottom: 18px; text-shadow: 0 0 12px rgba(255, 255, 255, 1); }
.hero-immersion .hero-title { font-family: var(--font-d); color: var(--c-brown-dk); font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 300; line-height: 1.1; margin-bottom: 24px; text-shadow: 0 0 18px rgba(255, 255, 255, 1), 0 2px 4px rgba(255, 255, 255, 0.8); }
.hero-immersion .hero-title em { font-style: italic; color: var(--c-brown); font-size: 3.5rem; display: block; margin-top: 10px; }
.hero-immersion .hero-subtitle { color: var(--c-text-2); font-size: 1.15rem; max-width: 480px; margin: 0 auto 36px; line-height: 1.6; text-shadow: 0 0 12px rgba(255, 255, 255, 1); }
.hero-immersion .hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 30px; }
.hero-scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 10; }
.hero-scroll-indicator span { display: block; width: 1px; height: 54px; margin: 0 auto; background: linear-gradient(to bottom, var(--c-gold-lt), transparent); animation: sline 2s ease-in-out infinite; }
@keyframes sline { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ── SOBRE NOSOTROS (EL RESTAURANTE) ── */
.about { position: relative; padding: var(--py) 0; background: var(--c-bg); overflow: hidden; }
.about-deco { position: absolute; top: 0; right: 0; width: 38%; height: 100%; background: var(--c-bg-2); clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%); z-index: 0; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.about-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s ease; }
.about-image-frame:hover .about-photo { transform: scale(1.03); }
.about-image-ornament { position: absolute; inset: 0; border: 1px solid rgba(194,160,88,.3); border-radius: var(--r-lg); margin: 14px; pointer-events: none; }
.about-lead { font-family: var(--font-d); font-size: 1.2rem; font-style: italic; font-weight: 300; color: var(--c-brown); margin-bottom: 14px; line-height: 1.45; }
.about-text p { color: var(--c-text-2); margin-bottom: 13px; }
.about-values { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-icon { color: var(--c-gold); font-size: .9rem; margin-top: 5px; flex-shrink: 0; }
.value-item strong { display: block; color: var(--c-brown-dk); font-size: .94rem; margin-bottom: 2px; }
.value-item p { font-size: .86rem; color: var(--c-text-3); margin: 0; }

/* ── EL CHEF (MÉTODO AURE ADAPTADO) ── */
.aure-highlight-box { background: var(--c-bg-2); border: 1px solid rgba(203, 167, 112, 0.15); border-radius: var(--r-lg); padding: 60px; position: relative; box-shadow: var(--sh-lg); }
.aure-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.aure-badge { display: inline-block; padding: 6px 16px; background: var(--c-gold-pale); color: var(--c-gold-btn); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.2em; font-weight: 600; border-radius: 50px; margin-bottom: 20px; }
.aure-main-title { font-family: var(--font-d); font-size: clamp(2.5rem, 4.5vw, 4rem); color: var(--c-brown-dk); margin-bottom: 30px; line-height: 1; }
.aure-main-title em { font-style: italic; color: var(--c-brown); }
.p-highlight { font-size: 1.15rem; color: var(--c-brown); line-height: 1.7; margin-bottom: 20px; }
.aure-text-content p { color: var(--c-text-2); margin-bottom: 15px; font-size: 0.95rem; }
.aure-quote { font-family: var(--font-d); font-style: italic; font-size: 1.25rem; color: var(--c-gold-btn); padding-left: 25px; border-left: 2px solid var(--c-gold-lt); margin: 35px 0; line-height: 1.5; }
.aure-visual { position: relative; }
.aure-image-wrapper { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.aure-img { width: 100%; height: auto; display: block; transition: transform 0.8s ease; }
.aure-image-wrapper:hover .aure-img { transform: scale(1.05); }
.aure-deco-circle { position: absolute; top: -30px; right: -30px; width: 180px; height: 180px; background: var(--c-gold-pale); border-radius: 50%; z-index: -1; opacity: 0.6; }

/* ── GALERÍA DE PLATOS ── */
.gallery { padding: var(--py) 0; background: var(--c-bg-2); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.gallery-item { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(194,160,88,.16); transition: transform .3s, box-shadow .3s; background: var(--c-bg); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ── UBICACIÓN ── */
.location { padding: var(--py) 0; background: var(--c-bg); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.location-list { margin: 18px 0 10px; display: flex; flex-direction: column; gap: 9px; }
.location-list li { font-size: .93rem; color: var(--c-text-2); }
.location-photo-wrap { position: relative; border-radius: var(--r-lg); overflow: visible; }
.location-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-lg); transition: transform .5s ease; display: block; }
.location-photo-wrap:hover .location-photo { transform: scale(1.02); }
.location-photo-badge { position: absolute; bottom: 20px; right: -14px; background: var(--c-gold-btn); color: #fff; border-radius: var(--r); padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 500; letter-spacing: .06em; white-space: nowrap; box-shadow: var(--sh); }

/* ── FOOTER ── */
.footer { background: var(--c-dark); padding: 54px 24px 30px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.footer-brand { margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-brand .logo-symbol { color: var(--c-gold-lt); font-size: 1.1rem; }
.footer-brand .logo-text { font-family: var(--font-d); font-size: 1.55rem; color: var(--c-bg); }
.footer-tagline { font-size: .73rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(253,250,245,.36); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid rgba(255,255,255,.07); padding-top: 20px; }
.footer-copy { font-size: .76rem; color: rgba(253,250,245,.3); }
.footer-credit { font-size: .71rem; color: rgba(253,250,245,.2); transition: color .25s; }
.footer-credit:hover { color: rgba(253,250,245,.48); }

/* ── BOTÓN WHATSAPP FLOTANTE ── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; background-color: #25d366; color: #fff; width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 4px 8px rgba(0, 0, 0, 0.08); z-index: 999; transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1); }
.whatsapp-float:hover { transform: translateY(-6px) scale(1.04); background-color: #20ba5a; box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 6px 12px rgba(0, 0, 0, 0.1); }

/* ── RESPONSIVE ── */

/* Tablets y pantallas medianas (MANTENER) */
@media (max-width: 960px) {
  :root { --py: 72px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-deco { display: none; }
  .about-image-wrap { max-width: 340px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .aure-grid { grid-template-columns: 1fr; gap: 40px; }
  .aure-highlight-box { padding: 40px 25px; }
  .aure-visual { order: -1; max-width: 400px; margin: 0 auto; }
  .location-grid { grid-template-columns: 1fr; }
  .location-photo-badge { right: 0; }
}

/* Móviles (ACTUALIZADO CON LOS FIXES) */
@media (max-width: 640px) {
  /* Header y selector de idioma */
  .nav-inner { height: 60px; }
  .nav-logo-img { height: 32px; }
  .lang-selector { margin-left: 0; }
  .lang-btn { padding: 4px 8px; font-size: 0.8rem; }
  .lang-btn img { width: 16px; }

  /* Menú desplegable hamburguesa */
  .nav-links { display: none; flex-direction: column; gap: 20px; }
  .nav-links.open { display: flex; position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(255,255,255,.97); align-items: center; justify-content: center; z-index: 800; font-size: 1.3rem; }
  .nav-toggle { display: flex; z-index: 901; }

  /* Ajuste del Hero para que no desborde */
  .hero-immersion-content { padding: 90px 20px 40px; }
  .hero-logo-center { height: 100px; margin-bottom: 10px; }
  .hero-immersion .hero-title em { font-size: 2.2rem; }
  .hero-immersion .hero-subtitle { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }

  /* Galería, footer y WhatsApp */
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}