@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════
   UTG DESIGN SYSTEM 5.0
   Universidad Tecnológica de Guaymas
═══════════════════════════════════════════════════ */

:root {
    /* Palette - Executive Tech Modern */
    --primary:        #059669;
    --primary-dark:   #064e3b;
    --primary-light:  #34d399;
    --secondary:      #10b981;
    --secondary-dark: #047857;
    --accent:         #f59e0b;
    --danger:         #f43f5e;

    /* Text - High Contrast */
    --text-main:  #111827;
    --text-muted: #4b5563;
    --text-light: #9ca3af;

    /* Backgrounds - Ultra Clean */
    --bg-main:  #f3f4f6;
    --bg-card:  #ffffff;
    --bg-alt:   #f9fafb;
    --white:    #ffffff;

    /* Glass - Enhanced for Neo-Glass */
    --glass:        rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.50);

    /* Shadows - Sophisticated Deep */
    --shadow-xs: 0 1px 2px rgba(6, 78, 59, 0.05);
    --shadow-sm: 0 4px 12px rgba(6, 78, 59, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 28px rgba(6, 78, 59, 0.12), 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 30px 60px rgba(6, 78, 59, 0.18), 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 50px 100px rgba(6, 78, 59, 0.22), 0 15px 30px rgba(0, 0, 0, 0.08);

    /* Motion */
    --ease:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out:  cubic-bezier(0, 0, .2, 1);
    --dur:       0.45s;
    --dur-fast:  0.25s;

    /* Shape */
    --radius:    2rem;
    --radius-sm: 1.25rem;
    --radius-xs: .75rem;
}

/* ── Back to Top ── */
#backToTop {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 1000;
    width: 3.5rem; height: 3.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; outline: none;
    transition: transform var(--dur-fast) var(--ease), opacity .3s ease;
}
#backToTop:hover { transform: translateY(-5px); }

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

a { color: var(--primary); transition: color var(--dur-fast) var(--ease); text-decoration: none; }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--primary); color: #fff; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 99px;
}

/* ── PROGRESS BAR ── */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 9999;
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#menu-bar {
    background: transparent;
    z-index: 1050;
    padding: 1.5rem 0 !important;
    position: sticky;
    top: 0;
    transition: all 0.5s var(--ease);
}
#menu-bar .container {
    background: rgba(6, 78, 59, 0.88); /* Dark Emerald Glass */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    padding: 0.5rem 2rem !important;
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.5s var(--ease);
    display: flex;
    align-items: center;
}
#menu-bar.scrolled { padding: 0.8rem 0 !important; }
#menu-bar.scrolled .container {
    background: rgba(6, 78, 59, 0.98);
    border-radius: 1.25rem;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    display: flex; align-items: center; gap: .75rem;
    text-decoration: none;
}
.navbar-brand img {
    height: 44px;
    margin-right: 1.5rem;
    filter: brightness(0) invert(1); /* Invertido a blanco */
    transition: all 0.4s var(--ease);
}
.navbar-brand:hover img { transform: scale(1.05) rotate(-3deg); }

