@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Poppins:wght@300;400;500&display=swap');

:root {
  --fondo: #f6f3ee;
  --suave: #efe6d8;
  --cafe: #6b4e32;
  --verde: #3e5c4d;
  --dorado: #b08d57;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--fondo);
  overflow-x: hidden;
}

/* ===== ENCABEZADO ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 110px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  transition: transform 0.3s ease;
  z-index: 1000;
}

header.oculto {
  transform: translateY(-100%);
}

body {
  padding-top: 110px;
}

/* ===== BARRA DE NAVEGACIÓN ===== */
.barra-navegacion {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.logo {
  height: 110px;
  transition: transform 0.25s ease;
  will-change: transform;
}

.logo.zoom-leve { transform: scale(1.08); }

/* ===== MENÚ PRINCIPAL ===== */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #6b4e32;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 20px;
  transition: 0.3s;
}

.menu a:hover,
.menu a.activo {
  background-color: #6b4e32;
  color: #fff;
}

/* ===== SUBMENÚ ===== */
.submenu { position: relative; }

.submenu-contenido {
  display: none;
  position: absolute;
  background-color: rgba(255,255,255,0.97);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 9999;
}

.submenu:hover .submenu-contenido { display: block; }

.submenu-contenido a {
  display: block;
  padding: 10px;
  color: #6b4e32;
  text-decoration: none;
}

.submenu-contenido a:hover {
  background-color: #a97c50;
  color: #fff;
}

/* ===== BOTÓN HAMBURGUESA ===== */
.btn-hamburguesa-nav {
  display: none;
  background: none;
  border: 2px solid #6b4e32;
  border-radius: 8px;
  font-size: 26px;
  color: #6b4e32;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  flex-shrink: 0;
}

/* ===== REDES SOCIALES FIJAS ===== */
.redes {
  position: fixed;
  right: 18px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.redes a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.redes a img:hover {
  transform: scale(1.15) translateX(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35) !important;
}

.redes a img:active { transform: scale(1.05) translateX(-6px); }

.redes a { animation: redesFadeIn 0.6s ease forwards; }

@keyframes redesFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* === POPUP WHATSAPP === */
.wa-box {
  position: fixed;
  right: 90px;
  bottom: 140px;
  width: 300px;
  background: #f4f6f8;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: all .35s ease;
  z-index: 9999;
}

.wa-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.wa-box, .wa-box * { box-sizing: border-box; font-family: Arial, sans-serif; }

.wa-header {
  background: #25d366;
  color: white;
  padding: 14px 16px;
  border-radius: 16px 16px 0 0;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}

.wa-close-btn { cursor: pointer; font-size: 20px; }
.wa-content { padding: 16px; }

.wa-bubble {
  background: white;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  margin-bottom: 14px;
}

.wa-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 12px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.wa-button img { width: 18px; }

/* ===== HERO — imagen visible y contenido bajado ===== */
.promo-hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.promo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.50);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding-top: 60px; /* baja el contenido un poco */
}

.tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .85rem;
  color: var(--dorado);
  margin-bottom: 16px;
}

.promo-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.2;
}

.promo-hero p {
  margin-top: 14px;
  font-size: 1.05rem;
  max-width: 540px;
  opacity: .9;
}

/* ===== SECCIÓN PROMOCIONES ===== */
.promo-section {
  padding: 100px 8%;
}

.center {
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: var(--cafe);
  font-size: 2.4rem;
  margin-bottom: 60px;
}

/* ===== CARRUSEL ===== */
.carousel { position: relative; }

.carousel-window {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 40px;
  transition: transform .6s ease;
}

.promo-card {
  min-width: 320px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  overflow: hidden;
  transition: transform .4s ease;
  cursor: pointer;
}

.promo-card:hover { transform: translateY(-10px); }

.promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.promo-info { padding: 30px; }

.promo-info h3 {
  font-family: 'Playfair Display', serif;
  color: var(--cafe);
  margin-bottom: 10px;
}

.promo-info span {
  display: block;
  margin-top: 15px;
  color: var(--dorado);
  font-size: .9rem;
}

/* Botones carrusel */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dorado);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.prev { left: -10px; }
.next { right: -10px; }

/* ===== INVITACIÓN ===== */
.invite {
  background: linear-gradient(135deg, #e6d7c3, #d8c2a3);
  padding: 100px 8%;
  text-align: center;
}

.invite h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--cafe);
  margin-bottom: 14px;
}

.invite p {
  color: #5a3e25;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.btn-reserva {
  display: inline-block;
  margin-top: 20px;
  background: var(--cafe);
  color: white;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: .3s;
}

