/* ==========================================================
   HERO
========================================================== */

.hero{
    background:#ffffff;
    padding:0 0 10px;
    overflow:hidden;
}

.hero-container{
    display:grid;
    grid-template-columns:38% 62%;
    align-items:center;
    gap:0;
    min-height:640px;
}

.hero-content{
    position: relative;
    z-index: 10;
    max-width: 460px;
}

.hero-title{
    font-family:var(--font-heading);
    font-size:43px;
    line-height:1.12;
    font-weight:600;
    color:var(--color-heading);
    margin-bottom:28px;
    max-width:500px;
}

.hero-description{
    max-width:440px;
    font-size:17px;
    line-height:1.7;
    color:#5E6A61;
    margin-bottom:36px;
}

.hero-buttons{
    display:flex;
    gap:18px;
}

.hero-button-primary,
.hero-button-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:58px;
    padding:0 34px;
    border-radius:999px;
    font-weight:600;
    transition:.25s ease;
}

.hero-button-primary{
    background:var(--color-primary);
    color:#fff;
}

.hero-button-primary:hover{
    background:#4e6b2f;
}

.hero-button-secondary{
    background:#fff;
    border:2px solid #b8c8ae;
    color:var(--color-heading);
}

.hero-button-secondary:hover{
    background:#f7f9f5;
}

.hero-image{
    position: relative;
    z-index: 1;

    display:flex;
    align-items:center;
    justify-content:flex-start;

    margin-left:-170px;
}

.hero-image img{
    width:100%;
    max-width:none;
    height:auto;
    object-fit:contain;
    object-position:left center;
    border-radius:0;
    box-shadow:none;
}

/* ==========================================================
   THE CHALLENGE
========================================================== */

.challenge{
    padding:10px 0 110px;
    background:#fff;
}

.challenge .container{
    max-width:1400px;
}

.challenge-header{
    display:grid;
    grid-template-columns:260px 1fr 90px 1fr 260px;
    gap:28px;
    align-items:start;
}

.challenge-intro{
    padding-top:10px;
}

.challenge-tag{
    display:block;
    color:#6b8b46;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:13px;
    font-weight:700;
    margin-bottom:14px;
}

.challenge-title{
    font-family:var(--font-heading);
    font-size:27px;
    line-height:1.12;
    margin-bottom:18px;
    color:var(--color-heading);
}

.challenge-description{
    font-size:16px;
    line-height:1.8;
    color:#5f6961;
}

.challenge-comparison{
    display:contents;
}

.challenge-card{
    border-radius:22px;
    padding:30px;

    min-height:420px;
    height:420px;

    box-sizing:border-box;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    display:flex;
    flex-direction:column;
}

.challenge-card-traditional{background:#f7f3ec;}
.challenge-card-biotech{background:#f2f7f1;}

.challenge-card h3{
    font-family:var(--font-heading);
    font-size:28px;
    line-height:1.2;
    margin-bottom:24px;
    color:var(--color-heading);
}

.challenge-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    margin-bottom:20px;
}

.challenge-item i{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    color:#6b8b46;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
}

.challenge-item span{
    font-size:15px;
    line-height:1.6;
    color:#56635a;
}

.challenge-arrow{
    width:72px;
    height:72px;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    align-self:center;
}

.challenge-arrow i{
    color:#6b8b46;
    font-size:24px;
}

.challenge-summary{
    padding-top:16px;
}

.challenge-summary h3{
    font-family:var(--font-heading);
    font-size:25px;
    line-height:1.12;
    color:var(--color-heading);
    margin-bottom:18px;
}

.challenge-summary>i{
    font-size:26px;
    color:#6b8b46;
    margin-bottom:16px;
    display:inline-block;
}

.challenge-summary p{
    font-size:16px;
    line-height:1.8;
    color:#5f6961;
}
/* ==========================================================
   OUR TECHNOLOGY
========================================================== */

.technology-section{
    position:relative;
    background:#ffffff;
    padding:10px 0 70px;
    overflow:hidden;
}

.technology-container{
    width:min(1200px, calc(100% - 72px));
    margin:0 auto;
}


/* ==========================================================
   TECHNOLOGY INTRO
========================================================== */

.technology-intro{
    max-width:760px;
    margin-bottom:34px;
}

.technology-label{
    display:block;
    margin-bottom:12px;

    color:var(--color-primary);
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.technology-title{
    margin:0 0 16px;

    color:var(--color-heading);
    font-family:"Playfair Display", serif;
    font-size:35px;
    line-height:1.08;
    font-weight:600;
}

.technology-description{
    max-width:700px;
    margin:0;

    color:var(--color-text);
    font-size:16px;
    line-height:1.7;
}


/* ==========================================================
   TECHNOLOGY CONTENT
========================================================== */

.technology-content{
    display:grid;
    grid-template-columns:420px minmax(0, 1fr);
    align-items:stretch;
    gap:45px;
}


/* ==========================================================
   TECHNOLOGY INFORMATION
========================================================== */

.technology-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:24px;
}

.technology-feature{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.technology-feature-icon{
    flex:0 0 52px;
    width:52px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#f1f6ed;
    color:var(--color-primary);

    font-size:20px;
}

.technology-feature-content{
    padding-top:2px;
}

.technology-feature-title{
    margin:0 0 5px;

    color:var(--color-heading);
    font-family:"Playfair Display", serif;
    font-size:19px;
    line-height:1.25;
    font-weight:600;
}

.technology-feature-text{
    margin:0;

    color:var(--color-text);
    font-size:14px;
    line-height:1.55;
}


/* ==========================================================
   TECHNOLOGY IMAGE
========================================================== */

.technology-image{
    position:relative;

    min-height:390px;

    overflow:hidden;
    border-radius:0 24px 24px 0;
}

.technology-image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    border-radius:0 24px 24px 0;
}


/* ==========================================================
   TECHNOLOGY IMAGE BLEND
========================================================== */

.technology-image::before{
    content:"";

    position:absolute;
    z-index:1;

    top:0;
    bottom:0;
    left:0;

    width:24%;

    background:linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255,255,255,.92) 20%,
        rgba(255,255,255,.45) 60%,
        rgba(255,255,255,0) 100%
    );

    pointer-events:none;
}


