/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* hace que cualquier anchor haga scroll animado */
}

/* base */
:root {
    --font-main: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    color: #2F2F2F;
    line-height: 1.6;
    background-color: #FAFAF8;
}

/* tipografia */
h2 {
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #3E6F4B;
    margin-bottom: 0.5rem;
}

.adaptacion-header p {
    font-weight: 400;
    color: #6B6B6B;
    max-width: 620px;
    margin: 0 auto;
}

.card h3 {
    font-weight: 500;
    font-size: 1.05rem;
    color: #3E6F4B;
}

.card p {
    font-size: 0.95rem;
    color: #6B6B6B;
}

.card-number {
    font-weight: 700;
    font-size: 2.2rem;
    color: #3E6F4B;
    opacity: 0.25;
}












/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(250, 250, 248, 0.95);
    /* semi-transparente para blur */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* sombra suave y elegante */
    backdrop-filter: blur(6px);
    /* efecto vidrio premium */
    z-index: 100;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 48px;
    /* un poco más grande */
    width: auto;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    /* sutil sombra sobre el logo */
}

.nav-menu a {
    margin-left: 1.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    color: #2F2F2F;
    font-weight: 500;
    /* un poco más elegante */
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
    color: #3E6F4B;
    transform: translateY(-2px);
    /* movimiento sutil al pasar el mouse */
}


/* ===== Menu hamburguesa ===== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #3E6F4B;
    margin: 4px 0;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FAFAF8;
        display: none;
        flex-direction: column;
        border-top: 1px solid rgba(0, 0, 0, 0.05);

        /* Centrado de los items */
        align-items: center;
        /* <--- Esto centra los enlaces horizontalmente */
    }

    .nav-menu a {
        padding: 1rem 1.5rem;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);

        /* Opcional: que el texto esté centrado dentro del link */
        text-align: center;
    }

    .nav-menu a:hover {
        background-color: rgba(227, 178, 60, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }
}











/* Hero */
.hero {
    position: relative;
    height: 100vh;
    background-image: url("./assets/imagetres.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(62, 111, 75, 0.55);
}

.hero-content {
    text-align: center;
    color: #FAFAF8;
    /* blanco marfil para contraste sobre foto */
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 1rem;
    /* espacio arriba y abajo para respirar */
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4rem);
    /* más grande pero responsivo */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
    /* mejora legibilidad sobre foto */
}

/* Subtítulo */
.hero-content p {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    /* un poco más grande que antes */
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    /* suaviza la lectura */
}

.hero-button {
    display: inline-block;
    background-color: #E3B23C;
    color: #2F2F2F;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.hero-button:hover {
    background-color: #d1a432;
}










/* primera seccion ADAPTACION */
/* Sección Adaptación */
.adaptacion {
    background-color: #FAFAF8;
    padding: 4rem 1.5rem;
}

.adaptacion-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.adaptacion-header {
    max-width: 700px;
    margin-bottom: 3rem;
}

.adaptacion-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #3E6F4B;
    margin-bottom: 0.75rem;
}

.adaptacion-header p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6B4F3A;
}

/* Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Cards */
.card {
    background-color: #FFFFFF;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid rgba(107, 79, 58, 0.45);
}

.card {
    position: relative;
}

.card::after {
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    margin-top: 1.5rem;
    background-color: rgba(107, 79, 58, 0.20);
}

.card-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #3E6F4B;
    margin-bottom: 1rem;
}


.card-icon img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: contain;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2F2F2F;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6B6B6B;
}

/* Hover sutil */
.card:hover {
    border-color: #E3B23C;
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .adaptacion-header h2 {
        font-size: 1.75rem;
    }
}








.requisitos-grupo {
    background-color: #F1F5F2;
    padding: 4rem 1.5rem;
}

.requisitos-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.requisitos-title {
    color: #3E6F4B;
    /* verde identidad */
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    opacity: 0;
    /* para animación */
    transform: translateY(20px);
    /* para animación */
    transition: all 0.6s ease-out;
}

.requisitos-title.visible {
    opacity: 1;
    transform: translateY(0);
}


.requisitos-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

