/* ===========================
   VARIABLES
=========================== */

:root {

    --color-dark: #1c211d;

    --color-green: #314b37;

    --color-beige: #d8c7a5;

    --color-white: #ffffff;

    --container: 1200px;

}



/* ===========================
   RESET
=========================== */


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #333;

    line-height: 1.6;

}



img {

    max-width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}



.container {

    width: 90%;

    max-width: var(--container);

    margin: auto;

}



/* ===========================
 HEADER
=========================== */


.header {

    position: absolute;

    width: 100%;

    top: 0;

    z-index: 20;

}


.header-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 0;

}



.logo img {

    width: 180px;

}



.nav {

    display: flex;

    gap: 25px;

    color: white;

}



.nav a {

    font-size: .95rem;

}


.menu-toggle {

    display: none;

    background: none;

    border: 0;

    color: white;

    font-size: 28px;

}





/* ===========================
 HERO
=========================== */


.hero {

    position: relative;

    height: 100vh;

    min-height: 600px;

    overflow: hidden;

}



.hero-image {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, .45);

}



.hero-content {

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%, -50%);

    color: white;

    text-align: center;

}



.hero h1 {

    font-size:
        clamp(2.2rem, 5vw, 4rem);

    margin-bottom: 20px;

}



.hero p {
    max-width: 700px;
    margin: 0 auto 25px auto;
    font-size: 1.2rem;
}




.hero-buttons {
    margin-top: 55px;
    display: flex;
    justify-content: center;
    gap: 15px;
}



.btn-primary,
.btn-secondary {


    padding: 14px 30px;

    border-radius: 4px;

    display: inline-block;

}



.btn-primary {

    background: var(--color-green);

    color: white;

}



.btn-secondary {

    border: 1px solid white;

    color: white;

}





/* ===========================
 SECTIONS
=========================== */


.section {

    padding: 80px 0;

}



.section h2 {

    font-size: 2rem;

    margin-bottom: 25px;

}





/* ===========================
 CTA
=========================== */


.cta {

    background:
        var(--color-green);

    color: white;

    text-align: center;

    padding: 70px 0;

}





/* ===========================
 FOOTER
=========================== */


.footer {

    background:
        var(--color-dark);

    color: white;

    text-align: center;

    padding: 30px;

}





/* ===========================
 MOBILE
=========================== */


@media(max-width:768px) {


    .nav {

        position: absolute;

        top: 80px;

        left: 0;

        width: 100%;

        background: var(--color-dark);

        flex-direction: column;

        padding: 25px;

        display: none;

    }



    .nav.active {

        display: flex;

    }



    .menu-toggle {

        display: block;

    }



    .hero-buttons {

        flex-direction: column;

    }



    .logo img {

        width: 150px;

    }


}

/* ===========================
 PAGE HEADER
=========================== */


.page-header {

    position: relative;

    height: 60vh;

    min-height: 400px;

}



.page-header img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.page-header-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .45);

}



.page-header-content {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    color: white;

    text-align: center;

    width: 90%;

}



.page-header-content h1 {

    font-size: clamp(2rem, 5vw, 3.5rem);

    margin-bottom: 15px;

}





.wide-image {

    width: 100%;

    border-radius: 4px;

}



.image-caption {

    margin-top: 15px;

    font-size: .9rem;

    color: #666;

}





.process-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-top: 30px;

}



.process-card {

    padding: 30px;

    background: #f7f7f7;

    text-align: center;

}



.process-card span {

    display: inline-flex;

    width: 45px;

    height: 45px;

    align-items: center;

    justify-content: center;

    background: #314b37;

    color: white;

    border-radius: 50%;

    font-size: 1.3rem;

    margin-bottom: 15px;

}



.process-note {

    margin-top: 30px;

}





@media(max-width:768px) {


    .process-grid {

        grid-template-columns: 1fr;

    }


}

/* ===========================
   GALERIA
=========================== */


.video-container {

    position: relative;

    padding-bottom: 56.25%;

    height: 0;

    overflow: hidden;

}


.video-container iframe {

    position: absolute;

    width: 100%;

    height: 100%;

    border: 0;

}




.gallery-grid {


    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;


}



.gallery-image {


    width: 100%;

    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    cursor: pointer;

    transition: .3s;


}


.gallery-image:hover {

    transform: scale(1.03);

}





.lightbox {


    display: none;

    position: fixed;

    inset: 0;

    background:
        rgba(0, 0, 0, .9);

    z-index: 100;


    align-items: center;

    justify-content: center;


}



.lightbox.active {

    display: flex;

}



.lightbox img {


    max-width: 90%;

    max-height: 85%;


}




.lightbox-close {


    position: absolute;

    top: 30px;

    right: 40px;

    font-size: 45px;

    background: none;

    border: 0;

    color: white;

    cursor: pointer;

}





