/* ==========================================================================
   CLSST Core — Sistema de Diseño Institucional Oficial
   Consejo Latinoamericano de Seguridad y Salud en el Trabajo (CLSST)
   Guía de Marca Oficial: Granate (#800020), Carbón (#1E2328), Gris (#9AA0A6), Blanco (#FFFFFF)
   Tipografía Oficial: Montserrat
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    /* Paleta Oficial CLSST — Guía de Marca */
    --clsst-granate: #800020;           /* Granate Institucional (RGB 128, 0, 32 / CMYK 20 100 60 40) */
    --clsst-granate-dark: #5C0017;
    --clsst-granate-light: #9B1A38;
    --clsst-granate-subtle: #FFF1F3;

    --clsst-carbon: #1E2328;            /* Carbón (RGB 31, 35, 40 / CMYK 0 0 0 90) */
    --clsst-carbon-dark: #121518;
    --clsst-carbon-light: #2E353C;

    --clsst-gris: #9AA0A6;              /* Gris (RGB 154, 160, 166 / CMYK 0 0 0 40) */
    --clsst-gris-light: #F4F6F8;
    --clsst-gris-subtle: #E9ECEF;
    --clsst-blanco: #FFFFFF;            /* Blanco */

    /* Mapeo de Tokens Primarios */
    --clsst-primary: var(--clsst-granate);
    --clsst-primary-hover: var(--clsst-granate-dark);
    --clsst-secondary: var(--clsst-carbon);
    --clsst-secondary-hover: var(--clsst-carbon-dark);
    --clsst-navy: var(--clsst-carbon);  /* Compatibilidad con clases previas */
    --clsst-burgundy: var(--clsst-granate);

    /* Superficies y Neutros */
    --clsst-surface: #FFFFFF;
    --clsst-bg: #F8F9FA;
    --clsst-bg-subtle: #F1F3F5;
    --clsst-card-border: #E5E7EB;
    --clsst-border-strong: #CBD5E1;

    /* Tipografía y Textos */
    --clsst-text-main: var(--clsst-carbon);
    --clsst-text-body: #2B3036;
    --clsst-text-muted: #5F666D;
    --clsst-text-subtle: var(--clsst-gris);

    /* Semántica */
    --clsst-success: #15803D;
    --clsst-success-bg: #DCFCE7;
    --clsst-warning: #B45309;
    --clsst-warning-bg: #FEF3C7;
    --clsst-danger: #800020;
    --clsst-danger-bg: #FEE2E2;

    /* Formas y Bordes */
    --clsst-radius: 8px;
    --clsst-radius-pill: 9999px;
    --clsst-radius-sm: 4px;
    --clsst-radius-lg: 14px;
    --clsst-shadow-subtle: 0 1px 3px rgba(30, 35, 40, 0.05), 0 1px 2px rgba(30, 35, 40, 0.03);
    --clsst-shadow: 0 4px 6px -1px rgba(30, 35, 40, 0.07), 0 2px 4px -2px rgba(30, 35, 40, 0.04);
    --clsst-shadow-hover: 0 12px 20px -3px rgba(30, 35, 40, 0.12), 0 4px 6px -4px rgba(30, 35, 40, 0.05);
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body.clsst-app-body {
    background-color: var(--clsst-bg);
    color: var(--clsst-text-body);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

img, svg {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--clsst-text-main);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
}

a {
    color: var(--clsst-granate);
    transition: color 0.15s ease-in-out;
}
a:hover {
    color: var(--clsst-granate-dark);
}

/* ==========================================================================
   TOP BAR REGIONAL (Nivel 1)
   ========================================================================== */
.clsst-topbar {
    background: var(--clsst-carbon);
    color: #E2E8F0;
    font-size: 0.78rem;
    border-bottom: 2px solid var(--clsst-granate);
    padding: 7px 24px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.clsst-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}
