/* =========================================================
   SANGAL
   JARDINERÍA • PAISAJISMO • ZONAS VERDES
   ESTILOS GENERALES
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --verde-oscuro: #071b11;
    --verde-profundo: #0d2b1a;
    --verde-principal: #237a4b;
    --verde-claro: #79c996;
    --verde-suave: #dcecdf;

    --crema: #f5f4ee;
    --blanco: #ffffff;

    --texto: #18231b;
    --texto-suave: #68736b;

    --sombra: 0 20px 60px rgba(0, 0, 0, 0.12);

    --transicion: all 0.35s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--crema);
    color: var(--texto);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
    line-height: 1.15;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 88px;

    display: flex;
    align-items: center;

    z-index: 1000;

    background: rgba(7, 27, 17, 0.96);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition: var(--transicion);
}

.header.scrolled {
    height: 72px;
    background: rgba(5, 20, 12, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    width: min(1320px, 92%);
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 165px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
}


/* =========================================================
   MENÚ
========================================================= */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 34px;
}

.nav-menu a {
    position: relative;

    color: #ffffff;

    font-size: 0.94rem;
    font-weight: 600;

    opacity: 0.88;

    transition: var(--transicion);
}

.nav-menu a:hover {
    opacity: 1;
    color: #a8d96d;
}

.nav-menu a.active {
    opacity: 1;
    color: #ffffff;
}
.nav-menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--verde-claro);

    transition: var(--transicion);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}


/* =========================================================
   BOTÓN HEADER
========================================================= */

.header-button {
    padding: 12px 24px;

    background: var(--verde-principal);

    color: #ffffff;

    border-radius: 50px;

    font-size: 0.9rem;
    font-weight: 700;

    transition: var(--transicion);
}

.header-button:hover {
    background: #31915b;
    transform: translateY(-2px);
}


/* =========================================================
   BOTÓN HAMBURGUESA
========================================================= */

.menu-toggle {
    display: none;

    width: 45px;
    height: 45px;

    background: transparent;
    border: none;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 27px;
    height: 2px;

    margin: 6px auto;

    background: #ffffff;

    transition: var(--transicion);
}


/* =========================================================
   BOTONES GENERALES
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 16px 28px;

    border-radius: 50px;

    font-weight: 700;

    cursor: pointer;

    transition: var(--transicion);
}

.btn-primary {
    background: var(--verde-principal);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: #185d38;

    transform: translateY(-3px);

    box-shadow: 0 15px 35px rgba(31, 107, 69, 0.3);
}


/* =========================================================
   ETIQUETAS
========================================================= */

.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--verde-principal);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.16em;
}


/* =========================================================
   =========================================================
   INDEX
   =========================================================
========================================================= */


/* =========================================================
   HERO PRINCIPAL
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--verde-oscuro);

    padding-top: 88px;
}


/* Fondo floral del inicio */

.hero-inicio {
    background-image:
        url("https://images.unsplash.com/photo-1558521958-0a228e77e984?auto=format&fit=crop&w=1000&q=85");

    background-size: cover;
    background-position: center;
}


/* Capa oscura */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 12, 0.94) 0%,
            rgba(5, 20, 12, 0.78) 45%,
            rgba(5, 20, 12, 0.38) 100%
        );
}

.hero-container {
    position: relative;
    z-index: 2;

    width: min(1180px, 90%);
    margin: auto;
}

.hero-content {
    max-width: 780px;

    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 10px 16px;

    margin-bottom: 28px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.badge-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--verde-claro);
}

.hero-content h1 {
    font-size: clamp(3.7rem, 6.5vw, 6.8rem);

    margin-bottom: 25px;

    color: #ffffff;
}

.hero-content h1 span {
    color: #8fe0aa;
}

.hero-content p {
    max-width: 640px;

    font-size: 1.1rem;

    color: rgba(255, 255, 255, 0.8);

    margin-bottom: 35px;
}


/* =========================================================
   TARJETAS / INFORMACIÓN DEL HERO
========================================================= */

.hero-info {
    position: relative;
    z-index: 2;

    display: flex;

    gap: 18px;

    margin-top: 50px;
}

.hero-info-card {
    padding: 18px 22px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(10px);

    color: #ffffff;
}

.hero-info-card strong {
    display: block;
    font-size: 1.1rem;
}

.hero-info-card span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}



/* =========================================================
   SOBRE SANGAL
========================================================= */

.about-preview {
    padding: 130px 0;

    background: var(--crema);
}

.about-preview-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-preview-image,
.about-preview-img {
    border-radius: 28px;

    overflow: hidden;

    box-shadow: var(--sombra);
}

.about-preview-image img,
.about-preview-img img {
    width: 100%;
    height: 580px;

    object-fit: cover;
}

.about-preview-content h2 {
    font-size: clamp(2.5rem, 4vw, 4.4rem);

    margin-bottom: 25px;
}

.about-preview-content h2 span {
    color: var(--verde-principal);
}

.about-preview-content p {
    color: var(--texto-suave);

    margin-bottom: 18px;
}


/* =========================================================
   SERVICIOS DESTACADOS - TARJETAS PREMIUM
========================================================= */

.services-preview {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(47, 107, 59, 0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(47, 107, 59, 0.06),
            transparent 25%
        ),
        #edf2ec;
}


/* =========================================================
   TÍTULOS
========================================================= */

.services-header {
    max-width: 720px;

    margin-bottom: 60px;
}


.services-header h2,
.services-preview h2 {
    font-size: clamp(2.5rem, 4vw, 4.3rem);
}


.services-header h2 span,
.services-preview h2 span {
    color: var(--verde-principal);
}


/* =========================================================
   GRID DE SERVICIOS
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


/* =========================================================
   TARJETA PRINCIPAL
========================================================= */

/* =========================================================
   TARJETA PRINCIPAL - MEJORA PREMIUM
========================================================= */

.service-card {
    position: relative;

    min-height: 430px;

    padding: 48px 42px 38px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(246, 250, 245, 0.98)
        );

    border: 1px solid rgba(47, 107, 59, 0.12);

    border-radius: 30px;

    box-shadow:
        0 18px 45px rgba(20, 45, 25, 0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* =========================================================
   NÚMERO DECORATIVO
========================================================= */

.service-card::before {
    position: absolute;

    top: 18px;
    right: 25px;

    font-size: 5rem;

    font-weight: 800;

    line-height: 1;

    color: rgba(47, 107, 59, 0.06);

    transition:
        color 0.4s ease,
        transform 0.4s ease;

    pointer-events: none;
}


.service-card:nth-child(1)::before {
    content: "01";
}


.service-card:nth-child(2)::before {
    content: "02";
}


.service-card:nth-child(3)::before {
    content: "03";
}


/* =========================================================
   LÍNEA DECORATIVA SUPERIOR
========================================================= */

.service-card::after {
    content: "";

    position: absolute;

    top: 0;
    left: 35px;

    width: 0;
    height: 4px;

    border-radius: 0 0 10px 10px;

    background:
        linear-gradient(
            90deg,
            var(--verde-principal),
            #79a86f
        );

    transition: width 0.4s ease;
}


/* =========================================================
   EFECTO HOVER
========================================================= */

.service-card:hover {
    transform: translateY(-12px);

    border-color: rgba(47, 107, 59, 0.25);

    box-shadow:
        0 25px 55px rgba(20, 45, 25, 0.15);
}


.service-card:hover::after {
    width: calc(100% - 70px);
}


.service-card:hover::before {
    color: rgba(47, 107, 59, 0.10);

    transform: scale(1.08);
}


/* =========================================================
   ICONO
========================================================= */

/* =========================================================
   ICONO PREMIUM
========================================================= */

.service-icon {
    position: relative;
    z-index: 2;

    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 32px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #e4f0e1,
            #cfe4ca
        );

    color: var(--verde-principal);

    font-size: 2rem;

    box-shadow:
        0 12px 28px rgba(47, 107, 59, 0.16);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.1);

    box-shadow:
        0 18px 35px rgba(47, 107, 59, 0.22);
}


