/* UCATEBA local layout — replaces the remote template/menu stylesheets. */
:root {
    --ucateba-primary: #0d2a6e;
    --ucateba-primary-dark: #071a45;
    --ucateba-secondary: #f47920;
    --ucateba-ink: #1e293b;
    --ucateba-muted: #64748b;
    --ucateba-line: rgba(13, 42, 110, .1);
    --ucateba-soft: #f6f8fc;
}

html { scroll-behavior: smooth; }

body.ucateba-template {
    font-family: "Poppins", "Open Sans", "Segoe UI", sans-serif;
    color: var(--ucateba-ink);
    background: #fff;
    overflow-x: hidden;
}

a { text-decoration-thickness: 1px; }

.section-pad { padding: 72px 0; }
.section-title {
    color: var(--ucateba-primary);
    font-weight: 800;
    letter-spacing: -.3px;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}
.section-subtitle { color: var(--ucateba-muted); margin-bottom: 0; }

.btn-border-thick { border-width: 2px; }
.btn-outline-primary {
    color: var(--ucateba-primary);
    border-color: var(--ucateba-primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--ucateba-primary);
    border-color: var(--ucateba-primary);
    color: #fff;
}
.btn-ucateba-azul { background: var(--ucateba-primary); border: 0; }
.btn-ucateba-azul:hover { background: #091d4d; color: #fff; }

/* ---------- Top bar ---------- */
.ucateba-topbar {
    background: var(--ucateba-primary);
    color: #fff;
    font-size: .82rem;
    padding: 7px 0;
}
.topbar-info { gap: 18px; }
.topbar-item {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
}
.topbar-item:hover { color: #fff; }
.topbar-item i { color: var(--ucateba-secondary); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.topbar-social a:hover { background: var(--ucateba-secondary); color: #fff; }

/* ---------- Header ---------- */
.ucateba-header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(13, 42, 110, .08);
    z-index: 1030;
}
.ucateba-header .navbar { padding-top: .45rem; padding-bottom: .45rem; }
.header-logo { height: 64px; width: auto; }
.brand-wordmark {
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--ucateba-primary);
    font-size: 1.35rem;
}
.navbar-toggler { display: none !important; }

.uc-nav-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: var(--ucateba-primary) !important;
    font-weight: 600;
    font-size: .84rem;
    padding: .55rem .65rem !important;
    border-radius: 10px;
    white-space: nowrap;
}
.uc-nav-link > i:first-child { color: var(--ucateba-secondary); font-size: .95rem; }
.uc-caret { font-size: .65rem; opacity: .7; }
.uc-nav-link:hover,
.uc-nav-link:focus,
.uc-nav-item.uc-active > .uc-nav-link,
.uc-nav-link.active {
    background: rgba(13, 42, 110, .06);
    color: var(--ucateba-primary) !important;
}

.uc-nav-item { position: relative; }
.uc-dropdown {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    min-width: 280px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(13, 42, 110, .16);
    border: 1px solid var(--ucateba-line);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 40;
}
.uc-nav-item:hover > .uc-dropdown,
.uc-nav-item:focus-within > .uc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.uc-dropdown.uc-mega {
    width: min(680px, calc(100vw - 40px));
}
.uc-nav-item:nth-child(n+4) > .uc-dropdown.uc-mega {
    left: auto;
    right: 0;
}
.uc-simple-list { list-style: none; margin: 0; padding: 0; }
.uc-drop-item,
.uc-mega-item,
.uc-mega-subitem,
.uc-mega-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--ucateba-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: .88rem;
}
.uc-drop-item:hover,
.uc-mega-item:hover,
.uc-mega-subitem:hover,
.uc-mega-group-title:hover {
    background: var(--ucateba-soft);
    color: var(--ucateba-primary);
}
.uc-drop-item i,
.uc-mega-item-icon,
.uc-mega-group-title i { color: var(--ucateba-secondary); }
.uc-mega-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 6px; }
.uc-mega-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(244, 121, 32, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
}
.uc-mega-sublist { list-style: none; margin: 0 0 6px; padding: 0 0 0 18px; }
.uc-mega-subitem { font-weight: 500; }
.uc-subitem-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ucateba-secondary);
    display: inline-block;
}

