/* =========================================================
   EL GUARAPO SMART FARM · PUBLIC V4
   ========================================================= */

:root{
    --bg:#f6f8f5;
    --surface:#ffffff;
    --soft:#edf5ef;
    --ink:#06271c;
    --text:#355044;
    --muted:#66786e;
    --green:#1fb560;
    --green-dark:#075137;
    --green-deep:#063d2b;
    --line:#dce6df;
    --shadow:0 20px 55px rgba(18,63,40,.09);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing:antialiased;
}

body.menu-open{
    overflow:hidden;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    display:block;
    max-width:100%;
}

.container{
    width:min(1160px,calc(100% - 40px));
    margin:auto;
}


/* HEADER */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(246,248,245,.94);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(12,62,40,.08);
}

.header-inner{
    width:min(1240px,calc(100% - 40px));
    min-height:78px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.brand-mark{
    width:48px;
    height:48px;
    flex:0 0 48px;
    display:grid;
    place-items:center;
    border-radius:16px;
    background:linear-gradient(145deg,#20ad61,#087246);
    color:#fff;
    font-size:17px;
    font-weight:950;
    box-shadow:0 10px 24px rgba(8,114,70,.18);
}

.brand-copy{
    min-width:0;
}

.brand-copy small{
    display:block;
    color:#63766b;
    font-size:9px;
    font-weight:950;
    letter-spacing:2.1px;
    white-space:nowrap;
}

.brand-copy strong{
    display:block;
    margin-top:2px;
    color:var(--ink);
    font-size:18px;
    font-weight:950;
    white-space:nowrap;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:3px;
}

.main-nav a{
    padding:11px 12px;
    border-radius:12px;
    color:#2f473b;
    font-size:14px;
    font-weight:850;
    transition:.2s ease;
}

.main-nav a:hover,
.main-nav a.active{
    color:var(--green-dark);
    background:#e8f1eb;
}

.main-nav .worker-link{
    margin-left:7px;
    padding-inline:17px;
    color:#fff;
    background:var(--green-deep);
}

.main-nav .worker-link:hover{
    color:#fff;
    background:#0a5b3d;
}

.menu-toggle{
    display:none;
    width:46px;
    height:46px;
    flex:0 0 46px;
    padding:0;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}

.menu-toggle span{
    display:block;
    width:20px;
    height:2px;
    border-radius:999px;
    background:var(--green-deep);
    transition:.2s ease;
}

.menu-toggle.open span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2){
    opacity:0;
}

.menu-toggle.open span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}


/* HERO */

.hero{
    padding:56px 0 36px;
}

.hero-grid{
    width:min(1240px,calc(100% - 40px));
    margin:auto;
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(470px,1.1fr);
    gap:50px;
    align-items:center;
}

.eyebrow{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:22px;
    color:#087743;
    font-size:12px;
    font-weight:950;
    letter-spacing:2.4px;
}

.eyebrow::before{
    content:"";
    width:34px;
    height:2px;
    background:var(--green);
}

.hero-copy h1{
    margin:0;
    max-width:680px;
    color:var(--ink);
    font-size:clamp(54px,5.7vw,86px);
    line-height:.94;
    letter-spacing:-4px;
}

.hero-copy h1 span{
    display:block;
    color:var(--green);
}

.hero-copy p{
    max-width:650px;
    margin:26px 0 0;
    color:var(--muted);
    font-size:18px;
    line-height:1.7;
}