/* =========================================================
   TÍTULO
========================================================= */
.service-card h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 18px;

    font-size: 1.8rem;

    line-height: 1.2;

    color: var(--texto-principal);
}

/* =========================================================
   DESCRIPCIÓN
========================================================= */

.service-card p {
    position: relative;
    z-index: 2;

    margin-bottom: 32px;

    color: var(--texto-suave);

    font-size: 1rem;

    line-height: 1.8;
}


/* =========================================================
   ENLACE CONOCER MÁS
========================================================= */

/* =========================================================
   BOTÓN CONOCER MÁS
========================================================= */

.service-card a {
    position: relative;
    z-index: 2;

    width: fit-content;

    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 12px 18px;

    border-radius: 50px;

    background: rgba(47, 107, 59, 0.08);

    color: var(--verde-principal);

    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        gap 0.3s ease;
}

.service-card a:hover {
    background: var(--verde-principal);

    color: #ffffff;

    transform: translateX(5px);
}

.service-card a i {
    font-size: 0.85rem;

    transition: transform 0.3s ease;
}

.service-card a:hover i {
    transform: translateX(4px);
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .service-card:last-child {
        grid-column: 1 / -1;

        max-width: 500px;

        width: 100%;

        margin: 0 auto;
    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 650px) {

    .services-preview {
        padding: 85px 0;
    }


    .services-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .service-card,
    .service-card:last-child {
        grid-column: auto;

        max-width: none;

        min-height: auto;

        padding: 35px 28px;
    }


    .service-card::before {
        font-size: 4.5rem;

        right: 20px;
    }


    .service-card::after {
        left: 28px;
    }


    .service-card:hover::after {
        width: calc(100% - 56px);
    }

}


/* =========================================================
   PROYECTOS PREVIEW
========================================================= */

.projects-preview {
    padding: 130px 0;

    background: var(--crema);
}

.projects-header {
    max-width: 720px;

    margin-bottom: 60px;
}

.projects-header h2 {
    font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.projects-header h2 span {
    color: var(--verde-principal);
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.project-card {
    position: relative;

    height: 430px;

    border-radius: 25px;

    overflow: hidden;

    background: var(--verde-oscuro);
}

.project-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card-content,
.project-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;

    color: #ffffff;

    background:
        linear-gradient(
            transparent 35%,
            rgba(5, 20, 12, 0.92)
        );
}

.project-card-content h3,
.project-overlay h3 {
    margin-bottom: 10px;
}


/* =========================================================
   CTA INDEX
========================================================= */

.cta-section {
    position: relative;

    padding: 150px 0;

    text-align: center;

    color: #ffffff;

    background-image:
        url("https://images.unsplash.com/photo-1526047932273-341f2a7631f9?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;
    background-position: center;
}

.cta-section::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(5, 20, 12, 0.84);
}

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin: auto;
}

.cta-content h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.cta-content h2 span {
    color: #8fe0aa;
}

.cta-content p {
    margin: 25px auto 35px;

    color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   PORTADAS INTERNAS
========================================================= */

.inner-hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    padding-top: 88px;

    overflow: hidden;

    background-size: cover;
    background-position: center;
}

.inner-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 12, 0.94) 0%,
            rgba(5, 20, 12, 0.78) 48%,
            rgba(5, 20, 12, 0.35) 100%
        );
}

.inner-hero-content {
    position: relative;
    z-index: 2;

    color: #ffffff;

    max-width: 800px;
}

.inner-hero-content h1 {
    font-size: clamp(3.5rem, 6vw, 6.2rem);

    margin-bottom: 25px;
}

.inner-hero-content h1 span {
    color: #8fe0aa;
}

.inner-hero-content p {
    max-width: 650px;

    font-size: 1.1rem;

    color: rgba(255, 255, 255, 0.8);
}


/* =========================================================
   FLORES DIFERENTES
========================================================= */

.about-hero {
    background-image:
        url("https://images.unsplash.com/photo-1490750967868-88aa4486c946?auto=format&fit=crop&w=2200&q=90");
}

.services-hero {
    background-image:
        url("https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=2200&q=90");
}

.projects-hero {
    background-image:
        url("https://images.unsplash.com/photo-1465146344425-f00d5f5c8f07?auto=format&fit=crop&w=2200&q=90");
}

.contact-hero {
    background-image:
        url("https://images.unsplash.com/photo-1469259943454-aa100abba749?auto=format&fit=crop&w=2200&q=90");
}


/* =========================================================
   NOSOTROS
========================================================= */

.history-section {
    padding: 130px 0;
}

.history-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.history-image {
    overflow: hidden;

    border-radius: 28px;

    box-shadow: var(--sombra);
}

.history-image img {
    width: 100%;
    height: 580px;

    object-fit: cover;
}

.history-content h2 {
    font-size: clamp(2.5rem, 4vw, 4.3rem);

    margin-bottom: 25px;
}

.history-content h2 span {
    color: var(--verde-principal);
}

.history-content p {
    margin-bottom: 18px;

    color: var(--texto-suave);
}


/* =========================================================
   MISIÓN Y VISIÓN
========================================================= */

.mission-vision-section {
    padding: 120px 0;

    background: var(--verde-oscuro);
}

.mission-vision-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;
}

.mission-card,
.vision-card {
    padding: 55px 45px;

    border-radius: 28px;

    color: #ffffff;
}

.mission-card {
    background: #143323;
}

.vision-card {
    background: var(--verde-principal);
}

.mission-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.12);

    font-size: 1.7rem;
}

.mission-card h2,
.vision-card h2 {
    margin: 15px 0 20px;
}

.mission-card p,
.vision-card p {
    color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   VALORES
========================================================= */

.values-section {
    padding: 130px 0;

    background: var(--crema);
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.value-card {
    padding: 35px 28px;

    background: #ffffff;

    border-radius: 22px;

    transition: var(--transicion);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra);
}

.value-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 16px;

    background: var(--verde-suave);

    color: var(--verde-principal);

    font-size: 1.4rem;
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    color: var(--texto-suave);
}


/* =========================================================
   SERVICIOS - DISEÑO PREMIUM SANGAL
========================================================= */


/* =========================================================
   INTRODUCCIÓN DE SERVICIOS
========================================================= */

.services-intro {
    position: relative;

    padding: 140px 0 90px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 5% 20%,
            rgba(47, 107, 59, 0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 80%,
            rgba(47, 107, 59, 0.06),
            transparent 30%
        );
}


/* DECORACIÓN NATURAL */

.services-intro::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: -180px;
    left: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(47, 107, 59, 0.12),
            transparent 70%
        );

    pointer-events: none;
}


.services-intro::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -80px;
    bottom: -100px;

    border-radius: 50%;

    border: 1px solid rgba(47, 107, 59, 0.15);

    pointer-events: none;
}


/* =========================================================
   GRID INTRODUCCIÓN
========================================================= */