.clsst-topbar-region {
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.2px;
}
.clsst-topbar-flags {
    display: inline-flex;
    gap: 8px;
    font-weight: 600;
    color: #F8FAFC;
}
.clsst-topbar-flags span {
    opacity: 0.85;
}
.clsst-topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}
.clsst-topbar-link {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.clsst-topbar-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ==========================================================================
   NAVBAR INSTITUCIONAL (Nivel 2)
   ========================================================================== */
.clsst-navbar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--clsst-card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(30, 35, 40, 0.05);
    width: 100%;
    max-width: 100%;
}
.clsst-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}
.clsst-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    flex-shrink: 0;
}
.clsst-brand img {
    height: 54px;
    width: auto;
    max-width: 290px;
    object-fit: contain;
    display: block;
}
.clsst-brand-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}
.clsst-brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--clsst-carbon);
    letter-spacing: -0.3px;
    line-height: 1.1;
}
.clsst-brand-subtitle {
    font-size: 0.72rem;
    color: var(--clsst-granate);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Enlaces del Menú Principal (Desktop) */
.clsst-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.clsst-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}
.clsst-nav-link-wrapper {
    display: contents;
}
.clsst-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clsst-carbon);
    text-decoration: none;
    border-radius: var(--clsst-radius-pill);
    transition: all 0.15s ease;
    white-space: nowrap;
}
.clsst-nav-link:hover,
.clsst-nav-link.active {
    color: var(--clsst-granate);
    background: var(--clsst-granate-subtle);
}
.clsst-chevron-icon {
    transition: transform 0.2s ease;
}
.clsst-nav-item:hover .clsst-chevron-icon {
    transform: translateY(1px);
}
.clsst-dropdown-toggle {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--clsst-carbon);
    border-radius: 4px;
}

/* Dropdown Menú (Desktop) */
.clsst-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid var(--clsst-card-border);
    border-top: 3px solid var(--clsst-granate);
    box-shadow: 0 10px 25px rgba(30, 35, 40, 0.12);
    border-radius: 0 0 8px 8px;
    min-width: 240px;
    padding: 8px 0;
    z-index: 1010;
    list-style: none;
    margin: 0;
}
.clsst-nav-item:hover .clsst-dropdown-menu {
    display: block;
}
.clsst-dropdown-item a {
    display: block;
    padding: 10px 18px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--clsst-text-body);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.clsst-dropdown-item a:hover {
    background: var(--clsst-granate-subtle);
    color: var(--clsst-granate);
    font-weight: 600;
}

/* Botones de Acción en Navbar */
.clsst-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.clsst-nav-search-btn {
    color: var(--clsst-carbon);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.15s ease;
    text-decoration: none;
}
.clsst-nav-search-btn:hover {
    background: var(--clsst-bg-subtle);
    color: var(--clsst-granate);
}
.clsst-nav-mobile-toggle {
    display: none;
    background: #FFFFFF;
    border: 1px solid var(--clsst-card-border);
    border-radius: 8px;
    padding: 7px 9px;
    cursor: pointer;
    color: var(--clsst-carbon);
    transition: all 0.15s ease;
    align-items: center;
    justify-content: center;
}
.clsst-nav-mobile-toggle:hover,
.clsst-nav-mobile-toggle.is-open {
    background: var(--clsst-granate-subtle);
    border-color: var(--clsst-granate);
    color: var(--clsst-granate);
}

/* ==========================================================================
   OFF-CANVAS DRAWER RESPONSIVO (Estilo BCSP — bcsp.org)
   Buscador, Menú, Botones de Acceso y Redes Sociales
   ========================================================================== */
.clsst-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 35, 40, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.clsst-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.clsst-drawer-locked {
    overflow: hidden !important;
}