@media(max-width:900px) {


    .gallery-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


}



@media(max-width:600px) {


    .gallery-grid {

        grid-template-columns: 1fr;

    }


}

/* ===========================
   UBICACION
=========================== */

.map-section iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.location-grid {


    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;


}


.location-grid img {


    width: 100%;

    height: 300px;

    object-fit: cover;


}




.map-section img {


    width: 100%;

}





.image-caption {


    margin-top: 15px;

    color: #666;

    font-size: .95rem;


}



.image-caption a {


    color: #314b37;

    text-decoration: underline;


}





@media(max-width:900px) {


    .location-grid {

        grid-template-columns: 1fr;

    }



    .location-grid img {

        height: auto;

    }


}


/* ===========================
   ENTORNO
=========================== */


.landscape-section {

    position: relative;

    margin-bottom: 50px;

}



.landscape-section>img {


    width: 100%;

    height: 450px;

    object-fit: cover;


}




.landscape-caption {


    padding: 40px 5%;

    text-align: center;


}



.content-block {


    padding: 40px 0;


}



.content-block h3 {


    font-size: 2rem;

    margin-bottom: 20px;


}



.content-block li {


    margin-bottom: 10px;


}



.distance-list {


    padding-left: 20px;


}



.distance-list li {


    margin-bottom: 12px;


}



.landscape-gallery {


    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;


}


.landscape-gallery img {


    width: 100%;

    height: 460px;

    object-fit: cover;


}



@media(max-width:768px) {


    .landscape-section>img {

        height: 300px;

    }



    .landscape-gallery {

        grid-template-columns: 1fr;

    }


}

/* ===========================
   CONTACTO
=========================== */


.contact-container {


    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;


}



.contact-form {


    display: flex;

    flex-direction: column;

    gap: 12px;


}



.contact-form label {


    font-weight: bold;


}



.contact-form input,
.contact-form textarea {


    width: 100%;

    padding: 14px;

    border: 1px solid #ccc;

    font-size: 1rem;


}



.contact-form textarea {


    resize: vertical;


}



.contact-form button {


    border: 0;

    cursor: pointer;

    margin-top: 15px;


}




@media(max-width:768px) {


    .contact-container {

        grid-template-columns: 1fr;

    }


}

/* ===========================
   HOME FINAL BANNER
=========================== */


.final-banner {

    position: relative;

    height: 600px;

    overflow: hidden;

}


.final-banner img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.final-banner-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .45);

}



.final-banner-content {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    color: white;

    width: 90%;

}



.final-banner-content h2 {

    font-size: clamp(2rem, 4vw, 3rem);

    margin-bottom: 20px;

}



.feature-icon {

    font-size: 2rem;

    margin-bottom: 15px;

}

/* ===========================
   FEATURE GRID
=========================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 35px 25px;
    background: linear-gradient(180deg, #629cd6 0%, #a2c4e8 50%, #eef5fc 100%);
    border-top: 14px solid #004080;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centra horizontalmente el contenido */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* --- CONTROL Y TAMAÑO DE LOS ÍCONOS --- */
.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 48px;
    /* Controla el ancho del ícono */
    height: 48px;
    /* Controla la altura del ícono */
    color: #004080;
    /* Color azul matching con la barra superior */
}

.feature-card h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #222222;
    font-size: 1.15rem;
    font-weight: bold;
}

.feature-card p {
    text-align: center;
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media(max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   ENTORNO - CARDS - TARJETAS DE SECCIÓN
=========================== */
.entorno-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.entorno-card {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.entorno-card-img {
    position: relative;
    height: 220px;
    width: 100%;
}

.entorno-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entorno-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #314b37;
    color: #ffffff;
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.entorno-list {
    list-style: none;
    padding: 35px 25px 0 25px;
    text-align: center;
    color: #555555;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.entorno-list li {
    line-height: 1.4;
}

.distance-text-list {
    font-size: 0.9rem;
}

.distance-note {
    margin-top: 10px;
    font-style: italic;
    color: #777777;
}

@media(max-width: 900px) {
    .entorno-cards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===========================
   LANDSCAPE GALLERY GRID (3 COLUMNAS RESPONSIVE)
=========================== */

.landscape-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.landscape-gallery-card {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.landscape-gallery-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 460;
    object-fit: cover;
}

.landscape-gallery-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.landscape-gallery-content h3 {
    font-size: 1.15rem;
    color: var(--color-dark, #1c211d);
    font-weight: bold;
}

.landscape-gallery-content p {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .landscape-gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===========================
   AJUSTE DE ESPACIADOS PARA GALERÍA
=========================== */

.landscape-gallery-title-section {
    padding: 20px 0 10px 0;
}

.landscape-gallery-title-section h2 {
    margin-bottom: 0;
}