.services-intro-grid {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}


/* =========================================================
   CONTENIDO
========================================================= */

.services-intro-content {
    position: relative;
}


.services-intro-content h2 {
    margin-bottom: 22px;

    font-size: clamp(2.7rem, 4vw, 4.5rem);

    line-height: 1.08;

    letter-spacing: -1.5px;

    color: var(--texto-principal);
}


.services-intro-content h2 span {
    position: relative;

    color: var(--verde-principal);
}


.services-intro-content h2 span::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 100%;
    height: 6px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            rgba(47, 107, 59, 0.35),
            transparent
        );
}


.services-intro-content p {
    max-width: 580px;

    margin-top: 20px;

    color: var(--texto-suave);

    font-size: 1.03rem;

    line-height: 1.85;
}


/* =========================================================
   IMAGEN INTRODUCTORIA
========================================================= */

.services-intro-image {
    position: relative;

    border-radius: 32px;

    overflow: hidden;

    box-shadow:
        0 30px 70px rgba(20, 45, 25, 0.16);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}


/* BORDE DECORATIVO */

.services-intro-image::before {
    content: "";

    position: absolute;

    inset: 12px;

    z-index: 2;

    border: 1px solid rgba(255, 255, 255, 0.55);

    border-radius: 23px;

    pointer-events: none;

    transition: inset 0.5s ease;
}


/* DEGRADADO SOBRE LA IMAGEN */

.services-intro-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(20, 60, 30, 0.10),
            transparent 55%,
            rgba(20, 60, 30, 0.18)
        );

    pointer-events: none;
}


.services-intro-image:hover {
    transform: translateY(-10px) scale(1.01);

    box-shadow:
        0 40px 90px rgba(20, 45, 25, 0.22);
}


.services-intro-image:hover::before {
    inset: 20px;
}


.services-intro-image img {
    width: 100%;

    height: 520px;

    display: block;

    object-fit: cover;

    transition: transform 0.7s ease;
}


.services-intro-image:hover img {
    transform: scale(1.07);
}


/* =========================================================
   LISTA DE SERVICIOS
========================================================= */

.services-list-section {
    position: relative;

    padding: 60px 0 130px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(237, 242, 236, 0.7)
        );
}


/* =========================================================
   SERVICIO INDIVIDUAL
========================================================= */

.service-detail {
    position: relative;

    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 55px;

    padding: 65px 55px;

    margin-bottom: 25px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7faf6
        );

    border: 1px solid rgba(47, 107, 59, 0.10);

    border-radius: 28px;

    box-shadow:
        0 15px 40px rgba(20, 45, 25, 0.06);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* DETALLE DECORATIVO */

.service-detail::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -180px;
    right: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(47, 107, 59, 0.10),
            transparent 70%
        );

    pointer-events: none;

    transition: transform 0.5s ease;
}


/* LÍNEA SUPERIOR */

.service-detail::after {
    content: "";

    position: absolute;

    top: 0;
    left: 55px;

    width: 0;
    height: 4px;

    border-radius: 0 0 10px 10px;

    background:
        linear-gradient(
            90deg,
            var(--verde-principal),
            #86b77a
        );

    transition: width 0.5s ease;
}


/* HOVER TARJETA */

.service-detail:hover {
    transform: translateY(-8px);

    border-color: rgba(47, 107, 59, 0.24);

    box-shadow:
        0 28px 65px rgba(20, 45, 25, 0.14);
}


.service-detail:hover::before {
    transform: scale(1.2);
}


.service-detail:hover::after {
    width: calc(100% - 110px);
}


/* =========================================================
   NÚMERO DEL SERVICIO
========================================================= */

.service-number {
    position: relative;

    z-index: 1;

    display: flex;

    align-items: flex-start;

    padding-top: 8px;

    color: var(--verde-principal);

    font-size: 1.05rem;

    font-weight: 800;

    letter-spacing: 2px;
}


.service-number::before {
    content: "";

    position: absolute;

    left: -18px;
    top: 0;

    width: 5px;
    height: 42px;

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            var(--verde-principal),
            #9acb8f
        );
}


/* =========================================================
   CONTENIDO DEL SERVICIO
========================================================= */

.service-detail-content {
    position: relative;

    z-index: 1;
}


/* =========================================================
   ICONO
========================================================= */