/* Borde marrón animado para cada requisito */
/* Lista de requisitos con borde inferior animado */
.requisitos-list li {
    font-size: 1rem;
    color: #2F2F2F;
    /* Gris principal */
    padding: 0.75rem 1.5rem;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #6B4F3A, #E3B23C, #6B4F3A) 1;
    white-space: nowrap;
    animation: border-slide 3s linear infinite;
    transition: border-image 0.5s ease-in-out;
    /* para hover opcional */
}

/* Hover opcional: acelera la animación */
.requisitos-list li:hover {
    border-image: linear-gradient(90deg, #E3B23C, #6B4F3A, #E3B23C) 1;
}

/* Keyframes para animación de borde */
@keyframes border-slide {
    0% {
        border-image: linear-gradient(90deg, #6B4F3A, #E3B23C, #6B4F3A) 1;
    }

    50% {
        border-image: linear-gradient(90deg, #6B4F3A, #F2C94C, #6B4F3A) 1;
    }

    100% {
        border-image: linear-gradient(90deg, #6B4F3A, #E3B23C, #6B4F3A) 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .requisitos-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .requisitos-list li {
        border-bottom: 1px solid rgba(107, 79, 58, 0.25);
    }
}








/* segunda seccion */
/* Sección Servicios */
.servicios {
    background-color: #FAFAF8;
    padding: 4rem 1.5rem;
}

.servicios-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.servicios-header {
    margin-bottom: 3rem;
}

.servicios-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #3E6F4B;
}

/* Grid */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Cards */
.servicio-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;

}

.servicio-imagen {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servicio-texto {
    padding: 1.75rem;
}

.servicio-texto h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: #2F2F2F;
    margin-bottom: 0.75rem;
}

.servicio-texto p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6B6B6B;
}

/* Hover sutil */
.servicio-card:hover {
    border-color: #E3B23C;
}

/* Responsive */
@media (max-width: 1024px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicios-header h2 {
        font-size: 1.75rem;
    }
}










/*descarga de PDF de HOSPEDAJE */
.btn-pdf {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #E3B23C;
    /* amarillo cálido acento */
    color: #3E6F4B;
    /* verde identidad */
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-pdf:hover {
    background-color: #F2C94C;
    /* amarillo más suave */
    color: #2F2F2F;
}









/* seccion de precios y tarifas */
/* Sección Precios */
.precios {
    position: relative;
    /* Necesario para el overlay */
    background-image: url('./assets/imagediez.jpeg');
    /* Foto de fondo */
    background-size: cover;
    /* Mantiene la foto completa */
    background-position: center;
    /* Centra la foto */
    background-attachment: scroll;
    /* La foto se mueve con el scroll */
    text-align: center;
    /* Título centrado */
    padding: 6rem 1rem;
    /* Espaciado suficiente para que se vea la imagen */
    color: #2F2F2F;
    /* Texto principal gris neutro */
    overflow: hidden;
}

/* Overlay semitransparente */
.precios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 250, 248, 0.6);
    /* Marfil con opacidad */
    z-index: 1;
}

/* Contenido de la sección encima del overlay */
.precios-container {
    position: relative;
    z-index: 2;
}

/* Títulos */
.precios-title {
    color: #3E6F4B;
    /* Verde natural */
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);

}

.precios-subtitle {
    color: #2F2F2F;
    /* Gris neutro */
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}

/* Botón con logo */
.boton-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #E3B23C;
    /* Amarillo cálido */
    color: #3E6F4B;
    /* Verde oscuro */
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.boton-pdf:hover {
    background-color: #F2C94C;
    /* Amarillo suave al hover */
    transform: translateY(-2px);
}

.boton-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}













/*SECCION 3 */

/* ===== Sección Rutina Diaria ===== */
.rutina {
    background-color: #F1F5F2;
    padding: 4rem 1.5rem;
}

.rutina-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rutina-header {
    margin-bottom: 2.5rem;
}

.rutina-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #3E6F4B;
    margin-bottom: 0.5rem;
}

.rutina-header p {
    font-size: 0.95rem;
    color: #6B4F3A;
}

/* Imagen principal */
.rutina-main-image {
    margin-bottom: 2rem;
}

.rutina-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 6px;
}

