/*
 * pages.css
 * ------------------------------------------------------------
 * Bloques específicos de las páginas institucionales:
 * page hero, splits de imagen+texto, sustainability,
 * storytelling, listados técnicos, breadcrumb.
 *
 * Carga: base → components → layout → pages
 * ------------------------------------------------------------
 */

/* ==========================================================
   Page hero (cabecera de páginas internas)
   ========================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
    background:
        radial-gradient(circle at 80% 20%, rgba(43, 169, 164, 0.18), transparent 55%),
        linear-gradient(180deg, #F4F8FB 0%, #E9F1F6 100%);
    border-bottom: 1px solid var(--color-border);
}

.page-hero__inner {
    max-width: 760px;
}

.page-hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--biox-teal);
    margin-bottom: var(--space-md);
}

.page-hero__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-primary);
    margin: 0 0 var(--space-md);
    line-height: 1.1;
}

.page-hero__lede {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 38rem;
}

/* ----------------------------------------------------------
   Page hero CON foto de fondo (oscurece + overlay navy/teal)
   ---------------------------------------------------------- */
.page-hero--photo {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 42, 72, 0.88) 0%, rgba(20, 55, 94, 0.78) 60%, rgba(43, 169, 164, 0.55) 100%),
        var(--bg-image) center / cover no-repeat;
    border-bottom: none;
    min-height: 360px;
    display: flex;
    align-items: center;
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
}
/* Asegura que el container hijo ocupe todo el ancho del flex parent
   (mismo bug que el slider del home: sin esto se encoge al ancho del
   contenido y se centra). */
.page-hero--photo > .container { width: 100%; }
.page-hero--photo .page-hero__title { color: #fff; }
.page-hero--photo .page-hero__lede { color: rgba(255, 255, 255, 0.88); }
.page-hero--photo .page-hero__eyebrow { color: var(--biox-teal-light, #6BD3CF); }
.page-hero--photo .breadcrumb,
.page-hero--photo .breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.page-hero--photo .breadcrumb a:hover { color: #fff; }

/* ==========================================================
   Breadcrumb
   ========================================================== */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb__sep { margin: 0 0.4rem; opacity: 0.5; }

/* ==========================================================
   Split (imagen + texto)
   ========================================================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.split--reverse .split__text { order: 2; }
.split--reverse .split__media { order: 1; }

@media (max-width: 880px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__text,
    .split--reverse .split__media { order: initial; }
}

.split__media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(43, 169, 164, 0.18), rgba(20, 55, 94, 0.35)),
        center/cover no-repeat var(--bg-image, linear-gradient(135deg, #14375E, #2BA9A4));
    box-shadow: var(--shadow-md);
}

.split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split__text h2 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.split__text p {
    color: var(--color-text-muted);
    font-size: 1.02rem;
}

/* ==========================================================
   Listado técnico (con icono check teal)
   ========================================================== */
.tlist {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0;
    display: grid;
    gap: var(--space-sm);
}

.tlist li {
    position: relative;
    padding-left: 1.85rem;
    color: var(--color-text);
    line-height: 1.55;
}

.tlist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: rgba(43, 169, 164, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232BA9A4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2.5,8.5 6.5,12.5 13.5,4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ==========================================================
   Producto detalle
   ========================================================== */
.product {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    padding: clamp(2rem, 4vw, 3rem);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-xl);
}

@media (max-width: 760px) {
    .product { grid-template-columns: 1fr; }
}

.product__media {
    aspect-ratio: 1;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 30% 30%, rgba(43, 169, 164, 0.25), transparent 60%),
        linear-gradient(135deg, #F4F8FB, #E9F1F6);
    display: grid;
    place-items: center;
    color: var(--biox-teal);
}

.product__media svg {
    width: 38%;
    height: auto;
}

/* Variante con foto real (reemplaza el ícono SVG) */
.product__media--photo {
    overflow: hidden;
    background: none;
    padding: 0;
}
.product__media--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    transition: transform 600ms ease;
}
.product:hover .product__media--photo img {
    transform: scale(1.04);
}

.product__tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--biox-teal);
    margin-bottom: var(--space-sm);
}

.product h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin: 0 0 var(--space-sm);
}

.product__lede {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.product__meta {
    margin-top: var(--space-md);
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
    .product__meta { grid-template-columns: 1fr; }
}

.product__meta dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--biox-teal);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.product__meta dd {
    margin: 0;
    color: var(--color-text);
}

/* ==========================================================
   Sustainability hero block
   ========================================================== */
.sustain-hero {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 42, 72, 0.82), rgba(43, 169, 164, 0.45)),
        center/cover no-repeat var(--bg-image, linear-gradient(135deg, #0F2A48, #14375E));
    overflow: hidden;
}

.sustain-hero__inner {
    max-width: 760px;
}

.sustain-hero h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 var(--space-md);
}

.sustain-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin: 0 0 var(--space-lg);
    max-width: 36rem;
}

.sustain-hero__leaf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(124, 179, 66, 0.22);
    color: #B5DC7E;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.sustain-hero__leaf::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--biox-leaf);
}

/* ==========================================================
   Storytelling band (fotos amplias + cita)
   ========================================================== */
.story {
    position: relative;
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: var(--color-bg-alt);
}

.story__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
}

@media (max-width: 880px) {
    .story__grid { grid-template-columns: 1fr; }
}

.story__media {
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 42, 72, 0.4), rgba(43, 169, 164, 0.2)),
        center/cover no-repeat var(--bg-image, linear-gradient(135deg, #14375E 0%, #2BA9A4 100%));
    box-shadow: var(--shadow-md);
    min-height: 320px;
}

.story__quote {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story__quote blockquote {
    margin: 0 0 var(--space-md);
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.story__quote cite {
    font-style: normal;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.story__quote cite strong {
    color: var(--color-text);
    font-weight: 600;
    display: block;
}

/* ==========================================================
   Final CTA
   ========================================================== */
.final-cta {
    background: linear-gradient(135deg, #0F2A48 0%, #14375E 60%, #1F4D7A 100%);
    color: #fff;
    padding: clamp(3rem, 7vw, 5rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(43, 169, 164, 0.25), transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(124, 179, 66, 0.15), transparent 50%);
    pointer-events: none;
}

/* Variante con foto de fondo + overlay navy para legibilidad */
.final-cta--photo {
    background:
        linear-gradient(135deg, rgba(15, 42, 72, 0.92) 0%, rgba(20, 55, 94, 0.85) 60%, rgba(31, 77, 122, 0.78) 100%),
        var(--bg-image) center / cover no-repeat;
}
.final-cta--photo::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(43, 169, 164, 0.3), transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(124, 179, 66, 0.2), transparent 50%);
}

.final-cta__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.final-cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: 0 0 var(--space-md);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    margin: 0 0 var(--space-lg);
}

.final-cta .btn {
    background: var(--biox-teal);
    border-color: var(--biox-teal);
}

.final-cta .btn:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.final-cta .btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.final-cta .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: #fff;
}

/* ==========================================================
   Pillars (sustentabilidad — 3-col con icono leaf)
   ========================================================== */
.pillar {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border-top: 3px solid var(--biox-leaf);
}

.pillar__num {
    font-family: var(--font-family-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--biox-leaf);
    line-height: 1;
    display: block;
    margin-bottom: var(--space-sm);
}

.pillar h3 {
    color: var(--color-primary);
    margin: 0 0 0.4rem;
}

.pillar p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.97rem;
}

