:root {
	 --font-main: 'Satoshi', sans-serif;
	--nav-bg-color: #435752; 
    --nav-text-color: #D7D6D8; 
    --white: #ffffff;
    --primary: #333D32;
    --secondary: #435752;
    --accent: #8A8550;
    --muted: #8B9EA2;
    --light: #D7D6D8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--primary);
    line-height: 1.6;
    background-color: var(--white);
}

/* Definición de la animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar a las secciones principales */
.hero-content, 
.container-mevak, 
.gallery-section, 
.mevak-description {
    animation: fadeInUp 1.2s ease-out forwards;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 40px 0;
}

.text-center { text-align: center; }

/* Header */

hr.elegante-sombra {
  border: none;
  height: 1px;
  background: #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin: 40px auto;
}

header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 4;
	padding: 30px 80px;
	background: transparent;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white); /* El nombre BOSQUE MEVAK en blanco */
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
   text-decoration: none;
    color: var(--nav-text-color); /* Enlaces en gris claro */
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--white); /* Cambio a blanco al pasar el mouse */
}


/* =============================
   HEADER
============================= */

.header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 50px;
	padding-top: 18px;
    padding-bottom: 18px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
	height: 60px; 
    width: auto;
}

.logo img {
    height: 80px;
    width: auto;
    max-width: 100%;
}

.nav a {
    margin-left: 35px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.nav a:hover {
    opacity: 0.8;
}

/* =============================
   HERO
============================= */

.hero {
	position: relative;
	height: 100vh;
	min-height: 650px;
	overflow: hidden;
	color: #fff;
}

/* Capa de imágenes */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroSlider 18s infinite;
  z-index: 1;
}

/* Overlay degradado*/
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 35%,
    rgba(0, 0, 0, 0.15) 65%,
    rgba(0, 0, 0, 0.05) 100%
  ),
  linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0) 60%
  );
  z-index: 2;
}

/* Contenido por encima */
.hero-content {
	max-width: 520px;          
    padding: 0 60px;
    margin-top: -20px;      
}

@keyframes heroSlider {
  0% {
    background-image: url("hero-bosque-cabanas1.webp");
    opacity: 1;
  }
  33% {
    background-image: url("hero-bosque-cabanas2.webp");
    opacity: 1;
  }
  66% {
    background-image: url("hero-bosque-cabanas3.webp");
    opacity: 1;
  }
  100% {
    background-image: url("hero-bosque-cabanas1.webp");
    opacity: 1;
  }
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
     background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.35)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 180px 60px;
    color: #fff;
	
	 max-width: 620px; 
    margin-top: -40px; 
}

.hero-content h1 {
	font-size: 3.1rem;       
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.hero-subtitle strong {
    font-weight: 700;
}

.hero-meta {
    font-size: 0.85rem;
    margin-bottom: 26px;
    opacity: 0.85;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;        
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    background-color: #D7D6D8;
    color: #333D32;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.35s ease;
    width: fit-content; 
}

.hero-btn:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}



/* Ajuste del botón para que sea tipo "Píldora"*/
.hero .cta-button {
    background-color: var(--light);
    color: var(--primary);
    padding: 15px 50px;
    border-radius: 50px; /* Redondeado completo */
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero .cta-button:hover {
    transform: scale(1.05);
    background-color: var(--white);
}

/* Sombra sutil para textos del hero */
.hero-content h1,
.hero-content .hero-subtitle,
.hero-content .hero-meta {
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.45),
        0 8px 20px rgba(0, 0, 0, 0.25);
}

.cta-button {
	font-weight: bold;
    background-color: var(--light);
    color: #333D32 !important;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    /*transition: transform 0.3s, background 0.3s;*/
    display: inline-block;
	
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; /* Movimiento más fluido */
    position: relative;
    overflow: hidden;
}

.cta-button:hover {

	background-color: #D7D6D8; /* Color Gris claro de la paleta */
    color: #333D32; /* Verde oscuro para el texto */
    /*transform: translateY(-3px);*/
	transform: translateY(-5px); /* Elevación suave */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--white) !important;
}