.menu-list .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 700; font-size: .85rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.6rem 1.2rem !important;
    border-radius: 0.75rem;
    position: relative;
    transition: all 0.3s var(--ease);
}
.menu-list .nav-link::after {
    content: ''; position: absolute; bottom: 0.2rem; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 6px; height: 6px;
    background: var(--primary-light); border-radius: 50%;
    transition: transform 0.3s var(--ease);
    opacity: 0;
}
.menu-list .nav-link:hover { 
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}
.menu-list .nav-link.active::after,
.menu-list .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}
.menu-list .nav-link.active { color: #fff !important; }

/* Dropdowns */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 1.25rem !important;
    padding: 0.85rem !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    margin-top: 0.5rem !important;
}
/* Puente invisible para evitar que se cierre al mover el cursor */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
    background: transparent;
}
@media (min-width: 992px) {
    .dropdown-menu {
        display: block !important;
        opacity: 0; visibility: hidden;
        transform: translateY(14px);
        pointer-events: none;
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1; visibility: visible;
        transform: translateY(0); pointer-events: auto;
    }
}
.dropdown-item {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.75rem 1.15rem !important;
    border-radius: 0.85rem !important;
    font-weight: 600; font-size: .88rem;
    color: #334155;
    transition: all 0.3s var(--ease);
}
.dropdown-item i { color: var(--primary); font-size: 1rem; width: 1.2rem; transition: transform 0.3s var(--ease); }
.dropdown-item:hover {
    background: white !important;
    color: var(--primary) !important;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.dropdown-item:hover i { transform: scale(1.2) rotate(5deg); }
.dropdown-divider { border-color: rgba(0,0,0,.06) !important; margin: .3rem 0 !important; }
.dropdown-header {
    font-size: .68rem !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* ═══════════════════════════════════════
   GLASS CARD
═══════════════════════════════════════ */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-premium {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 2.2rem; border-radius: 99px;
    font-weight: 800; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .1em;
    border: none;
    transition: all var(--dur) var(--ease);
}
.btn-premium:hover { transform: translateY(-4px); }

.btn-primary-utg {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0,104,55,.3);
}
.btn-primary-utg:hover { box-shadow: 0 14px 32px rgba(0,104,55,.45); }

.btn-accent-utg {
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    color: var(--primary-dark) !important;
    box-shadow: 0 8px 20px rgba(251,191,36,.32);
}
.btn-accent-utg:hover { box-shadow: 0 14px 32px rgba(255,179,0,.48); }

/* ═══════════════════════════════════════
   INTERNAL PAGE HEADER
═══════════════════════════════════════ */
.internal-page-header {
    background: linear-gradient(130deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 90px 0 120px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
    overflow: hidden;
}
.internal-page-header::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='20' cy='20' r='.6' fill='rgba(255,255,255,.07)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E");
    pointer-events: none;
}
.internal-page-header::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(170,204,0,.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px; right: -200px;
    pointer-events: none;
}
.internal-page-header::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,104,55,.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px; left: -100px;
    pointer-events: none;
    z-index: 0;
}

.internal-page-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900; color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,.15);
    position: relative; z-index: 1;
}
.breadcrumb-custom { position: relative; z-index: 1; }
.breadcrumb-custom .breadcrumb-item a,
.breadcrumb-custom .breadcrumb-item { color: rgba(255,255,255,.62); font-size: .84rem; font-weight: 500; }
.breadcrumb-custom .breadcrumb-item a:hover { color: #fff; }
.breadcrumb-custom .breadcrumb-item.active { color: var(--secondary); font-weight: 700; }
.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════
   CONTENT LAYOUT (INTERNAL)
═══════════════════════════════════════ */
#contenidos { padding: 0 0 140px; }

.info2 {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 140px; /* Separación de 140px solicitada */
    align-items: start;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (max-width: 991px) { 
    .info2 { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    } 
}

.documento {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 3.5rem;
    margin-top: -55px;
    position: relative; z-index: 5;
    border: 1px solid rgba(0,0,0,.04);
    overflow: hidden;
}
.documento::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(170,204,0, 0.05) 0%, transparent 70%);
    bottom: -100px; right: -100px;
    pointer-events: none;
}

@media (max-width: 767px) { .documento { padding: 2rem 1.25rem; margin-top: -28px; } }

.documento h2 {
    font-size: 1.9rem; color: var(--primary-dark);
    padding-bottom: 1rem; margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-main);
    position: relative;
}
.documento h2::after {
    content: '';
    position: absolute; bottom: -2px; left: 0;
    width: 55px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 99px;
}
.articulo-content { font-size: 1.04rem; line-height: 1.88; color: var(--text-main); }
.articulo-content p { margin-bottom: 1.35rem; }
pre#fix { white-space: pre-wrap; word-wrap: break-word; font-family: inherit; margin: 0; padding: 0; }

