:root {
    --primary: #0d4457;
    --primary-deep: #081720;
    --secondary: #1b876e;
    --accent: #ffb703;
    --surface: #f4f8f7;
    --surface-strong: #e5efee;
    --card: #ffffff;
    --text: #13252f;
    --muted: #607482;
    --border: #d6e3e0;
    --shadow: 0 24px 56px rgba(9, 27, 39, 0.12);
    --radius: 24px;
}

* { box-sizing: border-box; }
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background: radial-gradient(circle at top right, rgba(255, 183, 3, 0.12), transparent 28%), linear-gradient(180deg, #fbfcfb 0%, var(--surface) 18%, #eef5f4 100%);
    color: var(--text);
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--secondary); }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; font-family: "Outfit", sans-serif; letter-spacing: -0.02em; }
p { margin-top: 0; }

.container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(940px, calc(100% - 32px)); }
.site-main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.card, .feature-card, .brand-tile, .entry-card, .page-card, .archive-summary-card, .detail-summary-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(214, 227, 224, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    transition: transform 0.28s ease;
}
.site-header.is-hidden { transform: translateY(calc(-100% - 12px)); }
.header-shell {
    background: linear-gradient(180deg, rgba(8, 23, 32, 0.94), rgba(8, 23, 32, 0.86));
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.28s ease, background 0.28s ease;
}
.site-header.is-scrolled .header-shell { box-shadow: 0 18px 40px rgba(7, 18, 25, 0.26); }
.header-announcement {
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, rgba(255, 183, 3, 0.16), rgba(27, 135, 110, 0.1), rgba(13, 68, 87, 0.22));
}
.header-announcement-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
}
.header-announcement__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 183, 3, 0.2);
    border: 1px solid rgba(255, 183, 3, 0.34);
    box-shadow: 0 0 18px rgba(255, 183, 3, 0.2);
    white-space: nowrap;
}
.header-announcement__marquee {
    position: relative;
    overflow: hidden;
}
.header-announcement__track {
    display: flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    min-width: 100%;
    animation: headerRibbonScroll 26s linear infinite;
}
.header-announcement__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.header-announcement__item::after {
    content: "";
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 183, 3, 0.92);
    box-shadow: 0 0 14px rgba(255, 183, 3, 0.42);
}
.header-announcement__link,
.header-announcement-inner a {
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}
.header-announcement__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 22px rgba(27, 135, 110, 0.16);
}
.header-announcement__link:hover {
    color: #ffffff;
    border-color: rgba(255, 183, 3, 0.4);
    background: rgba(255, 183, 3, 0.12);
}
@keyframes headerRibbonScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-25%);
    }
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.mobile-header-upper {
    max-height: 220px;
    transition: max-height 0.24s ease, padding 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}
.header-search-desktop {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.header-search-desktop__inner {
    padding: 14px 0 18px;
}
.universal-search--desktop {
    width: 100%;
}
.header-search-desktop .universal-search input {
    background: rgba(255, 255, 255, 0.98);
}
.brand-lockup { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand-mark .custom-logo { max-height: 56px; width: auto; }
.brand-mark span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), #ff7f11);
    color: var(--primary-deep);
    font-family: "Outfit", sans-serif;
    font-weight: 800;
}

.brand-kicker, .eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.brand-kicker { margin-bottom: 8px; background: rgba(255, 183, 3, 0.14); color: #ffd166; }
.eyebrow { background: rgba(13, 68, 87, 0.08); color: var(--secondary); }
.eyebrow-light { background: rgba(255, 255, 255, 0.12); color: #d8f3eb; }
.site-title { display: block; color: #ffffff; font-size: 1.35rem; font-weight: 800; }
.site-tagline { color: rgba(224, 236, 240, 0.8); font-size: 0.95rem; }

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}
.menu-toggle svg {
    width: 22px;
    height: 22px;
}
.site-nav .menu, .site-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav-extra {
    display: none;
}
.site-nav a { color: #ffffff; font-weight: 700; opacity: 0.9; }
.site-nav a:hover { opacity: 1; color: #ffffff; }
.header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; align-items: center; }
.mobile-header-upper-actions {
    display: none;
    align-items: center;
    gap: 10px;
}
.mobile-header-icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(10px);
}
.mobile-header-icon-button svg {
    width: 21px;
    height: 21px;
}
.mobile-header-icon-button span {
    position: absolute;
    top: -6px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(255, 183, 3, 0.98);
    color: var(--primary-deep);
    font-size: 0.72rem;
    font-weight: 800;
}
.mobile-header-lower {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-header-lower-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 0 14px;
}
.mobile-footer-nav__item {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-height: 62px;
    padding: 10px 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
}
.mobile-footer-nav__item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}
.mobile-footer-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}
.mobile-footer-nav__icon svg {
    width: 22px;
    height: 22px;
}
.header-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
}
.header-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 183, 3, 0.96);
    color: var(--primary-deep);
    font-size: 0.76rem;
}
.mobile-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 18, 25, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}
body.nav-open .mobile-panel-overlay {
    opacity: 1;
    pointer-events: auto;
}
body.nav-open {
    overflow: hidden;
}