/* ==========================================================
   Service item (lista)
   ========================================================== */
.service {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}

.service:last-child { border-bottom: 0; }

.service__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(43, 169, 164, 0.18), rgba(20, 55, 94, 0.18));
    color: var(--biox-teal);
    display: grid;
    place-items: center;
}

.service__icon svg { width: 26px; height: 26px; }

.service h3 {
    margin: 0 0 0.3rem;
    color: var(--color-primary);
    font-size: 1.15rem;
}

.service p {
    color: var(--color-text-muted);
    margin: 0;
}

/* Service variante con foto en vez de ícono */
.service--photo {
    grid-template-columns: 200px 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-xl) 0;
}
.service__photo {
    width: 200px;
    height: 140px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}
@media (max-width: 720px) {
    .service--photo {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .service__photo {
        width: 100%;
        height: 180px;
    }
}

/* ==========================================================
   Trust strip (industrias / sectores que atendemos)
   ========================================================== */
.trust {
    padding: var(--space-xl) 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.trust__inner {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
    justify-content: center;
}

.trust__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding-right: var(--space-md);
    border-right: 1px solid var(--color-border);
}

.trust__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.trust__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.trust__chip:hover {
    border-color: var(--biox-teal-light);
    background: rgba(43, 169, 164, 0.06);
    color: var(--color-primary);
}

.trust__chip svg {
    width: 14px;
    height: 14px;
    color: var(--biox-teal);
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .trust__label { width: 100%; text-align: center; padding: 0 0 var(--space-sm); border-right: 0; border-bottom: 1px solid var(--color-border); }
}

/* ==========================================================
   Section divider (SVG wave sutil)
   ========================================================== */
.divider {
    position: relative;
    height: 60px;
    margin-top: -1px;
    overflow: hidden;
    pointer-events: none;
}

.divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.divider--up { transform: rotate(180deg); }

/* ==========================================================
   Card refinado (gloss + corner accent)
   ========================================================== */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--biox-teal) 0%, var(--biox-teal-light) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover::before { opacity: 1; }

.card__icon {
    position: relative;
    overflow: hidden;
}

.card__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 60%);
    pointer-events: none;
}

/* ==========================================================
   Quote mark decorativo en storytelling
   ========================================================== */
.story__quote {
    position: relative;
}

.story__quote::before {
    content: "“";
    position: absolute;
    top: -0.4rem;
    left: 1.5rem;
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 1;
    color: var(--biox-teal);
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
}

.story__quote blockquote {
    position: relative;
    z-index: 1;
}

/* ==========================================================
   Stats animados (números con escala)
   ========================================================== */
.stats__num {
    background: linear-gradient(135deg, #ffffff 0%, var(--biox-teal-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stats__item {
    position: relative;
    padding: var(--space-lg) var(--space-md);
}

.stats__item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.12);
}

.stats__item:first-child::before { display: none; }

@media (max-width: 720px) {
    .stats__item::before { display: none; }
}

/* ==========================================================
   Reveal-on-scroll
   ========================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero::after,
    .hero__visual::after,
    .hero__badge { animation: none; }
}

/* ==========================================================
   CTA con flecha animada
   ========================================================== */
.btn .arrow {
    display: inline-block;
    transition: transform var(--transition);
}

.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================
   BIOKOLOR brochure landing
   ========================================================== */

/* Hero ------------------------------------------------------ */
.bk-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 5.5rem);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 42, 48, 0.86) 0%, rgba(14, 59, 67, 0.78) 60%, rgba(31, 140, 135, 0.62) 100%),
        var(--bg-image, url('/assets/img/productos/nutricion-acuicola.jpg')) center/cover no-repeat;
    border-bottom: 1px solid var(--biox-navy-deep);
}

.bk-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(63, 177, 171, 0.25), transparent 55%);
    pointer-events: none;
}

.bk-hero .breadcrumb,
.bk-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
}
.bk-hero .breadcrumb a:hover { color: #fff; }
.bk-hero .breadcrumb__sep { color: rgba(255, 255, 255, 0.4); }

.bk-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-top: var(--space-lg);
}

.bk-hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--biox-teal-light);
    border: 1px solid rgba(63, 177, 171, 0.5);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.bk-hero__title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #fff;
}

.bk-hero__claim {
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    line-height: 1.25;
    font-weight: 500;
    color: #fff;
    margin: 0 0 1.25rem;
    max-width: 28ch;
}
.bk-hero__claim em {
    font-style: normal;
    color: var(--biox-teal-light);
    font-weight: 600;
}

.bk-hero__lede {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 56ch;
    margin: 0 0 var(--space-lg);
}

.bk-hero__cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* KPI strip -------------------------------------------------- */
.bk-kpis {
    background: var(--biox-navy-deep);
    color: #fff;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bk-kpis__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

@media (max-width: 880px) {
    .bk-kpis__grid { grid-template-columns: repeat(2, 1fr); }
}

.bk-kpi {
    border-left: 2px solid var(--biox-teal);
    padding-left: 1.25rem;
}

.bk-kpi__value {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}
.bk-kpi__value span {
    font-size: 0.55em;
    font-weight: 600;
    color: var(--biox-teal-light);
}

.bk-kpi__label {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

/* Cards genéricas -------------------------------------------- */
.bk-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-sm);
}

.bk-card--chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Problem section ------------------------------------------- */
.bk-problem__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-top: var(--space-xl);
}

@media (max-width: 880px) {
    .bk-problem__grid { grid-template-columns: 1fr; }
}

.bk-donut {
    width: min(280px, 100%);
    height: auto;
    margin: 0.5rem 0 1rem;
}
.bk-donut__big {
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    fill: var(--biox-navy);
}
.bk-donut__sm {
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    fill: var(--color-text-muted);
}

.bk-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}
.bk-legend li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-bottom: 0.55rem;
    line-height: 1.4;
}
.bk-legend__dot {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 0.3rem;
}

.bk-numlist {
    list-style: none;
    counter-reset: bk;
    padding: 0;
    margin: 1.25rem 0;
}
.bk-numlist li {
    counter-increment: bk;
    position: relative;
    padding: 0 0 1rem 3rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed var(--color-border);
    color: var(--color-text-muted);
    line-height: 1.55;
}
.bk-numlist li:last-child { border-bottom: 0; }
.bk-numlist li::before {
    content: counter(bk, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--biox-teal);
    letter-spacing: -0.02em;
}
.bk-numlist strong { color: var(--color-text); }

.bk-callout {
    background: var(--color-bg-alt);
    border-left: 3px solid var(--biox-teal);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--color-text);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Mechanism flow -------------------------------------------- */
.bk-mech__flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
    margin: var(--space-xl) 0 var(--space-lg);
}

@media (max-width: 980px) {
    .bk-mech__flow {
        grid-template-columns: 1fr;
    }
    .bk-mech__arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
}

.bk-mech__step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.bk-mech__step--final {
    background: linear-gradient(160deg, var(--biox-navy) 0%, var(--biox-teal) 140%);
    color: #fff;
    border-color: transparent;
}
.bk-mech__step--final h4,
.bk-mech__step--final p { color: #fff; }
.bk-mech__step--final .bk-mech__num { color: var(--biox-teal-light); }

.bk-mech__num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--biox-teal);
    margin-bottom: 0.5rem;
}