/* ═══════════════════════════════════════
   SIDE MENU (INTERNAL PAGES)
═══════════════════════════════════════ */
.side-menu-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.05);
    position: relative;
    overflow: hidden;
}
.side-menu-card::after {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(170,204,0, 0.1) 0%, transparent 70%);
    bottom: -50px; right: -30px;
    pointer-events: none;
}

.side-menu-title {
    font-size: .9rem; font-weight: 800; color: var(--primary);
    border-bottom: 2px solid var(--bg-main);
    padding-bottom: .75rem; margin-bottom: 1rem;
    text-transform: uppercase; letter-spacing: .06em;
}
.side-menu-list { list-style: none; padding: 0; margin: 0; }
.side-menu-list li { margin-bottom: 2px; }
.side-menu-list li a {
    display: flex; align-items: center; gap: .6rem;
    padding: .65rem 1rem;
    color: var(--text-muted); text-decoration: none;
    border-radius: var(--radius-xs);
    font-weight: 600; font-size: .87rem;
    transition: all var(--dur-fast) var(--ease);
}
.side-menu-list li a i { font-size: .9rem; color: var(--primary); flex-shrink: 0; }
.side-menu-list li a:hover,
.side-menu-list li a.active {
    background: var(--bg-alt);
    color: var(--primary);
    padding-left: 1.3rem;
}

/* ═══════════════════════════════════════
   MASTER MODERN FOOTER
═══════════════════════════════════════ */
#footer {
    background: #0d1117;
    color: rgba(255, 255, 255, 0.65);
    padding: 0;
    position: relative;
    border-top: 4px solid var(--primary);
}

.footer-top-logos {
    background: #ffffff;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-main {
    padding: 50px 0 40px;
}

.footer-title {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--secondary);
    border-radius: 99px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.footer-link i {
    font-size: 0.8rem;
    color: var(--secondary);
    opacity: 0.6;
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-link:hover i {
    opacity: 1;
    transform: scale(1.2);
}

.footer-contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-contact-icon {
    width: 42px;
    height: 42px;
    background: rgba(141, 198, 63, 0.1);
    border: 1px solid rgba(141, 198, 63, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary);
}

#end_footer {
    background: #06090f;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gov-logo-brand {
    max-height: 50px;
    filter: grayscale(1) brightness(0.6);
    transition: all 0.4s var(--ease);
}

.footer-top-logos a:hover .gov-logo-brand {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}


/* ═══════════════════════════════════════
   EVENTS LIST
═══════════════════════════════════════ */
.ev_list ul { list-style: none; padding: 0; margin: 0; }
.ev_list ul li { border-bottom: 1px solid var(--bg-main); }
.ev_list ul li:last-child { border-bottom: none; }
.ev_list ul li a {
    display: flex; align-items: flex-start; gap: .5rem;
    padding: .6rem 0;
    color: var(--text-muted); font-size: .87rem; font-weight: 600;
    text-decoration: none;
    transition: color .2s, gap .2s;
}
.ev_list ul li a::before { content: '›'; color: var(--secondary); font-size: 1.1rem; line-height: 1.2; flex-shrink: 0; }
.ev_list ul li a:hover { color: var(--primary); gap: .8rem; }

/* ═══════════════════════════════════════
   VIDEO WRAPPER
═══════════════════════════════════════ */
.video-wrapper {
    position: relative; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg); background: #000;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.video-wrapper:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.video-wrapper video,
.video-wrapper iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; }


