/* PÁGINAS DE PRODUCTO — LHZ ECOPLAST */
.product-page {
    --product-accent: var(--color-orange);
    --product-accent-dark: var(--color-orange-dark);

    --product-secondary: #2f7d32;
    --product-secondary-dark: #1f5d24;
    --product-secondary-soft: rgba(47, 125, 50, 0.1);
    --product-secondary-border: rgba(47, 125, 50, 0.32);

    --product-hero-tint: rgba(17, 31, 18, 0.95);

    --product-radius-small: 14px;
    --product-radius-medium: var(--radius-medium);
    --product-radius-large: var(--radius-large);

    --product-shadow: var(--shadow-2);
}


/* MODIFICADORES POR LÍNEA DE PRODUCTO */
.product-page--agro {
    --product-secondary: #2f7d32;
    --product-secondary-dark: #1f5d24;
    --product-secondary-soft: rgba(47, 125, 50, 0.1);
    --product-secondary-border: rgba(47, 125, 50, 0.32);
    --product-hero-tint: rgba(17, 31, 18, 0.95);
}

.product-page--packaging {
    --product-secondary: #42677d;
    --product-secondary-dark: #29495c;
    --product-secondary-soft: rgba(66, 103, 125, 0.1);
    --product-secondary-border: rgba(66, 103, 125, 0.32);
    --product-hero-tint: rgba(18, 27, 33, 0.95);
}

.product-page--bags {
    --product-secondary: #247477;
    --product-secondary-dark: #18585b;
    --product-secondary-soft: rgba(36, 116, 119, 0.1);
    --product-secondary-border: rgba(36, 116, 119, 0.32);
    --product-hero-tint: rgba(17, 31, 32, 0.95);
}


/* BOTÓN PARA FONDOS OSCUROS */
.button--outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: var(--color-white);
}

.button--outline-light:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

/* HERO DEL PRODUCTO */
.product-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--color-dark);
}

.product-hero__background,
.product-hero__overlay {
    position: absolute;
    inset: 0;
}

.product-hero__background {
    z-index: -3;
}

.product-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-hero__overlay {
    z-index: -2;
    background:
        linear-gradient(90deg,
            var(--product-hero-tint) 0%,
            rgba(20, 28, 22, 0.82) 43%,
            rgba(20, 20, 20, 0.4) 74%,
            rgba(20, 20, 20, 0.08) 100%);
}

.product-hero::after {
    position: absolute;
    right: -170px;
    bottom: -270px;
    z-index: -1;
    width: 560px;
    height: 560px;
    border: 86px solid rgba(245, 124, 0, 0.15);
    border-radius: 50%;
    content: "";
}

.product-hero__container {
    padding-block: 100px;
}

.product-hero__content {
    max-width: 880px;
}

.product-hero .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 29px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    line-height: 1.5;
}

.product-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
}

.product-hero .breadcrumbs a:hover {
    color: #ffb15f;
}

.product-hero h1 {
    max-width: 850px;
    margin-bottom: 0;
    color: var(--color-white);
}

.product-hero__content>p {
    max-width: 720px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 0.96rem + 0.22vw, 1.14rem);
    line-height: 1.75;
}

.product-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.product-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 25px;
    margin-top: 34px;
}

.product-hero__features li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.79);
    font-size: 0.88rem;
    line-height: 1.5;
}

.product-hero__features li>span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--product-accent);
}

/* INTRODUCCIÓN DEL PRODUCTO */
.product-intro {
    background: var(--color-white);
}

.product-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    align-items: center;
    gap: clamp(55px, 7vw, 105px);
}

.product-intro__content>p {
    margin-top: 20px;
    color: var(--color-steel);
    font-size: 1rem;
    line-height: 1.8;
}

.product-intro__content .product-intro__lead {
    color: var(--color-graphite);
    font-size: 1.08rem;
    font-weight: 500;
}

.product-intro__list {
    display: grid;
    gap: 14px;
    margin-block: 30px 34px;
}

.product-intro__list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    color: var(--color-steel);
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-intro__list li>span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--product-secondary);
}

.product-intro__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.product-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--product-accent);
    font-size: 0.9rem;
    font-weight: 800;
    transition: color 0.25s ease;
}

.product-inline-link svg {
    transition: transform 0.25s ease;
}

.product-inline-link:hover {
    color: var(--product-accent-dark);
}

.product-inline-link:hover svg {
    transform: translateX(4px);
}

.product-intro__image {
    position: relative;
}

.product-intro__image>img {
    width: 100%;
    aspect-ratio: 850 / 720;
    object-fit: cover;
    border-radius: var(--product-radius-large);
    box-shadow: var(--product-shadow);
}