.bk-mech__step h4 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    color: var(--biox-navy);
}

.bk-mech__step p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: var(--color-text-muted);
}

.bk-mech__arrow {
    width: 32px;
    height: 24px;
    align-self: center;
    color: var(--biox-teal);
    opacity: 0.6;
}

.bk-mech__note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: var(--biox-navy);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
}
.bk-mech__note svg { color: var(--biox-teal-light); flex-shrink: 0; margin-top: 2px; }
.bk-mech__note p { margin: 0; line-height: 1.55; color: rgba(255,255,255,0.92); font-size: 0.95rem; }
.bk-mech__note strong { color: var(--biox-teal-light); }

/* Setup cards ----------------------------------------------- */
.bk-setup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: var(--space-xl) 0;
}
@media (max-width: 720px) {
    .bk-setup { grid-template-columns: repeat(2, 1fr); }
}

.bk-setup__card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
}
.bk-setup__num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--biox-navy);
    line-height: 1;
    letter-spacing: -0.03em;
}
.bk-setup__lbl {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.35;
}

/* Bar charts ------------------------------------------------ */
.bk-chartblock {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.bk-chartblock__head h3 {
    margin: 0 0 0.4rem;
    color: var(--biox-navy);
    font-size: 1.2rem;
}
.bk-chartblock__head p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin: 0 0 1.25rem;
}

.bk-chartblock__note {
    margin: 1.25rem 0 0;
    padding: 0.85rem 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    font-size: 0.92rem;
    color: var(--color-text);
    border-left: 3px solid var(--biox-teal);
}
.bk-chartblock__note strong { color: var(--biox-navy); }

.bk-bars {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bk-bar__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.bk-bar__track {
    background: var(--color-bg-alt);
    border-radius: 999px;
    height: 32px;
    overflow: hidden;
    position: relative;
}

.bk-bar__fill {
    height: 100%;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.85rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    min-width: 70px;
    transition: width 0.6s cubic-bezier(.2,.8,.2,1);
}

.bk-bar--ctrl .bk-bar__fill {
    background: linear-gradient(90deg, #4A6068, #7C8E94);
}
.bk-bar--ctrl .bk-bar__label::before {
    content: "Control · ";
    color: var(--color-text-subtle);
}
.bk-bar--half .bk-bar__fill {
    background: linear-gradient(90deg, #1F8C87, #3FB1AB);
}
.bk-bar--half .bk-bar__label::before {
    content: "Mitad de dosis · ";
    color: var(--color-text-subtle);
}
.bk-bar--biokolor .bk-bar__fill {
    background: linear-gradient(90deg, var(--biox-navy) 0%, var(--biox-teal) 100%);
    box-shadow: 0 4px 14px rgba(31, 140, 135, 0.35);
    position: relative;
}
.bk-bar--biokolor .bk-bar__fill::after {
    content: "★";
    position: absolute;
    left: 0.65rem;
    color: var(--biox-teal-light);
    font-size: 0.85rem;
}
.bk-bar--biokolor .bk-bar__label {
    color: var(--biox-navy);
    font-weight: 700;
}
.bk-bar--biokolor .bk-bar__label::before {
    content: "Con BioKolor · ";
    color: var(--biox-teal);
    font-weight: 700;
}

/* SalmoFan ---------------------------------------------------- */
.bk-salmofan {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.bk-salmofan__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 0.5rem;
}
@media (max-width: 720px) {
    .bk-salmofan__row { grid-template-columns: 1fr; }
}

.bk-salmofan__lbl {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.45rem;
}

.bk-salmofan__chip {
    height: 92px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #FF8856 0%, #E64A2B 60%, #B22B12 100%);
    border: 2px solid transparent;
}
.bk-salmofan__chip--win {
    border-color: var(--biox-teal);
    box-shadow: 0 0 0 4px rgba(31, 140, 135, 0.18);
}

/* Productive parity ----------------------------------------- */
.bk-parity {
    background: var(--biox-navy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    margin-top: var(--space-xl);
}
.bk-parity h3 {
    color: #fff;
    margin: 0 0 0.4rem;
}
.bk-parity > p {
    color: rgba(255,255,255,0.78);
    margin: 0 0 1.25rem;
}
.bk-parity__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 720px) {
    .bk-parity__grid { grid-template-columns: 1fr; }
}
.bk-parity__cell {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.bk-parity__metric {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--biox-teal-light);
    margin-bottom: 0.5rem;
}
.bk-parity__values {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}
.bk-parity__hint {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.4rem;
}

/* Business case --------------------------------------------- */
.bk-business__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: var(--space-xl) 0;
}
@media (max-width: 880px) {
    .bk-business__grid { grid-template-columns: 1fr; }
}

.bk-biz-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.bk-biz-card--accent {
    background: linear-gradient(160deg, var(--biox-navy) 0%, #103E47 100%);
    color: #fff;
    border-color: transparent;
}
.bk-biz-card--accent h4,
.bk-biz-card--accent p { color: #fff; }
.bk-biz-card--accent .bk-biz-card__icon { color: var(--biox-teal-light); }
.bk-biz-card--accent .bk-biz-card__tag {
    background: rgba(63, 177, 171, 0.2);
    color: var(--biox-teal-light);
}

.bk-biz-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-bg-alt);
    color: var(--biox-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bk-biz-card--accent .bk-biz-card__icon { background: rgba(63, 177, 171, 0.18); }
.bk-biz-card__icon svg { width: 22px; height: 22px; }

.bk-biz-card h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--biox-navy);
}
.bk-biz-card p {
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
    color: var(--color-text-muted);
}
.bk-biz-card__tag {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--color-bg-alt);
    color: var(--biox-teal);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

/* Summary table-style --------------------------------------- */
.bk-summary {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.bk-summary__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    align-items: center;
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.92rem;
}
.bk-summary__row:last-child { border-bottom: 0; }
.bk-summary__row--head {
    background: var(--biox-navy);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.bk-summary__row--head .bk-summary__win { color: var(--biox-teal-light); }
.bk-summary__row > div:first-child {
    font-weight: 600;
    color: var(--color-text);
}
.bk-summary__win {
    font-weight: 700;
    color: var(--biox-navy);
    background: linear-gradient(90deg, transparent, rgba(31, 140, 135, 0.08));
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius);
    margin: -0.4rem 0;
}

@media (max-width: 720px) {
    .bk-summary__row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 1rem;
    }
    .bk-summary__row--head { display: none; }
    .bk-summary__row > div:first-child {
        grid-column: 1 / -1;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--color-text-muted);
        font-weight: 600;
    }
}

/* Final CTA ------------------------------------------------- */
.bk-cta {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(63, 177, 171, 0.18), transparent 55%),
        linear-gradient(135deg, var(--biox-navy-deep) 0%, var(--biox-navy) 60%, #14515A 100%);
    color: #fff;
    padding: clamp(3rem, 7vw, 5rem) 0;
}
.bk-cta__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.bk-cta__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--biox-teal-light);
    margin-bottom: 1rem;
}
.bk-cta__inner h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin: 0 0 0.85rem;
}
.bk-cta__inner > p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin: 0 0 var(--space-lg);
}
.bk-cta__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}
.bk-cta__fine {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    margin-top: var(--space-lg);
}

