﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Work+Sans:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap');


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-font-tittles: 'Montserrat', sans-serif;
    --primary-font: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color-scheme: light;
    --min-morado: #512DA8;
    --min-morado-oscuro: #311B92;
    --min-footer: #512DA8;
    --min-acento: #F7D000;
    --gov-bar-bg: #0D0D2B;
}

html, body {
    min-height: 100vh;
    background: #fff;
    color: #1a1a1a;
    overflow-x: hidden;
    max-width: 100%;
}

#root {
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Layout ──────────────────────────────────────────────── */
.page-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Hamburger (oculto en desktop) ─────────────────────────── */
.hdr-main__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    margin-left: auto;
    transition: background 0.2s;
}

    .hdr-main__burger:hover {
        background: rgba(255,255,255,0.22);
    }

    .hdr-main__burger span {
        display: block;
        width: 20px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.2s ease;
        transform-origin: center;
    }

.hdr-main__burger--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hdr-main__burger--open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hdr-main__burger--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Barra GOV.CO ────────────────────────────────────────── */
.hdr-govbar {
    background: var(--gov-bar-bg);
    padding: 4px 0;
    height: 50px;
    display: flex;
    align-items: center;
}

.hdr-govbar__inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hdr-govbar__govco {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.hdr-govbar__govco-logo {
    height: 50px;
    width: auto;
}

.hdr-govbar__sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
}

.hdr-govbar__colombiaco {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.15s;
}

    .hdr-govbar__colombiaco:hover {
        color: #fff;
    }

/* ─── Encabezado principal ────────────────────────────────── */
.hdr-main {
    background: var(--min-morado);
    padding: 20px 0;
}

.hdr-main__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hdr-main__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.hdr-main__min-logo {
    height: 100px;
    width: auto;
}

.hdr-main__search {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

    .hdr-main__search input {
        flex: 1;
        border: none;
        outline: none;
        padding: 10px 20px;
        font-size: 15px;
        color: #333;
        background: transparent;
        font-family: inherit;
    }

        .hdr-main__search input::placeholder {
            color: #aaa;
        }

    .hdr-main__search button {
        background: #1a1a2e;
        border: none;
        cursor: pointer;
        padding: 0;
        width: 44px;
        height: 44px;
        margin: 2px 2px 2px 0;
        border-radius: 50%;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
        flex-shrink: 0;
    }

        .hdr-main__search button:hover {
            background: #000;
        }

        .hdr-main__search button svg {
            width: 18px;
            height: 18px;
        }

.hdr-main__right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.hdr-main__social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hdr-main__social-link {
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

    .hdr-main__social-link:hover {
        color: #fff;
    }

    .hdr-main__social-link svg {
        width: 18px;
        height: 18px;
    }

.hdr-main__mapa {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    transition: color 0.15s;
    border-left: 1px solid rgba(255,255,255,0.25);
    padding-left: 14px;
}

    .hdr-main__mapa:hover {
        color: #fff;
    }

/* ─── Barra de navegación ─────────────────────────────────── */
.hdr-nav {
    background: var(--min-morado);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hdr-nav__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hdr-nav__link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

    .hdr-nav__link:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

.hdr-nav__link--active {
    font-weight: 700;
    color: #fff;
    border-bottom-color: #fff;
}

.hdr-nav__link--pill {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 6px 16px;
    margin: 8px 6px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
}

    .hdr-nav__link--pill:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.95);
    }

.hdr-nav__chevron {
    width: 9px;
    height: 5px;
    opacity: 0.7;
    flex-shrink: 0;
}

/* ─── Barra flotante de accesibilidad ─────────────────────── */
.acc-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--min-morado);
    border-radius: 10px 0 0 10px;
    padding: 8px 6px;
    box-shadow: -3px 0 16px rgba(0,0,0,0.25);
}

.acc-bar__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #333;
    transition: background 0.15s, color 0.15s, transform 0.1s;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
}

    .acc-bar__btn:hover {
        background: #ede9f8;
        color: var(--min-morado);
        transform: scale(1.05);
    }

.acc-bar__btn--active {
    background: var(--min-morado-oscuro);
    color: #fff;
}

    .acc-bar__btn--active:hover {
        background: var(--min-morado-oscuro);
        color: #fff;
    }

.acc-bar__btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.acc-bar__btn--text {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.acc-bar__btn--sm {
    font-size: 13px;
}

.acc-bar__btn sup {
    font-size: 9px;
    vertical-align: super;
}

/* Alto contraste */
.high-contrast body {
    background: #000 !important;
    color: #fff !important;
}

.high-contrast a {
    color: #ff0 !important;
}

/* ─── Placeholder de contenido ─────────────────────────────── */
.page-placeholder {
    background: #fff;
    min-height: 1200px;
    /* mobile: altura reducida para que las barras sean visibles */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
    border-bottom: 1px solid #f0f0f0;
}

.page-placeholder__text {
    font-size: 14px;
    color: #bbb;
    font-style: italic;
}

/* ─── Separador versión estática ───────────────────────────── */
.page-version-sep {
    background: #fff;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 28px;
    border-bottom: 1px solid #f0f0f0;
}

.page-version-sep__text {
    font-size: 14px;
    color: #bbb;
    font-style: italic;
}

.page-version-sep__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(180, 160, 220, 0.55);
}

/* ─── Demo helpers ────────────────────────────────────────── */
.demo-content {
    display: none;
}

.demo-placeholder {
    display: none;
}