.product-intro__image::before {
    position: absolute;
    top: -22px;
    right: -22px;
    z-index: -1;
    width: 42%;
    height: 46%;
    border-radius: 0 25px 0 0;
    background:
        repeating-linear-gradient(45deg,
            var(--product-secondary-soft) 0,
            var(--product-secondary-soft) 2px,
            transparent 2px,
            transparent 10px);
    content: "";
}

.product-intro__badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    max-width: 255px;
    padding: 20px 23px;
    border-radius: 15px;
    color: var(--color-white);
    background: var(--product-accent);
    box-shadow: 0 17px 38px rgba(245, 124, 0, 0.28);
}

.product-intro__badge strong,
.product-intro__badge span {
    display: block;
}

.product-intro__badge strong {
    margin-bottom: 5px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.product-intro__badge span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* APLICACIONES */
.product-applications {
    background: var(--color-background);
}

.product-applications__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-application-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--product-radius-medium);
    background: var(--color-white);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.product-application-card:hover {
    transform: translateY(-7px);
    border-color: var(--product-secondary-border);
    box-shadow: var(--shadow-card);
}

.product-application-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 620 / 480;
}

.product-application-card__image::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            transparent 55%,
            rgba(20, 20, 20, 0.18) 100%);
    content: "";
}

.product-application-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0) scale(1);
}

.product-application-card:hover .product-application-card__image img {
    transform: translateZ(0) scale(1.045);
}

.product-application-card__content {
    position: relative;
    padding: 27px 24px 28px;
}

.product-application-card__number {
    position: absolute;
    top: -24px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 5px solid var(--color-white);
    border-radius: 14px;
    color: var(--color-white);
    background: var(--product-secondary);
    font-size: 0.76rem;
    font-weight: 800;
}

.product-application-card h3 {
    margin-bottom: 11px;
    color: var(--color-graphite);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.product-application-card p {
    color: var(--color-steel);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* CARACTERÍSTICAS Y BENEFICIOS */
.product-features {
    background: var(--color-white);
}

.product-features__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
    gap: clamp(55px, 7vw, 100px);
}

.product-features__content>p {
    max-width: 680px;
    margin-top: 20px;
    color: var(--color-steel);
    font-size: 1rem;
    line-height: 1.8;
}

.product-features__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-block: 34px 36px;
}

.product-feature-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    padding: 21px 18px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-white);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.product-feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--product-secondary-border);
    box-shadow: 0 14px 34px rgba(26, 30, 33, 0.07);
}

.product-feature-item__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--product-secondary);
    background: var(--product-secondary-soft);
}

.product-feature-item h3 {
    margin: 1px 0 7px;
    color: var(--color-graphite);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.4;
}

.product-feature-item p {
    color: var(--color-steel);
    font-size: 0.84rem;
    line-height: 1.62;
}

.product-features__image {
    position: relative;
}

.product-features__image>img {
    width: 100%;
    aspect-ratio: 850 / 760;
    object-fit: cover;
    border-radius: var(--product-radius-large);
    box-shadow: var(--product-shadow);
}

.product-features__image::before {
    position: absolute;
    right: -20px;
    bottom: -20px;
    z-index: -1;
    width: 40%;
    height: 43%;
    border-radius: 0 0 24px 0;
    background:
        repeating-linear-gradient(-45deg,
            var(--product-secondary-soft) 0,
            var(--product-secondary-soft) 2px,
            transparent 2px,
            transparent 10px);
    content: "";
}

.product-features__note {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    color: var(--color-white);
    background: rgba(28, 32, 34, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.product-features__note>span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--color-white);
    background: var(--product-accent);
}

.product-features__note p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* POR QUÉ ELEGIR LHZ ECOPLAST */
.product-why {
    background:
        linear-gradient(180deg,
            var(--color-background) 0%,
            #ffffff 100%);
}

.product-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-why-card {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    padding: 33px 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--product-radius-medium);
    background: var(--color-white);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.product-why-card:hover {
    transform: translateY(-7px);
    border-color: var(--product-secondary-border);
    box-shadow: var(--product-shadow);
}

.product-why-card__number {
    position: absolute;
    top: 17px;
    right: 20px;
    color: rgba(41, 45, 48, 0.055);
    font-family: var(--font-heading);
    font-size: 4.6rem;
    font-weight: 800;
    line-height: 1;
}

.product-why-card__icon {
    width: 56px;
    height: 56px;
    display: grid;
    margin-bottom: 25px;
    place-items: center;
    border-radius: 16px;
    color: var(--product-secondary);
    background: var(--product-secondary-soft);
}

.product-why-card h3 {
    margin-bottom: 12px;
    color: var(--color-graphite);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
}

.product-why-card p {
    color: var(--color-steel);
    font-size: 0.9rem;
    line-height: 1.72;
}

/* PRODUCTOS RELACIONADOS */
.related-products {
    background: var(--color-white);
}

.related-products .section-heading {
    max-width: 760px;
}

.related-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.related-product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--product-radius-medium);
    background: var(--color-white);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--product-secondary-border);
    box-shadow: var(--shadow-card);
}