/* ==========================================================
   COMPUESTO G — ficha técnica premium
   Estética editorial: más aire, jerarquía clara, sobria.
   ========================================================== */

/* Hero ------------------------------------------------------ */
.cg-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(4rem, 8vw, 6.5rem);
    color: #fff;
    background:
        linear-gradient(180deg, rgba(8, 42, 48, 0.78) 0%, rgba(8, 42, 48, 0.92) 100%),
        var(--bg-image, url('/assets/img/hero/hero-acuicultura.jpg')) center/cover no-repeat;
    border-bottom: 1px solid var(--biox-navy-deep);
}

.cg-hero .breadcrumb,
.cg-hero .breadcrumb a { color: rgba(255,255,255,0.72); }
.cg-hero .breadcrumb a:hover { color: #fff; }
.cg-hero .breadcrumb__sep { color: rgba(255,255,255,0.35); }

.cg-hero__inner {
    max-width: 820px;
    margin-top: var(--space-xl);
}

.cg-hero__eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--biox-teal-light);
    border-bottom: 1px solid rgba(63, 177, 171, 0.4);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.cg-hero__title {
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #fff;
    max-width: 18ch;
}
.cg-hero__title em {
    font-style: normal;
    color: var(--biox-teal-light);
    font-weight: 600;
}

.cg-hero__lede {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: rgba(255,255,255,0.85);
    max-width: 62ch;
    line-height: 1.6;
    margin: 0 0 2rem;
}
.cg-hero__lede strong { color: #fff; font-weight: 600; }

.cg-hero__cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.cg-hero__meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.75rem;
    max-width: 720px;
}
@media (max-width: 720px) {
    .cg-hero__meta { grid-template-columns: 1fr; gap: 1rem; }
}
.cg-hero__meta li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.45;
}
.cg-hero__meta li span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--biox-teal-light);
    margin-bottom: 0.35rem;
}

/* 2 · Problema --------------------------------------------- */
.cg-problem {
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.cg-problem__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}
@media (max-width: 880px) {
    .cg-problem__grid { grid-template-columns: 1fr; }
}
.cg-problem h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1.2;
    color: var(--biox-navy);
    margin: 0.5rem 0 0;
    max-width: 18ch;
}
.cg-problem__body p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}
.cg-problem__body p strong { color: var(--color-text); }

/* 3 · Qué es ----------------------------------------------- */
.cg-define__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
@media (max-width: 880px) {
    .cg-define__grid { grid-template-columns: 1fr; }
}
.cg-define__copy p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}
.cg-define__copy p strong { color: var(--color-text); font-weight: 600; }
.cg-define__copy p em { color: var(--biox-teal); font-style: normal; font-weight: 500; }

.cg-define__panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}
.cg-define__panel h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--biox-teal);
    margin: 0 0 1.25rem;
}
.cg-define__panel dl { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.cg-define__panel dt {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}
.cg-define__panel dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.45;
    font-weight: 500;
}
.cg-define__panel dl > div + div {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

/* 4 · Beneficios ------------------------------------------- */
.cg-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: var(--space-xl);
}
@media (max-width: 980px) { .cg-benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cg-benefits__grid { grid-template-columns: 1fr; } }

.cg-benefit {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.cg-benefit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.cg-benefit__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-bg-alt);
    color: var(--biox-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.cg-benefit__icon svg { width: 22px; height: 22px; }
.cg-benefit h3 {
    font-size: 1.05rem;
    color: var(--biox-navy);
    margin: 0 0 0.6rem;
}
.cg-benefit p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* 5 · Mecanismo --------------------------------------------- */
.cg-diagram {
    margin: var(--space-xl) auto 0;
    max-width: 1000px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: auto 1fr 1.4fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}
@media (max-width: 880px) {
    .cg-diagram {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .cg-diagram__lines { display: none; }
}

.cg-diagram__source {
    text-align: center;
}
.cg-diagram__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--biox-navy), var(--biox-teal));
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(31, 140, 135, 0.25);
    margin-bottom: 0.6rem;
}
.cg-diagram__source small {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.cg-diagram__lines {
    width: 100%;
    height: auto;
    max-width: 280px;
}

.cg-diagram__targets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cg-target {
    background: var(--color-bg-alt);
    border-left: 3px solid var(--biox-teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.25rem;
}
.cg-target__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--biox-navy);
    margin-bottom: 0.5rem;
}
.cg-target ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}
.cg-target ul li { margin-bottom: 0.25rem; }

.cg-mech__note {
    margin: var(--space-lg) auto 0;
    max-width: 1000px;
    background: var(--biox-navy);
    color: rgba(255,255,255,0.9);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    line-height: 1.6;
}
.cg-mech__note strong { color: var(--biox-teal-light); }

/* 6 · Protocolo --------------------------------------------- */
.cg-protocol__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: var(--space-xl);
}
@media (max-width: 880px) { .cg-protocol__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cg-protocol__grid { grid-template-columns: 1fr; } }

.cg-protocol__cell {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--biox-teal);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 1.5rem 1.25rem;
}
.cg-protocol__lbl {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--biox-teal);
    margin-bottom: 0.5rem;
}
.cg-protocol__val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--biox-navy);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}
.cg-protocol__cell small {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    display: block;
}

/* 7 · Línea (tabla comparativa) ---------------------------- */
.cg-linetable {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: var(--space-xl);
    box-shadow: var(--shadow-sm);
}
.cg-linetable__row {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr 1fr 1.6fr;
    align-items: center;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.93rem;
}
.cg-linetable__row:last-child { border-bottom: 0; }
.cg-linetable__row > div { line-height: 1.45; color: var(--color-text-muted); }
.cg-linetable__row > div:first-child { color: var(--color-text); font-weight: 500; }

.cg-linetable__row--head {
    background: var(--biox-navy);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.cg-linetable__row--head > div { color: rgba(255,255,255,0.85); font-weight: 700; }

.cg-linetable__row--hero {
    background: linear-gradient(90deg, rgba(31, 140, 135, 0.08), transparent);
    border-left: 3px solid var(--biox-teal);
    padding-left: calc(1.5rem - 3px);
}
.cg-linetable__row--hero > div:first-child { color: var(--biox-navy); font-weight: 700; font-size: 1rem; }
.cg-linetable__tag {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--biox-teal);
    background: rgba(31, 140, 135, 0.12);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

@media (max-width: 720px) {
    .cg-linetable__row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 1.1rem 1.25rem;
    }
    .cg-linetable__row--head { display: none; }
    .cg-linetable__row > div::before {
        content: attr(data-lbl);
    }
    .cg-linetable__row > div:first-child {
        font-size: 1rem;
        color: var(--biox-navy);
    }
    .cg-linetable__row > div:nth-child(2)::before { content: "Foco · "; color: var(--color-text-subtle); font-size: 0.78rem; }
    .cg-linetable__row > div:nth-child(3)::before { content: "Uso · "; color: var(--color-text-subtle); font-size: 0.78rem; }
    .cg-linetable__row > div:nth-child(4)::before { content: "Beneficio · "; color: var(--color-text-subtle); font-size: 0.78rem; }
}

