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

.hero {
    height: 100vh;
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: #142e1a;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-image {
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2200&q=85') center 55%/cover no-repeat;
    transform: scale(1.03);
    animation: zoomout 15s ease-out both;
}

.hero-shade {
    background:
        linear-gradient(90deg,rgba(5,21,12,.78) 0%,rgba(8,28,12,.52) 46%,rgba(7,20,8,.15) 100%),
        linear-gradient(0deg,#091a0a75,transparent 30%);
}

@keyframes zoomout {
    to {
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
}

.hero h1 {
    font-family: var(--heading);
    font-size: clamp(54px,7vw,112px);
    letter-spacing: -.06em;
    line-height: 1.06;
    margin: 25px 0;
    max-width: 1020px;
    font-weight: 800;
}

.hero h1 em {
    font-style: normal;
    color: #a4d744;
}

.hero-lead {
    max-width: 550px;
    font-size: clamp(16px,1.5vw,21px);
    line-height: 1.65;
    color: #f0f4e9;
}

.actions {
    display: flex;
    gap: 13px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 2px;
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 22px;
}


/* ==================================================
   CATEGORÍAS DE PRODUCTOS
================================================== */

.categories {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    padding-top: 34px;
}

.category {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 40px #0e36120e;
    background: #fff;
    transition: transform .2s;
}

.category:hover {
    transform: translateY(-7px);
}

.category-photo {
    height: 175px;
    background-size: cover;
    background-position: center;
}

.cat-one {
    background-image: url('../images/productos/avena-magnum.webp');
}

.cat-two {
    background-image: url('../images/categorias/alfalfa-orchardgrass.webp');
}

.cat-three {
    background-image: url('../images/categorias/pacas-pellets-cubos.webp');
}

.cat-four {
    background-image: url('../images/golf.avif');
}

.category-body {
    position: relative;
    padding: 25px;
    min-height: 205px;
}

.category-num {
    font-size: 11px;
    color: #75aa32;
    font-weight: 800;
}

.category h2 {
    font: 800 20px/1.2 var(--heading);
    margin: 12px 0;
}

.category p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 170px;
}

.circle-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: #e5f1d6;
    color: #447c1a;
}


/* ==================================================
   SOBRE ECOVERDE
================================================== */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center;
}

.about h2,
.solution h2,
.split h2,
.advice h2 {
    font: 800 clamp(34px,3.6vw,56px)/1.15 var(--heading);
    letter-spacing: -.04em;
}

.about h2 span {
    color: #568f2b;
}

.about p:not(.eyebrow),
.split p:not(.eyebrow) {
    color: #637064;
    line-height: 1.85;
    max-width: 530px;
}

.about .btn {
    margin-top: 20px;
}

.about-image {
    height: 550px;
    border-radius: 47% 18% 42% 18%;
    background: url('../images/productos/ryegrass-mega.webp') center/cover;
}

.features {
    display: flex;
    gap: 30px;
    margin-top: 45px;
    color: #75aa32;
    font-size: 30px;
}

.features span {
    flex: 1;
}

.features small {
    display: block;
    color: #344333;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
}


/* ==================================================
   SOLUCIONES PARA LA PRODUCCIÓN
================================================== */

.solution {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    color: white;
    background: #0b1d0d;
}

.solution-photo,
.solution-overlay {
    position: absolute;
    inset: 0;
}

.solution-photo {
    background: url('../images/2.webp') center/cover;
}

.solution-overlay {
    background: linear-gradient(90deg,#071a0df0,#0d2411c9 46%,#0b241020);
}

.solution-content {
    position: relative;
    z-index: 1;
}

.solution-content p:not(.eyebrow) {
    max-width: 530px;
    line-height: 1.8;
    color: #e5efe2;
}


/* ==================================================
   APLICACIONES PRINCIPALES
================================================== */

.applications {
    text-align: center;
}

.applications h2 {
    font: 800 clamp(30px,3vw,45px) var(--heading);
    margin: 12px 0;
}

.applications > p:not(.eyebrow) {
    color: var(--muted);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(8,1fr);
    gap: 15px;
    margin-top: 60px;
}

.app-grid div {
    font-size: 39px;
    color: #5b8f2a;
}

.app-grid span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #273a29;
    margin-top: 13px;
}


/* ==================================================
   CÉSPED ESPECIALIZADO / FORRAJES PREMIUM
================================================== */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
}

