/* ========================================
   CONFIGURACIÓN GENERAL
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7faf6;
    color: #25332a;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.contenedor {
    width: min(1180px, 90%);
    margin: auto;
}


/* ========================================
   HEADER
======================================== */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.contenedor-header {
    width: min(1180px, 90%);
    margin: auto;

    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #285b35;
}

.logo-icono {
    font-size: 34px;
}

.logo strong {
    display: block;
    font-size: 20px;
}

.logo small {
    display: block;
    color: #718076;
    font-size: 12px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: #35463b;
    font-weight: 600;
    transition: 0.2s;
}

.nav a:hover {
    color: #3c8b4f;
}

.menu-btn {
    display: none;

    border: none;
    background: transparent;

    font-size: 28px;
    cursor: pointer;
}


/* ========================================
   HERO
======================================== */

.hero {
    min-height: 540px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #eef7e9 0%,
            #f8fbf5 100%
        );

    padding: 80px 0;
}

.hero-contenido {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.etiqueta {
    display: inline-block;

    background: #dff1dc;
    color: #356a3f;

    padding: 8px 16px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: bold;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;

    color: #214a2c;

    margin-bottom: 20px;
}

.hero-texto {
    max-width: 650px;

    font-size: 19px;
    color: #56645b;

    margin-bottom: 30px;
}

.hero-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-block;

    background: #347c45;
    color: #ffffff;

    padding: 13px 24px;

    border-radius: 9px;

    font-weight: bold;

    transition: 0.2s;
}

.btn:hover {
    background: #286738;
    transform: translateY(-2px);
}

.btn-secundario {
    background: #ffffff;
    color: #347c45;

    border: 1px solid #347c45;
}

.btn-secundario:hover {
    background: #eef7ed;
}

.hero-ilustracion {
    display: flex;
    justify-content: center;
}

.circulo-planta {
    width: 330px;
    height: 330px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #cce8bd,
            #e9f5df
        );

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 130px;

    box-shadow:
        0 20px 50px
        rgba(39, 86, 49, 0.15);
}


/* ========================================
   SECCIONES
======================================== */

.seccion {
    padding: 80px 0;
}

.seccion-clara {
    background: #ffffff;
}

.titulo-seccion {
    text-align: center;
    margin-bottom: 50px;
}

.titulo-seccion h2 {
    font-size: 36px;
    color: #244f30;
    margin-bottom: 10px;
}

.titulo-seccion p {
    color: #68766d;
    max-width: 680px;
    margin: auto;
}


/* ========================================
   TARJETAS
======================================== */

.grid-servicios {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.tarjeta {
    background: #ffffff;

    padding: 35px;

    border-radius: 16px;

    border: 1px solid #e5ece3;

    box-shadow:
        0 8px 25px
        rgba(46, 78, 52, 0.06);

    transition: 0.2s;
}

.tarjeta:hover {
    transform: translateY(-5px);
}

.tarjeta-icono {
    font-size: 42px;
    margin-bottom: 15px;
}

.tarjeta h3 {
    color: #285b35;
    margin-bottom: 12px;
}

.tarjeta p {
    color: #68736b;
    margin-bottom: 20px;
}

.enlace {
    color: #347c45;
    font-weight: bold;
}


/* ========================================
   AVISO PREVENTIVO
======================================== */

.aviso-seccion {
    padding: 60px 0;
}

.aviso {
    background: #fff8e6;

    border: 1px solid #eed899;
    border-left: 5px solid #d9ad36;

    padding: 28px;

    border-radius: 12px;

    display: flex;
    gap: 18px;
}

.aviso-icono {
    font-size: 30px;
}

.aviso h3 {
    color: #66501b;
    margin-bottom: 7px;
}

.aviso p {
    color: #6e6244;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    background: #1f4329;
    color: #e8f1e9;

    margin-top: 60px;
}

.footer-contenido {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;

    padding-top: 50px;
    padding-bottom: 50px;
}

.footer h3 {
    color: #ffffff;
    margin-bottom: 12px;
}

.footer p {
    color: #c9d7cc;
}

.footer a {
    color: #dbe9dc;
}

.footer-copy {
    text-align: center;

    padding: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.12);

    font-size: 14px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .menu-btn {
        display: block;
    }

    .nav {
        display: none;

        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        background: #ffffff;

        flex-direction: column;

        padding: 25px;

        border-bottom:
            1px solid #e3e9e2;
    }

    .nav-activo {
        display: flex;
    }

    .hero-contenido {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-texto {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-botones {
        justify-content: center;
    }

    .circulo-planta {
        width: 240px;
        height: 240px;
        font-size: 95px;
    }

    .grid-servicios {
        grid-template-columns: 1fr;
    }

    .footer-contenido {
        grid-template-columns: 1fr;
    }

}