.clsst-side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 88vw;
    background: #FFFFFF;
    z-index: 100002;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 35px rgba(30, 35, 40, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.clsst-side-drawer.is-open {
    transform: translateX(0);
}

.clsst-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--clsst-card-border);
    background: #FFFFFF;
    flex-shrink: 0;
}
.clsst-drawer-brand {
    display: flex;
    align-items: center;
}
.clsst-drawer-brand img {
    height: 48px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
}
.clsst-drawer-close-btn {
    background: #F8F9FA;
    border: 1px solid var(--clsst-card-border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--clsst-carbon);
    transition: all 0.2s ease;
}
.clsst-drawer-close-btn:hover {
    background: var(--clsst-granate-subtle);
    border-color: var(--clsst-granate);
    color: var(--clsst-granate);
    transform: rotate(90deg);
}

.clsst-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Buscador en Drawer */
.clsst-drawer-search-form {
    display: flex;
    align-items: center;
    background: #F8F9FA;
    border: 1px solid var(--clsst-card-border);
    border-radius: var(--clsst-radius-pill);
    padding: 3px 6px 3px 14px;
    transition: all 0.18s;
}
.clsst-drawer-search-form:focus-within {
    border-color: var(--clsst-granate);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.12);
}
.clsst-drawer-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--clsst-carbon);
    outline: none;
    padding: 7px 0;
}
.clsst-drawer-search-submit {
    background: var(--clsst-granate);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.18s;
    flex-shrink: 0;
}
.clsst-drawer-search-submit:hover {
    background: var(--clsst-granate-dark);
}

/* Menú de Enlaces en Drawer */
.clsst-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.clsst-drawer-item {
    position: relative;
}
.clsst-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--clsst-carbon);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}
.clsst-drawer-link:hover,
.clsst-drawer-link.active {
    background: var(--clsst-granate-subtle);
    color: var(--clsst-granate);
}
.clsst-drawer-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.clsst-drawer-link-row .clsst-drawer-link {
    flex: 1;
}
.clsst-drawer-toggle-sub {
    background: #F8F9FA;
    border: 1px solid var(--clsst-card-border);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--clsst-carbon);
    margin-left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.clsst-drawer-toggle-sub:hover {
    background: var(--clsst-granate-subtle);
    border-color: var(--clsst-granate);
    color: var(--clsst-granate);
}
.clsst-drawer-has-submenu.is-sub-open .clsst-drawer-toggle-sub svg {
    transform: rotate(180deg);
}
.clsst-drawer-submenu {
    display: none;
    list-style: none;
    padding: 6px 0 6px 14px;
    margin: 4px 0 6px 10px;
    border-left: 2px solid var(--clsst-granate);
}
.clsst-drawer-has-submenu.is-sub-open .clsst-drawer-submenu {
    display: block;
}
.clsst-drawer-submenu li a {
    display: block;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
}
.clsst-drawer-submenu li a:hover {
    color: var(--clsst-granate);
    background: var(--clsst-granate-subtle);
    font-weight: 600;
}

/* Botones de Acción en Drawer */
.clsst-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--clsst-card-border);
}
.clsst-btn-drawer {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 0.88rem;
    box-sizing: border-box;
}

/* Redes Sociales en Drawer (Estilo BCSP) */
.clsst-drawer-socials {
    padding-top: 12px;
    border-top: 1px solid var(--clsst-card-border);
}
.clsst-drawer-socials-title {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--clsst-gris);
    font-weight: 700;
    margin-bottom: 12px;
}
.clsst-drawer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.clsst-drawer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F8F9FA;
    border: 1px solid var(--clsst-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clsst-carbon);
    text-decoration: none;
    transition: all 0.2s ease;
}
.clsst-drawer-social-icon:hover {
    background: var(--clsst-granate);
    color: #FFFFFF;
    border-color: var(--clsst-granate);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(128, 0, 32, 0.25);
}