/* Estilo base para los botones redondeados (CTA) */
.cta-button, .btn-primary {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px; /* Esto crea el efecto redondeado de las imágenes */
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Variación para "Habla con nosotros" y "Contáctanos" (Fondo gris claro) */
.btn-round-light {
    background-color: #D7D6D8; /* Color gris claro de la paleta */
    color: #333D32; /* Texto verde oscuro para legibilidad */
}

/* Ajuste específico para el botón del menú de navegación */
.nav-links .btn-primary {
    padding: 8px 25px;
    background-color: #D7D6D8;
    color: #333D32 !important;
}



/* Efecto Hover para mantener la interactividad */
.cta-button:hover, .btn-primary:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Estilos para el botón tipo "Píldora" (Redondeado total) */
.btn-pill {
    display: inline-block;
    padding: 14px 40px; /* Espaciado interno para dar forma */
    border-radius: 50px; /* Este valor asegura el redondeado completo */
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Estilo para el botón de la sección Hero (Oliva con texto blanco) */
.btn-hero {
    background-color: #8A8550; /* Color Oliva de la paleta */
    color: #FFFFFF;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde oficial WhatsApp */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Animación tipo latido */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-decoration: none;
    animation: whatsapp-pulse 2.2s infinite;
}


/* Tooltip WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Flechita del tooltip */
.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

/* Mostrar tooltip al hover */
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0);
}


/* Hover elegante */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background-color: #1ebe5d;
}

/* Estilo para el botón de contacto/WhatsApp (Gris claro con texto oscuro) */
.btn-whatsapp {
    background-color: #D7D6D8; /* Color Gris claro de la paleta */
    color: #333D32; /* Verde oscuro para el texto */
}

/* Efectos al pasar el mouse */
.btn-pill:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}


/* Sección 2 */
.container-mevak {
  text-align: center;
  padding: 30px 20px;
  color: #333; 
}

/* Estilo para el título principal */
.main-title {
  font-size: 3rem; /* Tamaño grande para el encabezado */
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.main-title strong {
  font-weight: bold;
}

/* Estilo para el párrafo descriptivo */
.intro-text {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
}

.intro-text strong {
  font-weight: 700;
  color: #222;
}

/* Grid layout para galería*/
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.bg-light { background-color: var(--light); }

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-bottom: 4px solid var(--accent);
}