.service-detail-icon {
    width: 76px;
    height: 76px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 23px;

    background:
        linear-gradient(
            135deg,
            var(--verde-principal),
            #3f7f49
        );

    color: #ffffff;

    font-size: 1.8rem;

    box-shadow:
        0 15px 30px rgba(47, 107, 59, 0.22);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.service-detail:hover .service-detail-icon {
    transform:
        rotate(-7deg)
        scale(1.08);

    box-shadow:
        0 20px 40px rgba(47, 107, 59, 0.30);
}


/* =========================================================
   TÍTULO
========================================================= */

.service-detail-content h2 {
    margin-bottom: 18px;

    font-size: clamp(1.9rem, 3vw, 2.5rem);

    color: var(--texto-principal);

    transition: color 0.3s ease;
}


.service-detail:hover .service-detail-content h2 {
    color: var(--verde-principal);
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.service-detail-content p {
    max-width: 720px;

    color: var(--texto-suave);

    line-height: 1.8;
}


/* =========================================================
   LISTA DE BENEFICIOS
========================================================= */

.service-detail-content ul {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px 20px;

    margin-top: 30px;

    padding: 0;

    list-style: none;
}


.service-detail-content li {
    position: relative;

    display: flex;

    align-items: center;

    min-height: 48px;

    padding: 10px 15px 10px 48px;

    background: rgba(47, 107, 59, 0.045);

    border: 1px solid rgba(47, 107, 59, 0.08);

    border-radius: 14px;

    color: var(--texto-principal);

    font-size: 0.92rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


.service-detail-content li::before {
    content: "✓";

    position: absolute;

    left: 14px;

    width: 24px;
    height: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(47, 107, 59, 0.12);

    color: var(--verde-principal);

    font-size: 0.8rem;

    font-weight: 900;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.service-detail-content li:hover {
    transform: translateX(6px);

    background: rgba(47, 107, 59, 0.08);

    border-color: rgba(47, 107, 59, 0.18);
}


.service-detail-content li:hover::before {
    transform: rotate(360deg);

    background: var(--verde-principal);

    color: #ffffff;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .services-intro {
        padding: 110px 0 70px;
    }


    .services-intro-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .services-intro-image {
        max-width: 750px;

        width: 100%;

        margin: 0 auto;
    }


    .service-detail {
        grid-template-columns: 110px 1fr;

        gap: 35px;

        padding: 50px 40px;
    }


    .service-detail-content ul {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 650px) {

    .services-intro {
        padding: 90px 0 55px;
    }


    .services-intro-grid {
        gap: 40px;
    }


    .services-intro-content h2 {
        font-size: 2.4rem;
    }


    .services-intro-content p {
        font-size: 0.96rem;

        line-height: 1.75;
    }


    .services-intro-image {
        border-radius: 24px;
    }


    .services-intro-image img {
        height: 380px;
    }


    .service-detail {
        grid-template-columns: 1fr;

        gap: 28px;

        padding: 38px 25px;

        border-radius: 23px;
    }


    .service-detail::after {
        left: 25px;
    }


    .service-detail:hover::after {
        width: calc(100% - 50px);
    }


    .service-number {
        padding-left: 18px;

        padding-top: 0;
    }


    .service-number::before {
        left: 0;
    }


    .service-detail-icon {
        width: 68px;
        height: 68px;

        border-radius: 20px;

        font-size: 1.6rem;
    }


    .service-detail-content h2 {
        font-size: 1.8rem;
    }


    .service-detail-content ul {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .service-detail-content li {
        font-size: 0.87rem;
    }

}


/* =========================================================
   ¿POR QUÉ ELEGIRNOS? - DISEÑO PREMIUM SANGAL
========================================================= */

.why-section {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(47, 107, 59, 0.10),
            transparent 25%
        ),

        radial-gradient(
            circle at 92% 85%,
            rgba(47, 107, 59, 0.08),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #eaf0e9,
            #f4f8f2
        );
}


/* =========================================================
   DECORACIONES NATURALES
========================================================= */

.why-section::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -150px;
    right: -100px;

    border-radius: 50%;

    border: 1px solid rgba(47, 107, 59, 0.16);

    box-shadow:
        0 0 0 45px rgba(47, 107, 59, 0.025),
        0 0 0 90px rgba(47, 107, 59, 0.018);

    pointer-events: none;
}


.why-section::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    bottom: -120px;
    left: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(47, 107, 59, 0.12),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   GRID
========================================================= */

.why-grid {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


/* =========================================================
   TARJETA
========================================================= */

.why-card {
    position: relative;

    min-height: 340px;

    padding: 50px 35px 40px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(247, 250, 246, 0.92)
        );

    border: 1px solid rgba(47, 107, 59, 0.10);

    border-radius: 30px;

    box-shadow:
        0 18px 45px rgba(20, 45, 25, 0.07);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}


/* NÚMERO DECORATIVO */

.why-card::before {
    position: absolute;

    top: 18px;
    right: 25px;

    font-size: 5rem;

    font-weight: 800;

    line-height: 1;

    color: rgba(47, 107, 59, 0.055);

    pointer-events: none;

    transition:
        transform 0.45s ease,
        color 0.45s ease;
}


.why-card:nth-child(1)::before {
    content: "01";
}


.why-card:nth-child(2)::before {
    content: "02";
}


.why-card:nth-child(3)::before {
    content: "03";
}


/* LÍNEA SUPERIOR */

.why-card::after {
    content: "";

    position: absolute;

    top: 0;
    left: 35px;

    width: 0;

    height: 4px;

    border-radius: 0 0 20px 20px;

    background:
        linear-gradient(
            90deg,
            var(--verde-principal),
            #8fbe82
        );

    transition: width 0.45s ease;
}


/* =========================================================
   HOVER TARJETA
========================================================= */

.why-card:hover {
    transform: translateY(-12px);

    border-color: rgba(47, 107, 59, 0.25);

    box-shadow:
        0 30px 65px rgba(20, 45, 25, 0.15);
}


.why-card:hover::after {
    width: calc(100% - 70px);
}


.why-card:hover::before {
    transform: scale(1.10);

    color: rgba(47, 107, 59, 0.10);
}


/* =========================================================
   ICONO
========================================================= */

.why-icon {
    position: relative;

    z-index: 1;

    width: 82px;
    height: 82px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 30px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            var(--verde-suave),
            #dcebd9
        );

    color: var(--verde-principal);

    font-size: 1.9rem;

    box-shadow:
        0 15px 30px rgba(47, 107, 59, 0.13);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease;
}


.why-card:hover .why-icon {
    transform:
        rotate(-8deg)
        scale(1.10);

    background:
        linear-gradient(
            135deg,
            var(--verde-principal),
            #4b8a55
        );

    color: #ffffff;

    box-shadow:
        0 20px 40px rgba(47, 107, 59, 0.25);
}


/* =========================================================
   TÍTULO
========================================================= */

.why-card h3 {
    position: relative;

    z-index: 1;

    margin-bottom: 16px;

    font-size: 1.6rem;

    color: var(--texto-principal);

    transition: color 0.35s ease;
}


.why-card:hover h3 {
    color: var(--verde-principal);
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.why-card p {
    position: relative;

    z-index: 1;

    max-width: 290px;

    margin: 0 auto;

    color: var(--texto-suave);

    line-height: 1.8;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .why-section {
        padding: 100px 0;
    }


    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .why-card:last-child {
        grid-column: 1 / -1;

        max-width: 500px;

        width: 100%;

        margin: 0 auto;
    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 650px) {

    .why-section {
        padding: 80px 0;
    }


    .why-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .why-card,
    .why-card:last-child {
        grid-column: auto;

        max-width: none;

        min-height: auto;

        padding: 40px 28px 35px;

        border-radius: 25px;
    }


    .why-card::before {
        font-size: 4.5rem;

        top: 15px;
        right: 20px;
    }


    .why-card::after {
        left: 28px;
    }


    .why-card:hover::after {
        width: calc(100% - 56px);
    }


    .why-icon {
        width: 74px;
        height: 74px;

        border-radius: 22px;

        font-size: 1.7rem;
    }

}


/* =========================================================
   CTA SERVICIOS / PROYECTOS
========================================================= */

.services-cta,
.projects-cta,
.contact-cta {
    position: relative;

    padding: 145px 0;

    text-align: center;

    color: #ffffff;

    background-size: cover;
    background-position: center;
}

.services-cta {
    background-image:
        url("https://images.unsplash.com/photo-1558904541-efa843a96f01?auto=format&fit=crop&w=2200&q=90");
}

.projects-cta {
    background-image:
        url("https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=2200&q=90");
}

.contact-cta {
    background-image:
        url("https://images.unsplash.com/photo-1490750967868-88aa4486c946?auto=format&fit=crop&w=2200&q=90");
}

.services-cta-overlay,
.projects-cta-overlay,
.contact-cta-overlay {
    position: absolute;
    inset: 0;

    background: rgba(5, 20, 12, 0.84);
}

.services-cta-content,
.projects-cta-content,
.contact-cta-content {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin: auto;
}

.services-cta-content h2,
.projects-cta-content h2,
.contact-cta-content h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.services-cta-content h2 span,
.projects-cta-content h2 span,
.contact-cta-content h2 span {
    color: #8fe0aa;
}

.services-cta-content p,
.projects-cta-content p,
.contact-cta-content p {
    margin: 25px auto 35px;

    color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   PROYECTOS
========================================================= */

.projects-intro {
    padding: 130px 0 60px;
}

.projects-intro-content {
    max-width: 800px;
}

.projects-intro-content h2 {
    font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.projects-intro-content h2 span {
    color: var(--verde-principal);
}

.projects-intro-content p {
    margin-top: 22px;

    color: var(--texto-suave);
}

/* =========================================================
   GALERÍA PROFESIONAL DE PROYECTOS
========================================================= */

.projects-gallery-section {
    padding: 100px 0;
}


/* =========================================================
   FILTROS
========================================================= */

.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 45px 0 50px;
}


.gallery-filter {
    background: transparent;
    border: 1px solid #d7d7d7;
    color: #555;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
}


.gallery-filter:hover {
    border-color: #2f6b3b;
    color: #2f6b3b;
}


.gallery-filter.active {
    background: #2f6b3b;
    border-color: #2f6b3b;
    color: #ffffff;
}


/* =========================================================
   GRID DE PROYECTOS
========================================================= */

.projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =========================================================
   TARJETA DEL PROYECTO
========================================================= */

.gallery-project {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    background: #1f1f1f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.gallery-project:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}


.gallery-project img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}


.gallery-project:hover img {
    transform: scale(1.08);
}


/* =========================================================
   OVERLAY
========================================================= */

.gallery-project-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 28px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.05)
        );

    color: #ffffff;

    transition: background 0.3s ease;
}


.gallery-project:hover .gallery-project-overlay {
    background:
        linear-gradient(
            to top,
            rgba(18, 55, 30, 0.92),
            rgba(18, 55, 30, 0.15)
        );
}


.gallery-project-overlay span {
    color: #b8d98b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}


.gallery-project-overlay h3 {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 10px;
}


.gallery-project-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}


/* =========================================================
   OCULTAR PROYECTOS FILTRADOS
========================================================= */

.gallery-project.gallery-hidden {
    display: none;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.project-lightbox {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 9999;
}


.project-lightbox.active {
    opacity: 1;
    visibility: visible;
}


.project-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}


.project-lightbox-content {
    position: relative;

    width: min(100%, 1050px);
    max-height: 90vh;

    background: #ffffff;
    border-radius: 18px;

    overflow: hidden;

    z-index: 2;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   IMAGEN LIGHTBOX
========================================================= */

.project-lightbox-image-wrapper {
    width: 100%;
    height: min(65vh, 650px);
    background: #111;
}


.project-lightbox-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/* =========================================================
   INFORMACIÓN LIGHTBOX
========================================================= */

.project-lightbox-info {
    position: relative;
    padding: 25px 35px 30px;
}


.project-lightbox-category {
    display: block;
    color: #2f6b3b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}


.project-lightbox-title {
    color: #1d1d1d;
    font-size: 28px;
    margin: 0 0 10px;
}


.project-lightbox-description {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 750px;
}


.project-lightbox-counter {
    position: absolute;
    top: 25px;
    right: 35px;

    color: #777;
    font-size: 13px;
}


/* =========================================================
   BOTÓN CERRAR
========================================================= */

.project-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    z-index: 5;

    transition: all 0.3s ease;
}


.project-lightbox-close:hover {
    background: #2f6b3b;
    transform: rotate(90deg);
}


/* =========================================================
   BOTONES ANTERIOR / SIGUIENTE
========================================================= */

.project-lightbox-prev,
.project-lightbox-next {
    position: absolute;

    top: 40%;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    z-index: 5;

    transition: all 0.3s ease;
}


.project-lightbox-prev {
    left: 18px;
}


.project-lightbox-next {
    right: 18px;
}


.project-lightbox-prev:hover,
.project-lightbox-next:hover {
    background: #2f6b3b;
    transform: scale(1.08);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .projects-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 600px) {

    .projects-gallery-section {
        padding: 75px 0;
    }


    .gallery-filters {
        gap: 8px;
        margin: 30px 0 35px;
    }


    .gallery-filter {
        padding: 10px 16px;
        font-size: 12px;
    }


    .projects-gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .gallery-project {
        height: 300px;
    }


    .gallery-project-overlay {
        padding: 22px;
    }


    .gallery-project-overlay h3 {
        font-size: 21px;
    }


    /* LIGHTBOX */

    .project-lightbox {
        padding: 12px;
    }


    .project-lightbox-content {
        max-height: 92vh;
        border-radius: 14px;
    }


    .project-lightbox-image-wrapper {
        height: 52vh;
    }


    .project-lightbox-info {
        padding: 20px 20px 25px;
    }


    .project-lightbox-title {
        font-size: 22px;
        padding-right: 40px;
    }


    .project-lightbox-description {
        font-size: 14px;
    }


    .project-lightbox-counter {
        top: 22px;
        right: 20px;
    }


    .project-lightbox-prev,
    .project-lightbox-next {
        width: 42px;
        height: 42px;
    }


    .project-lightbox-prev {
        left: 8px;
    }


    .project-lightbox-next {
        right: 8px;
    }


    .project-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

}


/* =========================================================
   FUTUROS PROYECTOS
========================================================= */

.future-projects-section {
    padding: 120px 0;

    text-align: center;

    background: var(--verde-oscuro);

    color: #ffffff;
}

.future-projects-content {
    max-width: 780px;

    margin: auto;
}

.future-icon {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background: rgba(121, 201, 150, 0.15);

    color: #8fe0aa;

    font-size: 2rem;
}

.future-projects-content h2 span {
    color: #8fe0aa;
}

.future-projects-content p {
    margin: 25px auto 35px;

    color: rgba(255, 255, 255, 0.75);
}


/* =========================================================
   CONTACTO
========================================================= */

.contact-section {
    padding: 130px 0;
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.contact-info h2 span {
    color: var(--verde-principal);
}

.contact-description {
    margin: 25px 0 40px;

    color: var(--texto-suave);
}

.contact-item {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 18px;

    padding: 18px;

    border-radius: 16px;

    transition: var(--transicion);
}

a.contact-item:hover {
    background: rgba(35, 122, 75, 0.07);

    transform: translateX(5px);
}

.contact-item-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: var(--verde-oscuro);

    color: #ffffff;

    font-size: 1.3rem;
}

.contact-item span {
    display: block;

    font-size: 0.8rem;

    color: var(--texto-suave);
}

.contact-item strong {
    font-size: 1rem;
}


/* =========================================================
   FORMULARIO PREMIUM SANGAL
========================================================= */

/* CONTENEDOR PRINCIPAL */

.contact-form-wrapper {
    position: relative;

    max-width: 760px;

    margin: 0 auto;

    padding: 55px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(47, 107, 59, 0.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(47, 107, 59, 0.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f2f7ef
        );

    border: 1px solid rgba(47, 107, 59, 0.14);

    border-radius: 32px;

    box-shadow:
        0 30px 80px rgba(20, 45, 25, 0.14),
        0 10px 30px rgba(20, 45, 25, 0.06);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* EFECTO AL PASAR EL MOUSE */

.contact-form-wrapper:hover {
    transform: translateY(-5px);

    box-shadow:
        0 40px 100px rgba(20, 45, 25, 0.18),
        0 15px 35px rgba(20, 45, 25, 0.08);
}


/* =========================================================
   DECORACIONES NATURALES
========================================================= */

.form-nature {
    position: absolute;

    z-index: 1;

    display: flex;

    gap: 15px;

    color: var(--verde-principal);

    opacity: 0.08;

    pointer-events: none;
}


/* DECORACIÓN SUPERIOR DERECHA */

.nature-top-right {
    top: -45px;

    right: -35px;

    transform: rotate(-25deg);
}


.nature-top-right i:nth-child(1) {
    font-size: 7rem;
}


.nature-top-right i:nth-child(2) {
    margin-top: 70px;

    margin-left: -30px;

    font-size: 5rem;
}


/* DECORACIÓN INFERIOR IZQUIERDA */

.nature-bottom-left {
    bottom: -55px;

    left: -45px;

    transform: rotate(25deg);
}


.nature-bottom-left i:nth-child(1) {
    font-size: 6rem;
}


.nature-bottom-left i:nth-child(2) {
    margin-top: -40px;

    margin-left: -20px;

    font-size: 4.5rem;
}


/* DECORACIÓN INFERIOR DERECHA */

.nature-bottom-right {
    right: -45px;

    bottom: -55px;

    transform: rotate(-20deg);
}


.nature-bottom-right i:nth-child(1) {
    font-size: 5rem;
}


.nature-bottom-right i:nth-child(2) {
    margin-top: -35px;

    margin-left: -20px;

    font-size: 4rem;
}


/* =========================================================
   CONTENIDO DEL FORMULARIO
========================================================= */

.contact-form {
    position: relative;

    z-index: 2;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.form-heading {
    margin-bottom: 38px;
}


.form-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

    padding: 9px 15px;

    border-radius: 50px;

    background: rgba(47, 107, 59, 0.10);

    border: 1px solid rgba(47, 107, 59, 0.15);

    color: var(--verde-principal);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 1px;
}


.form-badge i {
    animation: leaf-animation 2.5s ease-in-out infinite;
}


/* ANIMACIÓN DE LA HOJA */

@keyframes leaf-animation {

    0%,
    100% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(8deg) scale(1.15);
    }

}


.form-heading h3 {
    max-width: 600px;

    margin-bottom: 15px;

    font-size: clamp(2.2rem, 4vw, 3.2rem);

    line-height: 1.1;

    letter-spacing: -1px;

    color: var(--texto-principal);
}


.form-heading h3 span {
    color: var(--verde-principal);
}


.form-heading p {
    max-width: 540px;

    margin-bottom: 22px;

    color: var(--texto-suave);

    line-height: 1.7;
}


.form-heading-line {
    width: 75px;

    height: 4px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--verde-principal),
            #8fbe82
        );

    transition: width 0.4s ease;
}


.contact-form-wrapper:hover .form-heading-line {
    width: 130px;
}


/* =========================================================
   GRUPOS DEL FORMULARIO
========================================================= */

.form-group {
    margin-bottom: 24px;
}


.form-group label {
    display: block;

    margin-bottom: 10px;

    color: var(--texto-principal);

    font-size: 0.9rem;

    font-weight: 700;
}


/* =========================================================
   CONTENEDOR DE INPUTS
========================================================= */

.input-wrapper {
    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 60px;

    background: rgba(255, 255, 255, 0.82);

    border: 1px solid rgba(47, 107, 59, 0.15);

    border-radius: 16px;

    box-shadow:
        0 6px 18px rgba(20, 45, 25, 0.05);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.input-wrapper:hover {
    transform: translateY(-2px);

    border-color: rgba(47, 107, 59, 0.28);

    box-shadow:
        0 12px 25px rgba(20, 45, 25, 0.08);
}


.input-wrapper:focus-within {
    transform: translateY(-3px);

    background: #ffffff;

    border-color: var(--verde-principal);

    box-shadow:
        0 0 0 4px rgba(47, 107, 59, 0.10),
        0 15px 30px rgba(20, 45, 25, 0.08);
}


/* =========================================================
   ICONOS DE LOS CAMPOS
========================================================= */

.input-icon {
    flex-shrink: 0;

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-left: 7px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--verde-suave),
            #dcefd8
        );

    color: var(--verde-principal);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.input-wrapper:focus-within .input-icon {
    transform: rotate(-8deg) scale(1.08);

    background: var(--verde-principal);

    color: #ffffff;
}


/* =========================================================
   INPUTS, SELECT Y TEXTAREA
========================================================= */

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;

    padding: 17px 18px;

    border: none;

    outline: none;

    background: transparent;

    color: var(--texto-principal);

    font-family: inherit;

    font-size: 0.95rem;
}


.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: rgba(0, 0, 0, 0.40);
}


