* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, body.reservas {
  font-family: 'Poppins', sans-serif !important;
  background: #f5f1e8;
  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 { 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 BANNER ===== */
.banner-reserva {
  min-height: calc(100vh - 110px);
  background: linear-gradient(180deg, rgba(46,125,50,0.8), rgba(31,61,43,0.8)),
              url("proyectoMERAKI-main/fotos/naturaleza.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}

.overlay-reserva {
  max-width: 800px;
  color: white;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  animation: fadeUp 1s ease forwards;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeUp 1.5s ease forwards;
  opacity: .9;
}

.btn-reserva {
  display: inline-block;
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-reserva:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* ===== POR QUÉ RESERVAR ===== */
.porque-reservar {
  padding: 100px 60px;
  background: linear-gradient(135deg, #1f3d2b, #2e7d32);
  text-align: center;
  color: white;
}

.porque-reservar h2 {
  font-size: 2.3rem;
  margin-bottom: 60px;
  font-weight: 700;
}

.beneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.beneficio {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  font-weight: 500;
  font-size: 1.05rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.beneficio:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-10px);
}

/* ===== CÓMO RESERVAR ===== */
.como-reservar {
  padding: 100px 60px;
  background: #f5f1e8;
  text-align: center;
}

.como-reservar h2 {
  font-size: 2.2rem;
  color: #1f3d2b;
  margin-bottom: 50px;
  font-weight: 700;
}

.pasos-reserva {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.paso {
  background: white;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.paso:hover { transform: translateY(-10px); }

.paso h3 {
  margin-bottom: 15px;
  color: #2e7d32;
  font-weight: 700;
  font-size: 1.1rem;
}

.paso p { color: #555; font-size: 1rem; line-height: 1.6; }

/* ===== 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; font-weight: 700; }
.footer-columna a  { color: #f5f0e1; text-decoration: none; font-weight: 600; }
.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;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   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 */
  .banner-reserva { min-height: 60vh; padding: 50px 20px; }
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1.05rem; }

  /* Secciones */
  .porque-reservar { padding: 70px 30px; }
  .porque-reservar h2 { font-size: 2rem; margin-bottom: 40px; }

  .como-reservar { padding: 70px 30px; }
  .como-reservar h2 { font-size: 1.9rem; margin-bottom: 35px; }

  /* 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) {

  .banner-reserva { min-height: 55vh; padding: 40px 15px; }
  .hero-title    { font-size: 1.9rem; letter-spacing: 1px; }
  .hero-subtitle { font-size: 1rem; }

  .porque-reservar { padding: 60px 20px; }
  .porque-reservar h2 { font-size: 1.8rem; margin-bottom: 30px; }
  .beneficio { font-size: .95rem; padding: 22px; }

  .como-reservar { padding: 60px 20px; }
  .como-reservar h2 { font-size: 1.7rem; }
  .pasos-reserva { gap: 20px; }
  .paso { padding: 22px 18px; }

  .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) {

  .hero-title    { font-size: 1.6rem; }
  .hero-subtitle { font-size: .9rem; }
  .btn-reserva   { padding: 12px 28px; font-size: 14px; }

  .porque-reservar h2 { font-size: 1.5rem; }
  .como-reservar h2   { font-size: 1.5rem; }

  .paso h3 { font-size: 1rem; }

  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; }
}