/* Modo oscuro — Nosotros (requiere theme-dark-shared.css + icasa-theme-enabled) */
/* No modifica nosotros-page.css */

html[data-theme="dark"] body.page-nosotros .page-nosotros {
    --icasa-green: #3dd68c;
    --icasa-green-bright: #4ae09a;
    --icasa-ink: #e8eef4;
    --icasa-body: #c5d0dc;
    --icasa-muted: #9eb0c0;
    --icasa-line: rgba(255, 255, 255, 0.12);
    --icasa-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    --nosotros-surface: #161d26;
    --nosotros-surface-2: #1e2833;
    --nosotros-elevated: #222c38;
}

/* Hero sin imagen de fondo */
html[data-theme="dark"] body.page-nosotros .nosotros-hero--banner:not(.nosotros-hero--has-bg) {
    background-color: var(--home-dark-bg, #0c1014);
}

html[data-theme="dark"] body.page-nosotros .nosotros-hero--banner:not(.nosotros-hero--has-bg)::before {
    background:
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(61, 214, 140, 0.08), transparent 55%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(61, 214, 140, 0.05), transparent 50%);
}

/* Hero con imagen: sin cambios (scrim + tipografía blanca/verde ya definidos en nosotros-page.css) */

/* Historia */
html[data-theme="dark"] body.page-nosotros .nosotros-historia {
    background: var(--home-dark-bg, #0c1014);
    border-top-color: var(--icasa-line);
}

html[data-theme="dark"] body.page-nosotros .nosotros-historia__shell {
    background: linear-gradient(148deg, #03150c 0%, #073d24 42%, #005a2e 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.28),
        0 22px 55px rgba(0, 0, 0, 0.45);
}

/* Banda misión / visión */
html[data-theme="dark"] body.page-nosotros .nosotros-corporate-band {
    background: var(--nosotros-surface-2);
    border-top-color: var(--icasa-line);
}

html[data-theme="dark"] body.page-nosotros .nosotros-mv__card {
    background: var(--nosotros-surface);
    border-color: var(--icasa-line);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] body.page-nosotros .nosotros-mv__card:hover {
    border-color: rgba(61, 214, 140, 0.28);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] body.page-nosotros .nosotros-mv__photo {
    background: linear-gradient(145deg, #1a222c, #0c1014);
}

html[data-theme="dark"] body.page-nosotros .nosotros-mv__icon {
    background: rgba(61, 214, 140, 0.12);
}

html[data-theme="dark"] body.page-nosotros .nosotros-mv__icon svg {
    stroke: var(--icasa-green);
}

html[data-theme="dark"] body.page-nosotros .nosotros-mv__card-title {
    color: var(--icasa-green-bright);
}

/* Valores */
html[data-theme="dark"] body.page-nosotros .nosotros-valores {
    background:
        radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.04) 1.5px, transparent 0)
        0 0 / 26px 26px,
        linear-gradient(180deg, var(--nosotros-surface-2) 0%, var(--home-dark-bg, #0c1014) 55%) !important;
    border-top-color: var(--icasa-line);
}

html[data-theme="dark"] body.page-nosotros .nosotros-valores__title {
    color: var(--icasa-green-bright);
}

html[data-theme="dark"] body.page-nosotros .nosotros-valores__title::after {
    background: linear-gradient(90deg, var(--icasa-green) 0%, rgba(61, 214, 140, 0.15) 100%);
}

@media (hover: hover) and (pointer: fine) {
    html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:hover {
        background: var(--nosotros-elevated);
        border-color: rgba(61, 214, 140, 0.22);
        box-shadow:
            0 22px 52px rgba(0, 0, 0, 0.4),
            0 8px 24px rgba(61, 214, 140, 0.08);
    }

    html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:hover::before {
        color: rgba(255, 255, 255, 0.06);
    }

    html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:hover .nosotros-valor-card__icon {
        background: rgba(61, 214, 140, 0.14);
        border-color: rgba(61, 214, 140, 0.25);
        color: var(--icasa-green);
    }

    html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:hover .nosotros-valor-card__title {
        color: var(--icasa-ink);
    }

    html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:hover .nosotros-valor-card__desc {
        color: var(--icasa-muted);
    }
}

html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:active {
    background: var(--nosotros-elevated);
    border-color: rgba(61, 214, 140, 0.2);
}

html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:active::before {
    color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:active .nosotros-valor-card__icon {
    background: rgba(61, 214, 140, 0.14);
    border-color: rgba(61, 214, 140, 0.25);
    color: var(--icasa-green);
}

html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:active .nosotros-valor-card__title {
    color: var(--icasa-ink);
}

html[data-theme="dark"] body.page-nosotros .nosotros-valor-card:active .nosotros-valor-card__desc {
    color: var(--icasa-muted);
}