/* 8 · Evidencia --------------------------------------------- */
.cg-evidence__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: var(--space-xl);
}
@media (max-width: 880px) { .cg-evidence__grid { grid-template-columns: 1fr; } }

.cg-evidence__card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.cg-evidence__card h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--biox-teal);
    margin: 0 0 0.6rem;
}
.cg-evidence__card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.55;
    font-size: 0.94rem;
}

.cg-evidence__note {
    margin: var(--space-lg) auto 0;
    max-width: 760px;
    text-align: center;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-alt);
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.cg-evidence__note strong { color: var(--biox-navy); }

/* 9 · CTA + form ------------------------------------------- */
.cg-cta {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(63, 177, 171, 0.18), transparent 55%),
        linear-gradient(135deg, var(--biox-navy-deep) 0%, var(--biox-navy) 60%, #14515A 100%);
    color: #fff;
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.cg-cta__grid {
    display: grid;
    grid-template-columns: 0.95fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
@media (max-width: 880px) { .cg-cta__grid { grid-template-columns: 1fr; } }

.cg-cta__eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--biox-teal-light);
    margin-bottom: 1rem;
}
.cg-cta__copy h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    margin: 0 0 1rem;
    line-height: 1.15;
}
.cg-cta__copy p {
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
    margin: 0 0 var(--space-lg);
}
.cg-cta__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.14);
}
.cg-cta__contact li {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cg-cta__contact li span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--biox-teal-light);
    margin-bottom: 0.25rem;
}
.cg-cta__contact li a {
    color: #fff;
    font-weight: 500;
    font-size: 0.98rem;
}
.cg-cta__contact li a:hover { color: var(--biox-teal-light); }

.cg-cta__form {
    background: #fff;
    color: var(--color-text);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

/* 10 · Fineprint ------------------------------------------- */
.cg-fineprint {
    background: var(--color-bg-alt);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    border-top: 1px solid var(--color-border);
}
.cg-fineprint__grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 720px) { .cg-fineprint__grid { grid-template-columns: 1fr; } }

.cg-fineprint h4 {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--biox-teal);
    margin: 0 0 1rem;
}
.cg-fineprint ul { list-style: none; padding: 0; margin: 0; }
.cg-fineprint ul li { margin-bottom: 0.5rem; }
.cg-fineprint ul a {
    color: var(--biox-navy);
    font-size: 0.92rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}
.cg-fineprint ul a:hover { border-bottom-color: var(--biox-teal); }
.cg-fineprint p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================
   BIOKOLOR · secciones científicas extendidas
   ========================================================== */

/* Retención por especie ------------------------------------- */
.bk-species__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: var(--space-xl);
}
@media (max-width: 880px) { .bk-species__grid { grid-template-columns: 1fr; } }

.bk-species__card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.bk-species__card--win {
    border-color: var(--biox-teal);
    box-shadow: 0 0 0 3px rgba(31, 140, 135, 0.12), var(--shadow-sm);
    background: linear-gradient(180deg, #fff, var(--color-bg-alt));
}
.bk-species__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--biox-navy);
    margin-bottom: 0.85rem;
}
.bk-species__meter {
    background: var(--color-bg-alt);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.bk-species__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--biox-navy), var(--biox-teal));
    border-radius: 999px;
}
.bk-species__val {
    font-weight: 700;
    color: var(--biox-teal);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.bk-species__card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Vías de pérdida ------------------------------------------- */
.bk-pathways__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: var(--space-xl);
    align-items: stretch;
}
@media (max-width: 980px) { .bk-pathways__grid { grid-template-columns: 1fr; } }

.bk-pathway {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: var(--shadow-sm);
}
.bk-pathway--target {
    background: linear-gradient(160deg, var(--biox-navy) 0%, #103E47 100%);
    color: #fff;
    border-color: transparent;
}
.bk-pathway--target h3,
.bk-pathway--target p { color: #fff; }
.bk-pathway--target .bk-pathway__num { color: var(--biox-teal-light); }
.bk-pathway--target .bk-pathway__verdict {
    background: rgba(63, 177, 171, 0.16);
    color: rgba(255,255,255,0.95);
}
.bk-pathway--target .bk-pathway__verdict strong { color: var(--biox-teal-light); }

.bk-pathway__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.bk-pathway__num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--biox-teal);
    letter-spacing: -0.02em;
}
.bk-pathway__tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
}
.bk-pathway__tag--ok     { background: rgba(124, 165, 57, 0.14); color: #4F7421; }
.bk-pathway__tag--mid    { background: rgba(31, 140, 135, 0.12); color: #146B68; }
.bk-pathway__tag--target { background: rgba(63, 177, 171, 0.22); color: var(--biox-teal-light); }

.bk-pathway h3 {
    font-size: 1.1rem;
    color: var(--biox-navy);
    margin: 0;
}
.bk-pathway p {
    font-size: 0.93rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
}
.bk-pathway__verdict {
    margin-top: auto !important;
    padding: 0.75rem 0.9rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--color-text);
}
.bk-pathway__verdict strong { color: var(--biox-navy); }

/* Fuentes de ROS -------------------------------------------- */
.bk-ros__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: var(--space-xl);
}
@media (max-width: 980px) { .bk-ros__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bk-ros__grid { grid-template-columns: 1fr; } }

.bk-ros__card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
}
.bk-ros__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-bg-alt);
    color: var(--biox-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.bk-ros__icon svg { width: 22px; height: 22px; }
.bk-ros__card h4 {
    color: var(--biox-navy);
    font-size: 1rem;
    margin: 0 0 0.5rem;
}
.bk-ros__card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Ciclo redox ---------------------------------------------- */
.bk-redox__diagram {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 3vw, 2rem);
    margin: var(--space-xl) auto 0;
    max-width: 900px;
    box-shadow: var(--shadow-sm);
}
.bk-redox__svg {
    width: 100%;
    height: auto;
}
.bk-redox__caption {
    margin: 1.25rem auto 0;
    max-width: 900px;
    background: var(--color-bg-alt);
    border-left: 3px solid var(--biox-teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.25rem;
}
.bk-redox__caption p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.bk-redox__caption strong { color: var(--biox-navy); }

/* GSH/GSSG comparison -------------------------------------- */
.bk-gshchart {
    margin: var(--space-xl) auto 0;
    max-width: 900px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow-sm);
}
.bk-gshchart h3 { color: var(--biox-navy); margin: 0 0 0.4rem; }
.bk-gshchart > p { margin: 0 0 1.5rem; }

.bk-gsh__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1rem, 4vw, 2.5rem);
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}
@media (max-width: 560px) {
    .bk-gsh__row { grid-template-columns: 1fr; }
    .bk-gsh__arrow { transform: rotate(90deg); margin: 0 auto; }
}