/* =========================================================
   SELECT PERSONALIZADO
========================================================= */

.select-wrapper select {
    appearance: none;

    cursor: pointer;

    padding-right: 45px;
}


.select-arrow {
    position: absolute;

    right: 18px;

    color: var(--verde-principal);

    pointer-events: none;

    transition: transform 0.3s ease;
}


.select-wrapper:focus-within .select-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   TEXTAREA
========================================================= */

.textarea-wrapper {
    align-items: flex-start;

    min-height: 145px;
}


.textarea-icon {
    margin-top: 8px;
}


.textarea-wrapper textarea {
    min-height: 135px;

    resize: vertical;

    line-height: 1.6;
}


/* =========================================================
   BOTÓN PREMIUM
========================================================= */

.form-button {
    position: relative;

    width: 100%;

    min-height: 66px;

    margin-top: 10px;

    overflow: hidden;

    border: none;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            var(--verde-principal),
            #3d7d45
        );

    color: #ffffff;

    cursor: pointer;

    box-shadow:
        0 18px 35px rgba(47, 107, 59, 0.28);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* CONTENIDO DEL BOTÓN */

.button-content {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    width: 100%;

    font-size: 1rem;

    font-weight: 700;
}


/* ICONO WHATSAPP */

.button-whatsapp-icon {
    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);

    font-size: 1.3rem;

    transition: transform 0.4s ease;
}