/* ==========================================================
   TECHNOLOGY RESPONSIVE
========================================================== */

@media (max-width:900px){

    .technology-container{
        width:min(100% - 40px, 720px);
    }

    .technology-content{
        grid-template-columns:1fr;
        gap:35px;
    }

    .technology-image{
        min-height:360px;
        border-radius:24px;
    }

    .technology-image img{
        border-radius:24px;
    }

    .technology-image::before{
        width:35%;
    }
}


@media (max-width:600px){

    .technology-section{
        padding:10px 0 50px;
    }

    .technology-container{
        width:min(100% - 32px, 520px);
    }

    .technology-title{
        font-size:34px;
    }

    .technology-description{
        font-size:15px;
    }

    .technology-feature{
        gap:12px;
    }

    .technology-feature-icon{
        flex-basis:46px;
        width:46px;
        height:46px;
        font-size:18px;
    }

    .technology-image{
        min-height:280px;
    }
}
/* ==========================================================
   APPLICATIONS
========================================================== */

.applications-section{
    position:relative;
    background:#ffffff;
    padding:10px 0 60px;
    overflow:hidden;
}

.applications-container{
    width:min(1200px, calc(100% - 72px));
    margin:0 auto;
}


/* ==========================================================
   APPLICATIONS LAYOUT
========================================================== */

.applications-layout{
    display:grid;
    grid-template-columns:220px minmax(0, 1fr);
    gap:34px;
    align-items:stretch;
}


/* ==========================================================
   APPLICATIONS INTRODUCTION
========================================================== */

.applications-intro{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    padding-top:2px;
}

.applications-label{
    display:block;
    margin:0 0 10px;

    color:var(--color-primary);

    font-size:12px;
    line-height:1.2;
    font-weight:700;

    letter-spacing:.08em;
    text-transform:uppercase;
}

.applications-title{
    margin:0 0 14px;

    color:var(--color-heading);

    font-family:"Playfair Display", serif;
    font-size:24px;
    line-height:1.15;
    font-weight:600;
}

.applications-description{
    max-width:205px;
    margin:0;

    color:var(--color-text);

    font-size:13px;
    line-height:1.6;
}


/* ==========================================================
   APPLICATIONS CARDS GRID
========================================================== */

.applications-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
    align-items:stretch;
    min-width:0;
}


/* ==========================================================
   APPLICATION CARD
========================================================== */

.applications-card{
    display:flex;
    flex-direction:column;

    min-width:0;

    overflow:hidden;

    background:#ffffff;
    border-radius:10px;

    box-shadow:0 10px 28px rgba(24,53,38,.08);
}


/* ==========================================================
   APPLICATION CARD IMAGE
========================================================== */

.applications-card-image{
    position:relative;

    width:100%;
    height:145px;

    overflow:hidden;
}