/* Pie Institucional del Drawer */
.clsst-drawer-footer {
    padding-top: 14px;
    border-top: 1px solid var(--clsst-card-border);
    font-size: 0.78rem;
    color: var(--clsst-text-muted);
    line-height: 1.5;
}
.clsst-drawer-footer-sub {
    font-size: 0.72rem;
    color: var(--clsst-gris);
    margin-top: 4px;
}
.clsst-drawer-footer-slogan {
    font-size: 0.72rem;
    font-style: italic;
    color: var(--clsst-granate);
    margin-top: 4px;
    font-weight: 600;
}

/* ==========================================================================
   BOTONES INSTITUCIONALES (Estilo Guía de Marca CLSST)
   ========================================================================== */
.clsst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--clsst-radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.18s ease-in-out;
    text-decoration: none;
    line-height: 1.3;
}

/* Botón Principal (Cápsula Granate #800020) */
.clsst-btn-pill-primary,
.clsst-btn-primary,
.clsst-btn-burgundy {
    background: var(--clsst-granate);
    color: #FFFFFF;
    border-color: var(--clsst-granate);
    border-radius: var(--clsst-radius-pill);
    padding: 11px 24px;
}
.clsst-btn-pill-primary:hover,
.clsst-btn-primary:hover,
.clsst-btn-burgundy:hover {
    background: var(--clsst-granate-dark);
    border-color: var(--clsst-granate-dark);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(128, 0, 32, 0.28);
    transform: translateY(-1px);
}

/* Botón Secundario (Cápsula Blanca con borde Carbón / Gris) */
.clsst-btn-pill-secondary,
.clsst-btn-secondary {
    background: #FFFFFF;
    color: var(--clsst-carbon);
    border-color: var(--clsst-gris);
    border-radius: var(--clsst-radius-pill);
    padding: 11px 24px;
}
.clsst-btn-pill-secondary:hover,
.clsst-btn-secondary:hover {
    background: var(--clsst-bg);
    border-color: var(--clsst-carbon);
    color: var(--clsst-carbon);
    transform: translateY(-1px);
}

/* Botón Outline Granate */
.clsst-btn-outline-burgundy {
    background: transparent;
    color: var(--clsst-granate);
    border-color: var(--clsst-granate);
    border-radius: var(--clsst-radius-pill);
}
.clsst-btn-outline-burgundy:hover {
    background: var(--clsst-granate-subtle);
    color: var(--clsst-granate-dark);
}

.clsst-btn-sm {
    padding: 7px 16px;
    font-size: 0.8rem;
}
.clsst-btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
}

/* Enlace de Texto */
.clsst-text-link {
    color: var(--clsst-granate);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.15s ease;
}
.clsst-text-link:hover {
    color: var(--clsst-granate-dark);
    gap: 10px;
}

/* ==========================================================================
   BADGES Y SELLOS DE IDONEIDAD
   ========================================================================== */
.clsst-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--clsst-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid transparent;
}
.clsst-badge-navy {
    background: #F1F3F5;
    color: var(--clsst-carbon);
    border-color: #E2E8F0;
}
.clsst-badge-burgundy {
    background: var(--clsst-granate-subtle);
    color: var(--clsst-granate);
    border-color: #FECDD3;
}
.clsst-badge-success {
    background: var(--clsst-success-bg);
    color: var(--clsst-success);
    border-color: #BBF7D0;
}

/* ==========================================================================
   HERO SLIDER INSTITUCIONAL OFICIAL (Conforme a la Guía de Marca CLSST)
   ========================================================================== */