.bk-gsh__col { text-align: center; }
.bk-gsh__lbl {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.85rem;
}
.bk-gsh__col--win .bk-gsh__lbl { color: var(--biox-teal); }
.bk-gsh__stack {
    width: 80px;
    height: 200px;
    margin: 0 auto;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    border: 1px solid var(--color-border);
}
.bk-gsh__seg {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: height 0.6s cubic-bezier(.2,.8,.2,1);
}
.bk-gsh__seg--gsh  { background: linear-gradient(180deg, var(--biox-teal), var(--biox-navy)); }
.bk-gsh__seg--gssg { background: linear-gradient(180deg, #94A3B5, #5A6B7E); }
.bk-gsh__seg span { transform: rotate(-90deg); white-space: nowrap; }

.bk-gsh__ratio {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}
.bk-gsh__ratio strong {
    font-size: 1.4rem;
    color: var(--biox-navy);
    margin-left: 0.2rem;
}
.bk-gsh__col--win .bk-gsh__ratio strong { color: var(--biox-teal); }
.bk-gsh__arrow { width: 36px; height: 24px; }

/* Line chart ----------------------------------------------- */
.bk-linechart {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-top: 0.5rem;
}

.bk-legend--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.bk-legend--inline li { margin-bottom: 0; font-size: 0.88rem; }

/* Tablas detalladas ---------------------------------------- */
.bk-tables {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    margin-top: var(--space-lg);
    box-shadow: var(--shadow-sm);
}
.bk-tables h3 { color: var(--biox-navy); margin: 0 0 0.3rem; }
.bk-tables > p { color: var(--color-text-muted); margin: 0 0 1.5rem; }

.bk-tables__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.bk-tables__grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
    .bk-tables__grid,
    .bk-tables__grid--three { grid-template-columns: 1fr; }
}

.bk-table { overflow-x: auto; }
.bk-table__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--biox-teal);
    margin-bottom: 0.6rem;
}
.bk-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.bk-table th,
.bk-table td {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}
.bk-table th {
    background: var(--color-bg-alt);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.bk-table tbody tr:hover { background: rgba(31, 140, 135, 0.04); }
.bk-table__win {
    font-weight: 700;
    color: var(--biox-teal);
    background: rgba(31, 140, 135, 0.06);
}
.bk-table__hl { color: var(--biox-navy); font-weight: 600; }

/* ==========================================================
   BANNERS · transiciones elegantes (ken-burns + fade)
   ========================================================== */

/* Wrapper para usar en hero/page-hero/bk-hero/cg-hero/sustain-hero
   El pseudo-elemento ::before lleva la imagen y los efectos. */
.hero,
.bk-hero,
.cg-hero,
.page-hero--photo,
.sustain-hero {
    position: relative;
    isolation: isolate;
}

/* Cada hero limpia su background: la imagen vive en ::before con overlay incluido */
.hero,
.bk-hero,
.cg-hero,
.page-hero--photo,
.sustain-hero {
    background: var(--biox-navy-deep);
}

/* Capa única (overlay + imagen) animable. z-index:-1 con isolation
   la deja entre el bg del hero y su contenido, así el overlay sí cubre la imagen. */
.hero::before,
.bk-hero::before,
.cg-hero::before,
.page-hero--photo::before,
.sustain-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(180deg, rgba(8, 42, 48, 0.72) 0%, rgba(14, 59, 67, 0.82) 100%),
        var(--bg-image, url('/assets/img/hero/hero-acuicultura.jpg'));
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    transform-origin: center;
    opacity: 0;
    transform: scale(1.08);
    animation: bk-ken-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards,
               bk-ken-drift 22s ease-in-out 1.6s infinite alternate;
    pointer-events: none;
    display: block;
}

/* Home hero: imagen forzada (no usa --bg-image) */
.hero::before {
    background-image:
        linear-gradient(180deg, rgba(8, 42, 48, 0.72) 0%, rgba(14, 59, 67, 0.82) 100%),
        url('/assets/img/hero/hero-acuicultura.jpg');
}