.applications-card-image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    transition:transform .4s ease;
}

.applications-card:hover .applications-card-image img{
    transform:scale(1.025);
}


/* ==========================================================
   APPLICATION CARD CONTENT
========================================================== */

.applications-card-content{
    display:flex;
    align-items:flex-start;
    gap:12px;

    flex:1;
    min-height:118px;

    padding:17px 15px 18px;

    background:#294d38;
}


/* ==========================================================
   APPLICATION CARD ICON
========================================================== */

.applications-card-icon{
    flex:0 0 40px;

    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#f4f6ef;
    color:var(--color-primary);

    font-size:15px;
}


/* ==========================================================
   APPLICATION CARD TEXT
========================================================== */

.applications-card-text{
    min-width:0;
}

.applications-card-title{
    margin:1px 0 6px;

    color:#ffffff;

    font-family:"Inter", sans-serif;
    font-size:14px;
    line-height:1.3;
    font-weight:600;
}

.applications-card-description{
    margin:0;

    color:rgba(255,255,255,.88);

    font-size:12px;
    line-height:1.5;
}


/* ==========================================================
   APPLICATIONS RESPONSIVE
========================================================== */

@media (max-width:1000px){

    .applications-container{
        width:min(100% - 48px, 760px);
    }

    .applications-layout{
        grid-template-columns:1fr;
        gap:28px;
    }

    .applications-description{
        max-width:600px;
    }

    .applications-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}


@media (max-width:760px){

    .applications-section{
        padding:10px 0 50px;
    }

    .applications-container{
        width:min(100% - 32px, 560px);
    }

    .applications-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .applications-card-image{
        height:190px;
    }

    .applications-title{
        font-size:30px;
    }

    .applications-description{
        max-width:100%;
    }
}
/* ==========================================================
   FINAL CTA
========================================================== */

.final-cta-section{
    position:relative;
    width:100%;
    margin-top:10px;
    padding:70px 0 60px;
    background:#173F2E;
    overflow:hidden;
}

.final-cta-container{
    position:relative;
    width:min(1200px, calc(100% - 72px));
    margin:0 auto;
    z-index:2;
}

.final-cta-content{
    position:relative;
    z-index:3;
    display:grid;
    grid-template-columns:220px minmax(0,1fr);
    align-items:center;
    gap:70px;
}


/* ==========================================================
   BRAND
========================================================== */

.final-cta-brand{
    position:relative;
    z-index:3;
}

.final-cta-logo{
    display:block;
    width:145px;
    height:auto;
    margin:0 0 22px;
}

.final-cta-brand-text{
    max-width:210px;
    margin:0;
    color:rgba(255,255,255,.72);
    font-size:13px;
    line-height:1.65;
}


/* ==========================================================
   MAIN CTA
========================================================== */

.final-cta-main{
    position:relative;
    z-index:3;
    max-width:650px;
}

.final-cta-title{
    margin:0 0 24px;
    color:#ffffff;
    font-family:"Playfair Display",serif;
    font-size:30px;
    line-height:1.12;
    font-weight:600;
}

.final-cta-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:48px;
    padding:0 24px;
    border-radius:999px;
    background:#6B8D45;
    color:#ffffff;
    font-size:13px;
    font-weight:600;
    transition:.25s ease;
}

.final-cta-button:hover{
    background:#7C9F52;
    transform:translateY(-1px);
}

.final-cta-email{
    display:block;
    width:max-content;
    margin-top:13px;
    color:rgba(255,255,255,.68);
    font-size:12px;
    transition:.25s ease;
}

.final-cta-email:hover{
    color:#ffffff;
}


/* ==========================================================
   DECORATIVE BACKGROUND
========================================================== */

.final-cta-decoration{
    position:absolute;
    z-index:1;
    top:-80px;
    right:-60px;
    bottom:-80px;
    width:43%;
    background:
        linear-gradient(
            90deg,
            #173F2E 0%,
            rgba(23,63,46,.72) 18%,
            rgba(23,63,46,.18) 58%,
            rgba(23,63,46,0) 100%
        ),
        url("../images/sections/cta-background.png") center center / cover no-repeat;
    opacity:.72;
    pointer-events:none;
}


/* ==========================================================
   FINAL CTA RESPONSIVE
========================================================== */

@media (max-width:900px){

    .final-cta-content{
        grid-template-columns:190px minmax(0,1fr);
        gap:45px;
    }

    .final-cta-title{
        font-size:34px;
    }

    .final-cta-decoration{
        width:48%;
    }
}


