/* ==========================================================================
   1. VARIABLES GLOBALES, RESET & TIPOGRAFÍA BASE
   ========================================================================== */
:root {
    /* Paleta Institucional ORT */
    --ort-blue-dark: #002b66;
    --ort-blue-main: #004b93;
    --ort-blue-bright: #0052cc;
    --ort-blue-light: #0066ff;
    --ort-blue-soft: #eaf2ff;
    
    /* Fuentes Oficiales */
    --font-main: 'Jost', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Escala Tipográfica Relativa (Mínimo accesible: 1rem = 16px) */
    --fs-body: 1rem;            /* 16px */
    --fs-small: 0.875rem;       /* 14px - Mínimo en Mobile */
    --fs-badge: 0.8125rem;      /* 13px */
    --fs-h1: clamp(1.75rem, 4vw, 2.5rem);
    --fs-h2: clamp(1.35rem, 3vw, 1.85rem);
    --fs-h3: clamp(1.15rem, 2.5vw, 1.4rem);
    
    /* Ritmo Vertical & Spacing */
    --line-height-body: 1.6;
    --line-height-heading: 1.25;
    --spacing-paragraph: 1.25rem;
}

/* Box Sizing & Reset Global */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 100%; /* Default 16px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--line-height-body);
    color: #2d3748;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Previene scroll horizontal accidental */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tipografía de Encabezados */
h1, h2, h3, h4, h5, h6, 
.font-jost, .navbar-nav, .btn-ort {
    font-family: var(--font-main);
    line-height: var(--line-height-heading);
    letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); margin-bottom: 1rem; }
h2 { font-size: var(--fs-h2); margin-bottom: 0.875rem; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.75rem; }

p {
    margin-top: 0;
    margin-bottom: var(--spacing-paragraph);
}

/* Clases Utilitarias para Textos y Fondos */
.text-primary-ort { color: var(--ort-blue-main) !important; }
.text-dark-blue { color: var(--ort-blue-dark) !important; }
.bg-azul-custom { background-color: var(--ort-blue-main) !important; }
.bg-primary-soft { background-color: var(--ort-blue-soft) !important; }

.fs-7 { font-size: var(--fs-small) !important; line-height: 1.5; }
.fs-8 { font-size: var(--fs-badge) !important; line-height: 1.4; }


/* ==========================================================================
   2. HEADER & NAVEGACIÓN RESPONSIVA
   ========================================================================== */
.header-wrapper {
    z-index: 1050 !important;
}

.header-logo {
    height: 3.25rem; /* 52px */
    width: auto;
    object-fit: contain;
}

