/* ===== PANTALLAS MEDIANAS (TABLETS / COMPUTADORES PEQUEÑOS) ===== */
@media (max-width: 1024px) {
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
  .location-content { grid-template-columns: 1fr; }
}

/* ===== DISPOSITIVOS MÓVILES GENERALES (CELULARES) ===== */
@media (max-width: 768px) {
  /* Usabilidad base celular */
  body { padding-bottom: 70px; }
  .float-whatsapp, .back-to-top { bottom: 88px; }
  .sticky-cta { display: flex; }
  section { padding: 60px 0; }
  .section-title { font-size: 2rem; }

  /* Menú Hamburguesa Móvil */
  .navbar { padding: 0.75rem 1rem; }
  .logo img { height: 50px; }
  .menu-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 70px; left: -100%;
    width: 82%; max-width: 320px; height: 100vh;
    background: #0e0e0e; flex-direction: column;
    align-items: flex-start; padding: 2rem 1.5rem;
    transition: left 0.3s ease; z-index: 999;
    border-right: 1px solid rgba(201,151,58,0.2); gap: 1.5rem;
  }
  .nav-menu.active { left: 0; }
  .nav-menu ul { flex-direction: column; gap: 1.4rem; width: 100%; }
  .nav-menu ul li a { font-size: 1.05rem; }
  .nav-buttons { width: 100%; }
  .btn-whatsapp-nav { width: 100%; justify-content: center; }

  /* Hero Adaptado */
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons a { width: 100%; max-width: 290px; justify-content: center; }
  .hero-features { gap: 0.8rem; font-size: 0.8rem; }

  /* 🔥 HABITACIONES EN 2 COLUMNAS (MÓVIL) */
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .room-image img { height: 145px; }
  .room-info { padding: 0.9rem; }
  .room-title { font-size: 1.15rem; line-height: 1.2; margin-bottom: 0.2rem; }
  .room-capacity { font-size: 0.75rem; margin-bottom: 0.5rem; }
  .room-features { display: flex; gap: 0.4rem; margin: 0.4rem 0; }
  .room-features li { font-size: 0.65rem; padding: 2px 6px; gap: 3px; }
  .room-features li i { font-size: 0.6rem; }
  .price { font-size: 1.25rem; }
  .price small { font-size: 0.75rem; }
  .price-variable { font-size: 0.65rem; }
  .btn-room { font-size: 0.78rem; padding: 0.6rem 1rem; margin-top: 0.6rem; }

  /* Servicios / Beneficios */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .feature-card { padding: 1.3rem 1rem; }

  /* 🔥 GALERÍA EN 2 COLUMNAS (MÓVIL) */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
    gap: 8px;
  }
  .gallery-item--wide { grid-column: span 2; } /* Mantiene armonía estética */

  /* Testimonios, Contacto y Footer */
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-content h2 { font-size: 1.75rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons a { width: 100%; max-width: 290px; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand { grid-column: span 1; }
  .footer-logo { margin: 0 auto 0.8rem; }
  .social-icons { justify-content: center; }
  .footer-links ul { align-items: center; }
  .footer-contact p { justify-content: center; }
  
    /* 3. Evitar que "Volver arriba" tape el Sticky CTA inferior */
  #back-to-top {
    bottom: 75px !important; /* Lo eleva por encima de la barra fija */
    right: 16px;
    z-index: 999;
  }

  /* 4. Compactar tarjeta de WhatsApp de Contacto */
  .contact-whatsapp {
    padding: 20px 16px !important;
    margin-bottom: 16px;
    text-align: center;
  }
  .contact-whatsapp i.fab.fa-whatsapp {
    font-size: 2.2rem !important;
    margin-bottom: 8px !important;
  }
  .contact-whatsapp h3 {
    font-size: 1.25rem !important;
    margin-bottom: 4px !important;
  }
  .contact-whatsapp p {
    font-size: 0.9rem !important;
    margin-bottom: 12px !important;
  }
  .btn-whatsapp-large {
    padding: 20px 16px !important;
    font-size: 0.95rem !important;
  }

  /* 5. Optimización de CTAs (Quitar saturación) */
  .float-whatsapp {
    display: none !important; /* Oculta el botón redondo porque ya abajo tienes el Sticky CTA */
  }
  .location-btns {
    flex-direction: column;
    width: 100%;
  }
  /* Cambia el botón de mapas a estilo Outline elegante en celular para que resalte más el botón principal */
  .location-btns .btn-mapa {
    background: transparent !important;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
  }

}

/* ===== CELULARES EXTREMADAMENTE PEQUEÑOS ===== */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.65rem; }
  .features-grid { grid-template-columns: 1fr; }
  .logo img { height: 42px; }
  .modal-box { padding: 2rem 1.2rem; }

  /* Ajuste ultra-compacto para tarjetas de habitaciones en pantallas de menos de 480px */
  .rooms-grid { gap: 8px; }
  .room-image img { height: 105px; }
  .room-info { padding: 0.65rem; }
  .room-title { font-size: 0.95rem; }
  .room-capacity { font-size: 0.7rem; margin-bottom: 0.3rem; }
  .room-features { display: none; } /* Se ocultan las etiquetas grises para evitar colapsar la tarjeta verticalmente */
  .price { font-size: 1.1rem; }
  .btn-room { font-size: 0.72rem; padding: 0.5rem 0.5rem; }
  
  /* Ajuste ultra-compacto galería */
  .gallery-grid { grid-auto-rows: 100px; gap: 6px; }
}