/* FLECHA */

.button-arrow {
    transition: transform 0.3s ease;
}


/* BRILLO DEL BOTÓN */

.form-button::before {
    content: "";

    position: absolute;

    top: 0;

    left: -100%;

    width: 70%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.22),
            transparent
        );

    transform: skewX(-25deg);

    transition: left 0.7s ease;
}


.form-button:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 45px rgba(47, 107, 59, 0.38);
}


.form-button:hover::before {
    left: 140%;
}


.form-button:hover .button-whatsapp-icon {
    transform: rotate(-12deg) scale(1.12);
}


.form-button:hover .button-arrow {
    transform: translateX(6px);
}


/* =========================================================
   MENSAJE DE SEGURIDAD
========================================================= */

.form-security {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin-top: 22px;

    color: rgba(0, 0, 0, 0.48);

    font-size: 0.78rem;

    text-align: center;

    line-height: 1.5;
}


.form-security i {
    color: var(--verde-principal);
}


/* =========================================================
   RESPONSIVE - TABLET Y CELULAR
========================================================= */

@media (max-width: 700px) {

    .contact-form-wrapper {
        padding: 38px 25px;

        border-radius: 25px;
    }


    .form-heading h3 {
        font-size: 2.15rem;
    }


    .input-wrapper {
        min-height: 56px;
    }


    .input-icon {
        width: 42px;

        height: 42px;

        font-size: 0.9rem;
    }


    .textarea-wrapper {
        min-height: 135px;
    }


    .form-button {
        min-height: 62px;
    }


    .button-content {
        gap: 9px;

        font-size: 0.9rem;
    }


    .nature-top-right {
        transform:
            scale(0.65)
            rotate(-25deg);

        transform-origin: top right;
    }


    .nature-bottom-left {
        transform:
            scale(0.65)
            rotate(25deg);

        transform-origin: bottom left;
    }


    .nature-bottom-right {
        transform:
            scale(0.65)
            rotate(-20deg);

        transform-origin: bottom right;
    }

}


/* =========================================================
   COBERTURA
========================================================= */

.coverage-section {
    padding: 120px 0;

    background: #eaf0e9;

    text-align: center;
}

.coverage-content {
    max-width: 760px;

    margin: auto;
}

.coverage-icon {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background: var(--verde-oscuro);

    color: #ffffff;

    font-size: 1.8rem;
}

.coverage-content h2 {
    font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.coverage-content h2 span {
    color: var(--verde-principal);
}

.coverage-content p {
    margin-top: 25px;

    color: var(--texto-suave);
}


/* =========================================================
   FOOTER PREMIUM - SANGAL
========================================================= */

.footer {
    position: relative;

    overflow: hidden;

    padding-top: 45px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(47, 107, 59, 0.20),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(86, 143, 79, 0.13),
            transparent 30%
        ),
        #06160d;

    color: #ffffff;
}


/* =========================================================
   DECORACIÓN SUPERIOR
========================================================= */