.related-product-card__image {
    overflow: hidden;
    aspect-ratio: 620 / 480;
}

.related-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0) scale(1);
}

.related-product-card:hover .related-product-card__image img {
    transform: translateZ(0) scale(1.045);
}

.related-product-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px 23px 23px;
}

.related-product-card h3 {
    margin-bottom: 11px;
    color: var(--color-graphite);
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.4;
}

.related-product-card h3 a {
    transition: color 0.22s ease;
}

.related-product-card h3 a:hover {
    color: var(--product-accent);
}

.related-product-card p {
    margin-bottom: 22px;
    color: var(--color-steel);
    font-size: 0.88rem;
    line-height: 1.68;
}

.related-product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--product-accent);
    font-size: 0.86rem;
    font-weight: 800;
}

.related-product-card__link svg {
    transition: transform 0.25s ease;
}

.related-product-card__link:hover {
    color: var(--product-accent-dark);
}

.related-product-card__link:hover svg {
    transform: translateX(4px);
}

.related-products__footer {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

/* CTA FINAL */
.product-cta {
    position: relative;
    overflow: hidden;
    padding-block: 82px;
    color: var(--color-white);
    background:
        linear-gradient(112deg,
            #242424 0%,
            #303030 58%,
            var(--product-secondary-dark) 145%);
}

.product-cta::before {
    position: absolute;
    top: -175px;
    right: 6%;
    width: 420px;
    height: 420px;
    border: 76px solid rgba(245, 124, 0, 0.14);
    border-radius: 50%;
    content: "";
}

.product-cta::after {
    position: absolute;
    bottom: -85px;
    left: 7%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(245, 124, 0, 0.08);
    content: "";
}

.product-cta__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 50px;
}

.product-cta__content {
    max-width: 760px;
}

.product-cta__content h2 {
    color: var(--color-white);
}

.product-cta__content p {
    max-width: 680px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.75;
}

.product-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 13px;
}

/* RESPONSIVE — 1150 PX */
@media (max-width: 1150px) {

    .product-applications__grid,
    .product-why__grid,
    .related-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* RESPONSIVE — 980 PX */
@media (max-width: 980px) {

    .product-hero {
        min-height: 620px;
    }

    .product-intro__grid,
    .product-features__grid {
        grid-template-columns: 1fr;
    }

    .product-intro__image,
    .product-features__image {
        width: min(100%, 760px);
        margin-inline: auto;
    }

    .product-features__image {
        order: -1;
    }

    .product-cta__container {
        grid-template-columns: 1fr;
    }

    .product-cta__actions {
        justify-content: flex-start;
    }

}

/* RESPONSIVE — 760 PX */
@media (max-width: 760px) {

    .product-hero {
        min-height: 650px;
    }

    .product-hero__container {
        padding-block: 125px 78px;
    }

    .product-hero__overlay {
        background: rgba(18, 24, 20, 0.79);
    }

    /* .product-hero h1 {
        font-size: clamp(2.1rem, 8.2vw, 3.2rem);
        line-height: 1.12;
    } */

    .product-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-hero__actions .button {
        width: 100%;
    }

    .product-hero__features {
        display: grid;
        gap: 12px;
    }

    .product-intro__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-intro__image::before,
    .product-features__image::before {
        display: none;
    }

    .product-intro__badge {
        right: 14px;
        bottom: 14px;
        left: 14px;
        max-width: none;
    }

    .product-features__list {
        grid-template-columns: 1fr;
    }

    .product-applications__grid,
    .product-why__grid,
    .related-products__grid {
        grid-template-columns: 1fr;
    }

    .product-application-card,
    .product-why-card,
    .related-product-card {
        max-width: 620px;
        width: 100%;
        margin-inline: auto;
    }

    .product-why-card {
        min-height: auto;
    }

    .product-cta {
        padding-block: 66px;
    }

    .product-cta__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-cta__actions .button {
        width: 100%;
    }

}

/* RESPONSIVE — 520 PX */
@media (max-width: 520px) {

    .product-hero {
        min-height: 690px;
    }

    .product-hero__container {
        padding-block: 115px 70px;
    }

    .product-hero .breadcrumbs {
        margin-bottom: 24px;
        font-size: 0.8rem;
    }

    .product-intro__badge {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin: -28px 14px 0;
    }

    .product-feature-item {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 13px;
        padding: 18px 16px;
    }

    .product-feature-item__icon {
        width: 45px;
        height: 45px;
    }

    .product-features__note {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin: -30px 14px 0;
        border-color: var(--color-border);
        color: var(--color-graphite);
        background: var(--color-white);
        box-shadow: var(--shadow-card);
        backdrop-filter: none;
    }

    .product-features__note p {
        color: var(--color-steel);
    }

    .related-products__footer .button {
        width: 100%;
    }

}