.split-image {
    background-position: center;
    background-size: cover;
}

.turf {
    background-image: url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1200&q=85');
}

.hay {
    background-image: url('../images/categorias/pacas-pellets-cubos.webp');
}

.split-copy {
    background: var(--cream);
    padding: clamp(50px,7vw,110px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.split h2 {
    font-size: clamp(30px,3vw,46px);
    margin: 10px 0;
}

.split .btn {
    margin-top: 20px;
}

.reverse .split-image {
    order: 2;
}


/* ==================================================
   ASESORÍA TÉCNICA
================================================== */

.advice {
    padding: 100px 0;
    background: linear-gradient(90deg,#07190def,#0d2411b5),
                url('../images/3.webp') center/cover;
    color: #fff;
}

.advice-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 15%;
}

.advice p:not(.eyebrow) {
    max-width: 460px;
    line-height: 1.8;
    color: #dce8dc;
}

.advice-list {
    background: #ffffff20;
    backdrop-filter: blur(15px);
    padding: 25px 35px;
    border: 1px solid #ffffff30;
    border-radius: 14px;
}

.advice-list span {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #ffffff30;
    font-weight: 700;
}

.advice-list span:last-child {
    border: 0;
}


/* ==================================================
   ANIMACIONES Y ACCESIBILIDAD
================================================== */

.reveal-ready {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-ready.revealed {
    opacity: 1;
    transform: translateY(0);
}

.category:focus-visible,
.btn:focus-visible,
.scroll-indicator:focus-visible {
    outline: 3px solid #a4d744;
    outline-offset: 4px;
}


/* ==================================================
   FOTOGRAFÍA DE FICHA DE PRODUCTO
================================================== */

.inner-product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #f2f4ee;
}

.inner-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.inner-product-image:hover img {
    transform: scale(1.035);
}


/* ==================================================
   RESPONSIVE / TABLET
================================================== */

@media (max-width: 980px) {

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

    .app-grid {
        grid-template-columns: repeat(4,1fr);
    }

    .about {
        gap: 30px;
    }

    .about-image {
        height: 430px;
    }

    .split-copy {
        padding: 40px;
    }
}


/* ==================================================
   RESPONSIVE / MÓVIL
================================================== */

@media (max-width: 650px) {

    .hero {
        min-height: 650px;
        height: 100svh;
    }

    .hero h1 {
        font-size: clamp(43px,11vw,67px);
    }

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

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

    .scroll-indicator {
        font-size: 8px;
        bottom: 18px;
        white-space: nowrap;
    }

    .categories {
        gap: 12px;
    }

    .category-photo {
        height: 125px;
    }

    .category-body {
        padding: 17px;
        min-height: 195px;
    }

    .category h2 {
        font-size: 16px;
    }

    .category p {
        font-size: 11px;
    }

    .about,
    .advice-inner {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 360px;
        order: -1;
    }

    .features {
        gap: 10px;
    }

    .solution {
        min-height: 540px;
    }

    .app-grid {
        grid-template-columns: repeat(4,1fr);
        gap: 23px 10px;
    }

    .app-grid div {
        font-size: 27px;
    }

    .app-grid span {
        font-size: 10px;
    }

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

    .split-image {
        height: 290px;
    }

    .reverse .split-image {
        order: 0;
    }

    .split-copy {
        padding: 45px 24px;
    }

    .advice {
        padding: 65px 0;
    }

    .advice-inner {
        gap: 35px;
    }

    .advice-list {
        padding: 15px 25px;
    }
}


/* ==================================================
   REFINAMIENTOS RESPONSIVE / MÓVIL
================================================== */

@media (max-width: 767px) {

    .hero {
        min-height: 600px;
        min-height: 100svh;
    }

    .hero-content {
        padding-top: 96px;
        padding-bottom: 95px;
    }

    .scroll-indicator {
        bottom: 20px;
        white-space: nowrap;
    }

    .hero-shade {
        background:
            linear-gradient(90deg,rgba(5,21,12,.83),rgba(8,28,12,.40)),
            linear-gradient(0deg,rgba(5,21,12,.50),transparent 40%);
    }
}


/* ==================================================
   ACCESIBILIDAD / MOVIMIENTO REDUCIDO
================================================== */

@media (prefers-reduced-motion: reduce) {

    .hero-image {
        animation: none;
        transform: none;
    }

    .reveal-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .category {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}