/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.text-shimmer {
    background: linear-gradient(90deg, var(--secondary), #fff 45%, var(--secondary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shimmer 3.5s linear infinite;
}

@keyframes floatY {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ═══════════════════════════════════════
   UTILITY
═══════════════════════════════════════ */
.rounded-utg { border-radius: var(--radius); }
.shadow-utg   { box-shadow: var(--shadow-md); }
.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.bg-primary-utg    { background: var(--primary) !important; }
.bg-success-utg    { background: #198754 !important; }
.bg-warning-utg    { background: #f59e0b !important; }
.bg-accent-utg     { background: var(--accent) !important; }
.bg-accent         { background-color: var(--accent) !important; }
.text-primary-utg  { color: var(--primary) !important; }
.text-accent       { color: var(--accent) !important; }
.border-primary-utg { border-color: var(--primary) !important; }
.bg-alt { background: var(--bg-alt) !important; }

.table-utg thead { background: var(--primary); color: #fff; }
.table-utg tbody tr:hover { background: var(--bg-alt); }

/* ── Plataformas sidebar ── */
.plataformas ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.plataformas ul li img {
    max-height: 50px; width: auto;
    border-radius: .5rem; opacity: .88;
    transition: opacity .2s, transform .2s;
}
.plataformas ul li img:hover { opacity: 1; transform: scale(1.07); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 991px) {
    .internal-page-header { padding: 80px 0 100px; }
}
@media (max-width: 768px) {
    .internal-page-title { font-size: 2rem; }
    .documento { padding: 1.75rem 1rem; }
}
@media (max-width: 576px) {
    .info2 { padding: 0 1rem; }
}

/* ═══════════════════════════════════════
   THREE-COLUMN LAYOUT (oferta_educativa)
═══════════════════════════════════════ */
.info2.three-col {
    grid-template-columns: 220px 1fr 200px;
}
@media (max-width: 1199px) { .info2.three-col { grid-template-columns: 200px 1fr; } }
@media (max-width: 991px)  { .info2.three-col { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   NAVBAR ACTIVE PAGE HIGHLIGHT
═══════════════════════════════════════ */
.menu-list .nav-link[aria-current="page"],
.menu-list .nav-link.current {
    color: #fff !important;
}
.menu-list .nav-link[aria-current="page"]::after,
.menu-list .nav-link.current::after {
    width: 80%;
}

/* ═══════════════════════════════════════
   CAREER ROW HOVER (oferta_educativa)
═══════════════════════════════════════ */
.career-row {
    display: flex; align-items: center; gap: 1rem;
    padding: .85rem 1rem;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(0,104,55,.1);
    background: var(--bg-card);
    text-decoration: none;
    transition: all var(--dur-fast) var(--ease);
}
.career-row:hover {
    background: var(--bg-alt);
    border-color: var(--secondary);
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}
.career-row i { color: var(--primary); font-size: 1.5rem; flex-shrink: 0; }
.career-row .cr-title { font-weight: 700; font-size: .92rem; color: var(--primary-dark); }
.career-row .cr-sub   { font-size: .78rem; color: var(--text-muted); }

/* ═══════════════════════════════════════
   ALERT INFO (aspirantes)
═══════════════════════════════════════ */
.alert-utg-info {
    background: linear-gradient(135deg, rgba(0,104,55,.06), rgba(141,198,63,.06));
    border: 1px solid rgba(0,104,55,.15);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
}

/* ═══════════════════════════════════════
   BACK-TO-TOP BUTTON - ULTIMATE DESIGN
═══════════════════════════════════════ */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(0, 104, 55, 0.4);
    opacity: 0;
    transform: translateY(40px) scale(0.7);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2000;
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

#backToTop.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: floatY 3s ease-in-out infinite;
}

.btn-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    transition: all 0.4s var(--ease);
}

#backToTop i {
    font-size: 1.6rem;
    color: #ffffff;
    z-index: 2;
    transition: transform 0.4s var(--ease);
}

#backToTop:hover .btn-inner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    transform: scale(1.1);
}

#backToTop:hover i {
    transform: translateY(-5px);
}

/* Glow effect */
#backToTop::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

#backToTop:hover::after {
    opacity: 1;
}



/* ═══════════════════════════════════════
   MOBILE TWEAKS
═══════════════════════════════════════ */
@media (max-width: 991px) {
    .sbox-hdr { font-size: .72rem; }
    .stat-num  { font-size: 2.2rem; }
    .hero-title { font-size: 2.2rem; }
    .cta-inner  { padding: 2.5rem 1.5rem; }
    .documento h2 { font-size: 1.5rem; }
    
    /* Sidebar behavior on mobile */
    aside { display: block !important; margin-bottom: 2rem; }
    #flexfix { display: none !important; }
}