.header-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 88;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}
.header-search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 25, 0.72);
    backdrop-filter: blur(12px);
}
.header-search-overlay__dialog {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 24px;
    border: 1px solid rgba(214, 227, 224, 0.28);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(8, 23, 32, 0.98), rgba(12, 39, 53, 0.96));
    box-shadow: 0 30px 60px rgba(7, 18, 25, 0.28);
}
.header-search-overlay__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    color: #ffffff;
}
.header-search-overlay__top h2 {
    margin: 10px 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
}
.header-search-overlay__top p {
    margin: 0;
    max-width: 720px;
    color: rgba(224, 236, 240, 0.82);
}
.header-search-overlay__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
}
.header-search-overlay__close svg {
    width: 22px;
    height: 22px;
}
body.search-open {
    overflow: hidden;
}
body.search-open .header-search-overlay {
    opacity: 1;
    pointer-events: auto;
}

.header-search-wrap {
    padding: 22px 0 0;
}
.header-search-row { display: block; }
.universal-search--header { width: 100%; }
.universal-search, .sidebar-search { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.universal-search input, .sidebar-search input {
    min-width: 0;
    height: 60px;
    border-radius: 18px;
    border: 1px solid rgba(214, 227, 224, 0.8);
    padding: 0 20px;
    font-size: 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 40px rgba(8, 23, 32, 0.16);
}

.btn, .universal-search button, .sidebar-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 16px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover, .universal-search button:hover, .sidebar-search button:hover { transform: translateY(-1px); }
.btn-primary, .universal-search button, .sidebar-search button { background: linear-gradient(135deg, var(--accent), #ff8b1f); color: var(--primary-deep); box-shadow: 0 16px 32px rgba(255, 183, 3, 0.28); }
.btn-secondary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #ffffff; }
.btn-outline { border: 1px solid rgba(13, 68, 87, 0.16); background: rgba(255, 255, 255, 0.86); color: var(--primary); }
.btn-outline.light { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .btn,
    .universal-search button,
    .sidebar-search button {
        min-height: 44px;
        padding: 11px 14px;
        border-radius: 14px;
        font-size: 0.88rem;
        line-height: 1.25;
    }
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 12;
    display: none;
    max-height: min(56vh, 460px);
    overflow: auto;
    border: 1px solid rgba(214, 227, 224, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 60px rgba(8, 23, 32, 0.18);
}
.search-suggestions.active { display: block; }
.search-item { display: block; padding: 14px 18px; border-bottom: 1px solid #edf3f2; color: var(--text); }
.search-item:last-child { border-bottom: none; }
.search-item-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-item-head span { color: var(--secondary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.search-item small { display: block; margin-top: 4px; color: var(--muted); }
.search-item-view-all { background: #f6fbfa; }

.hero-slider, .slides { position: relative; }
.slides { overflow: hidden; }
.slide { position: relative; min-height: 78vh; display: none; }
.slide.active { display: block; }
.slide picture, .slide img { width: 100%; height: 78vh; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 18, 25, 0.88), rgba(7, 18, 25, 0.44)), radial-gradient(circle at top right, rgba(255, 183, 3, 0.2), transparent 26%); }
.slide-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #ffffff; }
.slide-content h1 { max-width: 780px; margin: 18px 0 14px; font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 0.98; }
.slide-content p { max-width: 660px; margin: 0 0 24px; color: rgba(230, 241, 245, 0.92); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points, .footer-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points { margin-top: 22px; }
.hero-points span, .footer-tags span { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #f1f7f8; font-size: 0.88rem; }
.slider-controls { position: absolute; inset: auto 0 28px 0; z-index: 3; display: flex; justify-content: flex-end; gap: 10px; }
.slider-controls button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.14); color: #ffffff; font-size: 1.4rem; backdrop-filter: blur(10px); cursor: pointer; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-shortcuts {
    position: fixed;
    right: 20px;
    bottom: 108px;
    z-index: 75;
    display: grid;
    gap: 10px;
}

.page-shortcuts__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(8, 23, 32, 0.96), rgba(13, 68, 87, 0.92));
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(7, 18, 25, 0.22);
    backdrop-filter: blur(14px);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-shortcuts__button:hover {
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(7, 18, 25, 0.26);
}

.page-shortcuts__button:focus-visible {
    outline: 2px solid rgba(255, 183, 3, 0.96);
    outline-offset: 3px;
}

.page-shortcuts__button[aria-disabled="true"] {
    opacity: 0.44;
    transform: none;
    box-shadow: 0 12px 26px rgba(7, 18, 25, 0.14);
    cursor: default;
}

.page-shortcuts__icon,
.page-shortcuts__icon svg {
    width: 22px;
    height: 22px;
}

body.nav-open .page-shortcuts,
body.search-open .page-shortcuts,
body.whatsapp-widget-open .page-shortcuts {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .container,
    .narrow {
        width: min(100%, calc(100% - 18px));
    }

    .btn,
    .universal-search button,
    .sidebar-search button {
        max-width: 100%;
        min-height: 44px;
        padding: 12px 16px;
        font-size: 0.9rem;
        line-height: 1.3;
        white-space: normal;
        text-align: center;
    }

    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    .site-main table:not(.detail-data-table):not(.internal-records-table) {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-main iframe,
    .site-main video,
    .site-main embed,
    .site-main object {
        max-width: 100%;
    }

    .header-announcement-inner {
        grid-template-columns: 1fr;
        padding: 10px 0;
    }

    .header-announcement__chip,
    .header-announcement__link {
        width: 100%;
        justify-content: center;
    }

    .header-announcement__track {
        animation-duration: 20s;
    }

    .mobile-header-lower {
        display: block;
    }

    .header-search-desktop {
        display: none;
    }

    .mobile-header-upper {
        overflow: hidden;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding: 14px 0;
    }

    .site-header.is-compact .header-announcement {
        display: none;
    }

    .site-header.is-compact .mobile-header-upper {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .brand-lockup {
        gap: 12px;
        min-width: 0;
    }

    .brand-lockup > div:last-child {
        min-width: 0;
    }

    .brand-mark .custom-logo {
        max-height: 42px;
    }

    .brand-kicker,
    .site-tagline {
        display: none;
    }

    .site-title {
        font-size: 1.08rem;
        line-height: 1.2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-header-lower-inner {
        gap: 8px;
        padding: 10px 0 12px;
    }

    .mobile-header-upper-actions {
        display: flex;
        flex-shrink: 0;
        min-width: max-content;
    }

    .mobile-footer-nav__item {
        min-width: 0;
        padding: 10px 6px;
        font-size: 0.74rem;
    }

    .mobile-footer-nav__item span:last-child {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .header-actions {
        display: none;
    }

    .header-search-overlay__dialog {
        margin-top: 14px;
        max-height: calc(100vh - 28px);
        padding: 18px;
        border-radius: 22px;
    }

    .header-search-overlay__top {
        flex-direction: column;
        align-items: stretch;
    }

    .header-search-overlay__top h2 {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }

    .header-search-overlay__close {
        align-self: flex-end;
    }

    .header-search-wrap {
        padding-top: 16px;
    }

    .header-search-wrap .universal-search {
        grid-template-columns: 1fr;
    }

    .header-search-wrap .search-suggestions {
        position: static;
        margin-top: 12px;
    }

    .page-shortcuts {
        right: auto;
        left: 14px;
        bottom: 14px;
        gap: 8px;
    }

    .page-shortcuts__button {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }
}

@media (max-width: 560px) {
    .container,
    .narrow {
        width: min(100%, calc(100% - 12px));
    }
}