.btn-reserva:hover { transform: scale(1.07); }

/* ===== MODAL ===== */
.promo-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.promo-modal-content {
  background: #fff;
  width: 70%;
  max-width: 850px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  animation: modalZoom .4s ease;
}

.promo-modal-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.promo-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

@keyframes modalZoom {
  from { transform: scale(.7); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}

/* ===== FOOTER ===== */
footer {
  background-color: #4e3620;
  color: #f5f0e1;
  padding: 20px;
}

.footer-contenido { text-align: center; }

.footer-columna {
  display: inline-block;
  width: 22%;
  vertical-align: top;
  margin: 10px;
  text-align: left;
}

.footer-columna h3 { color: #c89b3c; margin-bottom: 8px; }
.footer-columna a  { color: #f5f0e1; text-decoration: none; }
.footer-columna a:hover { color: #c89b3c; }

.footer-final {
  text-align: center;
  border-top: 1px solid #c89b3c;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 14px;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

/* -------- TABLET / LAPTOP (≤ 1024px) -------- */
@media (max-width: 1024px) {

  header {
    height: 70px;
    padding: 0 20px;
  }

  body { padding-top: 70px; }

  .barra-navegacion {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .logo { height: 54px; }

  .btn-hamburguesa-nav { display: flex; align-items: center; }

  nav.menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    padding: 6px 0 14px 0;
    z-index: 990;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    gap: 0;
  }

  nav.menu.abierto { display: flex; }

  nav.menu > a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 15px;
    border-bottom: 1px solid #f0e8de;
  }

  nav.menu > a:hover,
  nav.menu > a.activo {
    background-color: #6b4e32;
    color: #fff;
    border-radius: 0;
  }

  nav.menu .submenu { width: 100%; }

  nav.menu .submenu > a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 15px;
    border-bottom: 1px solid #f0e8de;
    color: #6b4e32;
    font-weight: bold;
    text-decoration: none;
  }

  nav.menu .submenu:hover .submenu-contenido { display: none; }
  nav.menu .submenu.activo .submenu-contenido { display: block; }

  nav.menu .submenu-contenido {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: #faf6f1;
    min-width: 100%;
  }

  nav.menu .submenu-contenido a {
    padding: 12px 44px;
    border-bottom: 1px solid #ede6dc;
    font-size: 14px;
  }

  /* Hero */
  .promo-hero { height: 55vh; padding: 0 5%; }
  .promo-hero h1 { font-size: 2.4rem; }
  .hero-content { padding-top: 40px; }

  /* Carrusel */
  .promo-card { min-width: 280px; }
  .prev { left: 5px; }
  .next { right: 5px; }

  /* Footer */
  .footer-columna { width: 45%; }

  /* Redes */
  .redes { right: 10px; bottom: 80px; gap: 10px; }
  .redes a img { width: 34px; height: 34px; }
  .wa-box { right: 55px; bottom: 80px; width: 260px; }
}

/* -------- MÓVIL (≤ 768px) -------- */
@media (max-width: 768px) {

  .promo-hero { height: 50vh; }
  .promo-hero h1 { font-size: 1.9rem; }
  .promo-hero p  { font-size: .95rem; }
  .hero-content  { padding-top: 30px; }

  .promo-section { padding: 60px 5%; }
  .center { font-size: 1.9rem; margin-bottom: 40px; }

  .promo-card { min-width: 250px; }
  .promo-card img { height: 180px; }

  .nav { font-size: 1.2rem; padding: 8px 12px; }
  .prev { left: 0; }
  .next { right: 0; }

  .invite { padding: 70px 5%; }
  .invite h2 { font-size: 2rem; }

  .promo-modal-content { width: 90%; }
  .promo-modal-content img { height: 250px; }

  .footer-columna { width: 100%; text-align: center; margin: 8px 0; }

  .redes { right: 8px; bottom: 50px; }
  .redes a img { width: 30px; height: 30px; }
  .wa-box { right: 48px; bottom: 50px; width: 240px; }
}

/* -------- MÓVIL PEQUEÑO (≤ 480px) -------- */
@media (max-width: 480px) {

  .promo-hero h1 { font-size: 1.55rem; }
  .center { font-size: 1.6rem; }

  .promo-card { min-width: 220px; }
  .promo-info { padding: 20px; }

  .promo-modal-content img { height: 200px; }

  footer { padding: 15px 10px; }
  .footer-columna { font-size: 13px; }
  .footer-final   { font-size: 12px; }

  .redes { right: 6px; bottom: 30px; }
  .redes a img { width: 26px; height: 26px; }
  .wa-box { right: 42px; bottom: 30px; width: 230px; }
}