.nav-link-custom {
    font-family: var(--font-main);
    color: #ffffff !important;
    font-size: 0.9375rem; /* 15px */
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 1.125rem 1.125rem !important;
    border-right: 1px dashed rgba(255, 255, 255, 0.35);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link-custom:hover, 
.nav-link-custom:focus {
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
}

/* Dropdown para Escritorio (>= 992px) */
@media (min-width: 992px) {
    .navbar-nav .nav-item:last-child .nav-link-custom {
        border-right: none;
    }

    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        animation: fadeIn 0.25s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

.dropdown-menu-custom {
    background-color: #f4f6f9;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    margin-top: 0;
    padding: 0.5rem 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
    z-index: 1060 !important;
}

.dropdown-menu-custom .dropdown-item {
    font-family: var(--font-body);
    font-size: var(--fs-small);
    font-weight: 600;
    color: #444444;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu-custom .dropdown-item:last-child { border-bottom: none; }
.dropdown-menu-custom .dropdown-item:hover {
    background-color: var(--ort-blue-main);
    color: #ffffff;
}

/* Botón Hamburguesa Animado */
.animated-hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.animated-hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
}

.animated-hamburger span:nth-child(1) { top: 0px; }
.animated-hamburger span:nth-child(2) { top: 10px; }
.animated-hamburger span:nth-child(3) { top: 20px; }

.animated-hamburger:not(.collapsed) span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.animated-hamburger:not(.collapsed) span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.animated-hamburger:not(.collapsed) span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Menú & Submenú Mobile (< 992px) */
@media (max-width: 991.98px) {
    .nav-link-custom {
        border-right: none;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
        padding: 0.875rem 1rem !important;
    }

    .navbar-collapse {
        max-height: 80vh !important;
        overflow-y: auto !important;
    }

    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        transform: none !important;
        background-color: rgba(0, 0, 0, 0.15) !important;
        border: none !important;
        box-shadow: none !important;
        display: none;
        padding-left: 1rem !important;
    }

    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        color: #ffffff !important;
        padding: 0.75rem 1rem !important;
        font-size: var(--fs-small) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item:last-child {
        border-bottom: none !important;
    }
}


/* ==========================================================================
   3. HERO SLIDER (HOMEPAGE) - OPTIMIZADO ALTURA & CLICS
   ========================================================================== */
.slider-section {
    position: relative;
    z-index: 1;
    background-color: #f8f9fa;
    margin-top: 1.5rem !important; /* Despega la sección de la navbar */
    margin-bottom: 2.5rem !important;
}

.slider-image-wrapper {
    /* Altura incrementada: 420px mínimo en mobile hasta 620px en desktop */
    height: clamp(420px, 65vh, 620px);
    position: relative;
    overflow: hidden;
}

.slider-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.carousel-caption {
    bottom: 3.5rem;
    left: 8%;
    right: 8%;
    z-index: 5; /* z-index mayor para estar por encima de los controles del carrusel */
}

/* Forzar que los enlaces dentro de las diapositivas sean siempre cliqueables */
.carousel-caption a,
.carousel-caption .btn {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.btn-ort-cta {
    background-color: #ffffff;
    color: var(--ort-blue-main);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: var(--fs-body);
    padding: 0.75rem 1.75rem;
    border-radius: 30px;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ort-cta:hover {
    background-color: var(--ort-blue-main);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 991.88px) {
    .slider-section {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    .carousel-caption { 
        bottom: 2rem; 
        left: 5%; 
        right: 5%; 
        padding-bottom: 0; 
    }
    .title-responsive { 
        font-size: 1.5rem !important; 
        margin-bottom: 0.5rem !important; 
    }
    .desc-responsive { 
        font-size: 1rem !important; 
        margin-bottom: 1rem !important; 
    }
    .badge-responsive { 
        font-size: var(--fs-badge) !important; 
        padding: 0.35rem 0.75rem !important; 
    }
    .btn-ort-cta { 
        padding: 0.6rem 1.25rem; 
        font-size: var(--fs-small); 
    }
}

/* ==========================================================================
   MEJORA DE CONTROLADORES E INDICADORES DEL SLIDER
   ========================================================================== */

/* 1. FLECHAS DE NAVEGACIÓN LATERALES (PREV / NEXT) */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 43, 102, 0.4); /* Azul ORT traslúcido */
    backdrop-filter: blur(4px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    opacity: 0.75;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.carousel-control-prev {
    left: 1.5rem;
}

.carousel-control-next {
    right: 1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--ort-blue-main);
    border-color: #ffffff;
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

/* Iconos dentro de las flechas */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* 2. INDICADORES INFERIORES DE SLIDE (BARRITAS / PUNTOS) */
.carousel-indicators {
    bottom: 1rem;
    margin-bottom: 0;
    z-index: 10;
    gap: 8px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0;
    opacity: 0.7;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transición tipo Píldora para el indicador activo */
.carousel-indicators .active {
    width: 32px;
    border-radius: 10px;
    background-color: #ffffff;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 3. ADAPTACIÓN RESPONSIVE EN MÓVILES (< 992px) */
@media (max-width: 991.88px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 42px;
        height: 42px;
    }
    
    .carousel-control-prev {
        left: 0.75rem;
    }

    .carousel-control-next {
        right: 0.75rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.15rem;
        height: 1.15rem;
    }

    .carousel-indicators {
        bottom: 0.75rem;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }

    .carousel-indicators .active {
        width: 24px;
    }
}

/* ==========================================================================
   4. TARJETAS & COMPONENTES DE GRID
   ========================================================================== */
.section-title {
    color: var(--ort-blue-dark);
    font-family: var(--font-main);
    font-size: var(--fs-h2);
    letter-spacing: 0.02em;
}

.section-title-line {
    width: 50px;
    height: 3px;
    background-color: var(--ort-blue-main);
    margin-top: 6px;
    border-radius: 2px;
}

/* Tarjetas CTA de Marketing */
.cta-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 75, 147, 0.15) !important;
}

.cta-card-img-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.cta-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cta-card:hover .cta-card-img-wrapper img { transform: scale(1.05); }

.cta-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--ort-blue-main);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: var(--fs-badge);
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cta-badge.bg-accent { background-color: #e65100; }
.cta-card-title { color: #1a202c; font-family: var(--font-main); font-size: 1.15rem; }

.btn-primary-ort {
    background-color: var(--ort-blue-main);
    color: #ffffff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.65rem 1.125rem;
    border-radius: 6px;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-primary-ort:hover {
    background-color: var(--ort-blue-dark);
    color: #ffffff;
}

.btn-outline-ort {
    border: 1.5px solid var(--ort-blue-main);
    color: var(--ort-blue-main);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.65rem 1.125rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-outline-ort:hover {
    background-color: var(--ort-blue-main);
    color: #ffffff;
}

/* Tarjetas Editorial / Blog Feed */
.editorial-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 8px;
}

.editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.editorial-img-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.editorial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.editorial-card:hover .editorial-img-wrapper img { transform: scale(1.04); }

.editorial-headline { 
    color: #2d3748; 
    font-family: var(--font-main); 
    font-size: 1.05rem; 
    line-height: 1.35; 
}

.editorial-snippet {
    font-size: var(--fs-small);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.editorial-link {
    color: var(--ort-blue-main);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.editorial-link .link-arrow { margin-left: 6px; transition: transform 0.25s ease; }
.editorial-card:hover .editorial-link { color: var(--ort-blue-dark); }
.editorial-card:hover .editorial-link .link-arrow { transform: translateX(5px); }


/* ==========================================================================
   5. SECCIÓN INSCRIPCIONES & LANDINGS INTERNAS
   ========================================================================== */
.enrollment-hero {
    background-color: var(--ort-blue-dark);
    background-image: radial-gradient(circle at 80% 20%, #0052cc 0%, #002b66 100%);
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 102, 0.88) 0%, rgba(0, 75, 147, 0.35) 100%);
    z-index: 1;
}

.hero-image-card { height: 320px; }
.hero-image-card img { height: 100%; object-fit: cover; }

.btn-light-ort {
    background-color: #ffffff;
    color: var(--ort-blue-dark);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: var(--fs-small);
    padding: 0.75rem 1.6rem;
    border-radius: 30px;
    border: 2px solid #ffffff;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-light-ort:hover {
    background-color: var(--ort-blue-soft);
    color: var(--ort-blue-dark);
    transform: translateY(-2px);
}

.btn-outline-light-ort {
    background-color: transparent;
    color: #ffffff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: var(--fs-small);
    padding: 0.75rem 1.6rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline-light-ort:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: #ffffff;
}

/* Tarjetas de Pasos (Step-by-Step) */
.step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    background-color: #ffffff !important;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--ort-blue-main);
    color: #ffffff;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Sede Tigre Destacada */
.card-featured-tigre {
    background: linear-gradient(135deg, #003882 0%, #0056cc 100%);
    position: relative;
}

.btn-tigre-cta {
    background-color: #ffffff;
    color: var(--ort-blue-dark);
    font-family: var(--font-main);
    font-weight: 800;
    font-size: var(--fs-small);
    text-transform: uppercase;
    padding: 0.8rem 1.25rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-tigre-cta:hover {
    background-color: #f8fafc;
    color: var(--ort-blue-main);
    transform: scale(1.02);
}


/* ==========================================================================
   6. LECTURA DE NOTICIAS / ARTÍCULOS DE BLOG (OPTIMIZADO UI/UX MOBILE)
   ========================================================================== */
.article-container {
    max-width: 68ch; /* Óptimo de 45 a 75 caracteres por línea */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.article-body {
    font-family: var(--font-body);
    font-size: 1.0625rem; /* ~17px lectura ultra cómoda */
    line-height: 1.7;    /* Interlineado amplio para lectura sostenida */
    color: #2d3748;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body strong {
    color: var(--ort-blue-dark);
}

.blockquote-custom {
    border-left: 4px solid var(--ort-blue-main);
    background-color: var(--ort-blue-soft);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    margin: 2rem 0;
}

.blockquote-custom p {
    font-size: 1.1rem;
    line-height: 1.55;
    margin-bottom: 0.5rem;
}


/* ==========================================================================
   7. TIMELINE INSTITUCIONAL
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--ort-blue-main);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 35px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border: 3.5px solid var(--ort-blue-main);
    top: 25px;
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.timeline-item.left::after { right: -9px; }
.timeline-item.right::after { left: -9px; }

.timeline-content {    
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 75, 147, 0.12) !important;
}

.timeline-content span {    
    color: var(--ort-blue-dark);
    font-size: 1.35rem;
    font-weight: 700;
}

.timeline-item:hover::after {
    transform: scale(1.3);
    background-color: var(--ort-blue-main);
}

.timeline-img-box {
    width: 100%;
    height: 140px;
    background-color: #f1f5f9;
}

.timeline-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.88px) {
    .timeline::after { left: 20px; }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
        margin-bottom: 1.5rem;
    }
    .timeline-item.left,
    .timeline-item.right { left: 0; }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 11px;
        right: auto;
    }
    .timeline-img-box { height: 160px; }
}


/* ==========================================================================
   8. PÁGINA AUTORIDADES
   ========================================================================== */
.authorities-section { color: #333333; }

.authorities-title {
    color: var(--ort-blue-main);
    font-family: var(--font-main);
    font-weight: 700;
    text-transform: uppercase;
}

.authority-row {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: var(--fs-small);
    line-height: 1.45;
    border-bottom: 1px dashed #edf2f7;
}

.authority-row:last-child { border-bottom: none; }
.authority-row.indented { padding-left: 1.25rem; }

.authority-role {
    font-weight: 700;
    color: #2d3748;
    padding-right: 1rem;
    flex: 1 1 50%;
}

.authority-name {
    font-weight: 400;
    color: #4a5568;
    flex: 1 1 50%;
}

@media (max-width: 575.88px) {
    .authority-row {
        flex-direction: column;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #f1f5f9;
    }
    .authority-row.indented { padding-left: 0.5rem; }
    .authority-role, .authority-name { flex: 1 1 100%; }
}


/* ==========================================================================
   9. FOOTER RESPONSIVO
   ========================================================================== */
footer {
    background-color: #f1f3f5;
    border-top: 1px solid #e9ecef;
    color: #495057;
    font-size: var(--fs-small);
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}

.footer-title {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #212529;
    margin-bottom: 0.875rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: #495057; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: var(--ort-blue-main); }

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: var(--ort-blue-main);
    color: #ffffff;
    margin-right: 0.375rem;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.social-icon-btn:hover {
    background-color: var(--ort-blue-dark);
    color: #ffffff;
}

@media (max-width: 991.88px) {
    .enrollment-hero { text-align: center; }
    .enrollment-hero .d-flex { justify-content: center; }
    .btn-light-ort, .btn-outline-light-ort { width: 100%; }
}


/* Transiciones sutiles para elementos de navegación editorial */
.transition-all {
    transition: all 0.25s ease-in-out;
}

.transition-all:hover {
    background-color: var(--ort-blue-main);
    color: #ffffff !important;
    border-color: var(--ort-blue-main);
}

.hover-opacity {
    transition: opacity 0.2s ease;
}

.hover-opacity:hover {
    opacity: 0.8;
}

.location-icon-box{
 height: 32px;
    width: 32px;
    text-align: center;
}
   