.btn-search-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(13, 42, 110, .06);
    color: var(--ucateba-primary);
}
.btn-search-toggle:hover { background: var(--ucateba-primary); color: #fff; }

.uc-hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
}
.uc-hb-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ucateba-primary);
    border-radius: 2px;
}

@media (max-width: 1199.98px) {
    .uc-hamburger { display: inline-flex; }
    .ucateba-header .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 0;
        align-items: center;
        margin-left: auto;
    }
    #ucMainNav { display: none !important; }
    .header-logo { height: 52px; }
}
@media (min-width: 1200px) {
    .uc-hamburger { display: none !important; }
}

/* ---------- Mobile drawer ---------- */
.uc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 16, 40, .48);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 1040;
    pointer-events: none;
}
.uc-overlay.uc-overlay--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.uc-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(360px, 88vw);
    background: #fff;
    z-index: 1050;
    transform: translateX(-105%);
    transition: transform .28s ease;
    overflow: auto;
    box-shadow: 12px 0 36px rgba(0, 0, 0, .16);
}
.uc-drawer.uc-drawer--open { transform: none; }
.uc-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ucateba-line);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}
.uc-drawer-logo { height: 48px; width: auto; }
.uc-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: var(--ucateba-soft);
    color: var(--ucateba-primary);
}
.ucd-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    background: transparent;
    color: var(--ucateba-primary);
    text-decoration: none;
    font-weight: 600;
    text-align: left;
}
.ucd-left { display: flex; align-items: center; gap: 10px; }
.ucd-left > i { color: var(--ucateba-secondary); width: 1.1rem; }
.ucd-child > .ucd-link { padding-left: 42px; font-weight: 500; font-size: .92rem; }
.ucd-panel { overflow: hidden; transition: max-height .28s ease; }
.ucd-row.ucd-active > .ucd-link { background: rgba(244, 121, 32, .1); }
.ucd-arrow { transition: transform .2s; }
.ucd-toggle-btn[aria-expanded="true"] .ucd-arrow { transform: rotate(180deg); }

/* ---------- Search ---------- */
.ucateba-search-bar {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--ucateba-line);
    box-shadow: 0 10px 24px rgba(13, 42, 110, .06);
    padding: 14px 0;
}
.ucateba-search-bar.active { display: block; }
.ucateba-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ucateba-soft);
    border-radius: 999px;
    padding: 6px 6px 6px 16px;
}
.ucateba-search-icon { color: var(--ucateba-muted); }
.ucateba-search-input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 1rem;
    min-width: 0;
}
.ucateba-search-btn {
    background: var(--ucateba-secondary);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
}
.ucateba-search-btn:hover { background: #dd6816; }
.ucateba-search-close {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--ucateba-primary);
    border-radius: 50%;
}

/* ---------- Hero ---------- */
.ucateba-hero {
    position: relative;
    height: clamp(460px, 68vh, 680px);
    background: #0b1f52;
}
.ucateba-hero .carousel-inner,
.ucateba-hero .carousel-item { height: 100%; }
.ucateba-hero .carousel-item { background: #0b1f52; }
.hero-slide-media,
.hero-overlay { position: absolute; inset: 0; }
.hero-overlay { z-index: 2; pointer-events: none; }
.hero-slide-bg,
.hero-slide-bgblur {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
}
.hero-fit-contain .hero-slide-bg {
    background-size: cover;
    z-index: 1;
}
.hero-slide-bgblur {
    background-size: cover;
    filter: blur(22px);
    transform: scale(1.12);
}
.ucateba-hero .carousel-item > .container {
    position: relative;
    z-index: 3;
    height: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ucateba-secondary);
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 700;
    font-size: .78rem;
    margin-bottom: 16px;
}
.hero-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.55rem, 3.2vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -.4px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
    margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero-primary,