.clsst-hero-slider-section {
    position: relative;
    background: #1A1D20;
    overflow: hidden;
    min-height: 520px;
    border-bottom: 3px solid var(--clsst-granate);
    width: 100%;
    max-width: 100%;
}
.clsst-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    overflow: hidden;
}
.clsst-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.65s;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    z-index: 1;
}
.clsst-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
    min-height: 520px;
}
.clsst-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 29, 32, 0.96) 0%, rgba(30, 35, 40, 0.90) 42%, rgba(30, 35, 40, 0.35) 75%, rgba(30, 35, 40, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
}
.clsst-slide-container {
    position: relative;
    z-index: 5;
    padding: 64px 24px 80px 24px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.clsst-slide-content {
    max-width: 660px;
    width: 100%;
    box-sizing: border-box;
}
.clsst-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    background: rgba(128, 0, 32, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--clsst-radius-pill);
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.clsst-slide-badge svg {
    color: #F87171;
}
.clsst-slide-title {
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    word-break: break-word;
    overflow-wrap: break-word;
}
.clsst-slide-desc {
    font-size: clamp(0.95rem, 1.4vw, 1.06rem);
    color: #F1F3F5;
    line-height: 1.6;
    margin: 0 0 28px 0;
    max-width: 580px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    word-break: break-word;
}
/* ==========================================================================
   SIMETRÍA EN EL ANCHO DE BOTONES EN EL HOME
   ========================================================================== */
.clsst-slide-actions,
.clsst-closing-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.clsst-slide-actions .clsst-btn,
.clsst-closing-actions .clsst-btn {
    min-width: 275px;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
}

/* ==========================================================================
   JUSTIFICACIÓN DE TEXTOS EN EL HOME
   ========================================================================== */
.clsst-page-inicio .clsst-slide-desc,
.clsst-page-inicio .clsst-about-lead,
.clsst-page-inicio .clsst-about-text,
.clsst-page-inicio .clsst-about-aside-p,
.clsst-page-inicio .clsst-section-desc,
.clsst-page-inicio .clsst-disciplina-desc,
.clsst-page-inicio .clsst-eje-desc,
.clsst-page-inicio .clsst-feature-item,
.clsst-page-inicio .clsst-closing-desc {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Controles del Slider */
.clsst-slider-controls {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}
.clsst-slider-controls-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
    padding: 0 24px;
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}
.clsst-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.clsst-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}
.clsst-slider-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}
.clsst-slider-dot.is-active {
    background: var(--clsst-granate);
    border-color: #FFFFFF;
    width: 26px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(128, 0, 32, 0.6);
}
.clsst-slider-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}
.clsst-slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(30, 35, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    outline: none;
}
.clsst-slider-arrow:hover {
    background: var(--clsst-granate);
    border-color: var(--clsst-granate);
    transform: scale(1.08);
}

/* ==========================================================================
   BARRA DE 4 TARJETAS DE ACCIÓN DESTACADA (Bajo el Slider de Marca)
   ========================================================================== */
.clsst-hero-action-cards-wrapper {
    position: relative;
    z-index: 30;
    margin-top: -36px;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.clsst-hero-action-cards {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}
.clsst-hero-action-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 6px 20px rgba(30, 35, 40, 0.08);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: var(--clsst-carbon);
    box-sizing: border-box;
}
.clsst-hero-action-card:hover {
    transform: translateY(-4px);
    border-color: var(--clsst-granate);
    box-shadow: 0 12px 28px rgba(128, 0, 32, 0.16);
    color: var(--clsst-granate);
}
.clsst-hero-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--clsst-granate-subtle);
    border: 1px solid rgba(128, 0, 32, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.clsst-hero-action-card:hover .clsst-hero-action-icon {
    background: var(--clsst-granate);
}
.clsst-hero-action-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--clsst-granate);
    transition: stroke 0.2s ease;
}
.clsst-hero-action-card:hover .clsst-hero-action-icon svg {
    stroke: #FFFFFF;
}
.clsst-hero-action-text {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--clsst-carbon);
    transition: color 0.2s ease;
}
.clsst-hero-action-card:hover .clsst-hero-action-text {
    color: var(--clsst-granate);
}

/* ==========================================================================
   SECCIÓN ABOUT HERO (Portada Institucional)
   ========================================================================== */