.footer-top-decoration {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-bottom: 65px;
}


.footer-top-decoration span {
    width: min(160px, 20vw);
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(143, 224, 170, 0.8)
    );
}


.footer-top-decoration span:last-child {
    background: linear-gradient(
        90deg,
        rgba(143, 224, 170, 0.8),
        transparent
    );
}


.footer-top-decoration i {
    color: #8fe0aa;

    font-size: 1.4rem;

    animation: footerLeafFloat 3s ease-in-out infinite;
}


@keyframes footerLeafFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-6px) rotate(8deg);
    }

}


/* =========================================================
   CONTENIDO PRINCIPAL
========================================================= */

.footer-grid {
    display: grid;

    grid-template-columns: 1.35fr 0.8fr 1.15fr;

    gap: 70px;

    padding-bottom: 70px;
}


/* =========================================================
   MARCA
========================================================= */

.footer-brand {
    position: relative;
}


.footer-logo {
    display: inline-flex;

    margin-bottom: 25px;

    transition: transform 0.35s ease;
}


.footer-logo:hover {
    transform: translateY(-4px);
}


.footer-brand img {
    width: 185px;

    max-height: 80px;

    object-fit: contain;

    filter: drop-shadow(
        0 8px 20px rgba(0, 0, 0, 0.25)
    );
}


.footer-description {
    max-width: 390px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.66);

    line-height: 1.8;

    font-size: 0.96rem;
}


/* =========================================================
   REDES SOCIALES
========================================================= */

.footer-socials {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.footer-social {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    font-size: 1.15rem;

    text-decoration: none;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.10);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


/* WHATSAPP */

.footer-social.whatsapp:hover {
    background: #25d366;

    transform: translateY(-7px) rotate(-5deg);

    box-shadow:
        0 12px 25px rgba(37, 211, 102, 0.30);
}


/* INSTAGRAM */

.footer-social.instagram:hover {
    background: linear-gradient(
        135deg,
        #833ab4,
        #fd1d1d,
        #fcb045
    );

    transform: translateY(-7px) rotate(5deg);

    box-shadow:
        0 12px 25px rgba(225, 48, 108, 0.30);
}


/* FACEBOOK */

.footer-social.facebook:hover {
    background: #1877f2;

    transform: translateY(-7px) rotate(-5deg);

    box-shadow:
        0 12px 25px rgba(24, 119, 242, 0.30);
}


/* TIKTOK */

.footer-social.tiktok:hover {
    background: #111111;

    transform: translateY(-7px) rotate(5deg);

    box-shadow:
        0 12px 25px rgba(255, 255, 255, 0.12);
}


/* =========================================================
   COLUMNAS
========================================================= */

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.footer-column h4 {
    position: relative;

    margin: 0 0 22px;

    padding-bottom: 14px;

    color: #ffffff;

    font-size: 1.1rem;

    font-family: "DM Sans", sans-serif;
}


.footer-column h4::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 42px;
    height: 3px;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        #8fe0aa,
        var(--verde-principal)
    );
}


/* =========================================================
   NAVEGACIÓN
========================================================= */

.footer-navigation a {
    display: flex;

    align-items: center;

    gap: 10px;

    width: fit-content;

    padding: 6px 0;

    color: rgba(255, 255, 255, 0.65);

    text-decoration: none;

    font-size: 0.94rem;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.footer-navigation a i {
    color: #8fe0aa;

    font-size: 0.7rem;

    opacity: 0;

    transform: translateX(-8px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.footer-navigation a:hover {
    color: #ffffff;

    transform: translateX(6px);
}


.footer-navigation a:hover i {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   CONTACTO
========================================================= */

.footer-contact {
    gap: 14px;
}


.footer-contact-item {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 13px 14px;

    border-radius: 16px;

    color: rgba(255, 255, 255, 0.82);

    text-decoration: none;

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.07);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


.footer-contact-item:hover {
    transform: translateX(7px);

    background: rgba(143, 224, 170, 0.09);

    border-color: rgba(143, 224, 170, 0.25);
}


.contact-icon {
    flex-shrink: 0;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(143, 224, 170, 0.12);

    color: #8fe0aa;

    font-size: 1.05rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.footer-contact-item:hover .contact-icon {
    transform: rotate(-8deg) scale(1.08);

    background: rgba(143, 224, 170, 0.20);
}


.footer-contact-item > span:last-child {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.footer-contact-item small {
    color: rgba(255, 255, 255, 0.42);

    font-size: 0.72rem;
}


.footer-contact-item > span:last-child:not(small) {
    font-size: 0.92rem;
}


/* =========================================================
   PARTE INFERIOR
========================================================= */

.footer-bottom {
    position: relative;

    padding: 24px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(0, 0, 0, 0.12);
}


.footer-bottom-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.50);

    font-size: 0.84rem;
}


.footer-bottom strong {
    color: #8fe0aa;

    letter-spacing: 0.5px;
}


.footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 14px;
}


.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.48);

    text-decoration: none;

    font-size: 0.82rem;

    transition: color 0.3s ease;
}


.footer-bottom-links a:hover {
    color: #8fe0aa;
}


.footer-bottom-links span {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #8fe0aa;

    opacity: 0.7;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 650px) {

    .footer {
        padding-top: 35px;
    }


    .footer-top-decoration {
        margin-bottom: 45px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-bottom: 50px;
    }


    .footer-brand {
        grid-column: auto;
    }


    .footer-column h4 {
        margin-bottom: 16px;
    }


    .footer-contact-item {
        padding: 12px;
    }


    .footer-bottom-content {
        flex-direction: column;

        text-align: center;

        gap: 12px;
    }


    .footer-bottom-links {
        flex-wrap: wrap;

        justify-content: center;
    }

}


/* =========================================================
   REDES SOCIALES FLOTANTES
========================================================= */

.social-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;

    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

/* =========================================================
   BOTÓN PRINCIPAL
========================================================= */

.social-float-toggle {
    width: 60px;
    height: 60px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2f6b3b;
    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.social-float-toggle:hover {
    background: #24552f;
    transform: scale(1.08);
}


/* ROTACIÓN DEL ICONO AL ABRIR */

.social-float.active .social-float-toggle {
    transform: rotate(45deg);
}


/* =========================================================
   MENÚ DE REDES
========================================================= */

.social-float-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 12px;

    margin-bottom: 15px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}


.social-float.active .social-float-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}


/* =========================================================
   BOTONES INDIVIDUALES
========================================================= */

.social-float-item {
    min-width: 55px;
    height: 52px;

    padding: 0 18px;

    border-radius: 30px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 12px;

    text-decoration: none;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

    transform: translateX(20px);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* ANIMACIÓN AL ABRIR */

.social-float.active .social-float-item {
    transform: translateX(0);
}


/* EFECTO HOVER */

.social-float-item:hover {
    transform: translateX(-8px) !important;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}


/* ICONOS */

.social-float-item i {
    font-size: 21px;
}


/* =========================================================
   COLORES DE CADA RED
========================================================= */

.whatsapp-social {
    background: #25d366;
}


.instagram-social {
    background: linear-gradient(
        135deg,
        #833ab4,
        #fd1d1d,
        #fcb045
    );
}


.facebook-social {
    background: #1877f2;
}


.tiktok-social {
    background: #111111;
}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 600px) {

    .social-float {
        right: 16px;
        bottom: 16px;
    }


    .social-float-toggle {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }


    .social-float-item {
        height: 48px;
        padding: 0 16px;
        font-size: 14px;
    }


    .social-float-item i {
        font-size: 19px;
    }

}