.demo-label {
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 24px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.demo-label--gap {
    margin-top: 32px;
    border-top: 1px dashed #e0e0e0;
}

.demo-badge {
    background: var(--min-morado);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 99px;
    letter-spacing: 0.5px;
}

.demo-spacer {
    height: 48px;
}

/* ─── PROPUESTA D — Spotlight ────────────────────────────── */
.tirilla-d {
    background: #0f0a1e;
    padding: 32px 0;
}

.tirilla-d__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 36px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .tirilla-d__inner::-webkit-scrollbar {
        display: none;
    }

    /* dim todos cuando alguno tiene hover */
    .tirilla-d__inner:has(.tirilla-d__item:hover) .tirilla-d__item:not(:hover) {
        opacity: 0.25;
        filter: grayscale(1);
    }

.tirilla-d__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

    .tirilla-d__item:hover {
        filter: grayscale(0);
        opacity: 1;
        transform: translateY(-6px) scale(1.12);
    }

.tirilla-d__logo-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tirilla-d__placeholder {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    color: #fff;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.tirilla-d__img {
    width: 110px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.tirilla-d__glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    filter: blur(18px);
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tirilla-d__item:hover .tirilla-d__glow {
    opacity: 0.7;
}

.tirilla-d__nombre {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-align: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tirilla-d__item:hover .tirilla-d__nombre {
    opacity: 1;
    transform: translateY(0);
}

/* ─── PROPUESTA G — Ghost reveal ─────────────────────────── */
.tirilla-g {
    background: #0f0a1e;
    padding: 36px 0;
}

.tirilla-g__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .tirilla-g__inner::-webkit-scrollbar {
        display: none;
    }

.tirilla-g__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-decoration: none;
    flex-shrink: 0;
    opacity: 0.1;
    transition: opacity 0.35s ease;
}

    .tirilla-g__item:hover {
        opacity: 1;
    }

.tirilla-g__logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tirilla-g__placeholder {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.tirilla-g__img {
    width: 110px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.tirilla-g__glow {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: var(--glow-color, #fff);
    opacity: 0;
    filter: blur(22px);
    transition: opacity 0.35s ease;
    z-index: 0;
    pointer-events: none;
}

.tirilla-g__item:hover .tirilla-g__glow {
    opacity: 0.45;
}

.tirilla-g__nombre {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-align: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.tirilla-g__item:hover .tirilla-g__nombre {
    opacity: 1;
    transform: translateY(0);
}

/* ─── PROPUESTA F — Magnetic dock ────────────────────────── */
.tirilla-f {
    background: #fff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 20px 0 16px;
    user-select: none;
}
/* ╔══════════════════════════════════════════════════════════════
   ║  TIRILLA-F — PARÁMETROS CSS AJUSTABLES
   ║  Fijos:     slot 96×50px  · SVG max 92×44px  · gap 20px
   ║  Carrusel:  slot 66×38px  · SVG max 62×34px  · gap 16px
   ║  Nombre fijo: 9px | Nombre carrusel: 8px
   ╚══════════════════════════════════════════════════════════════ */

.tirilla-f__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    height: 158px;
    overflow-x: clip;
    overflow-y: visible;
}

/* ── sección fija: SINIC · SIPA · SIA · CIN ───────────────── */
.tirilla-f__fixed {
    display: flex;
    align-items: center;
    gap: 8px; /* ← espacio entre logos fijos */
    flex-shrink: 0;
}

/* slot de cada logo fijo */
.tirilla-f__item {
    position: relative;
    flex: 0 0 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

/* contenedor del logo — alineado al fondo para que todos "apoyen" en la misma línea */
.tirilla-f__logo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    transition: transform .18s ease, box-shadow .18s ease;
    will-change: transform;
}

/* sigla como logo (ej. CIN) */
.tirilla-f__sigla {
    font-size: 14px; /* ← tamaño de la sigla en fijos */
    font-weight: 900;
    color: #fff;
    letter-spacing: 1.5px;
    white-space: nowrap;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.tirilla-f__sigla--active {
    text-shadow: 0 0 18px rgba(61, 26, 120, 0.4), 0 0 36px rgba(61, 26, 120, 0.18);
}

/* SVG inline en fijos */
.tirilla-f__svg-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px; /* ← ancho del SVG en fijos */
    height: 36px; /* ← alto del SVG en fijos */
    color: #c5bedd;
    transition: color 0.25s ease, filter 0.25s ease;
}

    .tirilla-f__svg-logo svg {
        max-width: 104px; /* ← max-width del SVG en fijos */
        max-height: 36px; /* ← max-height del SVG en fijos */
        width: auto;
        height: auto;
        display: block;
        color: white;
    }

.tirilla-f__svg-logo--active {
    color: var(--min-morado);
    filter: drop-shadow(0 0 8px rgba(61, 26, 120, 0.45)) drop-shadow(0 0 22px rgba(61, 26, 120, 0.2));
}

/* descripción bajo el logo fijo — absoluta para no afectar la altura del ítem */
.tirilla-f__nombre {
    margin-top: 10px;
    width: 110px;
    height: 25px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    color: #666;
    transition: color .2s ease;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tirilla-f__nombre--active {
    color:#fff;
}

/* ── divisor ───────────────────────────────────────────────── */
.tirilla-f__divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom, transparent 10%, #ddd8f0 40%, #ddd8f0 60%, transparent 90%);
    flex-shrink: 0;
    margin: 0 20px; /* ← espacio a cada lado del divisor */
}

/* ── wrappers de sección (desktop: pass-through) ───────────── */
.tirilla-f__fixed-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.tirilla-f__carousel-section {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.tirilla-f__mobile-label {
    display: none;
}

/* ── swipe hint (solo en mobile) ───────────────────────────── */
.tirilla-f__swipe-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(180, 160, 220, 0.42);
    pointer-events: none;
}

.tirilla-f--dark .tirilla-f__swipe-hint {
    color: rgba(210, 180, 255, 0.45);
}

@keyframes swipe-nudge {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }

    50% {
        opacity: 0.9;
        transform: translateX(-4px);
    }
}

.tirilla-f__swipe-hint::before {
    content: '⟵';
    display: inline-block;
    animation: swipe-nudge 1.8s ease-in-out infinite;
}

.tirilla-f__swipe-hint::after {
    content: '⟶';
    display: inline-block;
    animation: swipe-nudge 1.8s ease-in-out infinite reverse;
}

/* ── carrusel ──────────────────────────────────────────────── */
.tirilla-f__carousel-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    height: 100%;
}

.tirilla-f__arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 28px;
    color: #c5bedd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
    padding: 0;
    padding-bottom: 15px;
}

    .tirilla-f__arrow:hover {
        color: var(--min-morado);
        background: rgba(61,26,120,0.06);
    }

.tirilla-f__carousel {
    display: flex;
    align-items: flex-end;
    gap: 20px; /* ← espacio entre ítems del carrusel */
    overflow-x: scroll; /* scroll (no auto): siempre crea scroll container sin importar el contenido */
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
    height: 100%;
    align-items: center;
    padding: 0 4px;
    box-sizing: border-box;
}

    .tirilla-f__carousel::-webkit-scrollbar {
        display: none;
    }

/* ítems del carrusel — más pequeños que los fijos */
.tirilla-f__item--carousel {
    position: relative;
    flex: 0 0 120px; /* ← ancho del slot en carrusel */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.tirilla-f__logo-wrap--carousel {
    width: 120px; /* ← ancho área logo carrusel */
    height: 60px; /* ← alto área logo carrusel */
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
    will-change: transform;
}

.tirilla-f__svg-logo--carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 116px; /* ← ancho SVG en carrusel */
    height: 58px; /* ← alto SVG en carrusel */
    color: #c5bedd;
    transition: color 0.25s ease, filter 0.25s ease;
}

    .tirilla-f__svg-logo--carousel svg {
        max-width: 116px;
        max-height: 58px;
        width: auto;
        height: auto;
        display: block;
    }

.tirilla-f__sigla--carousel {
    font-size: 15px; /* ← tamaño sigla en carrusel */
    font-weight: 800;
    color: #c5bedd;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.tirilla-f__nombre--carousel {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 90px; /* ← ancho texto descripción en carrusel */
    text-align: center;
    font-size: 8px; /* ← tamaño texto descripción en carrusel */
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.2px;
    color: transparent;
    transition: color 0.22s ease;
    pointer-events: none;
    white-space: normal;
}

/* hover en ítems del carrusel */
.tirilla-f__item--carousel:hover .tirilla-f__logo-wrap--carousel {
    transform: scale(1.5);
}

.tirilla-f__item--carousel:hover .tirilla-f__nombre--carousel {
    color: var(--min-morado);
}

.tirilla-f__item--carousel:hover .tirilla-f__sigla--carousel {
    color: var(--min-morado);
    text-shadow: 0 0 14px rgba(61, 26, 120, 0.45), 0 0 30px rgba(61, 26, 120, 0.18);
}

.tirilla-f__item--carousel:hover .tirilla-f__svg-logo--carousel {
    color: var(--min-morado);
    filter: drop-shadow(0 0 8px rgba(61, 26, 120, 0.45)) drop-shadow(0 0 22px rgba(61, 26, 120, 0.2));
}

/* ── etiquetas de sección ──────────────────────────────────── */
/* ── fila de títulos encima del strip ─────────────────────── */
.tirilla-f__titles {
    display: flex;
    align-items: flex-end;
    padding: 0 64px 6px;
    gap: 0;
}

.tirilla-f__title-fixed {
    flex-shrink: 0;
    width: 480px; /* aprox. ancho de la sección fija a 1440px */
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: rgba(180, 160, 220, 0.5);
    pointer-events: none;
    white-space: nowrap;
    line-height: 1.9rem;
    color: #3366CC;
}

.tirilla-f__title-carousel {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(180, 160, 220, 0.5);
    pointer-events: none;
    white-space: nowrap;
    line-height: 1.9rem;
    color: #3366CC;
    font-weight: bolder;
}

.tirilla-f--dark .tirilla-f__title-fixed,
.tirilla-f--dark .tirilla-f__title-carousel {
    color: rgba(210, 180, 255, 0.72);
}

/* ─── TIRILLA-F DARK VARIANT ─────────────────────────────────
   Misma estructura, mismo comportamiento, fondo oscuro.
   Hover/active: blanco en vez de morado.
   ─────────────────────────────────────────────────────────── */
.tirilla-f--dark {
    background: #0D0B1A;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

    .tirilla-f--dark .tirilla-f__divider {
        background: linear-gradient(to bottom, transparent 10%, rgba(210, 180, 255, 0.5) 40%, rgba(210, 180, 255, 0.5) 60%, transparent 90% );
    }

    /* logos fijos — estado reposo */
    .tirilla-f--dark .tirilla-f__svg-logo {
        color: rgba(210, 180, 255, 0.72);
    }

    .tirilla-f--dark .tirilla-f__sigla {
        color: rgba(210, 180, 255, 0.72);
    }

    .tirilla-f--dark .tirilla-f__nombre {
        color: transparent;
    }

    /* logos fijos — estado activo (dock hover) */
    .tirilla-f--dark .tirilla-f__svg-logo--active {
        color: #e8d8ff;
        filter: drop-shadow(0 0 8px rgba(210, 180, 255, 0.8)) drop-shadow(0 0 24px rgba(210, 180, 255, 0.4));
    }

    .tirilla-f--dark .tirilla-f__sigla--active {
        color: #e8d8ff;
        text-shadow: 0 0 16px rgba(210, 180, 255, 0.8), 0 0 36px rgba(210, 180, 255, 0.4);
    }

    .tirilla-f--dark .tirilla-f__nombre--active {
        color: rgba(210, 180, 255, 0.9);
    }

    /* carrusel — estado reposo */
    .tirilla-f--dark .tirilla-f__svg-logo--carousel {
        color: rgba(210, 180, 255, 0.72);
    }

    .tirilla-f--dark .tirilla-f__sigla--carousel {
        color: rgba(210, 180, 255, 0.72);
    }

    .tirilla-f--dark .tirilla-f__nombre--carousel {
        color: transparent;
    }

    /* carrusel — hover */
    .tirilla-f--dark .tirilla-f__item--carousel:hover .tirilla-f__svg-logo--carousel {
        color: #e8d8ff;
        filter: drop-shadow(0 0 8px rgba(210, 180, 255, 0.8)) drop-shadow(0 0 24px rgba(210, 180, 255, 0.4));
    }

    .tirilla-f--dark .tirilla-f__item--carousel:hover .tirilla-f__sigla--carousel {
        color: #e8d8ff;
        text-shadow: 0 0 14px rgba(210, 180, 255, 0.8), 0 0 30px rgba(210, 180, 255, 0.4);
    }

    .tirilla-f--dark .tirilla-f__item--carousel:hover .tirilla-f__nombre--carousel {
        color: rgba(210, 180, 255, 0.9);
    }

    /* flechas */
    .tirilla-f--dark .tirilla-f__arrow {
        color: rgba(210, 180, 255, 0.72);
    }

        .tirilla-f--dark .tirilla-f__arrow:hover {
            color: #e8d8ff;
            background: rgba(210, 180, 255, 0.1);
        }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — orden: 4K → 2K → xl → lg → tablet → mobile
   ═══════════════════════════════════════════════════════════ */

/* ── 4K ≥ 2560px ─────────────────────────────────────────── */
@media (min-width: 2560px) {
    /* Header */
    .hdr-govbar__inner,
    .hdr-main__inner,
    .hdr-nav__inner {
        max-width: 2400px;
    }

    .hdr-govbar {
        height: 72px;
    }

    .hdr-govbar__govco-logo {
        height: 66px;
    }

    .hdr-main__min-logo {
        height: 160px;
    }

    .hdr-main {
        padding: 32px 0;
    }

    .hdr-nav__link {
        font-size: 15px;
        padding: 14px 18px;
    }
    /* Footer */
    .footer-min__inner {
        max-width: 2400px;
    }

    .footer-min__nombre {
        font-size: 18px;
    }

    .footer-min__dir,
    .footer-min__col p,
    .footer-min__col a {
        font-size: 15px;
    }

    .footer-min__col h4 {
        font-size: 17px;
    }
    /* TirillaF */
    .tirilla-f__titles {
        padding: 0 40px 8px;
        margin: 0 5rem;
    }

    .tirilla-f__title-fixed {
        width: 872px;
        font-size: 15px;
    }

    .tirilla-f__title-carousel {
        font-size: 15px;
    }

    .tirilla-f__inner {
        max-width: 2400px;
        height: 240px;
    }

    .tirilla-f__fixed {
        gap: 18px;
    }

    .tirilla-f__item {
        flex: 0 0 192px;
    }
/*
    .tirilla-f__logo-wrap {
        width: 192px;
        height: 72px;
    }*/

    .tirilla-f__svg-logo {
        width: 188px;
        height: 68px;
    }

        .tirilla-f__svg-logo svg {
            max-width: 188px;
            max-height: 68px;
            color: white;
        }


    .tirilla-f__nombre {
        font-size: 13px;
        width: 200px;
    }

    .tirilla-f__divider {
        margin: 0 48px;
    }

    .tirilla-f__arrow {
        width: 60px;
        height: 60px;
        font-size: 44px;
    }

    .tirilla-f__carousel {
        gap: 36px;
    }

    .tirilla-f__item--carousel {
        flex: 0 0 200px;
    }

    .tirilla-f__logo-wrap--carousel {
        width: 200px;
        height: 100px;
    }

    .tirilla-f__svg-logo--carousel {
        width: 196px;
        height: 96px;
    }

        .tirilla-f__svg-logo--carousel svg {
            max-width: 196px;
            max-height: 96px;
        }

    .tirilla-f__sigla--carousel {
        font-size: 28px;
    }

    .tirilla-f__nombre--carousel {
        font-size: 11px;
        width: 210px;
    }
}

/* ── 2K: 1920–2559px ─────────────────────────────────────── */
@media (min-width: 1920px) and (max-width: 2559px) {
    /* Header */
    .hdr-govbar__inner,
    .hdr-main__inner,
    .hdr-nav__inner {
        max-width: 1880px;
    }

    .hdr-govbar {
        height: 62px;
    }

    .hdr-govbar__govco-logo {
        height: 58px;
    }

    .hdr-main__min-logo {
        height: 128px;
    }

    .hdr-main {
        padding: 26px 0;
    }

    .hdr-nav__link {
        font-size: 13.5px;
        padding: 11px 16px;
    }
    /* Footer */
    .footer-min__inner {
        max-width: 1880px;
    }
    /* TirillaF */
    .tirilla-f__titles {
        padding: 0 36px 6px;
    }

    .tirilla-f__title-fixed {
        width: 616px;
        font-size: 13px;
    }

    .tirilla-f__title-carousel {
        font-size: 13px;
    }

    .tirilla-f__inner {
        max-width: 1880px;
        height: 196px;
    }

    .tirilla-f__fixed {
        gap: 12px;
    }

    .tirilla-f__item {
        flex: 0 0 138px;
    }

  /*  .tirilla-f__logo-wrap {
        width: 138px;
        height: 52px;
    }*/

    .tirilla-f__svg-logo {
        width: 134px;
        height: 48px;
    }

        .tirilla-f__svg-logo svg {
            max-width: 134px;
            max-height: 48px;
            color: white;
        }

    .tirilla-f__sigla {
        font-size: 22px;
    }

    .tirilla-f__nombre {
        font-size: 10px;
        width: 148px;
    }

    .tirilla-f__divider {
        margin: 0 30px;
    }

    .tirilla-f__arrow {
        width: 46px;
        height: 46px;
        font-size: 36px;
    }

    .tirilla-f__carousel {
        gap: 28px;
    }

    .tirilla-f__item--carousel {
        flex: 0 0 155px;
    }

    .tirilla-f__logo-wrap--carousel {
        width: 155px;
        height: 78px;
    }

    .tirilla-f__svg-logo--carousel {
        width: 151px;
        height: 74px;
    }

        .tirilla-f__svg-logo--carousel svg {
            max-width: 151px;
            max-height: 74px;
        }

    .tirilla-f__sigla--carousel {
        font-size: 20px;
    }

    .tirilla-f__nombre--carousel {
        font-size: 9px;
        width: 164px;
    }
}

/* ── xl: 1280–1439px ─────────────────────────────────────── */
@media (min-width: 1280px) and (max-width: 1439px) {
    .tirilla-f__titles {
        padding: 0 28px 5px;
    }

    .tirilla-f__title-fixed {
        width: 425px;
        font-size: 10px;
    }

    .tirilla-f__title-carousel {
        font-size: 10px;
    }

    .tirilla-f__inner {
        height: 144px;
    }

    .tirilla-f__fixed {
        gap: 7px;
    }

    .tirilla-f__item {
        flex: 0 0 98px;
    }

    .tirilla-f__logo-wrap {
        width: 56px;
        height: 56px;
    }

    .tirilla-f__svg-logo {
        width: 94px;
        height: 32px;
    }

        .tirilla-f__svg-logo svg {
            max-width: 94px;
            max-height: 32px;
            color: white;
        }

    .tirilla-f__sigla {
        font-size: 16px;
    }

    .tirilla-f__nombre {
        font-size: 8.5px;
        width: 104px;
    }

    .tirilla-f__divider {
        margin: 0 16px;
    }

    .tirilla-f__arrow {
        width: 32px;
        height: 32px;
        font-size: 24px;
        padding-bottom: 15px;
    }

    .tirilla-f__carousel {
        gap: 18px;
    }

    .tirilla-f__item--carousel {
        flex: 0 0 108px;
    }

    .tirilla-f__logo-wrap--carousel {
        width: 108px;
        height: 54px;
    }

    .tirilla-f__svg-logo--carousel {
        width: 104px;
        height: 50px;
    }

        .tirilla-f__svg-logo--carousel svg {
            max-width: 104px;
            max-height: 50px;
        }

    .tirilla-f__sigla--carousel {
        font-size: 15px;
    }

    .tirilla-f__nombre--carousel {
        font-size: 7.5px;
        width: 116px;
    }
}

/* ── lg: 1024–1279px ─────────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1279px) {
    .tirilla-f__titles {
        padding: 0 24px 4px;
    }

    .tirilla-f__title-fixed {
        width: 346px;
        font-size: 9px;
    }

    .tirilla-f__title-carousel {
        font-size: 9px;
        line-height: 1.9rem;
        color: #3366CC;
        font-weight: bolder;
        }

    .tirilla-f__inner {
        height: 128px;
    }

    .tirilla-f__fixed {
        gap: 6px;
    }

    .tirilla-f__item {
        flex: 0 0 82px;
    }

    .tirilla-f__logo-wrap {
        width: 52px;
        height: 52px;
    }

    .tirilla-f__svg-logo {
        width: 78px;
        height: 26px;
    }

        .tirilla-f__svg-logo svg {
            max-width: 78px;
            max-height: 26px;
            color: white;
        }

    .tirilla-f__sigla {
        font-size: 14px;
    }

    .tirilla-f__nombre {
        font-size: 8px;
        width: 90px;
    }

    .tirilla-f__divider {
        margin: 0 12px;
    }

    .tirilla-f__arrow {
        width: 28px;
        height: 28px;
        font-size: 22px;
    }

    .tirilla-f__carousel {
        gap: 14px;
    }

    .tirilla-f__item--carousel {
        flex: 0 0 90px;
    }

    .tirilla-f__logo-wrap--carousel {
        width: 90px;
        height: 46px;
    }

    .tirilla-f__svg-logo--carousel {
        width: 86px;
        height: 42px;
    }

        .tirilla-f__svg-logo--carousel svg {
            max-width: 86px;
            max-height: 42px;
        }

    .tirilla-f__sigla--carousel {
        font-size: 13px;
    }

    .tirilla-f__nombre--carousel {
        font-size: 7px;
        width: 98px;
    }
}

/* ── Tablet: 768–1023px ──────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Header */
    .hdr-govbar {
        height: 44px;
        padding: 3px 0;
    }

    .hdr-govbar__govco-logo {
        height: 38px;
    }

    .hdr-main {
        padding: 14px 0;
    }

    .hdr-main__inner {
        padding: 0 20px;
        gap: 16px;
    }

    .hdr-main__min-logo {
        height: 72px;
    }

    .hdr-main__social {
        display: none;
    }

    .hdr-main__mapa {
        display: none;
    }

    .hdr-nav__inner {
        padding: 0 16px;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .hdr-nav__link {
        font-size: 12px;
        padding: 8px 10px;
        white-space: nowrap;
    }
    /* TirillaF */
    .tirilla-f__titles {
        padding: 0 16px 3px;
    }

    .tirilla-f__title-fixed {
        width: 284px;
        font-size: 8px;
        line-height: 1.9rem;
        color: #3366CC;
        font-weight: bolder;
    }

    .tirilla-f__title-carousel {
        font-size: 8px;
    }

    .tirilla-f__inner {
        height: 100px;
        padding: 0 12px;
    }

    .tirilla-f__fixed {
        gap: 5px;
    }

    .tirilla-f__item {
        flex: 0 0 66px;
    }

    .tirilla-f__logo-wrap {
        width: 50px;
        height: 50px;
    }

    .tirilla-f__svg-logo {
        width: 62px;
        height: 20px;
    }

        .tirilla-f__svg-logo svg {
            max-width: 62px;
/*            max-height: 20px;
*/            color: white;
        }

    .tirilla-f__sigla {
        font-size: 11px;
    }

    .tirilla-f__nombre {
        font-size: 7px;
        width: 72px;
    }

    .tirilla-f__divider {
        margin: 0 10px;
    }

    .tirilla-f__arrow {
        width: 24px;
        height: 24px;
        font-size: 18px;
        padding-bottom: 15px;
    }

    .tirilla-f__carousel {
        gap: 10px;
    }

    .tirilla-f__item--carousel {
        flex: 0 0 72px;
    }

    .tirilla-f__logo-wrap--carousel {
        width: 72px;
        height: 36px;
    }

    .tirilla-f__svg-logo--carousel {
        width: 68px;
        height: 32px;
    }

        .tirilla-f__svg-logo--carousel svg {
            max-width: 68px;
            max-height: 32px;
        }

    .tirilla-f__sigla--carousel {
        font-size: 11px;
    }

    .tirilla-f__nombre--carousel {
        font-size: 6.5px;
        width: 78px;
    }
    /* Footer */
    .footer-min__inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px 0;
        padding: 0 20px;
    }

    .footer-min__logos-col {
        border-right: none;
        padding-right: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255,255,255,0.18);
        grid-column: 1 / -1;
    }

    .footer-min__col {
        padding: 0 16px;
    }
    /* Accesibilidad */
    .acc-bar {
        gap: 5px;
        padding: 6px 5px;
    }

    .acc-bar__btn {
        width: 34px;
        height: 34px;
    }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — layout vertical: fija arriba · carrusel abajo
   L ≤ 767px · M ≤ 375px · S ≤ 320px
   ══════════════════════════════════════════════════════════════ */

/* ── Mobile base: ≤ 767px ───────────────────────────────────── */
@media (max-width: 767px) {

    /* ── Prevenir scroll horizontal ── */
    .page-layout {
        overflow-x: hidden;
    }

    /* ── Header ── */
    .hdr-govbar {
        height: 36px;
        padding: 2px 0;
    }

    .hdr-govbar__govco-logo {
        height: 28px;
    }

    .hdr-govbar__inner {
        padding: 0 12px;
    }

    .hdr-main {
        padding: 8px 0;
    }

    .hdr-main__inner {
        padding: 0 12px;
        gap: 8px;
    }

    .hdr-main__min-logo {
        height: 48px;
    }

    .hdr-main__search {
        display: none;
    }

    .hdr-main__social {
        display: none;
    }

    .hdr-main__mapa {
        display: none;
    }

    .hdr-main__burger {
        display: flex;
    }

    /* Nav: oculta por defecto, desplegable al abrir hamburger */
    .hdr-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .hdr-nav--open {
        max-height: 400px;
    }

    .hdr-nav__inner {
        padding: 4px 8px 8px;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 2px;
        overflow-x: unset;
        justify-content: flex-start;
    }

    .hdr-nav__link {
        font-size: 13px;
        padding: 10px 12px;
        white-space: nowrap;
        border-radius: 6px;
        width: 100%;
    }

    /* ── Accesibilidad — barra horizontal en la parte inferior ── */
    .acc-bar {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
        border-radius: 10px 10px 0 0;
        padding: 5px 8px;
        gap: 6px;
        box-shadow: 0 -3px 16px rgba(0,0,0,0.25);
    }

    .acc-bar__btn {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    /* ── Placeholders ── */
    .page-placeholder {
        min-height: 180px;
        padding-top: 32px;
    }

    .page-version-sep {
        min-height: 100px;
        padding: 20px 0 16px;
    }

    /* ── TirillaF — layout vertical ── */
    .tirilla-f {
        border-top: 1px solid #e8e4f4;
        border-bottom: 1px solid #e8e4f4;
    }

    .tirilla-f--dark {
        border-color: rgba(210,180,255,0.15);
    }

    .tirilla-f__titles {
        display: none;
    }

    .tirilla-f__inner {
        flex-direction: column;
        height: auto;
        padding: 0;
    }

    /* sección fija */
    .tirilla-f__fixed-wrap {
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding-bottom: 14px;
    }

    .tirilla-f__mobile-label {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 1.6px;
        text-transform: uppercase;
        color: rgba(160, 130, 210, 0.6);
        padding: 14px 0 10px;
    }

    .tirilla-f--dark .tirilla-f__mobile-label {
        color: rgba(210, 180, 255, 0.75);
    }

    /* logos fijos — distribuidos en todo el ancho */
    .tirilla-f__fixed {
        flex-shrink: unset;
        width: 100%;
        justify-content: space-around;
        gap: 0;
        padding: 0 8px;
    }

    .tirilla-f__item {
        flex: 0 0 auto;
    }

    .tirilla-f__logo-wrap {
        width: 50px;
        height: 50px;
    }

    .tirilla-f__svg-logo {
        width: 60px;
        height: 32px;
    }

        .tirilla-f__svg-logo svg {
            max-width: 60px;
            max-height: 32px;
            color: white;
        }

    .tirilla-f__sigla {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .tirilla-f__nombre {
        font-size: 6.5px;
        width: 68px;
        top: calc(100% + 4px);
    }

    /* divisor horizontal */
    .tirilla-f__divider {
        width: 80%;
        height: 1px;
        align-self: center;
        background: linear-gradient(to right, transparent, #c5bedd 30%, #c5bedd 70%, transparent);
        margin: 6px 0;
    }

    .tirilla-f--dark .tirilla-f__divider {
        background: linear-gradient(to right, transparent, rgba(210,180,255,0.5) 30%, rgba(210,180,255,0.5) 70%, transparent);
    }

    /* sección carrusel */
    .tirilla-f__carousel-section {
        flex-direction: column;
        align-items: center;
        height: auto;
        width: 100%;
        flex: unset;
    }

    .tirilla-f__carousel-wrap {
        width: 100%;
        height: auto;
        flex: unset;
        min-width: unset;
        gap: 0;
    }

    .tirilla-f__arrow {
        display: none;
    }

    .tirilla-f__carousel {
        gap: 16px;
        height: 76px;
        padding: 8px 16px;
        -webkit-overflow-scrolling: touch;
    }
    /* scroll-snap solo en versión estática (no interfiere con auto-scroll) */
    .tirilla-f--static .tirilla-f__carousel {
        scroll-snap-type: x proximity;
    }

    .tirilla-f__item--carousel {
        flex: 0 0 80px;
    }

    .tirilla-f--static .tirilla-f__item--carousel {
        scroll-snap-align: center;
    }

    .tirilla-f__logo-wrap--carousel {
        width: 80px;
        height: 48px;
    }

    .tirilla-f__svg-logo--carousel {
        width: 76px;
        height: 44px;
    }

        .tirilla-f__svg-logo--carousel svg {
            max-width: 76px;
            max-height: 44px;
        }

    .tirilla-f__sigla--carousel {
        font-size: 14px;
    }

    .tirilla-f__nombre--carousel {
        font-size: 6.5px;
        width: 84px;
    }

    /* sin hover persistente en touch */
    @media (hover: none) {
        .tirilla-f__item--carousel:hover .tirilla-f__logo-wrap--carousel {
            transform: none;
        }

        .tirilla-f__item--carousel:hover .tirilla-f__svg-logo--carousel {
            color: inherit;
            filter: none;
        }

        .tirilla-f__item--carousel:hover .tirilla-f__sigla--carousel {
            color: inherit;
            text-shadow: none;
        }

        .tirilla-f__item--carousel:hover .tirilla-f__nombre--carousel {
            color: transparent;
        }
    }

    /* ── Footer ── */
    .footer-min {
        padding: 24px 0 70px;
        overflow-x: hidden;
    }

    .footer-min__inner {
        grid-template-columns: 1fr !important;
        gap: 20px 0;
        padding: 0 16px;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-min__logos-col {
        border-right: none;
        padding-right: 0;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

    .footer-min__logos-row {
        gap: 14px;
        flex-wrap: wrap;
    }

    .footer-min__govco-img {
        height: 28px;
    }

    .footer-min__co-img {
        height: 44px;
    }

    .footer-min__social {
        gap: 12px;
        flex-wrap: wrap;
    }

    .footer-min__social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-min__col {
        padding: 0;
        border-right: none;
        max-width: 100%;
    }

        .footer-min__col h4 {
            font-size: 12px;
            margin-bottom: 6px;
        }

    .footer-min__nombre {
        font-size: 13px;
        overflow-wrap: break-word;
    }

    .footer-min__dir,
    .footer-min__col p,
    .footer-min__col a {
        font-size: 11.5px;
        overflow-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
    }

    .footer-min__copyright {
        font-size: 11px;
        padding-top: 12px;
    }
}

/* ── Mobile M: ≤ 375px ──────────────────────────────────────── */
@media (max-width: 375px) {
    .tirilla-f__logo-wrap {
        width: 50px;
        height: 58px;
    }

    .tirilla-f__svg-logo {
        width: 54px;
        height: 28px;
    }

        .tirilla-f__svg-logo svg {
            max-width: 54px;
            max-height: 28px;
            color: white;
        }

    .tirilla-f__sigla {
        font-size: 13px;
    }

    .tirilla-f__carousel {
        height: 70px;
        gap: 14px;
        padding: 6px 14px;
    }

    .tirilla-f__item--carousel {
        flex: 0 0 72px;
    }

    .tirilla-f__logo-wrap--carousel {
        width: 72px;
        height: 42px;
    }

    .tirilla-f__svg-logo--carousel {
        width: 68px;
        height: 38px;
    }

        .tirilla-f__svg-logo--carousel svg {
            max-width: 68px;
            max-height: 38px;
        }

    .tirilla-f__sigla--carousel {
        font-size: 13px;
    }
}

/* ── Mobile S: ≤ 320px ──────────────────────────────────────── */
@media (max-width: 320px) {
    .hdr-main__min-logo {
        height: 42px;
    }

    .hdr-nav__link {
        font-size: 10px;
        padding: 6px 7px;
    }

    .tirilla-f__mobile-label {
        font-size: 8px;
        letter-spacing: 1.2px;
        padding: 10px 0 8px;
    }

    .tirilla-f__logo-wrap {
        width: 52px;
        height: 28px;
    }

    .tirilla-f__svg-logo {
        width: 48px;
        height: 24px;
    }

        .tirilla-f__svg-logo svg {
            max-width: 48px;
            max-height: 24px;
            color: white;
        }

    .tirilla-f__sigla {
        font-size: 11px;
    }

    .tirilla-f__nombre {
        font-size: 6px;
        width: 58px;
    }

    .tirilla-f__carousel {
        height: 64px;
        gap: 12px;
        padding: 6px 10px;
    }

    .tirilla-f__item--carousel {
        flex: 0 0 64px;
    }

    .tirilla-f__logo-wrap--carousel {
        width: 50px;
        height: 50px;
    }

    .tirilla-f__svg-logo--carousel {
        width: 60px;
        height: 32px;
    }

        .tirilla-f__svg-logo--carousel svg {
            max-width: 60px;
            max-height: 32px;
        }

    .tirilla-f__sigla--carousel {
        font-size: 11px;
    }

    .tirilla-f__nombre--carousel {
        font-size: 6px;
        width: 68px;
    }

    .page-placeholder {
        min-height: 140px;
    }

    .page-version-sep {
        min-height: 80px;
    }

    .footer-min__govco-img {
        height: 24px;
    }

    .footer-min__co-img {
        height: 38px;
    }

    .footer-min__col h4 {
        font-size: 11px;
    }

    .footer-min__nombre {
        font-size: 12px;
    }

    .footer-min__dir,
    .footer-min__col p,
    .footer-min__col a {
        font-size: 11px;
    }
}

/* ─── TirillaStatic — versión estática B&W ───────────────── */
.tirilla-s {
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.tirilla-s--dark {
    background: #1a1a1a;
    border-color: #333;
}

.tirilla-s__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tirilla-s__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #9c8ac8;
    line-height: 1;
}

.tirilla-s--dark .tirilla-s__label {
    color: #b8a7e8;
}

.tirilla-s__logos {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.tirilla-s__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .tirilla-s__item:hover {
        opacity: 0.75;
    }

.tirilla-s__logo-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ddd;
    filter: grayscale(1);
    transition: filter 0.2s;
}

.tirilla-s--dark .tirilla-s__logo-wrap {
    background: #2a2a2a;
    border-color: #444;
    filter: grayscale(1) invert(1);
}

.tirilla-s__item:hover .tirilla-s__logo-wrap {
    filter: grayscale(0);
}

.tirilla-s--dark .tirilla-s__item:hover .tirilla-s__logo-wrap {
    filter: grayscale(0) invert(0);
}

.tirilla-s__svg-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tirilla-s__svg-logo svg {
        width: 36px;
        height: 36px;
    }

.tirilla-s__sigla {
    font-size: 13px;
    font-weight: 800;
    color: #555;
    letter-spacing: -0.3px;
}

.tirilla-s--dark .tirilla-s__sigla {
    color: #aaa;
}

.tirilla-s__nombre {
    font-size: 9px;
    color: #888;
    text-align: center;
    max-width: 64px;
    line-height: 1.3;
}

.tirilla-s--dark .tirilla-s__nombre {
    color: #666;
}

/* ─── PROPUESTA A — Tirilla plana con hover lift ──────────── */
.tirilla-a {
    background: #fff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 24px 0;
}

.tirilla-a__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .tirilla-a__inner::-webkit-scrollbar {
        display: none;
    }

.tirilla-a__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

    .tirilla-a__item:hover {
        transform: translateY(-8px);
    }

.tirilla-a__logo {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    color: #fff;
    text-align: center;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.22s ease;
}

.tirilla-a__item:hover .tirilla-a__logo {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.tirilla-a__nombre {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-align: center;
    max-width: 72px;
    line-height: 1.3;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.22s ease;
}

.tirilla-a__item:hover .tirilla-a__nombre {
    opacity: 1;
    transform: translateY(0);
}

/* ─── PROPUESTA B — Tarjetas pill ────────────────────────── */
.tirilla-b {
    background: #F4F0FA;
    border-top: 1px solid #DDD5EE;
    border-bottom: 1px solid #DDD5EE;
    padding: 20px 0;
}

.tirilla-b__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

    .tirilla-b__inner::-webkit-scrollbar {
        display: none;
    }

.tirilla-b__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 99px;
    border: 2px solid var(--min-morado);
    color: var(--min-morado);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

    .tirilla-b__item:hover {
        background: var(--min-morado);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(61, 26, 120, 0.3);
    }

.tirilla-b__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.tirilla-b__item:hover .tirilla-b__dot {
    transform: scale(1.3);
}

/* ─── PROPUESTA C — Logos limpios + línea + tooltip ──────── */
.tirilla-c {
    background: #fff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 28px 0;
}

.tirilla-c__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .tirilla-c__inner::-webkit-scrollbar {
        display: none;
    }

.tirilla-c__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding-bottom: 10px;
    cursor: pointer;
}

.tirilla-c__logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    filter: saturate(0.8);
    transition: filter 0.22s ease, transform 0.22s ease;
}

.tirilla-c__item:hover .tirilla-c__logo {
    filter: saturate(1.2);
    transform: scale(1.08);
}

.tirilla-c__line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--min-morado);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.28s ease;
}

.tirilla-c__item:hover .tirilla-c__line {
    width: 58px;
}

.tirilla-c__tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--min-morado-oscuro);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    padding: 5px 12px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

    .tirilla-c__tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 5px solid transparent;
        border-top-color: var(--min-morado-oscuro);
    }

.tirilla-c__item:hover .tirilla-c__tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ─── Footer Ministerio ───────────────────────────────────── */
.footer-min {
    background: var(--min-footer);
    color: #fff;
    padding: 40px 0 36px;
}

.footer-min__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 0;
}

/* col 1: logos */
.footer-min__logos-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-right: 36px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.footer-min__logos-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-min__govco-img {
    height: 38px;
    width: auto;
}

.footer-min__co-img {
    height: 62px;
    width: auto;
}

.footer-min__social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-min__social-link {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

    .footer-min__social-link:hover {
        color: #fff;
    }

    .footer-min__social-link svg {
        width: 22px;
        height: 22px;
    }

/* cols 2-4: contenido */
.footer-min__col {
    padding: 0 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
}

.footer-min__col--services {
    border-right: none;
}

.footer-min__nombre {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 12px;
}

.footer-min__dir {
    font-size: 12.5px;
    line-height: 1.9;
    opacity: 0.82;
}

.footer-min__col h4 {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.footer-min__col p {
    font-size: 12.5px;
    line-height: 1.75;
    opacity: 0.82;
}

.footer-min__col strong {
    font-weight: 700;
    opacity: 1;
}

.footer-min__col a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: underline;
    font-size: 12.5px;
    display: block;
    line-height: 1.9;
    transition: color 0.15s;
}

    .footer-min__col a:hover {
        color: #fff;
    }

.footer-min__copyright {
    margin-top: auto;
    padding-top: 20px;
    font-size: 13px;
    opacity: 0.75;
}

/*NUEVOS ESTILOS*/
.tirilla-f__logo-wrap--sinic {
    background-color: #1BA36B;
}

.tirilla-f__logo-wrap--sipa {
    background-color: #3F66D4;
}

.tirilla-f__logo-wrap--sia {
    background-color: #E06A31;
}

.tirilla-f__logo-wrap--cine {
    background-color: #1F4598;
}

.tirilla-f__logo-wrap--bc {
    background: #146c57;
}

.tirilla-f__logo-wrap--sc {
    background: #0d6b55;
}

.tirilla-f__logo-wrap--est {
    background: #5b4ec9;
}

.tirilla-f__logo-wrap--apz {
    background: #a9491f;
}

.tirilla-f__logo-wrap--ghc {
    background: #c17b11;
}

.tirilla-f__logo-wrap--mag {
    background: #2167b0;
}

.tirilla-f__logo-wrap--mgd {
    background: #1a90b5;
}

.tirilla-f__logo-wrap--pncc {
    background: #6a2bd6;
}

.tirilla-f__logo-wrap--rc {
    background: #008a84;
}

.tirilla-f__logo-wrap--clm {
    background: #d14d70;
}

/* ===========================
   NUEVOS PORTALES
   =========================== */

.tirilla-f__logo-wrap--bnc {
    background: #28527a;
}

.tirilla-f__logo-wrap--cld {
    background: #d35400;
}

.tirilla-f__logo-wrap--cna {
    background: #6c3483;
}

.tirilla-f__logo-wrap--cpd {
    background: #00838f;
}

.tirilla-f__logo-wrap--cpy {
    background: #1565c0;
}

.tirilla-f__logo-wrap--cin {
    background: #3949ab;
}

.tirilla-f__logo-wrap--cv {
    background: #2e7d32;
}

.tirilla-f__logo-wrap--com {
    background: #455a64;
}

.tirilla-f__logo-wrap--cc {
    background: #8e24aa;
}

.tirilla-f__logo-wrap--dm {
    background: #ad1457;
}

.tirilla-f__logo-wrap--jov {
    background: #ef6c00;
}

.tirilla-f__logo-wrap--lin {
    background: #0277bd;
}

.tirilla-f__logo-wrap--mc {
    background: #004d40;
}

.tirilla-f__logo-wrap--mco {
    background: #795548;
}

.tirilla-f__logo-wrap--mi {
    background: #6d4c41;
}

.tirilla-f__logo-wrap--mn {
    background: #37474f;
}

.tirilla-f__logo-wrap--ns {
    background: #7b1fa2;
}

.tirilla-f__logo-wrap--fra {
    background: #00897b;
}

.tirilla-f__logo-wrap--qb {
    background: #4e342e;
}

.tirilla-f__logo-wrap--sid {
    background: #c62828;
}

.tirilla-f__logo-wrap--pt {
    background: #283593;
}

.tirilla-f__logo-wrap--pul {
    background: #ef6c00;
}

.tirilla-f__logo-wrap--pua {
    background: #fb8c00;
}

.tirilla-f__logo-wrap--sifo {
    background: #00897b;
}

.tirilla-f__logo-wrap--sim {
    background: #039be5;
}

.tirilla-f__logo-wrap--sinac {
    background: #5e35b1;
}

.tirilla-f__logo-wrap--snf {
    background: #00838f;
}

.tirilla-f__logo-wrap--sg {
    background: #546e7a;
}

.tirilla-f__logo-wrap--sirec {
    background: #1565c0;
}

.tirilla-f__logo-wrap--tc {
    background: #8d6e63;
}

.tirilla-f__logo-wrap--fmc {
    background: #7b5e2e;
}

.tirilla-f__title-fixed {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1b4aa5;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
}

.tirilla-f__subtitle {
    margin: 0;
    font-size: 15px;
    color: #9c9c9c;
    font-weight: 400;
}