.clsst-section-about-hero {
    padding-top: 68px;
}
.clsst-about-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.clsst-about-hero-content {
    width: 100%;
    box-sizing: border-box;
}
.clsst-about-title {
    text-align: left;
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    line-height: 1.25;
}
.clsst-about-lead {
    font-size: 1rem;
    color: #2B3036;
    line-height: 1.65;
    margin-bottom: 18px;
}
.clsst-about-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 22px;
}
.clsst-about-aside-box {
    background: #F8F9FA;
    border: 1px solid #E5E7EB;
    border-left: 4px solid var(--clsst-granate);
    border-radius: 10px;
    padding: 30px;
    box-sizing: border-box;
    width: 100%;
}
.clsst-about-aside-title {
    font-size: 1.15rem;
    color: var(--clsst-carbon);
    margin-bottom: 12px;
}
.clsst-about-aside-p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.clsst-section {
    padding: 64px 24px;
    border-bottom: 1px solid var(--clsst-card-border);
}
.clsst-section-white { background: #FFFFFF; }
.clsst-section-subtle { background: var(--clsst-bg); }
.clsst-section-navy { background: var(--clsst-carbon); color: #FFFFFF; }

.clsst-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.clsst-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px auto;
}
.clsst-section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clsst-granate);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: inline-block;
}
.clsst-section-title {
    font-size: 2.1rem;
    color: var(--clsst-carbon);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}
.clsst-section-desc {
    font-size: 1rem;
    color: var(--clsst-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   TABS Y NAVEGACIÓN SUBPÁGINAS «NOSOTROS»
   ========================================================================== */
.clsst-tabs-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--clsst-card-border);
    margin-bottom: 32px;
    padding-bottom: 12px;
}
.clsst-tab-pill {
    padding: 10px 22px;
    border-radius: var(--clsst-radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--clsst-text-muted);
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid var(--clsst-card-border);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.clsst-tab-pill:hover {
    color: var(--clsst-granate);
    border-color: var(--clsst-granate);
    background: var(--clsst-granate-subtle);
}
.clsst-tab-pill.active {
    background: var(--clsst-granate);
    color: #FFFFFF;
    border-color: var(--clsst-granate);
    box-shadow: 0 2px 8px rgba(128, 0, 32, 0.2);
}
.clsst-tab-pill.active svg {
    stroke: #FFFFFF;
}

/* Tarjetas de Disciplinas Interdisciplinarias (Quiénes Somos) */
.clsst-disciplinas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.clsst-disciplina-card {
    background: #FFFFFF;
    border: 1px solid var(--clsst-card-border);
    border-top: 3px solid var(--clsst-granate);
    border-radius: var(--clsst-radius);
    padding: 24px;
    transition: all 0.2s ease;
}
.clsst-disciplina-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--clsst-shadow-hover);
}
.clsst-disciplina-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--clsst-granate-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.clsst-disciplina-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--clsst-granate);
}
.clsst-disciplina-title {
    font-size: 1.15rem;
    color: var(--clsst-carbon);
    margin-bottom: 8px;
}
.clsst-disciplina-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* Tarjetas de Principios y Valores */
.clsst-valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin: 32px 0;
}
.clsst-valor-card {
    background: #FFFFFF;
    border: 1px solid var(--clsst-card-border);
    border-radius: var(--clsst-radius);
    padding: 26px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s ease;
}
.clsst-valor-card:hover {
    border-color: var(--clsst-granate);
    box-shadow: var(--clsst-shadow-hover);
}
.clsst-valor-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--clsst-granate-subtle);
    border: 1px solid rgba(128, 0, 32, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.clsst-valor-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--clsst-granate);
}
.clsst-valor-title {
    font-size: 1.1rem;
    color: var(--clsst-carbon);
    margin-bottom: 6px;
}
.clsst-valor-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* Tarjetas de los 3 Ejes de Acción (Cómo Funcionamos) */
.clsst-ejes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 36px 0;
}
.clsst-eje-card {
    background: #FFFFFF;
    border: 1px solid var(--clsst-card-border);
    border-radius: var(--clsst-radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}
.clsst-eje-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--clsst-granate);
}
.clsst-eje-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--clsst-shadow-hover);
}
.clsst-eje-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--clsst-granate);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.clsst-eje-title {
    font-size: 1.35rem;
    color: var(--clsst-carbon);
    margin-bottom: 12px;
}
.clsst-eje-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==========================================================================
   DIRECTORIO DE CREDENCIALES
   ========================================================================== */