.btn-hero-secondary {
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
}
.btn-hero-primary { background: var(--ucateba-secondary); color: #fff; border: 0; }
.btn-hero-primary:hover { background: #dd6816; color: #fff; }
.btn-hero-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-hero-secondary:hover { background: #fff; color: var(--ucateba-primary); }

.ucateba-hero .carousel-indicators { margin-bottom: 1.25rem; z-index: 4; }
.ucateba-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .55);
}
.ucateba-hero .carousel-indicators .active { background-color: var(--ucateba-secondary); }

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 4;
}
.scroll-dot {
    display: block;
    width: 22px;
    height: 34px;
    border: 2px solid #fff;
    border-radius: 14px;
    position: relative;
}
.scroll-dot::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 7px;
    margin-left: -2px;
    border-radius: 4px;
    background: #fff;
    animation: uc-scroll 1.4s ease infinite;
}
@keyframes uc-scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}
@keyframes uc-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@keyframes uc-fade-down {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}
.animate-fadeInUp { animation: uc-fade-up .7s ease both; }
.animate-fadeInDown { animation: uc-fade-down .6s ease both; }
.delay-2 { animation-delay: .18s; }

/* ---------- Shortcut strip ---------- */
.inv-menu-bar { background: #fff; border-bottom: 1px solid var(--ucateba-line); }
.inv-menu-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
}
.inv-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ucateba-primary);
    padding: 8px 14px;
    border-radius: 14px;
    min-width: 210px;
}
.inv-menu-item:hover { background: var(--ucateba-soft); color: var(--ucateba-primary); }
.inv-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex: 0 0 48px;
}
.inv-icon-green { background: #e7f6ee; color: #178a48; }
.inv-icon-blue { background: #e8eefb; color: var(--ucateba-primary); }
.inv-menu-logo-img { width: 34px; height: 34px; object-fit: contain; }
.inv-menu-name { display: block; font-weight: 800; font-size: .92rem; line-height: 1.15; }
.inv-menu-sub { display: block; color: var(--ucateba-muted); font-size: .75rem; }

/* ---------- Stats ---------- */
.ucateba-stats-band { background: linear-gradient(180deg, #f4f7fb 0%, #fff 100%); padding: 56px 0 20px; }
.stats-band-title {
    color: var(--ucateba-primary);
    font-weight: 800;
    margin-bottom: 28px;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
.stat-item {
    background: #fff;
    border-radius: 16px;
    padding: 22px 8px;
    height: 100%;
    box-shadow: 0 10px 28px rgba(13, 42, 110, .06);
    border: 1px solid var(--ucateba-line);
}
.stat-number {
    display: block;
    font-size: clamp(1.7rem, 2.4vw, 2.25rem);
    font-weight: 800;
    color: var(--ucateba-primary);
    line-height: 1;
}
.stat-plus { color: var(--ucateba-secondary); }
.stat-label {
    display: block;
    margin-top: 8px;
    color: var(--ucateba-muted);
    font-weight: 600;
    font-size: .88rem;
}

/* ---------- Quick links ---------- */
.ucateba-quicklinks { background: var(--ucateba-soft); padding: 28px 0 56px; }
.ql-eyebrow {
    display: inline-block;
    color: var(--ucateba-secondary);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .74rem;
    margin-bottom: 6px;
}
.ql-title {
    color: var(--ucateba-primary);
    font-weight: 800;
    margin-bottom: 22px;
}
.ql-wrapper { flex: 1 1 150px; max-width: 210px; padding: 8px; }
.quicklink-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 22px 12px;
    min-height: 148px;
    color: var(--ucateba-primary);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--ucateba-line);
    box-shadow: 0 8px 22px rgba(13, 42, 110, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.quicklink-card:hover {
    transform: translateY(-6px);
    color: var(--ucateba-primary);
    box-shadow: 0 16px 34px rgba(13, 42, 110, .12);
}
.quicklink-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(244, 121, 32, .12);
    color: var(--ucateba-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.news-container-wide,
.ucateba-events .container { position: relative; }
.uc-news-wrap,
.uc-ev-wrap { padding-left: 8px; padding-right: 8px; }
.uc-news-img img,
.uc-ev-img img,
.asoc-logo-wrap img {
    color: transparent;
    font-size: 0;
}

/* ---------- CTA ---------- */
.ucateba-cta {
    position: relative;
    background: linear-gradient(115deg, #0d2a6e 0%, #163a8c 100%);
    color: #fff;
    padding: 72px 0;
    overflow: hidden;
}
.cta-bg-overlay { display: none; }
.cta-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    margin-bottom: 10px;
}
.cta-text { color: rgba(255, 255, 255, .86); margin: 0; font-size: 1.02rem; }
.btn-cta-primary {
    background: var(--ucateba-secondary);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 14px 26px;
    font-weight: 700;
}
.btn-cta-primary:hover { background: #dd6816; color: #fff; }

/* ---------- FAQ ---------- */
.ucateba-faq .accordion-item {
    border: 1px solid var(--ucateba-line) !important;
    border-radius: 14px !important;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}
.ucateba-faq .accordion-button {
    font-weight: 700;
    color: var(--ucateba-primary);
    box-shadow: none;
}
.ucateba-faq .accordion-button:not(.collapsed) {
    background: rgba(13, 42, 110, .05);
    color: var(--ucateba-primary);
}
.ucateba-faq .accordion-button:focus { box-shadow: none; }
.faq-empty-icon { font-size: 2rem; color: var(--ucateba-muted); }

/* ---------- Associations ---------- */
.ucateba-asociaciones { background: #fff; overflow: hidden; }
.asoc-carousel {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.asoc-track {
    display: flex;
    width: max-content;
    animation: asoc-scroll 36s linear infinite;
}
.asoc-track:hover { animation-play-state: paused; }
.asoc-group { display: flex; gap: 22px; padding-right: 22px; }
.asoc-card {
    width: 190px;
    background: #fff;
    border: 1px solid var(--ucateba-line);
    border-radius: 16px;
    padding: 16px 12px 14px;
    position: relative;
    box-shadow: 0 8px 20px rgba(13, 42, 110, .05);
}
.asoc-logo-wrap {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.asoc-logo-wrap img { max-width: 120px; max-height: 68px; object-fit: contain; }
.asoc-name { margin-top: 8px; font-weight: 800; color: var(--ucateba-primary); }
.asoc-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 220px;
    background: var(--ucateba-primary);
    color: #fff;
    font-size: .75rem;
    line-height: 1.35;
    padding: 8px 10px;
    border-radius: 10px;
    z-index: 3;
    white-space: normal;
}
.asoc-card:hover .asoc-tooltip,
.asoc-card:focus .asoc-tooltip { display: block; }
@keyframes asoc-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-25%); }
}

/* ---------- Footer ---------- */
.ucateba-footer { background: var(--ucateba-primary-dark); color: rgba(255, 255, 255, .82); }
.footer-main { padding: 56px 0 28px; }
.footer-logo { height: 74px; width: auto; margin-bottom: 14px; }
.footer-wordmark:not([hidden]) {
    display: block;
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: .14em;
    color: #fff;
    font-size: 1.45rem;
}
.footer-about { max-width: 340px; font-size: .92rem; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-social a:hover { background: var(--ucateba-secondary); border-color: var(--ucateba-secondary); color: #fff; }
.footer-widget-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.footer-widget-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: var(--ucateba-secondary);
}
.footer-links,
.footer-contact,
.footer-legal-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a,
.footer-contact a,
.footer-legal-links a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}
.footer-links a:hover,
.footer-contact a:hover,
.footer-legal-links a:hover { color: var(--ucateba-secondary); }
.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}
.footer-contact i { color: var(--ucateba-secondary); margin-top: 3px; }
.footer-map-placeholder { margin-top: 8px; }
.footer-map-placeholder a { color: var(--ucateba-secondary); font-weight: 700; text-decoration: none; }
.footer-bottom { background: #05122f; font-size: .84rem; }
.footer-copyright { color: rgba(255, 255, 255, .7); }

.ucateba-modal-header { background: var(--ucateba-primary); color: #fff; }
.ucateba-modal-header .btn-close { filter: invert(1); }

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1020;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--ucateba-secondary);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(244, 121, 32, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); color: #fff; }

@media (max-width: 767.98px) {
    .section-pad { padding: 48px 0; }
    .ucateba-hero { height: 520px; }
    .hero-content { padding-top: 24px; }
    .hero-title { font-size: 1.35rem; }
    .uc-mega-inner { grid-template-columns: 1fr; }
    .footer-legal-links { flex-wrap: wrap; }
    .asoc-card { width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
    .asoc-track,
    .animate-fadeInUp,
    .animate-fadeInDown,
    .scroll-dot::after { animation: none !important; }
}

/* ---------- Inner pages ---------- */
.page-hero {
    background: linear-gradient(135deg, #0d2a6e 0%, #091d4d 100%);
    color: #fff;
    padding: 48px 0 42px;
    border-bottom: 5px solid var(--ucateba-secondary);
}
.page-hero h1 {
    font-weight: 800;
    letter-spacing: -.4px;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    margin: 10px 0 8px;
}
.page-lead { color: rgba(255, 255, 255, .88); max-width: 760px; margin: 0; font-size: 1.05rem; }
.page-crumbs { font-size: .82rem; color: rgba(255, 255, 255, .75); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.page-crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.page-crumbs a:hover { color: #ffd7b8; }
.page-main { background: var(--ucateba-soft); }
.page-card {
    background: #fff;
    border-radius: 18px;
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid var(--ucateba-line);
    box-shadow: 0 10px 28px rgba(13, 42, 110, .05);
}
.page-card h2 { color: var(--ucateba-primary); font-weight: 800; font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.page-card h2:first-child { margin-top: 0; }
.page-card h3 { color: var(--ucateba-primary); font-weight: 700; font-size: 1.05rem; margin: 1.15rem 0 .3rem; }
.page-card .role { color: #c85a00; font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .15rem; }
.page-card ul { margin: 0 0 1rem 1.15rem; }
.page-card p, .page-card li { color: #334155; line-height: 1.75; }
.page-card img.chart { width: 100%; height: auto; border-radius: 12px; margin: 8px 0 16px; }
.page-card a { color: #c85a00; font-weight: 700; }
.page-card a:hover { color: var(--ucateba-primary); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.info-tile {
    background: var(--ucateba-soft);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--ucateba-line);
}
.info-tile i { color: var(--ucateba-secondary); font-size: 1.2rem; }
.info-tile strong { display: block; color: var(--ucateba-primary); margin: 6px 0 2px; }
.info-tile span { color: var(--ucateba-muted); font-size: .9rem; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.link-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--ucateba-line);
    border-radius: 14px;
    padding: 16px;
    height: 100%;
    font-weight: 500;
}
.link-card:hover { border-color: var(--ucateba-secondary); color: inherit; transform: translateY(-2px); }
.link-card i { color: var(--ucateba-secondary); font-size: 1.3rem; margin-top: 2px; }
.link-card strong { display: block; color: var(--ucateba-primary); font-weight: 800; }
.link-card span { display: block; color: var(--ucateba-muted); font-size: .86rem; font-weight: 500; }
.page-form .form-control, .page-form .form-select { border-radius: 10px; border-color: rgba(13, 42, 110, .15); }
.page-form .form-control:focus, .page-form .form-select:focus { border-color: var(--ucateba-primary); box-shadow: 0 0 0 .2rem rgba(13, 42, 110, .12); }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--ucateba-line);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}
.news-row:hover { border-color: var(--ucateba-secondary); color: inherit; }
.page-card .news-row strong { display: block; color: var(--ucateba-primary); }
.page-card .news-row span { display: block; margin-top: 4px; color: #475569; font-weight: 500; }
.news-datebox {
    background: var(--ucateba-primary);
    color: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 10px 6px;
    font-weight: 800;
    line-height: 1.15;
}
.news-datebox small { display: block; font-weight: 600; color: #f47920; font-size: .72rem; }