/* Grid secundario */
.rutina-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    cursor: pointer;
    /* Cambia el cursor a mano al pasar por la imagen */

}

.rutina-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s;
    /* Opcional: efecto de hover */
}

.rutina-grid img:hover {
    transform: scale(1.05);
    /* Opcional: ligera ampliación al pasar el mouse */
}

/* Texto cierre */
.rutina-texto {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6B6B6B;
    max-width: 520px;
    margin-bottom: 1rem;
}

/* Link Instagram */

.rutina-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* espacio entre icono y texto */
    text-decoration: none;
    color: #3E6F4B;
    /* verde identidad */
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: color 0.3s;
}

.rutina-instagram:hover {
    color: #E3B23C;
    /* amarillo cálido en hover */
}

.instagram-logo {
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 50%;
}

/* Estilos del modal */
.modal {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    z-index: 200;
    /* Más arriba que todo lo demás */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fondo semi-transparente */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

#caption {
    text-align: center;
    color: #fff;
    padding: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive Rutina */
@media (max-width: 768px) {
    .rutina-main-image img {
        height: 260px;
    }

    .rutina-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}










/* ===== Sección Quiénes Somos ===== */
.quienes {
    background-color: #FFFFFF;
    padding: 4rem 1.5rem;
}

.quienes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.quienes h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #3E6F4B;
    margin-bottom: 2.5rem;
}

/* Layout */
.quienes-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.quienes-texto p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #2F2F2F;
}

/* Imagen */
.quienes-imagen img {
    width: 90%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
}

/* Responsive Quiénes Somos */
@media (max-width: 768px) {
    .quienes-layout {
        grid-template-columns: 1fr;
    }

    .quienes-imagen img {
        height: 260px;
    }
}









/* SECCION CONTACTO */
/* ===== Sección Contacto ===== */
.contacto {
    background-color: #FAFAF8;
    padding: 4rem 1.5rem;
}

.contacto-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.contacto-header {
    margin-bottom: 2.5rem;
}

.contacto-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #3E6F4B;
    margin-bottom: 0.5rem;
}

.contacto-header p {
    font-size: 0.95rem;
    color: #6B4F3A;
}

/* Layout */
.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

/* Datos */
.contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dato {
    display: flex;
    flex-direction: column;
}

.dato-label {
    font-size: 0.85rem;
    color: #6B6B6B;
    margin-bottom: 0.25rem;
}

.dato-valor {
    font-size: 0.95rem;
    color: #2F2F2F;
}

/* CTA */
.contacto-cta {
    display: flex;
    align-items: flex-start;
}

.contacto-boton {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background-color: #E3B23C;
    color: #2F2F2F;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
}

/* Hover sobrio */
.contacto-boton:hover {
    background-color: #d1a432;
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-content {
        grid-template-columns: 1fr;
    }

    .contacto-cta {
        margin-top: 1.5rem;
    }

    .contacto-boton {
        width: 100%;
        text-align: center;
    }
}




/* footer */
.iq-footer {
    background-color: #3E6F4B;
    padding: 2rem 1rem;
    text-align: center;
    font-family: 'Inter', Arial, sans-serif;
}

/* COPYRIGHT */
.iq-footer__copy {
    margin: 0;
    font-size: 0.9rem;
    color: #FAFAF8;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* FIRMA */
.iq-footer__signature {
    margin: 6px 0 0 0;
    font-size: 0.68rem;
    color: rgba(250, 250, 248, 0.45);
    letter-spacing: 0.03em;
}

/* LINK (SIN CONFLICTO GLOBAL) */
.iq-footer__link {
    color: rgba(250, 250, 248, 0.45);
    text-decoration: none;
    border-bottom: none;
    transition: all 0.25s ease;
}

/* HOVER LIMPIO */
.iq-footer__link:hover {
    color: rgba(250, 250, 248, 0.9);
    border-bottom: 1px solid rgba(250, 250, 248, 0.3);
}

/* MOBILE */
@media (max-width: 480px) {
    .iq-footer {
        padding: 1.5rem 1rem;
    }

    .iq-footer__copy {
        font-size: 0.85rem;
    }

    .iq-footer__signature {
        font-size: 0.7rem;
    }
}