@keyframes bk-ken-in {
    0%   { opacity: 0; transform: scale(1.12); filter: blur(8px); }
    100% { opacity: 1; transform: scale(1.04); filter: blur(0); }
}
@keyframes bk-ken-drift {
    0%   { transform: scale(1.04) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

/* Texto del hero entra con stagger sutil */
.hero__inner,
.bk-hero__inner,
.cg-hero__inner,
.page-hero__inner,
.sustain-hero__inner {
    animation: bk-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes bk-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion: sin animaciones */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .bk-hero::before,
    .cg-hero::before,
    .page-hero--photo::before,
    .sustain-hero::before {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
    .hero__inner,
    .bk-hero__inner,
    .cg-hero__inner,
    .page-hero__inner,
    .sustain-hero__inner { animation: none; }
}

/* ==========================================================
   HOME · Header overlap sobre hero
   El header flota sobre la foto del hero. Mantiene sticky.
   El logo va dentro de una pastilla blanca para no perderse
   sobre la imagen.
   ========================================================== */

/* El hero del home se extiende UP debajo del header.
   El main se desplaza con margin-top negativo igual a la altura
   aproximada del header. */
body.is-hero-overlap {
    --site-header-h: 188px;  /* logo 88 + paddings + nav row */
    background: var(--biox-navy-deep);
}

@media (max-width: 720px) {
    body.is-hero-overlap { --site-header-h: 160px; }
}

body.is-hero-overlap main { margin-top: calc(-1 * var(--site-header-h)); }

body.is-hero-overlap .hero {
    padding-top: calc(var(--site-header-h) + clamp(2.5rem, 6vw, 4rem));
}

/* Header transparente antes de scroll */
body.is-hero-overlap .site-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

/* Header glass-dark cuando ya hay scroll (sticky) */
body.is-hero-overlap .site-header.is-scrolled {
    background: rgba(8, 42, 48, 0.78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

/* Logo: pastilla blanca para que NO quede sobre la foto */
body.is-hero-overlap .site-header__brand {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(8, 42, 48, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: padding 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body.is-hero-overlap .site-header.is-scrolled .site-header__brand {
    padding: 0.35rem 0.85rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Nav: enlaces blancos sobre la foto */
body.is-hero-overlap .site-nav__link {
    color: rgba(255, 255, 255, 0.92);
}
body.is-hero-overlap .site-nav__link:hover {
    color: #fff;
}
body.is-hero-overlap .site-nav__link--active {
    color: #fff;
}

/* CTA del nav: glass clara que destaca sobre la foto */
body.is-hero-overlap .site-nav__cta {
    background: rgba(255, 255, 255, 0.96);
    color: var(--biox-navy);
    border: 1px solid rgba(255, 255, 255, 0.6);
}
body.is-hero-overlap .site-nav__cta:hover {
    background: #fff;
    color: var(--biox-navy-deep);
}

/* Cuando scroll: nav text pasa a blanco completo, conserva CTA */
body.is-hero-overlap .site-header.is-scrolled .site-nav__link {
    color: rgba(255, 255, 255, 0.88);
}
body.is-hero-overlap .site-header.is-scrolled .site-nav__link:hover,
body.is-hero-overlap .site-header.is-scrolled .site-nav__link--active {
    color: #fff;
}
body.is-hero-overlap .site-header.is-scrolled .site-nav__link--active::after {
    background: var(--biox-teal-light);
}

/* Reduced motion: sin transiciones */
@media (prefers-reduced-motion: reduce) {
    body.is-hero-overlap .site-header__brand { transition: none; }
}

/* En móvil el menú colapsa; mantenemos pastilla del logo y header sólido */
@media (max-width: 720px) {
    body.is-hero-overlap .site-header { background: rgba(8, 42, 48, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

/* ==========================================================
   HOME · grid de productos con potenciadores sutiles
   ========================================================== */

/* Strip superior — meta de la línea (sober horizontal bar) */
.prod-strip {
    list-style: none;
    margin: 0 0 var(--space-xl);
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
@media (max-width: 880px) { .prod-strip { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } }
@media (max-width: 520px) { .prod-strip { grid-template-columns: 1fr; } }

.prod-strip li {
    padding: 0.4rem 1rem;
    border-left: 1px solid var(--color-border);
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.45;
}
.prod-strip li:first-child { border-left: 0; padding-left: 0.5rem; }
.prod-strip li span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--biox-teal);
    margin-bottom: 0.2rem;
}
@media (max-width: 880px) {
    .prod-strip li { border-left: 0; padding-left: 0.5rem; }
}

/* Grid de cards 4-col, una destacada */
.prod-cards {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}
@media (max-width: 1080px) { .prod-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .prod-cards { grid-template-columns: 1fr; } }

.prod-card { display: flex; flex-direction: column; }
.prod-card .card__body-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.6rem;
}

/* Pin 'Producto integral' en la card destacada */
.prod-card__pin {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 42, 48, 0.88);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.12);
}

/* Card destacada: borde sutil y un acento teal en parte inferior */
.prod-card--feature {
    border: 1px solid var(--biox-teal);
    box-shadow: 0 0 0 4px rgba(31, 140, 135, 0.06), var(--shadow-sm);
    position: relative;
}
.prod-card--feature::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--biox-navy), var(--biox-teal));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Señales / chips dentro de la card */
.prod-card__signals {
    list-style: none;
    margin: 0.4rem 0 0.6rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.prod-card__signals li {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
    padding: 0.3rem 0.65rem;
    background: var(--color-bg-alt);
    border-radius: 999px;
    border: 1px solid var(--color-border);
}
.prod-card__signal--kpi {
    color: var(--biox-teal) !important;
    background: rgba(31, 140, 135, 0.06) !important;
    border-color: rgba(31, 140, 135, 0.25) !important;
}

/* Link de ficha — sober, alineado al final */
.prod-card__link {
    margin-top: auto;
    color: var(--biox-navy);
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: border-color var(--transition), color var(--transition);
}
.prod-card__link:hover {
    color: var(--biox-teal);
    border-bottom-color: var(--biox-teal);
}
.prod-card__link .arrow {
    display: inline-block;
    transition: transform var(--transition);
}
.prod-card__link:hover .arrow { transform: translateX(3px); }

/* Banda de respaldo */
.prod-trust {
    margin-top: var(--space-xl);
    padding: 1.25rem 1.5rem;
    background: transparent;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.prod-trust__lbl {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--biox-teal);
}
.prod-trust ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.prod-trust ul li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}
.prod-trust ul li svg { color: var(--biox-teal); flex-shrink: 0; }

/* ==========================================================
   HERO SLIDER · home (crossfade elegante + ken-burns)
   ========================================================== */

.hero--slider {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 0;
    min-height: clamp(720px, 88vh, 880px);
    display: flex;
    flex-direction: column;
    color: #fff;
    background: var(--biox-navy-deep);
}

/* anula el ::before/::after globales del .hero */
.hero--slider::before,
.hero--slider::after { display: none !important; content: none; }

/* Los slides cubren TODA la sección (incluida la zona de controles y stats).
   Controles y stats van encima con z-index. */
.hero__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 1100ms;
    /* Top: breathing tras el header. Bottom: espacio para la stats bar. */
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(8rem, 13vw, 11rem);
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s;
}

/* BG image en capa propia para animar (ken-burns sutil cuando activo) */
.hero-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    transform: scale(1.06);
    will-change: transform;
}
.hero-slide.is-active .hero-slide__bg {
    animation: hero-kenburns 9s ease-out forwards;
}

@keyframes hero-kenburns {
    0%   { transform: scale(1.04) translate(0, 0); }
    100% { transform: scale(1.10) translate(-1.2%, -0.8%); }
}

/* Overlay degradado petróleo */
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(8, 42, 48, 0.82) 0%, rgba(14, 59, 67, 0.62) 55%, rgba(14, 59, 67, 0.42) 100%),
        linear-gradient(180deg, transparent 60%, rgba(8, 42, 48, 0.55) 100%);
}

/* Contenido del slide — usa .container así queda alineado con la nav */
.hero-slide__inner {
    position: relative;
    z-index: 2;
    width: 100%;             /* ocupa todo el track del flex parent */
}
.hero-slide__inner > * { max-width: 720px; }
.hero-slide__inner .hero__cta { max-width: none; }

/* Texto: animación de entrada al activarse el slide */
.hero-slide .hero__eyebrow,
.hero-slide .hero__title,
.hero-slide .hero__lede,
.hero-slide .hero__cta {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide.is-active .hero__eyebrow { transition-delay: 200ms; opacity: 1; transform: none; }
.hero-slide.is-active .hero__title   { transition-delay: 300ms; opacity: 1; transform: none; }
.hero-slide.is-active .hero__lede    { transition-delay: 450ms; opacity: 1; transform: none; }
.hero-slide.is-active .hero__cta     { transition-delay: 600ms; opacity: 1; transform: none; }

/* Tipografía sobre foto */
.hero-slide .hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--biox-teal-light);
    border: 1px solid rgba(63, 177, 171, 0.4);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero-slide .hero__eyebrow::before { display: none; }

.hero-slide .hero__title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.25rem;
    max-width: 18ch;
}
.hero-slide .hero__title em {
    font-style: normal;
    color: var(--biox-teal-light);
    background: none;
    -webkit-text-fill-color: var(--biox-teal-light);
    font-weight: 700;
}

.hero-slide .hero__lede {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    max-width: 56ch;
    margin: 0 0 var(--space-lg);
}