.clsst-directory-box {
    background: #FFFFFF;
    border: 1px solid var(--clsst-card-border);
    border-radius: var(--clsst-radius);
    overflow: hidden;
    box-shadow: var(--clsst-shadow);
}
.clsst-directory-toolbar {
    padding: 20px 24px;
    background: var(--clsst-bg);
    border-bottom: 1px solid var(--clsst-card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.clsst-directory-search-bar {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 480px;
}
.clsst-directory-results {
    padding: 0;
    margin: 0;
    list-style: none;
}
.clsst-directory-item {
    padding: 18px 24px;
    border-bottom: 1px solid var(--clsst-card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    transition: background 0.15s ease;
}
.clsst-directory-item:hover {
    background: #F8F9FA;
}
.clsst-directory-item:last-child {
    border-bottom: none;
}
.clsst-cred-main {
    display: flex;
    align-items: center;
    gap: 16px;
}
.clsst-cred-seal {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: contain;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 2px;
}
.clsst-cred-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clsst-carbon);
    margin: 0 0 2px 0;
}
.clsst-cred-meta {
    font-size: 0.82rem;
    color: var(--clsst-text-muted);
}

/* ==========================================================================
   FOOTER INSTITUCIONAL (Conforme a la Guía de Marca)
   ========================================================================== */
.clsst-footer {
    background: var(--clsst-carbon);
    color: #CBD5E1;
    font-size: 0.88rem;
    border-top: 3px solid var(--clsst-granate);
    padding: 56px 24px 28px 24px;
}
.clsst-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.clsst-footer-brand img {
    height: 62px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    margin-bottom: 16px;
    background: #FFFFFF;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: inline-block;
}
.clsst-footer-slogan {
    font-size: 0.92rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.4;
}
.clsst-footer-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #9AA0A6;
    margin-bottom: 16px;
}
.clsst-footer-manifesto {
    font-size: 0.72rem;
    color: var(--clsst-gris);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}
.clsst-footer-col h4 {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 8px;
}
.clsst-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.clsst-footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.15s ease;
}
.clsst-footer-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
.clsst-footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.76rem;
    color: #64748B;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVO TOTAL PARA DISPOSITIVOS MÓVILES Y ESCRITORIO)
   ========================================================================== */

/* Laptops Medianas y Pantallas entre 1025px y 1200px (Desktop Compacto) */
@media (max-width: 1200px) and (min-width: 1025px) {
    .clsst-nav-container {
        padding: 10px 16px;
        gap: 8px;
    }
    .clsst-brand img {
        height: 48px;
        max-width: 260px;
    }
    .clsst-nav-link {
        padding: 6px 8px;
        font-size: 0.81rem;
    }
    .clsst-nav-actions {
        gap: 8px;
    }
    .clsst-nav-actions .clsst-btn-sm {
        padding: 6px 12px;
        font-size: 0.76rem;
    }
}