/* =========================================================
   ANIMACIONES
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-menu {
        gap: 20px;
    }

    .services-grid,
    .projects-grid,
    .projects-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-grid,
    .services-intro-grid,
    .contact-grid,
    .about-preview-grid {
        gap: 45px;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 768px) {

    .header {
        height: 75px;
    }

    .header-container {
        width: 92%;
    }

    .logo img {
        width: 135px;
        max-height: 55px;
    }

    .header-button {
        display: none;
    }

    .menu-toggle {
        display: block;

        position: relative;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;

        top: 75px;
        left: 0;

        width: 100%;
        height: 0;

        overflow: hidden;

        flex-direction: column;

        justify-content: center;

        gap: 28px;

        background: #071b11;

        transition: height 0.4s ease;
    }

    .nav-menu.open {
        height: calc(100vh - 75px);
    }

    .nav-menu a {
        font-size: 1.2rem;
    }


    /* HERO */

    .hero {
        min-height: 100svh;

        padding-top: 75px;
    }

    .hero-overlay,
    .inner-overlay {
        background: rgba(5, 20, 12, 0.78);
    }

    .hero-content h1 {
        font-size: clamp(3.2rem, 14vw, 5rem);
    }

    .inner-hero {
        min-height: 570px;

        padding-top: 75px;
    }

    .inner-hero-content h1 {
        font-size: clamp(3rem, 13vw, 4.8rem);
    }

    .hero-info {
        flex-direction: column;

        max-width: 280px;

        margin-top: 35px;
    }


    /* GRIDS */

    .about-preview-grid,
    .history-grid,
    .services-intro-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .projects-grid,
    .projects-gallery-grid,
    .why-grid,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }


    /* ESPACIADOS */

    .about-preview,
    .history-section,
    .services-intro,
    .contact-section,
    .values-section,
    .projects-intro,
    .projects-gallery-section {
        padding: 85px 0;
    }

    .mission-vision-section,
    .why-section,
    .coverage-section,
    .future-projects-section {
        padding: 85px 0;
    }


    /* IMÁGENES */

    .about-preview-image img,
    .about-preview-img img,
    .history-image img,
    .services-intro-image img {
        height: 420px;
    }


    /* SERVICIOS */

    .service-detail {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .service-detail-content ul {
        grid-template-columns: 1fr;
    }


    /* FORMULARIO */

    .contact-form-wrapper {
        padding: 30px 22px;

        border-radius: 22px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* CTA */

    .cta-section,
    .services-cta,
    .projects-cta,
    .contact-cta {
        padding: 110px 0;
    }


    /* WHATSAPP */

    .whatsapp-float {
        width: 56px;
        height: 56px;

        right: 18px;
        bottom: 18px;

        font-size: 1.6rem;
    }

}


/* =========================================================
   CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 90%;
    }

    .hero-badge {
        font-size: 0.6rem;

        padding: 8px 12px;
    }

    .hero-content p,
    .inner-hero-content p {
        font-size: 1rem;
    }

    .gallery-project,
    .project-card {
        height: 360px;
    }

    .mission-card,
    .vision-card {
        padding: 35px 25px;
    }

}

/* =====================================================
   HERO PRINCIPAL - INICIO
   CORRESPONDE EXACTAMENTE AL INDEX.HTML ACTUAL
===================================================== */

.hero {
    position: relative;
    min-height: calc(100vh - 88px);

    display: flex;
    align-items: center;

    padding: 90px 8% 170px;

    overflow: hidden;

    background-image:
        url("https://images.unsplash.com/photo-1558521958-0a228e77e984?auto=format&fit=crop&w=1000&q=85");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* CAPA OSCURA SOBRE LA IMAGEN */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 31, 22, 0.94) 0%,
            rgba(5, 31, 22, 0.82) 38%,
            rgba(5, 31, 22, 0.48) 65%,
            rgba(5, 31, 22, 0.20) 100%
        );

    z-index: 1;
}


/* CONTENIDO PRINCIPAL */

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 760px;
}


/* ETIQUETA SUPERIOR */

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 10px 18px;

    margin-bottom: 28px;

    border-radius: 50px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);

    color: rgba(255, 255, 255, 0.85);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* PUNTO VERDE */

.hero-badge span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #9bd36a;

    box-shadow:
        0 0 0 6px rgba(155, 211, 106, 0.15);
}


/* TITULO */

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(4rem, 7vw, 7.5rem);

    line-height: 0.95;

    letter-spacing: -2px;

    color: white;

    margin-bottom: 28px;
}


.hero h1 span {
    display: block;

    color: #a8d96d;
}


/* DESCRIPCIÓN */

.hero-content > p {
    max-width: 650px;

    font-size: 1.08rem;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.86);

    margin-bottom: 35px;
}


/* BOTONES */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}


/* BOTON SOLICITAR */

.hero .btn-primary {
    background: #2d7b5a;

    border-color: #2d7b5a;

    color: white;

    padding: 17px 28px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);
}


.hero .btn-primary:hover {
    background: #3b936d;

    border-color: #3b936d;
}


/* BOTON CONOCER SERVICIOS */

.hero .btn-secondary {
    background: transparent;

    border: 2px solid rgba(255, 255, 255, 0.70);

    color: white;

    padding: 17px 28px;
}


.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);

    color: white;

    border-color: white;
}


/* =====================================================
   TARJETAS DE ESTADÍSTICAS
===================================================== */

.hero-stats {
    position: absolute;

    z-index: 3;

    left: 8%;

    bottom: 38px;

    display: flex;

    gap: 18px;
}


.stat {
    width: 245px;

    min-height: 116px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 22px;

    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, 0.20);

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    color: white;

    transition: 0.3s ease;
}


.stat:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, 0.16);
}


/* ICONO */

.stat > i {
    width: 48px;

    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(168, 217, 109, 0.15);

    color: #a8d96d;

    font-size: 1.25rem;
}


/* TEXTO */

.stat div {
    display: flex;

    flex-direction: column;
}


.stat strong {
    display: block;

    margin-bottom: 5px;

    font-size: 1.05rem;

    font-weight: 700;

    color: white;
}


.stat span {
    display: block;

    font-size: 0.82rem;

    line-height: 1.55;

    color: rgba(255, 255, 255, 0.70);
}


/* =====================================================
   RESPONSIVE DEL HERO
===================================================== */

@media (max-width: 900px) {

    .hero {
        padding: 90px 7% 300px;
    }


    .hero-stats {
        left: 7%;

        bottom: 45px;
    }


    .stat {
        width: 230px;
    }

}


@media (max-width: 768px) {

    .hero {
        min-height: auto;

        padding:
            90px 22px
            280px;

        background-position: center;
    }


    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 31, 22, 0.72),
                rgba(5, 31, 22, 0.92)
            );
    }


    .hero h1 {
        font-size: clamp(3.3rem, 13vw, 5rem);
    }


    .hero-content > p {
        font-size: 1rem;
    }


    .hero-buttons {
        gap: 14px;
    }


    .hero-stats {
        left: 22px;

        right: 22px;

        bottom: 30px;

        flex-direction: column;
    }


    .stat {
        width: 100%;

        min-height: 95px;
    }

}


@media (max-width: 480px) {

    .hero-badge {
        font-size: 9px;

        padding: 8px 12px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-buttons a {
        width: 100%;
    }

}