@media (max-width:700px){

    .final-cta-section{
        padding:55px 0 50px;
    }

    .final-cta-container{
        width:min(100% - 32px, 560px);
    }

    .final-cta-content{
        grid-template-columns:1fr;
        gap:32px;
    }

    .final-cta-logo{
        width:135px;
        margin-bottom:18px;
    }

    .final-cta-brand-text{
        max-width:360px;
    }

    .final-cta-title{
        font-size:32px;
    }

    .final-cta-decoration{
        top:auto;
        right:0;
        bottom:0;
        width:100%;
        height:230px;
        opacity:.28;
        background:
            linear-gradient(
                180deg,
                rgba(23,63,46,0) 0%,
                #173F2E 88%
            ),
            url("../images/sections/cta-background.png") center center / cover no-repeat;
    }

}


/* ==========================================================
   MOBILE RESPONSIVE — HOME
   Correcciones específicas para teléfonos
========================================================== */

@media (max-width: 700px){

    /* ------------------------------------------------------
       HERO
    ------------------------------------------------------ */

    .hero{
        padding:0 0 36px;
    }

    .hero-container{
        width:min(100% - 32px, 560px);
        margin:0 auto;
        display:grid;
        grid-template-columns:1fr;
        min-height:auto;
        gap:0;
    }

    .hero-content{
        max-width:none;
        padding:42px 0 0;
    }

    .hero-title{
        font-size:37px;
        line-height:1.08;
        margin-bottom:24px;
        max-width:none;
    }

    .hero-description{
        max-width:none;
        font-size:17px;
        line-height:1.65;
        margin-bottom:28px;
    }

    .hero-buttons{
        flex-wrap:wrap;
        gap:12px;
    }

    .hero-button-primary,
    .hero-button-secondary{
        min-height:54px;
        padding:0 26px;
    }

    .hero-visual{
        position:relative;
        width:100%;
        margin-top:30px;
        order:2;
        min-height:245px;
        overflow:hidden;
        border-radius:28px;
    }

    .hero-image{
        position:relative;
        width:100%;
        height:245px;
        margin:0;
        overflow:hidden;
        border-radius:28px;
    }

    .hero-image::after{
        content:"";
        position:absolute;
        inset:0;
        background:linear-gradient(
            180deg,
            rgba(255,255,255,.96) 0%,
            rgba(255,255,255,.52) 12%,
            rgba(255,255,255,0) 38%
        );
        pointer-events:none;
    }

    .hero-image img{
        display:block;
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:78% center;
        border-radius:28px;
    }


    /* ------------------------------------------------------
       THE CHALLENGE
    ------------------------------------------------------ */

    .challenge{
        padding:28px 0 64px;
    }

    .challenge .container{
        width:min(100% - 32px, 560px);
        margin:0 auto;
    }

    .challenge-header{
        display:grid;
        grid-template-columns:1fr;
        gap:26px;
        align-items:stretch;
    }

    .challenge-intro{
        padding-top:0;
    }

    .challenge-tag{
        font-size:12px;
        margin-bottom:12px;
    }

    .challenge-title{
        font-size:27px;
        line-height:1.08;
        margin-bottom:16px;
    }

    .challenge-description{
        font-size:16px;
        line-height:1.65;
    }

    .challenge-comparison{
        display:contents;
    }

    .challenge-card{
        min-height:0;
        height:auto;
        padding:25px 22px;
        border-radius:20px;
    }

    .challenge-card h3{
        font-size:27px;
        margin-bottom:20px;
    }

    .challenge-item{
        gap:12px;
        margin-bottom:16px;
    }

    .challenge-item i{
        width:40px;
        height:40px;
    }

    .challenge-item span{
        font-size:15px;
        line-height:1.55;
    }

    .challenge-arrow{
        width:58px;
        height:58px;
        justify-self:center;
    }

    .challenge-arrow i{
        font-size:20px;
    }

    .challenge-summary{
        padding-top:0;
    }

    .challenge-summary h3{
        font-size:28px;
        line-height:1.08;
        margin-bottom:14px;
    }

    .challenge-summary p{
        font-size:16px;
        line-height:1.65;
    }


    /* ------------------------------------------------------
       OUR TECHNOLOGY
    ------------------------------------------------------ */

    .technology-section{
        padding:34px 0 54px;
    }

    .technology-container{
        width:min(100% - 32px, 560px);
    }

    .technology-intro{
        max-width:none;
        margin-bottom:28px;
    }

    .technology-label{
        font-size:12px;
        margin-bottom:10px;
    }

    .technology-title{
        font-size:30px;
        line-height:1.08;
        margin-bottom:14px;
    }

    .technology-description{
        max-width:none;
        font-size:16px;
        line-height:1.65;
    }

    .technology-content{
        grid-template-columns:1fr;
        gap:28px;
    }

    .technology-info{
        gap:20px;
    }

    .technology-feature{
        gap:12px;
    }

    .technology-feature-icon{
        flex:0 0 46px;
        width:46px;
        height:46px;
        font-size:18px;
    }

    .technology-feature-title{
        font-size:18px;
    }

    .technology-feature-text{
        font-size:14px;
        line-height:1.55;
    }

    .technology-image{
        min-height:270px;
        border-radius:20px;
    }

    .technology-image img{
        border-radius:20px;
    }

    .technology-image::before{
        width:38%;
    }


    /* ------------------------------------------------------
       APPLICATIONS
    ------------------------------------------------------ */

    .applications-section{
        padding:34px 0 54px;
    }

    .applications-container{
        width:min(100% - 32px, 560px);
    }

    .applications-layout{
        grid-template-columns:1fr;
        gap:26px;
    }

    .applications-intro{
        padding-top:0;
    }

    .applications-label{
        font-size:12px;
        margin-bottom:10px;
    }

    .applications-title{
        font-size:27px;
        line-height:1.08;
        margin-bottom:12px;
    }

    .applications-description{
        max-width:none;
        font-size:15px;
        line-height:1.6;
    }

    .applications-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .applications-card{
        border-radius:12px;
    }

    .applications-card-image{
        height:185px;
    }

    .applications-card-content{
        min-height:0;
        padding:17px 16px 19px;
        gap:12px;
    }

    .applications-card-icon{
        flex-basis:40px;
        width:40px;
        height:40px;
    }

    .applications-card-title{
        font-size:14px;
        line-height:1.35;
    }

    .applications-card-description{
        font-size:12.5px;
        line-height:1.5;
    }


    /* ------------------------------------------------------
       FINAL CTA
    ------------------------------------------------------ */

    .final-cta-section{
        margin-top:0;
        padding:48px 0 44px;
    }

    .final-cta-container{
        width:min(100% - 32px, 560px);
    }

    .final-cta-content{
        grid-template-columns:1fr;
        gap:26px;
        align-items:start;
    }

    .final-cta-logo{
        width:120px;
        margin-bottom:16px;
    }

    .final-cta-brand-text{
        max-width:360px;
        font-size:14px;
        line-height:1.6;
    }

    .final-cta-main{
        max-width:none;
    }

    .final-cta-title{
        font-size:28px;
        line-height:1.08;
        margin-bottom:22px;
    }

    .final-cta-button{
        min-height:52px;
        padding:0 25px;
        font-size:14px;
    }

    .final-cta-email{
        font-size:13px;
        margin-top:12px;
    }

    .final-cta-decoration{
        top:auto;
        right:0;
        bottom:0;
        width:100%;
        height:220px;
        opacity:.22;
        background:
            linear-gradient(
                180deg,
                rgba(23,63,46,0) 0%,
                #173F2E 88%
            ),
            url("../images/sections/cta-background.png") center center / cover no-repeat;
    }
}


/* ==========================================================
   SMALL PHONES
   Extra adjustment for narrow Android screens
========================================================== */

@media (max-width: 420px){

    .hero-visual{
        margin-top:22px;
        min-height:220px;
        border-radius:24px;
    }

    .hero-image{
        height:220px;
        border-radius:24px;
    }

    .hero-image img{
        border-radius:24px;
        object-position:80% center;
    }

    .hero-container,
    .challenge .container,
    .technology-container,
    .applications-container,
    .final-cta-container{
        width:calc(100% - 28px);
    }

    .hero-content{
        padding-top:32px;
    }

    .hero-title{
        font-size:36px;
        line-height:1.08;
    }

    .hero-description{
        font-size:16px;
    }

    .hero-buttons{
        width:100%;
    }

    .hero-button-primary,
    .hero-button-secondary{
        flex:1 1 0;
        min-width:0;
        padding:0 18px;
    }

    .challenge-title{
        font-size:29px;
    }

    .challenge-summary h3{
        font-size:26px;
    }

    .technology-title{
        font-size:30px;
    }

    .applications-title{
        font-size:27px;
    }

    .applications-card-image{
        height:175px;
    }

    .final-cta-title{
        font-size:27px;
    }
}