/* Tablets y Dispositivos de Ancho <= 1024px (Activación Menú Móvil / Drawer Estilo BCSP) */
@media (max-width: 1024px) {
    /* Navbar en Modo Móvil / Tableta: Ocultar menú superior horizontal y mostrar botón drawer */
    .clsst-nav-container {
        padding: 10px 20px;
    }
    .clsst-brand img {
        height: 48px;
        max-width: 250px;
    }
    .clsst-nav-menu {
        display: none !important;
    }
    .clsst-nav-mobile-toggle {
        display: flex !important;
    }

    /* Grid y Tarjetas */
    .clsst-hero-action-cards-wrapper {
        margin-top: -20px;
        padding: 0 20px;
    }
    .clsst-hero-action-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .clsst-about-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .clsst-about-aside-box {
        padding: 24px;
    }
    .clsst-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/* Teléfonos y Dispositivos de Ancho <= 768px */
@media (max-width: 768px) {
    .clsst-nav-container {
        padding: 10px 16px;
    }
    .clsst-brand img {
        height: 46px;
        max-width: 235px;
    }
    .clsst-nav-actions {
        gap: 8px;
    }
    .clsst-header-desktop-btn {
        display: none !important;
    }

    /* Menú Móvil / Drawer en Pantalla Completa en Celulares */
    .clsst-side-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: translateX(100%);
    }
    .clsst-side-drawer.is-open {
        transform: translateX(0) !important;
    }
    .clsst-drawer-header {
        padding: 16px 20px;
    }
    .clsst-drawer-brand img {
        height: 44px;
        max-width: 230px;
    }

    /* Slider Móvil */
    .clsst-hero-slider-section,
    .clsst-slider-wrapper,
    .clsst-slide.is-active {
        min-height: 480px;
    }
    .clsst-slide-overlay {
        background: linear-gradient(180deg, rgba(26, 29, 32, 0.92) 0%, rgba(26, 29, 32, 0.86) 55%, rgba(26, 29, 32, 0.95) 100%);
    }
    .clsst-slide-container {
        padding: 44px 16px 72px 16px;
    }
    .clsst-slide-badge {
        font-size: 0.72rem;
        padding: 4px 11px;
        margin-bottom: 14px;
    }
    .clsst-slide-title {
        font-size: 1.85rem;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    .clsst-slide-desc {
        font-size: 0.96rem;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    /* Simetría en el ancho de botones en móvil: Ancho completo idéntico */
    .clsst-slide-actions,
    .clsst-closing-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }
    .clsst-slide-actions .clsst-btn,
    .clsst-closing-actions .clsst-btn {
        width: 100% !important;
        min-width: 100% !important;
        text-align: center;
        justify-content: center;
        padding: 12px 20px;
    }

    .clsst-slider-controls {
        bottom: 14px;
    }
    .clsst-slider-controls-inner {
        padding: 0 16px;
    }
    .clsst-slider-arrow {
        width: 34px;
        height: 34px;
    }

    /* Secciones Generales */
    .clsst-section {
        padding: 48px 16px;
    }
    .clsst-section-about-hero {
        padding-top: 48px;
    }
    .clsst-section-title {
        font-size: 1.6rem;
    }
    .clsst-disciplinas-grid,
    .clsst-ejes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .clsst-footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .clsst-footer-brand img {
        height: 54px;
        max-width: 280px;
        padding: 6px 12px;
    }
}

/* Teléfonos Medianos y Pequeños <= 640px */
@media (max-width: 640px) {
    .clsst-hero-action-cards-wrapper {
        margin-top: 16px;
        padding: 0 16px;
    }
    .clsst-hero-action-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .clsst-hero-action-card {
        padding: 14px 16px;
        border-radius: 12px;
    }
    .clsst-hero-action-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    .clsst-hero-action-icon svg {
        width: 18px;
        height: 18px;
    }
    .clsst-hero-action-text {
        font-size: 0.86rem;
    }
}

/* Teléfonos Pequeños <= 480px */
@media (max-width: 480px) {
    .clsst-slide-title {
        font-size: 1.55rem;
    }
    .clsst-slide-desc {
        font-size: 0.88rem;
    }
    .clsst-slide-badge {
        font-size: 0.68rem;
        padding: 3px 8px;
    }
    .clsst-brand img {
        height: 42px;
        max-width: 215px;
    }
}