.hero-actions{
    margin-top:30px;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.btn{
    min-height:54px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:14px 22px;
    border-radius:15px;
    font-size:14px;
    font-weight:950;
    transition:.2s ease;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    color:#fff;
    background:var(--green);
    box-shadow:0 14px 28px rgba(31,181,96,.20);
}

.btn-secondary{
    color:var(--ink);
    background:#fff;
    border:1px solid var(--line);
}

.hero-trust{
    margin-top:32px;
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    color:#304a3d;
    font-size:13px;
    font-weight:850;
}

.hero-media{
    position:relative;
    min-height:580px;
}

.hero-media > img{
    width:100%;
    height:580px;
    object-fit:cover;
    object-position:center;
    border-radius:34px;
    box-shadow:var(--shadow);
}

.hero-tag{
    position:absolute;
    top:24px;
    right:24px;
    padding:11px 15px;
    border-radius:14px;
    color:var(--green-dark);
    background:rgba(255,255,255,.94);
    font-size:11px;
    font-weight:950;
    letter-spacing:1px;
    box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.farm-card{
    position:absolute;
    left:-28px;
    top:52px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:15px 17px;
    border:1px solid rgba(255,255,255,.5);
    border-radius:18px;
    background:rgba(255,255,255,.94);
    box-shadow:0 18px 40px rgba(15,55,34,.13);
}

.farm-card-icon{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:#ebf7ef;
    font-size:20px;
}

.farm-card small,
.animal-count-card small{
    display:block;
    margin-bottom:2px;
    color:#72857a;
    font-size:9px;
    font-weight:950;
    letter-spacing:1.3px;
}

.farm-card strong{
    font-size:14px;
}

.animal-count-card{
    position:absolute;
    right:-24px;
    bottom:28px;
    min-width:245px;
    display:flex;
    align-items:center;
    gap:13px;
    padding:16px 18px;
    border-radius:19px;
    background:#fff;
    box-shadow:0 18px 45px rgba(15,55,34,.14);
    transition:.2s ease;
}

.animal-count-card:hover{
    transform:translateY(-3px);
}

.animal-count-card > strong{
    color:var(--green);
    font-size:36px;
    line-height:1;
}

.animal-count-card span{
    color:var(--ink);
    font-size:13px;
    font-weight:900;
}


/* QUICK LINKS */

.quick-links{
    width:min(1160px,calc(100% - 40px));
    margin:14px auto 0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.quick-card{
    min-height:112px;
    display:grid;
    grid-template-columns:45px 1fr auto;
    gap:13px;
    align-items:center;
    padding:20px;
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,55,34,.04);
    transition:.2s ease;
}

.quick-card:hover{
    transform:translateY(-4px);
    border-color:#b9d5c3;
    box-shadow:var(--shadow);
}

.quick-icon{
    width:45px;
    height:45px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:#edf7f0;
    font-size:20px;
}

.quick-card strong{
    display:block;
    color:#087744;
    font-size:27px;
    line-height:1;
}

.quick-card span{
    display:block;
    margin-top:5px;
    color:var(--muted);
    font-size:12px;
    font-weight:800;
}

.quick-card b{
    color:#17894e;
    font-size:19px;
}


/* CONTENT */

.section{
    padding:96px 0;
}

.section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:35px;
    margin-bottom:36px;
}

.section-heading > div{
    max-width:720px;
}

.section-heading small{
    display:block;
    margin-bottom:10px;
    color:#087743;
    font-size:11px;
    font-weight:950;
    letter-spacing:2px;
}

.section-heading h2{
    margin:0;
    color:var(--ink);
    font-size:clamp(38px,4vw,56px);
    line-height:1.02;
    letter-spacing:-2px;
}

.section-heading > p{
    max-width:390px;
    margin:0;
    color:var(--muted);
    font-size:15px;
    line-height:1.7;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.feature-card{
    min-height:285px;
    padding:28px;
    display:flex;
    flex-direction:column;
    border:1px solid var(--line);
    border-radius:25px;
    background:#fff;
    transition:.2s ease;
}

.feature-card:hover{
    transform:translateY(-4px);
    border-color:#b9d5c3;
    box-shadow:var(--shadow);
}

.feature-icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    margin-bottom:38px;
    border-radius:16px;
    background:#edf7f0;
    font-size:24px;
}

.feature-card h3{
    margin:0 0 10px;
    font-size:21px;
}

.feature-card p{
    margin:0;
    color:var(--muted);
    font-size:14px;
    line-height:1.7;
}

.feature-card span{
    margin-top:auto;
    padding-top:22px;
    color:#087743;
    font-size:13px;
    font-weight:950;
}


/* CTA */

.cta-section{
    padding:0 0 90px;
}

.cta-box{
    padding:46px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
    border-radius:32px;
    color:#fff;
    background:
        radial-gradient(circle at 90% 20%,rgba(31,181,96,.18),transparent 32%),
        var(--green-deep);
}

.cta-box > div:first-child{
    max-width:720px;
}

.cta-box small{
    color:#8dd9aa;
    font-size:10px;
    font-weight:950;
    letter-spacing:1.8px;
}

.cta-box h2{
    margin:10px 0 12px;
    font-size:39px;
    line-height:1.05;
}

.cta-box p{
    margin:0;
    color:#bfd5c8;
    line-height:1.7;
}

.cta-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.btn-white{
    color:var(--green-deep);
    background:#fff;
}

.btn-outline{
    color:#fff;
    border:1px solid rgba(255,255,255,.32);
}


/* INNER PUBLIC PAGES */

.page-hero{
    padding:72px 0 38px;
}

.page-hero .container{
    padding:30px 0;
}

.page-hero h1{
    margin:0;
    color:var(--ink);
    font-size:clamp(46px,6vw,76px);
    line-height:.96;
    letter-spacing:-3px;
}

.page-hero h1 span{
    color:var(--green);
}

.page-hero p{
    max-width:690px;
    margin:24px 0 0;
    color:var(--muted);
    font-size:18px;
    line-height:1.7;
}

.grid-3,
.product-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:17px;
}

.card,
.contact-card,
.product-card{
    border:1px solid var(--line);
    border-radius:24px;
    background:#fff;
}

.card,
.contact-card{
    padding:28px;
}

.card-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin-bottom:26px;
    border-radius:15px;
    background:#edf7f0;
    font-size:22px;
}

.card h3,
.contact-card h3{
    margin:0 0 10px;
}

.card p,
.contact-card p{
    margin:0;
    color:var(--muted);
    line-height:1.65;
}

.product-card{
    overflow:hidden;
}

.product-photo{
    aspect-ratio:4/3;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:#e9f0eb;
}