/* Gallery */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.gallery-section {
    padding: 60px 20px;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

/* Vista principal */
.gallery-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* Tarjeta */
.gallery-item {
	background-color: #f4f4f4; /* Fondo neutro por si la foto no llena el cuadro */
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    aspect-ratio: 4 / 3; /* CLAVE para evitar rectángulos feos */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambiado de cover a contain para ver la foto completa */
}

/* Hover elegante */
.gallery-item:hover {
    transform: scale(1.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Botones */
.nav-btn {
    background: var(--light);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

/* Botones y Lightbox */
.nav-btn {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lightbox {
  display: none;
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  justify-content: center; align-items: center;
}

#lightbox-img { max-width: 80%; max-height: 80%; border-radius: 10px; }
.lb-nav { position: absolute; background: none; color: white; border: none; font-size: 3rem; cursor: pointer; }
.lb-prev { left: 5%; } .lb-next { right: 5%; }
.close-btn { position: absolute; top: 20px; right: 40px; color: white; font-size: 3rem; cursor: pointer; }

/* Contenedor de puntos */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

/* Estilo de cada punto */
.dot {
    width: 10px;
    height: 10px;
    background-color: #D7D6D8;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Punto activo */
.dot.active {
    background-color: #8A8550; /* Color 'accent' (Oliva) */
    transform: scale(1.3);
}

/* Estilos para la descripción debajo de la galería*/
.mevak-description {
    padding: 15px 20px;
    max-width: 900px; /* Para mantener el texto centrado y compacto */
    margin: 0 auto;
}

.description-title {
    font-family: var(--font-main);
    color: #435752; 
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.description-subtitle {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    font-weight: 400;
}

.description-subtitle strong {
    color: #333;
    font-weight: 700;
}


/* ==============================
   Ajuste tipográfico sección Mevak
================================ */

.container-mevak {
    padding: 60px 20px 40px;
}

/* Título principal */
.main-title {
    font-size: 3.2rem;
    font-weight: 400;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.main-title strong {
    font-weight: 700;
}

/* Texto descriptivo */
.intro-text {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #555;
    max-width: 980px;
    margin: 0 auto 70px;
}

.intro-text strong {
    font-weight: 700;
    color: #222;
}

/* ==============================
   Sección precio (imagen 2)
================================ */

.pricing-section {
  padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-grid {
 display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;         
    position: relative;
}

.price-card {
    flex: 1;
    max-width: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; 
}

/* Título */
.price-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary);
    line-height: 1; 
}

/* Texto*/
.price-label {
    font-size: 1rem;
    color: #6d7a78;
    margin: 0;
    line-height: 1; 
}

/* Precio */
.price {
	margin-top: 3px; 
    padding: 12px 32px;
    font-size: 1.9rem;
    font-weight: 800;
    color: white;
    background: var(--secondary);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    white-space: nowrap;
}

/* Línea divisoria desktop */
.price-divider {
  width: 2px;
	height: 170px;  
    background: #d7d6d8;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-social a {
    color: var(--light);
    margin-left: 20px;
    text-decoration: none;
}

.copyright {
    font-size: 0.8rem;
    border-top: 1px solid var(--secondary);
    padding-top: 20px;
}

/* Estilos atractivos para redes sociales */
.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(215, 214, 216, 0.1); /* Color 'light' con transparencia */
    color: var(--light);
    border-radius: 50%; /* Forma circular */
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(215, 214, 216, 0.2);
}

/* Efectos al pasar el ratón */
.footer-social a:hover {
    background-color: var(--light);
    color: var(--primary); /* El icono cambia al color oscuro del bosque */
    transform: translateY(-5px); /* Pequeño salto hacia arriba */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Color específico para cada red al hacer hover (opcional) */
.footer-social a:hover .fa-facebook-f {
    color: #1877F2; /* Azul oficial de Facebook */
}

.footer-social a:hover .fa-instagram {
    color: #E4405F; /* Rosa oficial de Instagram */
}

.footer-social a:hover .fa-whatsapp {
    color: #25D366; /* Verde oficial de WhatsApp */
}


/* Corregir color de enlaces en el footer (Email y otros) */
footer a {
    color: var(--light) !important; /* Fuerza el color gris claro */
    text-decoration: none; /* Quita el subrayado azul predeterminado */
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8; /* Efecto visual al pasar el mouse */
    text-decoration: underline; /* El subrayado solo aparece al interactuar */
}

footer {
    background-color: var(--primary); 
    color: var(--light);
    padding: 5px 0 10px;
}


/* --- Formulario de Contacto --- */
.contact-section {
    padding: 20px 20px;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
}

.form-group input:focus {
    border-color: var(--accent);
}

/* Grid formulario + mapa */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* Contenedor del mapa */
.map-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* Título del mapa */
.map-title {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Marco del mapa */
.map-embed {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* iframe responsive */
.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Sección de llamada a la acción en el footer */
.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px;
    gap: 20px; /* Añade un espacio uniforme entre el texto y el botón */
}

.footer-cta h2 {
    color: var(--secondary); /* Asegura que el texto sea blanco en el footer */
    font-size: 2rem;
    margin: 0;
    font-weight: 500;
}

/* Ajuste opcional para el botón dentro de esta sección */
.footer-cta .cta-button {
    margin-top: 10px;
}

/* Distribución de la barra inferior en una sola línea */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Alinea los elementos a la base */
    flex-wrap: wrap; /* Permite que se acomoden en móviles */
    gap: 20px;
}

.footer-info h4 {
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-info p {
    font-size: 0.9rem;
    margin: 2px 0;
}

/* Redes sociales atractivas (estilo circular) */
.footer-social {
    display: flex;
    gap: 15px;
}

footer a:not(.cta-button) {
    color: var(--light) !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:not(.cta-button):hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-copyright p {
    font-size: 0.85rem;
    opacity: 0.8;
}


/* ==============================
   Sección beneficios / íconos
================================ */

/* Grid de beneficios */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

/* Cada ítem */
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px; 
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Estado visible al hacer scroll */
.feature-item.visible {
     opacity: 1;
  transform: translateY(0);
}

/* Imagen del ícono */
.feature-item img {
    width: 110px;
    height: auto;
    border-radius: 24px;
    background: #faf7f2;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Hover: micro-animación */
.feature-item:hover img {
    transform: scale(1.12);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

/* Texto debajo del ícono */
.feature-item h3 {
    font-size: 22px;           
    font-weight: 500;
    color: #8c7b3f;
    margin: 0;                 
    line-height: 1.25;
}

/* Hover en texto */
.feature-item:hover h3 {
    color: var(--secondary);
    transform: translateY(-3px);
}

/* Entrada escalonada */
.feature-item:nth-child(1) { transition-delay: 0.1s; }
.feature-item:nth-child(2) { transition-delay: 0.25s; }
.feature-item:nth-child(3) { transition-delay: 0.4s; }
.feature-item:nth-child(4) { transition-delay: 0.55s; }

/* Responsive */
@media (max-width: 768px) {
	.header {
		padding: 15px 20px;
    }
	
	.logo img {
		height: 48px;
	}

	.hero-content {
        max-width: 100%;
        padding: 120px 20px 0;
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
	
	hero-btn {
        font-size: 0.9rem;
        padding: 12px 28px;
    }

    .nav {
        display: none;
    }

	.gallery-container {
        position: relative;
        display: block; /* Cambiamos de flex a block para controlar el scroll */
    }
	
	.gallery-view {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory; 
        scroll-behavior: smooth; 
        -webkit-overflow-scrolling: touch;
    }
	
	.gallery-view::-webkit-scrollbar {
        display: none; /* Oculta la barra de scroll para un look más limpio */
    }

    .gallery-item {
        flex: 0 0 100%; /* Una foto a la vez en móvil para que el scroll sea exacto */
        scroll-snap-align: center;
        aspect-ratio: 1 / 1; /* Cuadradas en móvil para verlas completas */
    }

    /* Opcional: Ocultar los botones de flecha en móvil ya que usaremos el dedo */
    .gallery-container .nav-btn {
        display: none;
    }
	
    .grid-2, .nav-links {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
	
	.gallery-dots {
        margin-top: 10px;
    }
	
    .nav-links { display: none; } /* Idealmente un menú hamburguesa aquí */
    .hero h1 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
	
	.intro-text {
        font-size: 1.1rem;
        line-height: 1.4;
        max-width: 100%;
    }
	
	/* Ajustar márgenes para evitar exceso de espacio */
    .container-mevak {
        padding-top: 30px;
        padding-bottom: 30px;
    }
	
	.main-title {
        font-size: 2.2rem;
        line-height: 1.25; /* Para reducir espacio entre líneas del título */
    }
	
	.container-mevak .intro-text {
        font-size: 1.0rem; /* Reduce el tamaño del texto descriptivo */
        line-height: 1.5; /* Ajusta el espacio entre líneas */
        max-width: 100%;
        padding: 0 10px; /* Padding lateral para evitar bordes */
    }
	
	.intro-text br {
        display: none;
    }
	
	.main-title {
        font-size: 2.2rem;
		line-height: 1.25; 
    }

	.pricing-section {
        padding: 30px 15px;
    }
	
	.pricing-grid {
        display: flex;
		flex-direction: column;
		align-items: center;
		gap: 40px;
    }
	
	.price-divider {
        display: none;
    }
	
	.price-card {
		gap: 4px;
    }
	
    .price-card h3 {
       font-size: 2.0rem;
        font-weight: 700;
        margin: 0;
        color: var(--primary);
        line-height: 1;
    }
    
    .price-label {
        font-size: 0.85rem;
        color: #6d7a78;
        margin: 0;
        line-height: 1;
    }
	 
    .price {
		width: 100%;
		max-width: 100%;
		padding: 14px 20px;
		font-size: clamp(1.4rem, 6vw, 2rem);
		text-align: center;
		white-space: normal;
    }
	
    .price-title {
        font-size: 2.2rem;
    }

    .price-amount {
        font-size: 2.4rem;
    }
	
	.animate-price {
	  opacity: 1;
	  transform: translateY(20px);
	  transition: opacity 0.8s ease, transform 0.8s ease;
	}

	.animate-price.visible {
	  opacity: 1;
	  transform: translateY(0);
	}

    .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;   /* menos espacio vertical */
    padding: 50px 16px;
    }

    .feature-item img {
        width: 90px;     /* escala mejor */
        padding: 14px;
    }

    .feature-item h3 {
        font-size: 20px; /* más grande como la imagen 2 */
    }

  
  /* Quitamos los saltos de línea manuales en móvil para mejor fluidez */
  .intro-text br { display: none; }
  
  .gallery-grid { grid-template-columns: 1fr; }
  
  .gallery-item {
    flex: 0 0 100%; /* Muestra SOLO UNA imagen en el ancho de pantalla */
  }
  
  .description-title {
        font-size: 2rem;
    }
    .description-subtitle {
        font-size: 1.1rem;
    }
    .description-subtitle br {
        display: none; /* Fluidez de texto en pantallas pequeñas */
    }
	
	.footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-social {
        order: 2;
    }
    
    .footer-copyright {
        order: 3;
        width: 100%;
        border-top: 1px solid rgba(215, 214, 216, 0.1);
        padding-top: 20px;
    }
	
	{
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .gallery-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móvil */
@media (max-width: 600px) {
  .gallery-container {
        flex-direction: column;
    }
    
    .gallery-view {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-item {
        aspect-ratio: 1 / 1; /* Cuadrado en móvil para mejor visibilidad */
    }
}

@media (max-width: 900px) {
	.features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
	
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        margin-top: 30px;
    }

    .map-embed {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .feature-item img {
        width: 85px;
        padding: 12px;
    }
}