.hero-slide .hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Paginador VERTICAL anclado al lado izquierdo ---------------- */
.hero--slider .hero-dots {
    position: absolute;
    left: clamp(1.25rem, 3vw, 2.5rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.hero-dot {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;        /* número arriba, bar vertical abajo */
    align-items: flex-start;
    gap: 0.55rem;
    transition: color 300ms ease;
    position: relative;
}
.hero-dot:hover { color: rgba(255, 255, 255, 0.92); }
.hero-dot:hover .hero-dot__bar { background: rgba(255, 255, 255, 0.4); }
.hero-dot.is-active { color: #fff; }
.hero-dot.is-active .hero-dot__num { color: var(--biox-teal-light); }

.hero-dot__num {
    display: inline-block;
    transition: color 300ms ease;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* Bar VERTICAL: 2px ancho × 28px alto (línea hacia abajo desde el número) */
.hero-dot__bar {
    position: relative;
    display: block;
    width: 2px;
    height: 28px;
    margin-left: 0.55em;            /* alineada bajo el número */
    background: rgba(255, 255, 255, 0.22);
    border-radius: 2px;
    overflow: hidden;
    transition: height 500ms cubic-bezier(0.22, 1, 0.36, 1),
                width 300ms ease,
                background 300ms ease;
}
.hero-dot.is-active .hero-dot__bar {
    width: 3px;
    height: 64px;
    background: rgba(255, 255, 255, 0.18);
}

/* Progress: rellena de arriba hacia abajo */
.hero-dot__progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(180deg, var(--biox-teal-light), #fff);
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(63, 177, 171, 0.5);
}

/* Flechas: ancladas a la esquina superior derecha del hero ---- */
.hero--slider .hero-arrows {
    position: absolute;
    top: clamp(1.25rem, 3vw, 2.25rem);
    right: clamp(1.25rem, 4vw, 2.5rem);
    z-index: 5;
    display: flex;
    gap: 0.5rem;
}
.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}
.hero-arrow svg { width: 20px; height: 20px; }

/* Stats bar al pie del hero — centrada con línea fina superior - */
.hero__stats-bar {
    position: relative;
    z-index: 3;
    margin-top: auto;            /* empuja al pie del flex column */
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 1.4rem;
    padding-bottom: 1.75rem;
}
.hero--slider .hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;     /* items centrados */
    gap: clamp(2rem, 5vw, 4rem);
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}
.hero--slider .hero__stat dt,
.hero--slider .hero__stat dd { text-align: center; }
.hero--slider .hero__stat dt {
    color: var(--biox-teal-light);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero--slider .hero__stat dd {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.25rem 0 0;
}

/* Pantallas medianas / móvil --------------------------------- */
/* Por debajo de 1280px no hay gutter izquierdo suficiente para
   el paginador vertical sin pisar el texto. Lo bajamos a
   horizontal, anclado al borde izquierdo del container del hero. */
@media (max-width: 1280px) {
    .hero--slider .hero-dots {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        margin: auto 0 1.25rem clamp(1.25rem, 4vw, 2rem);
        padding: 0;
    }
    .hero-dot { padding: 0.35rem 0; }
    .hero-dot__bar { width: 32px; }
    .hero-dot.is-active .hero-dot__bar { width: 64px; }
}

@media (max-width: 720px) {
    .hero--slider { min-height: clamp(520px, 88vh, 680px); }
    .hero--slider .hero-dots {
        margin-left: 1.25rem;
        gap: 1rem;
    }
    .hero-dot__bar { width: 24px; }
    .hero-dot.is-active .hero-dot__bar { width: 48px; }
    .hero--slider .hero-arrows {
        top: 1rem;
        right: 1rem;
    }
    .hero-arrow { width: 38px; height: 38px; }
}

/* Reduced motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide.is-active,
    .hero-slide .hero__eyebrow,
    .hero-slide .hero__title,
    .hero-slide .hero__lede,
    .hero-slide .hero__cta { transition: none; transform: none; opacity: 1; }
    .hero-slide.is-active .hero-slide__bg { animation: none; transform: scale(1.04); }
    .hero-dot__progress { display: none; }
}

/* ==========================================================
   Botón secundario sobre fondos oscuros (slider, hero photo)
   ========================================================== */
.hero-slide .btn--secondary,
.bk-hero .btn--secondary,
.cg-hero .btn--secondary,
.page-hero--photo .btn--secondary,
.sustain-hero .btn--secondary,
.bk-cta .btn--secondary,
.cg-cta .btn--secondary {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-slide .btn--secondary:hover,
.bk-hero .btn--secondary:hover,
.cg-hero .btn--secondary:hover,
.page-hero--photo .btn--secondary:hover,
.sustain-hero .btn--secondary:hover,
.bk-cta .btn--secondary:hover,
.cg-cta .btn--secondary:hover {
    background: #fff;
    color: var(--biox-navy);
    border-color: #fff;
}

/* ==========================================================
   BENTO GRID — productos del home
   3 columnas × 2 filas. Compuesto G ocupa col 1 / row 1-2.
   BioKolor span 2 col / row 1.  Cortiguard + GluPulse en row 2.
   ========================================================== */
.prod-bento {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    grid-auto-rows: auto;
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 980px) {
    .prod-bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .prod-bento { grid-template-columns: 1fr; }
}

/* Tarjeta base ------------------------------------------- */
.bento {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: 0 1px 2px rgba(15, 42, 72, 0.04);
    isolation: isolate;
}
.bento:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 42, 72, 0.08);
    border-color: rgba(31, 140, 135, 0.35);
}

/* Media (imagen) ----------------------------------------- */
.bento__media {
    position: relative;
    overflow: hidden;
}
.bento__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.bento:hover .bento__media img { transform: scale(1.04); }

/* Pin sobre imagen */
.bento__pin {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(8, 42, 48, 0.88);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 2;
}

/* Body */
.bento__body {
    padding: 1.5rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.bento__tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--biox-teal);
}

.bento__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--biox-navy);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bento__lede {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    margin: 0;
}

.bento__chips {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.bento__chips li {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 0.3rem 0.65rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
}
.bento__chip--kpi {
    color: var(--biox-teal) !important;
    background: rgba(31, 140, 135, 0.08) !important;
    border-color: rgba(31, 140, 135, 0.3) !important;
}

.bento__link {
    margin-top: auto;
    padding-top: 0.6rem;
    color: var(--biox-navy);
    font-size: 0.92rem;
    font-weight: 600;
    align-self: flex-start;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color var(--transition), border-color var(--transition);
}
.bento:hover .bento__link {
    color: var(--biox-teal);
    border-bottom-color: var(--biox-teal);
}
.bento__link .arrow {
    display: inline-block;
    transition: transform var(--transition);
}
.bento:hover .bento__link .arrow { transform: translateX(3px); }

/* Variantes ----------------------------------------------- */

/* FEATURE — col 1, rows 1-2 (alta, imagen arriba grande) */
.bento--feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.bento--feature .bento__media {
    aspect-ratio: 4 / 3;
}
.bento--feature .bento__title { font-size: 2rem; }
.bento--feature .bento__body { padding: 1.75rem 1.75rem 2rem; gap: 0.85rem; }
.bento--feature::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--biox-navy), var(--biox-teal));
    z-index: 1;
}

/* WIDE — col 2-3, row 1 (horizontal con imagen al lado derecho) */
.bento--wide {
    grid-column: 2 / 4;
    grid-row: 1;
    flex-direction: row;
    align-items: stretch;
    min-height: 240px;
}
.bento--wide .bento__body {
    flex: 1.15;
    padding: 1.75rem 1.75rem 1.75rem 1.75rem;
}
.bento--wide .bento__media--side {
    flex: 1;
    min-width: 0;
}
.bento--wide .bento__media--side img {
    height: 100%;
}

/* SMALL — celdas inferiores (compactas, imagen pequeña arriba) */
.bento--small .bento__media--mini {
    aspect-ratio: 16 / 9;
}
.bento--small .bento__title { font-size: 1.3rem; }
.bento--small .bento__body { padding: 1.25rem 1.4rem 1.4rem; gap: 0.5rem; }

/* Responsive --------------------------------------------- */
@media (max-width: 980px) {
    .bento--feature { grid-column: 1 / -1; grid-row: auto; }
    .bento--feature .bento__media { aspect-ratio: 16 / 7; }
    .bento--wide { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 720px) {
    .bento--wide { flex-direction: column; }
    .bento--wide .bento__media--side {
        order: -1;
        aspect-ratio: 16 / 9;
        height: auto;
    }
    .bento--wide .bento__media--side img { height: auto; }
}

@media (max-width: 600px) {
    .bento--feature .bento__media { aspect-ratio: 16 / 9; }
    .bento--feature .bento__title { font-size: 1.6rem; }
}