.product-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-body{
    padding:22px;
}

.product-code{
    color:#7a8c82;
    font-size:10px;
    font-weight:950;
    letter-spacing:1px;
}

.product-body h3{
    margin:7px 0 8px;
    font-size:22px;
}

.product-meta{
    color:var(--muted);
    font-size:14px;
    line-height:1.6;
}

.price{
    margin-top:15px;
    color:#087743;
    font-size:20px;
    font-weight:950;
}

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


/* FOOTER */

.site-footer{
    padding:36px 0;
    color:#bcd0c4;
    background:#061f17;
}

.footer-inner{
    width:min(1160px,calc(100% - 40px));
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.footer-inner strong{
    display:block;
    color:#fff;
    font-size:16px;
}

.footer-inner span{
    display:block;
    margin-top:4px;
    font-size:12px;
}

.footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    font-size:12px;
    font-weight:800;
}

.whatsapp-float{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:950;
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    border-radius:18px;
    color:#fff;
    background:#1fbd63;
    font-size:25px;
    box-shadow:0 18px 35px rgba(24,127,72,.23);
}


/* TABLET */

@media(max-width:1050px){

    .hero-grid{
        grid-template-columns:1fr;
    }

    .hero-copy{
        max-width:780px;
    }

    .farm-card{
        left:18px;
    }

    .animal-count-card{
        right:18px;
    }

    .quick-links{
        grid-template-columns:repeat(2,1fr);
    }

}


/* MOBILE DROPDOWN */

@media(max-width:900px){

    .header-inner{
        min-height:70px;
        position:relative;
    }

    .menu-toggle{
        display:flex;
    }

    .main-nav{
        position:fixed;
        top:70px;
        left:14px;
        right:14px;
        z-index:999;
        display:none;
        max-height:calc(100vh - 88px);
        overflow:auto;
        padding:12px;
        flex-direction:column;
        align-items:stretch;
        gap:4px;
        border:1px solid var(--line);
        border-radius:20px;
        background:#fff;
        box-shadow:0 24px 70px rgba(10,55,34,.18);
    }

    .main-nav.open{
        display:flex;
    }

    .main-nav a{
        width:100%;
        padding:14px 15px;
        border-radius:13px;
        font-size:15px;
    }

    .main-nav .worker-link{
        margin:5px 0 0;
        text-align:center;
    }

    .section-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:16px;
    }

    .feature-grid,
    .grid-3,
    .product-grid{
        grid-template-columns:1fr 1fr;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

    .cta-box{
        align-items:flex-start;
        flex-direction:column;
    }

}


/* PHONE */

@media(max-width:650px){

    .header-inner,
    .hero-grid,
    .quick-links,
    .container,
    .footer-inner{
        width:min(100% - 28px,1240px);
    }

    .brand-mark{
        width:43px;
        height:43px;
        flex-basis:43px;
        border-radius:14px;
    }

    .brand-copy small{
        font-size:7px;
        letter-spacing:1.5px;
    }

    .brand-copy strong{
        font-size:14px;
    }

    .hero{
        padding-top:30px;
    }

    .eyebrow{
        font-size:10px;
        letter-spacing:1.6px;
    }

    .hero-copy h1{
        font-size:48px;
        line-height:.96;
        letter-spacing:-2.5px;
    }

    .hero-copy p{
        font-size:16px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    .hero-trust{
        display:grid;
        gap:9px;
    }

    .hero-media{
        min-height:auto;
    }

    .hero-media > img{
        height:430px;
        border-radius:24px;
    }

    .hero-tag{
        top:14px;
        right:14px;
    }

    .farm-card{
        left:14px;
        top:14px;
        max-width:72%;
        padding:11px 12px;
    }

    .farm-card-icon{
        width:34px;
        height:34px;
        flex:0 0 34px;
    }

    .farm-card strong{
        font-size:11px;
    }

    .animal-count-card{
        left:14px;
        right:14px;
        bottom:14px;
        min-width:0;
    }

    .quick-links{
        grid-template-columns:1fr 1fr;
        gap:8px;
    }

    .quick-card{
        min-height:126px;
        grid-template-columns:1fr auto;
        align-items:start;
        padding:15px;
    }

    .quick-icon{
        grid-column:1 / -1;
        width:38px;
        height:38px;
    }

    .quick-card strong{
        font-size:23px;
    }

    .quick-card span{
        font-size:11px;
    }

    .section{
        padding:68px 0;
    }

    .section-heading h2{
        font-size:39px;
    }

    .feature-grid,
    .grid-3,
    .product-grid{
        grid-template-columns:1fr;
    }

    .feature-card{
        min-height:auto;
    }

    .feature-icon{
        margin-bottom:24px;
    }

    .cta-box{
        padding:28px 22px;
        border-radius:24px;
    }

    .cta-box h2{
        font-size:31px;
    }

    .cta-buttons{
        width:100%;
    }

    .page-hero h1{
        font-size:46px;
        letter-spacing:-2px;
    }

    .footer-inner{
        align-items:flex-start;
        flex-direction:column;
    }

}
