/* ==========================================================================
   DNEC Navigation, Ecosystem Suite & Filterable Technology Stack
   ========================================================================== */

.dnec-site-nav { display: flex; align-items: center; gap: 26px; }
.dnec-site-nav > a, .dnec-site-submenu > summary { color: #d3ddec; font-size: 13px; font-weight: 600; transition: color 0.18s ease; }
.dnec-site-nav a:hover, .dnec-site-submenu > summary:hover { color: #fff; }
.dnec-site-submenu { position: relative; }
.dnec-site-submenu > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; padding-block: 18px; }
.dnec-site-submenu > summary::-webkit-details-marker { display: none; }
.dnec-site-submenu > summary i { color: inherit; }
.dnec-site-submenu__links {
    position: absolute;
    top: 100%;
    left: -40px;
    width: 390px;
    background: #0d213d;
    border: 1px solid #2e476b;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}
.dnec-site-submenu__links > a { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 9px; color: #f1f6ff; font-size: 12.5px; transition: background 0.15s ease; }
.dnec-site-submenu__links > a:hover, .dnec-site-submenu__links > a:focus-visible { background: #1a3558; }
.dnec-site-submenu__links > a > i { font-size: 26px; flex: 0 0 30px; color: #60a5fa; }
.dnec-site-submenu__links small { display: block; color: #94a3b8; font-size: 10.5px; line-height: 1.5; margin-top: 3px; }
.dnec-public-header .dnec-site-menu-toggle { display: none; }
.dnec-site-menu-toggle i { color: #e7efff; font-size: 22px; }
.dnec-public-header .ki-duotone::before, .dnec-public-header .ki-duotone::after { font-size: inherit !important; color: inherit !important; }
.dnec-site-nav a:focus-visible, .dnec-site-nav summary:focus-visible { outline: 2px solid #9bc1ff; outline-offset: 4px; }

.dnec-detail-heading { padding: 135px 0 45px; color: #c6d5e8; background: #0b1a2e; }
.dnec-detail-heading a { color: #a7c7ff; font-size: 12px; }
.dnec-detail-heading a i { color: inherit; }
.dnec-detail-heading h1 { color: #fff; font-size: clamp(28px, 3vw, 43px); line-height: 1.2; margin: 20px 0 14px; font-weight: 800; }
.dnec-detail-heading p { font-size: 14px; margin: 0; }
.dnec-service-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; margin-top: 14px; color: #2563eb; }
[data-bs-theme="dark"] .dnec-service-link { color: #60a5fa; }
.dnec-service-link i { color: inherit; }
.dnec-solutions__related { margin-top: 35px !important; padding-top: 24px; border-top: 1px solid var(--chapter-line); }
.dnec-chapters nav.dnec-landing__capability-tabs { margin-top: 20px; }

/* ==========================================================================
   Nuestro Ecosistema / Soluciones Especializadas (.dnec-suite)
   ========================================================================== */

.dnec-suite {
    padding: 76px 0 64px;
    background: var(--chapter-tint, #f5f8fc);
    border-bottom: 1px solid var(--chapter-line, #dfe7f0);
}

.dnec-suite__header {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: end;
    margin-bottom: 42px;
}

.dnec-suite__header h2 {
    color: var(--chapter-ink, #0f172a);
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.03em;
    margin: 0;
}

.dnec-suite__lead {
    color: var(--chapter-muted, #475569);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.dnec-suite__flagships {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 26px;
}

.dnec-suite-card--flagship {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 28px;
    border-radius: 18px;
    background: linear-gradient(155deg, #0b1c36 0%, #091528 100%);
    border: 1px solid rgba(96, 165, 250, 0.25);
    color: #f8fafc;
    box-shadow: 0 20px 45px rgba(8, 20, 38, 0.16);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dnec-suite-card--flagship:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.52);
    box-shadow: 0 26px 54px rgba(8, 20, 38, 0.24);
}

.dnec-suite-card--surveys {
    background: linear-gradient(155deg, #092230 0%, #071726 100%);
    border-color: rgba(52, 211, 153, 0.28);
}

.dnec-suite-card--surveys:hover {
    border-color: rgba(52, 211, 153, 0.55);
}

.dnec-suite-card__glow {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 70%);
    pointer-events: none;
}

.dnec-suite-card--surveys .dnec-suite-card__glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22), transparent 70%);
}

.dnec-suite-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.dnec-suite-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dnec-suite-card__badge--cyan {
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.dnec-suite-card__badge--emerald {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.dnec-suite-card__metric {
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.dnec-suite-card__body h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 4px;
}

.dnec-suite-card__subtitle {
    font-size: 13.5px;
    font-weight: 700;
    color: #60a5fa;
    margin: 0 0 14px;
}

.dnec-suite-card--surveys .dnec-suite-card__subtitle {
    color: #34d399;
}

.dnec-suite-card__desc {
    color: #cbd5e1 !important;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.dnec-suite-card__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.dnec-suite-card__pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.dnec-suite-card__pills i {
    color: #38bdf8 !important;
    font-size: 14px !important;
}

.dnec-suite-card--surveys .dnec-suite-card__pills i {
    color: #34d399 !important;
}

.dnec-suite-card__visual {
    position: relative;
    height: 148px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.dnec-suite-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.dnec-suite-card__visual-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(6, 15, 30, 0.94), rgba(6, 15, 30, 0.55));
}

.dnec-suite-card__visual-overlay small {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #93c5fd;
}

.dnec-suite-card__visual-overlay strong {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
}

.dnec-suite-card__visual-overlay em {
    font-style: normal;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.2);
    font-variant-numeric: tabular-nums;
}

.dnec-suite-card__telemetry {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 22px;
    background: rgba(6, 20, 33, 0.78);
    border: 1px solid rgba(52, 211, 153, 0.24);
}

.dnec-suite-card__telemetry-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 12px;
    font-weight: 700;
    color: #a7f3d0;
}

.dnec-suite-card__telemetry-head b {
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9.5px;
    color: #064e3b;
    background: #34d399;
}

.dnec-suite-card__telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dnec-suite-card__telemetry-grid small {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.dnec-suite-card__telemetry-grid strong {
    font-size: 12px;
    font-weight: 700;
    color: #f8fafc;
}

.dnec-suite-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.dnec-suite-card__btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.dnec-suite-card__btn-alt {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: background 0.18s ease, color 0.18s ease;
}

.dnec-suite-card__btn-alt:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

/* Secondary 3-column grid */
.dnec-suite__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.dnec-suite-mini {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: 14px;
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--chapter-line, #dfe7f0);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dnec-suite-mini:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.dnec-suite-mini__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 24px;
}

.dnec-suite-mini__icon--blue { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.dnec-suite-mini__icon--indigo { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }
.dnec-suite-mini__icon--amber { background: rgba(245, 158, 11, 0.14); color: #d97706; }

[data-bs-theme="dark"] .dnec-suite-mini__icon--blue { color: #60a5fa; }
[data-bs-theme="dark"] .dnec-suite-mini__icon--indigo { color: #818cf8; }
[data-bs-theme="dark"] .dnec-suite-mini__icon--amber { color: #fbbf24; }

.dnec-suite-mini__kicker {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3b82f6;
    margin-bottom: 6px;
}

.dnec-suite-mini h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--chapter-ink, #0f172a);
    margin: 0 0 8px;
}

.dnec-suite-mini p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--chapter-muted, #475569);
    margin: 0 0 16px;
}

.dnec-suite-mini__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #2563eb;
    margin-top: auto;
}

[data-bs-theme="dark"] .dnec-suite-mini__link { color: #60a5fa; }

/* ==========================================================================
   Filterable Technology Ecosystem (.dnec-ecosystem)
   ========================================================================== */

.dnec-ecosystem {
    padding: 72px 0 64px;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--chapter-line, #dfe7f0);
}

.dnec-ecosystem__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.dnec-ecosystem__header > div:first-child {
    max-width: 620px;
}

.dnec-ecosystem h2 {
    color: var(--chapter-ink, #102542);
    font-weight: 800;
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.dnec-ecosystem__intro {
    color: var(--chapter-muted, #52647d);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.dnec-ecosystem__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    border-radius: 12px;
    background: var(--chapter-tint, #f1f5f9);
    border: 1px solid var(--chapter-line, #dfe7f0);
}

.dnec-ecosystem__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: var(--chapter-muted, #52647d);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.dnec-ecosystem__tab i {
    font-size: 17px;
    color: inherit;
}

.dnec-ecosystem__tab small {
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    background: rgba(100, 116, 139, 0.14);
    color: inherit;
    font-variant-numeric: tabular-nums;
}

.dnec-ecosystem__tab:hover {
    color: var(--chapter-ink, #0f172a);
}

.dnec-ecosystem__tab.is-active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.dnec-ecosystem__tab.is-active small {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.dnec-ecosystem__category-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: var(--chapter-tint, #f5f8fc);
    border: 1px solid var(--chapter-line, #dfe7f0);
}

.dnec-ecosystem__category-banner i {
    font-size: 26px;
    color: #2563eb;
}

.dnec-ecosystem__category-banner strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--chapter-ink, #0f172a);
}

.dnec-ecosystem__category-banner span {
    font-size: 13px;
    color: var(--chapter-muted, #52647d);
}

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

.dnec-tech-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border-radius: 14px;
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--chapter-line, #dfe7f0);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dnec-tech-card[hidden] {
    display: none !important;
}

.dnec-tech-card:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.dnec-tech-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dnec-tech-card__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--chapter-tint, #f1f5f9);
}

.dnec-tech-card__icon-wrap img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.dnec-tech-card__icon-wrap .ki-duotone {
    font-size: 28px;
    color: #2563eb;
}

[data-bs-theme="dark"] .dnec-tech-card__icon-wrap .ki-duotone {
    color: #60a5fa;
}

.dnec-tech-card__meta {
    min-width: 0;
    flex: 1;
}

.dnec-tech-card__group-tag {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--chapter-muted, #64748b);
}

.dnec-tech-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--chapter-ink, #0f172a);
    margin: 2px 0 0;
    line-height: 1.25;
}

.dnec-tech-card__badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    white-space: nowrap;
}

[data-bs-theme="dark"] .dnec-tech-card__badge {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.18);
}

.dnec-tech-card__desc {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--chapter-muted, #52647d);
    margin: 0;
}

.dnec-ecosystem__note {
    border-top: 1px solid var(--chapter-line);
    padding-top: 24px;
    margin: 34px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--chapter-muted);
    font-size: 12.5px;
    line-height: 1.7;
}

.dnec-ecosystem__note i { color: #3b82f6; font-size: 22px; }
[data-bs-theme="dark"] .dnec-ecosystem__apple { filter: invert(1); }

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */

@media (max-width: 1199.98px) {
    .dnec-ecosystem__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dnec-public-header .dnec-site-menu-toggle { display: inline-flex; }
    .dnec-site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px max(20px, calc((100vw - 720px) / 2));
        background: #0b1a2e;
        border-top: 1px solid #2b405c;
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
    }
    .dnec-site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .dnec-site-nav > a { padding-block: 14px; }
    .dnec-site-submenu__links { position: static; width: 100%; box-shadow: none; }

    .dnec-suite__header { grid-template-columns: 1fr; gap: 16px; }
    .dnec-suite__flagships { grid-template-columns: 1fr; }
    .dnec-suite__grid { grid-template-columns: 1fr; }
    .dnec-ecosystem__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .dnec-public-header > .container { gap: 8px; padding-inline: 16px; }
    .dnec-public-header a[aria-label="Ir al inicio"] { gap: 7px !important; min-width: 0; }
    .dnec-public-header a[aria-label="Ir al inicio"] strong { font-size: 14px !important; }
    .dnec-public-header a[aria-label="Ir al inicio"] small { font-size: 7px !important; margin-top: 1px !important; white-space: nowrap; }
    .dnec-public-header a[aria-label="Ir al inicio"] img { width: 34px !important; height: 34px !important; }
    .dnec-public-header > .container > div { gap: 2px !important; flex-shrink: 0; }
    .dnec-public-header .btn-icon { width: 38px; height: 44px; }
    .dnec-public-header a[href*="admin/login"] { padding-inline: 10px !important; min-height: 40px; display: inline-flex; align-items: center; font-size: 12px !important; }
    .dnec-site-nav { padding: 12px 16px 20px; }
    .dnec-site-nav > a, .dnec-site-submenu > summary { min-height: 48px; font-size: 14px; }
    .dnec-site-submenu__links > a { padding: 13px 8px; font-size: 13px; gap: 10px; }
    .dnec-site-submenu__links small { font-size: 11px; }
    .dnec-site-submenu__links span { min-width: 0; overflow-wrap: anywhere; }
    .dnec-detail-heading { padding: 108px 0 28px; }
    .dnec-detail-heading h1 { font-size: clamp(26px, 7vw, 34px); overflow-wrap: anywhere; }

    .dnec-suite { padding: 48px 0 42px; }
    .dnec-suite-card--flagship { padding: 22px 18px; }
    .dnec-suite-card__telemetry-grid { grid-template-columns: 1fr; gap: 8px; }
    .dnec-suite-card__actions { flex-direction: column; align-items: stretch; }
    .dnec-suite-card__btn-main, .dnec-suite-card__btn-alt { justify-content: center; min-height: 46px; }

    .dnec-ecosystem { padding-block: 44px 36px; }
    .dnec-ecosystem__tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .dnec-ecosystem__tab { white-space: nowrap; flex-shrink: 0; }
    .dnec-ecosystem__grid { grid-template-columns: 1fr; }
    .dnec-service-link { min-height: 44px; }
}


/* ==========================================================================
   Territorial & Electoral Subdomains + Own Cloud Geo/WS Infrastructure Strip
   ========================================================================== */

.dnec-suite-card__subdomains {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.dnec-suite-card__subdomain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 13px;
    border-radius: 10px;
    background: rgba(6, 20, 33, 0.82);
    border: 1px solid rgba(52, 211, 153, 0.28);
    color: #f8fafc;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dnec-suite-card__subdomain:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: #34d399;
    transform: translateY(-2px);
    color: #ffffff;
}

.dnec-suite-card__subdomain small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #6ee7b7;
    margin-bottom: 2px;
}

.dnec-suite-card__subdomain strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
}

.dnec-suite-card__subdomain i {
    font-size: 16px !important;
    color: #34d399 !important;
    flex-shrink: 0;
}

.dnec-infra-strip {
    margin-bottom: 26px;
    padding: 26px 28px;
    border-radius: 18px;
    background: linear-gradient(125deg, #09192f 0%, #0d2342 55%, #081528 100%);
    border: 1px solid rgba(96, 165, 250, 0.28);
    box-shadow: 0 18px 40px rgba(7, 18, 34, 0.14);
    color: #f8fafc;
}

.dnec-infra-strip__intro {
    max-width: 820px;
    margin-bottom: 22px;
}

.dnec-infra-strip__title-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.dnec-infra-strip__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

.dnec-infra-strip__eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7dd3fc;
}

.dnec-infra-strip__intro h3 {
    color: #ffffff;
    font-size: clamp(19px, 2.1vw, 24px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.dnec-infra-strip__intro p {
    color: #cbd5e1 !important;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

.dnec-infra-strip__nodes {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.dnec-infra-node {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 15px;
    border-radius: 12px;
    background: rgba(15, 34, 61, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #f8fafc;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dnec-infra-node:hover {
    transform: translateY(-2px);
    background: rgba(30, 58, 98, 0.85);
    border-color: #60a5fa;
    color: #ffffff;
}

.dnec-infra-node__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(56, 189, 248, 0.14);
    color: #38bdf8;
    font-size: 20px;
}

.dnec-infra-node__info strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
    overflow-wrap: anywhere;
}

.dnec-infra-node__info span {
    display: block;
    font-size: 11px;
    line-height: 1.45;
    color: #94a3b8;
}

.dnec-infra-node__tag {
    align-self: flex-start;
    font-style: normal;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.18);
}

@media (max-width: 1199.98px) {
    .dnec-infra-strip__nodes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dnec-infra-strip__nodes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .dnec-suite-card__subdomains {
        grid-template-columns: 1fr;
    }
    .dnec-infra-strip {
        padding: 20px 16px;
    }
    .dnec-infra-strip__nodes {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Interactive Geo-Intelligence & Map Showcase (.dnec-geo-showcase)
   ========================================================================== */

.dnec-geo-showcase {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 26px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #09192f 0%, #0d2342 58%, #071426 100%);
    border: 1px solid rgba(56, 189, 248, 0.28);
    box-shadow: 0 20px 44px rgba(6, 16, 32, 0.16);
    color: #f8fafc;
}

.dnec-geo-showcase__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dnec-geo-showcase__copy h3 {
    color: #ffffff;
    font-size: clamp(21px, 2.3vw, 27px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 4px 0 12px;
}

.dnec-geo-showcase__copy > p {
    color: #cbd5e1 !important;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.dnec-geo-showcase__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.dnec-geo-showcase__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15, 34, 61, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.dnec-geo-showcase__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    font-size: 20px;
}

.dnec-geo-showcase__feature strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.dnec-geo-showcase__feature span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
}

.dnec-geo-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.dnec-geo-showcase__theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #062116 !important;
    background: linear-gradient(110deg, #38bdf8, #34d399) !important;
    border: 0 !important;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25);
}

.dnec-geo-showcase__theme-btn i {
    color: #042f2e !important;
    font-size: 17px !important;
}

.dnec-geo-showcase__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #93c5fd;
    text-decoration: none;
}

.dnec-geo-showcase__link:hover {
    color: #ffffff;
}

.dnec-geo-showcase__map {
    grid-column: auto !important;
    width: 100%;
    min-height: 410px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 991.98px) {
    .dnec-geo-showcase {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .dnec-geo-showcase__map {
        min-height: 320px !important;
    }
}

@media (max-width: 575.98px) {
    .dnec-geo-showcase {
        padding: 18px 16px;
    }
    .dnec-geo-showcase__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .dnec-geo-showcase__theme-btn,
    .dnec-geo-showcase__link {
        justify-content: center;
        min-height: 44px;
    }
}


/* ==========================================================================
   Interleaved Light / Dark Sections (Ecosistema Light -> Cartografía Dark)
   ========================================================================== */

.dnec-suite.dnec-section--light {
    padding: 80px 0 72px;
    background: var(--chapter-tint, #f4f7fb);
    border-bottom: 1px solid var(--chapter-line, #dfe7f0);
}

.dnec-suite.dnec-section--light .dnec-suite-card--flagship {
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--chapter-line, #d8e3f0);
    color: var(--chapter-ink, #0f172a);
    box-shadow: 0 18px 42px rgba(15, 37, 66, 0.06);
}

[data-bs-theme="dark"] .dnec-suite.dnec-section--light .dnec-suite-card--flagship {
    background: #132338;
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.dnec-suite.dnec-section--light .dnec-suite-card--platevision {
    border-top: 4px solid #2563eb;
}

.dnec-suite.dnec-section--light .dnec-suite-card--surveys {
    border-top: 4px solid #10b981;
}

.dnec-suite.dnec-section--light .dnec-suite-card__badge--cyan {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.22);
}

.dnec-suite.dnec-section--light .dnec-suite-card__badge--emerald {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

[data-bs-theme="dark"] .dnec-suite.dnec-section--light .dnec-suite-card__badge--cyan {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.18);
}

[data-bs-theme="dark"] .dnec-suite.dnec-section--light .dnec-suite-card__badge--emerald {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.18);
}

.dnec-suite.dnec-section--light .dnec-suite-card__metric {
    color: var(--chapter-muted, #64748b);
}

.dnec-suite.dnec-section--light .dnec-suite-card__body h3 {
    color: var(--chapter-ink, #0f172a);
}

.dnec-suite.dnec-section--light .dnec-suite-card__subtitle {
    color: #2563eb;
}

.dnec-suite.dnec-section--light .dnec-suite-card--surveys .dnec-suite-card__subtitle {
    color: #059669;
}

[data-bs-theme="dark"] .dnec-suite.dnec-section--light .dnec-suite-card__subtitle {
    color: #60a5fa;
}

[data-bs-theme="dark"] .dnec-suite.dnec-section--light .dnec-suite-card--surveys .dnec-suite-card__subtitle {
    color: #34d399;
}

.dnec-suite.dnec-section--light .dnec-suite-card__desc {
    color: var(--chapter-muted, #475569) !important;
}

.dnec-suite.dnec-section--light .dnec-suite-card__pills span {
    color: var(--chapter-ink, #1e293b);
    background: var(--chapter-tint, #f1f5f9);
    border-color: var(--chapter-line, #e2e8f0);
}

.dnec-suite.dnec-section--light .dnec-suite-card__subdomain {
    background: var(--chapter-tint, #f8fafc);
    border: 1px solid var(--chapter-line, #dce6f2);
    color: var(--chapter-ink, #0f172a);
}

.dnec-suite.dnec-section--light .dnec-suite-card__subdomain small {
    color: #059669;
}

[data-bs-theme="dark"] .dnec-suite.dnec-section--light .dnec-suite-card__subdomain small {
    color: #34d399;
}

.dnec-suite.dnec-section--light .dnec-suite-card__subdomain strong {
    color: var(--chapter-ink, #0f172a);
}

.dnec-suite.dnec-section--light .dnec-suite-card__btn-alt {
    color: var(--chapter-ink, #1e293b);
    background: var(--chapter-tint, #f1f5f9);
    border-color: var(--chapter-line, #cbd5e1);
}

.dnec-suite.dnec-section--light .dnec-suite-card__btn-alt:hover {
    color: #2563eb;
    background: #e2e8f0;
}

/* Full-width Dark Band for Interactive Map */
.dnec-geo-band {
    position: relative;
    overflow: hidden;
    padding: 84px 0;
    background: radial-gradient(circle at 80% 20%, #102a4c 0%, #09182e 55%, #061020 100%);
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    color: #f8fafc;
}

.dnec-geo-band__glow {
    position: absolute;
    top: -120px;
    right: 10%;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 70%);
    pointer-events: none;
}

.dnec-geo-band .dnec-geo-showcase {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 42px;
    align-items: center;
}

.dnec-geo-band .dnec-geo-showcase__copy h2 {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 6px 0 16px;
}

.dnec-geo-band .dnec-geo-showcase__map {
    min-height: 450px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(96, 165, 250, 0.35) !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45) !important;
}

@media (max-width: 991.98px) {
    .dnec-geo-band {
        padding: 58px 0;
    }
    .dnec-geo-band .dnec-geo-showcase {
        gap: 28px;
    }
    .dnec-geo-band .dnec-geo-showcase__map {
        min-height: 350px !important;
    }
}

/* ==========================================================================
   Refinamientos de portada (iconos, móvil y mapa)
   ========================================================================== */

/* Los iconos Keenicons fijan 1rem; heredan el tamaño de su contenedor. */
.dnec-suite-mini__icon > i,
.dnec-geo-showcase__feature-icon > i { font-size: inherit; color: inherit; }
/* La regla de texto ".dnec-geo-showcase__feature span" también alcanzaba al contenedor del icono. */
.dnec-geo-showcase__feature .dnec-geo-showcase__feature-icon { display: inline-flex; font-size: 20px; line-height: 1; color: #38bdf8; }

@media (max-width: 575.98px) {
    /* Margen lateral cómodo en pantallas pequeñas (antes 9px). */
    .dnec-landing main > section > .container,
    .dnec-landing main > section > .container.position-relative,
    .dnec-ai-hero > .container,
    .dnec-landing-footer .container { padding-inline: 16px; }

    /* Mapa: evita que el selector de tema tape las etiquetas superiores. */
    .dnec-geo-showcase__map .dnec-landing__map-control > span + span { display: none; }
    .dnec-geo-showcase__map .dnec-landing__map-theme { padding: 8px; }
    .dnec-geo-showcase__map .dnec-landing__map-theme span { display: none; }

    /* Tecnologías: cuadrícula compacta de dos columnas en lugar de 16 tarjetas apiladas. */
    .dnec-ecosystem__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dnec-tech-card { padding: 14px; }
    .dnec-tech-card__head { gap: 10px; margin-bottom: 0; }
    .dnec-tech-card__badge,
    .dnec-tech-card__group-tag,
    .dnec-tech-card__desc { display: none; }
    .dnec-tech-card__head h3 { margin: 0; font-size: 15px; }
}
