
:root {
    --blue: #1A3C6E;
    --blue-light: #2A5AA0;
    --blue-dark: #0F2847;
    --yellow: #F2B705;
    --yellow-light: #FFD54F;
    --black: #1A1A2E;
    --dark: #2D2D44;
    --gray-900: #212529;
    --gray-700: #495057;
    --gray-500: #6C757D;
    --gray-300: #DEE2E6;
    --gray-100: #F4F6F8;
    --white: #FFFFFF;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(26, 60, 110, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 60, 110, 0.12);
    --transition: all 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 112.5%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--blue-light);
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}

.site-header .navbar {
    padding: 0.55rem 0;
}

.logo-img {
    height: 36px;
}

.site-header .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

@media (min-width: 992px) {
    .site-header .nav-link {
        padding: 0.35rem 1rem;
        margin: 0 0.25rem;
        font-size: 0.85rem;
    }
}

.btn-access-extended {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #1a3c6e, #264a7a);
    color: var(--white) !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-left: 1.2rem;
}

.btn-access-extended:hover {
    background: linear-gradient(135deg, #264a7a, #1a3c6e);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 60, 110, 0.3);
    color: var(--white) !important;
}

.offcanvas-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offcanvas-overlay.show {
    display: block;
    opacity: 1;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.offcanvas-menu.show {
    transform: translateX(0);
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-300);
}

.offcanvas-header .logo-img {
    height: 36px;
}

.offcanvas-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: var(--transition);
}

.offcanvas-close:hover {
    color: var(--blue);
}

.offcanvas-body {
    flex: 1;
    padding: 1rem 0;
}

.offcanvas-body .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 1.1rem;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link.active {
    color: var(--blue);
    background: rgba(26, 60, 110, 0.04);
    border-left-color: var(--yellow);
}

.offcanvas-body .lang-divider {
    border-top: 1px solid var(--gray-300);
    margin: 0.75rem 1.5rem;
}

.offcanvas-body .lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
}

.offcanvas-body .lang-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.offcanvas-body .lang-list a:hover,
.offcanvas-body .lang-list a.active {
    background: var(--blue);
    color: var(--white);
}

@media (min-width: 992px) {
    .offcanvas-menu,
    .offcanvas-overlay,
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .desktop-nav {
        display: none !important;
    }
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--blue);
    background: rgba(26, 60, 110, 0.06);
}

.site-header .navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--blue);
}

.lang-switch {
    background: var(--blue);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1rem !important;
    letter-spacing: 0.03em;
    transition: var(--transition);
    border: 2px solid transparent;
}

.lang-switch:hover {
    background: var(--blue-light) !important;
    color: var(--white) !important;
}

.lang-switch::after {
    margin-left: 0.4rem;
    vertical-align: 0.1em;
    border-top-color: var(--white);
}

.site-header .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(26, 60, 110, 0.18);
    padding: 0.5rem;
    min-width: 180px;
    margin-top: 0.5rem;
    animation: dropdownFadeIn 0.2s ease;
    overflow: hidden;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header .dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-header .dropdown-item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: var(--transition);
    flex-shrink: 0;
}

.site-header .dropdown-item:hover {
    background: rgba(26, 60, 110, 0.06);
    color: var(--blue);
}

.site-header .dropdown-item:hover::before {
    background: var(--blue-light);
}

.site-header .dropdown-item.active {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    font-weight: 600;
}

.site-header .dropdown-item.active::before {
    background: var(--yellow);
    box-shadow: 0 0 6px rgba(242, 183, 5, 0.5);
}

.hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
    border-radius: 50%;
}

.hero h1 {
    font-size: 2.55rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-search-panel {
    width: 100%;
    max-width: 1080px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(8, 31, 67, 0.28);
    box-shadow: 0 24px 60px rgba(5, 22, 48, 0.24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

.hero-search-panel__main {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.96);
}

.hero-search-panel__input {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    padding: 0 1rem;
}

.hero-search-panel__input i {
    color: var(--blue);
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.hero-search-panel__input input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 0.9rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gray-900);
    font-size: 1rem;
}

.hero-search-panel__input input::placeholder {
    color: var(--gray-500);
}

.hero-search-panel__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-width: 145px;
    min-height: 48px;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 6px;
    background: var(--yellow);
    color: var(--blue-dark);
    font-weight: 850;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-search-panel__submit:hover {
    background: var(--yellow-light);
    transform: translateY(-1px);
}

.hero-filter-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.65rem 1.1rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    text-align: left;
    transition: background-color 0.2s ease;
}

.hero-filter-toggle:hover,
.hero-filter-toggle.is-active {
    background: rgba(255, 255, 255, 0.14);
}

.hero-filter-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(242, 183, 5, 0.18);
    color: var(--yellow);
}

.hero-filter-toggle__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.35rem;
    border-radius: 11px;
    background: var(--yellow);
    color: var(--blue-dark);
    font-size: 0.72rem;
}

.hero-filter-toggle__chevron {
    margin-left: auto;
    font-size: 0.78rem;
    transition: transform 0.25s ease;
}

.hero-filter-toggle.is-active .hero-filter-toggle__chevron {
    transform: rotate(180deg);
}

.hero-advanced-filters {
    display: none;
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 27, 62, 0.38);
}

.hero-advanced-filters.show {
    display: block;
    animation: heroFiltersIn 0.25s ease both;
}

.hero-advanced-filters__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hero-filter-field label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    font-weight: 750;
}

.hero-filter-field label i {
    color: var(--yellow);
    font-size: 0.8rem;
}

.hero-filter-field select,
.hero-filter-field input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    outline: 0;
    background: rgba(255, 255, 255, 0.96);
    color: var(--gray-900);
    font-size: 0.86rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-filter-field select:focus,
.hero-filter-field input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.18);
}

.filter-combobox {
    position: relative;
}

.hero-search-panel.has-open-combobox,
.hero-search-panel:has(.filter-combobox.is-open),
.hero-search-panel.has-open-combobox .hero-advanced-filters,
.hero-search-panel:has(.filter-combobox.is-open) .hero-advanced-filters,
.hero-search-panel.has-open-combobox .hero-advanced-filters__grid,
.hero-search-panel:has(.filter-combobox.is-open) .hero-advanced-filters__grid,
.hero-search-panel.has-open-combobox .hero-filter-field,
.hero-search-panel:has(.filter-combobox.is-open) .hero-filter-field {
    overflow: visible;
}

.filter-combobox.is-open {
    z-index: 100000;
}

.filter-combobox__native {
    display: none !important;
}

.filter-combobox__button {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--gray-900);
    font-size: 0.86rem;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-combobox__button:focus,
.filter-combobox.is-open .filter-combobox__button {
    border-color: var(--yellow);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.18);
}

.filter-combobox__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-combobox__chevron {
    margin-left: auto;
    color: var(--blue);
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}

.filter-combobox.is-open .filter-combobox__chevron {
    transform: rotate(180deg);
}

.filter-combobox__dropdown {
    position: absolute;
    z-index: 100001;
    top: calc(100% + 0.4rem);
    right: 0;
    left: 0;
    display: none;
    padding: 0.55rem;
    border: 1px solid rgba(26, 60, 110, 0.12);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 44px rgba(6, 22, 43, 0.18);
    color: #1B3A5C;
}

.filter-combobox.is-open .filter-combobox__dropdown {
    display: block;
}

.filter-combobox__search {
    min-height: 38px !important;
    margin-bottom: 0.45rem;
    padding: 0 0.7rem !important;
    border-color: var(--gray-300) !important;
    font-size: 0.84rem !important;
    color: #1B3A5C !important;
    background: var(--white) !important;
}

.filter-combobox__options {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.filter-combobox__option {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gray-800);
    font-size: 0.84rem;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.filter-combobox__option:hover,
.filter-combobox__option:focus {
    background: rgba(26, 60, 110, 0.08);
    outline: 0;
}

.filter-combobox__option.is-selected {
    background: rgba(242, 183, 5, 0.18);
    color: var(--blue-dark);
    font-weight: 800;
}

.filter-combobox__empty {
    padding: 0.6rem 0.65rem;
    color: var(--gray-500);
    font-size: 0.84rem;
}

.hero-advanced-filters__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-filters-reset,
.hero-filters-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.hero-filters-reset {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.84);
    background: transparent;
}

.hero-filters-reset:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.hero-filters-apply {
    border: 0;
    background: var(--yellow);
    color: var(--blue-dark);
}

.hero-filters-apply:hover {
    background: var(--yellow-light);
}

@keyframes heroFiltersIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero-advanced-filters__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hero-search-panel__main {
        align-items: stretch;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-search-panel__submit {
        width: 100%;
    }

    .hero-advanced-filters__grid {
        grid-template-columns: 1fr;
    }

    .hero-advanced-filters__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .hero-filters-reset,
    .hero-filters-apply {
        width: 100%;
    }
}

/* Legacy filter field kept for forms outside the hero. */
.hero-advanced-filters__field label {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}


.stats-bar {
    background: var(--white);
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.2rem 1.5rem 0.8rem;
}

.stats-bar .row {
    row-gap: 0.6rem;
}

.stat-item {
    text-align: center;
    padding: 0.4rem 0.25rem;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--gray-500);
    margin-top: 0.2rem;
    line-height: 1.3;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--gray-100);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--yellow);
    margin-top: 0.75rem;
    border-radius: 2px;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    padding: 0;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.case-card .card-photo {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.case-card .card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .card-photo img {
    transform: scale(1.05);
}

.case-card .card-photo .badge-case-type {
    position: absolute;
    top: 12px;
    right: 12px;
}

.case-card .card-top,
.case-card .card-title,
.case-card .card-defendants,
.case-card .card-financial,
.case-card .card-meta,
.case-card .card-details-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.case-card .card-top {
    padding-top: 1.25rem;
}

.case-card .card-details-link {
    padding-bottom: 1.5rem;
}

.case-card:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.case-card .card-number {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin: 0.5rem 0;
    flex-grow: 1;
}

.case-card .card-title a {
    color: var(--black);
}

.case-card .card-title a:hover {
    color: var(--blue);
}

.case-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.case-card .card-defendants {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-top: 0.5rem;
}

.badge-status {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-investigation {
    background: #FFF3E0;
    color: #E65100;
}

.badge-trial {
    background: #E3F2FD;
    color: #1565C0;
}

.badge-verdict {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-appeal {
    background: #F3E5F5;
    color: #7B1FA2;
}

.badge-recourse {
    background: #E8EAF6;
    color: #283593;
}

.badge-closed {
    background: var(--gray-100);
    color: var(--gray-500);
}

.badge-guilty {
    background: #FFEBEE;
    color: #C62828;
}

.badge-not_guilty {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-partial {
    background: #FFF8E1;
    color: #F57F17;
}

.badge-pending {
    background: var(--gray-100);
    color: var(--gray-500);
}

.badge-article {
    background: rgba(26, 60, 110, 0.08);
    color: var(--blue);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    box-shadow: 0 12px 40px rgba(26, 60, 110, 0.12);
    transform: translateY(-4px);
    border-color: transparent;
}

.content-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.content-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.content-card:hover .content-card-img img {
    transform: scale(1.05);
}

.content-card-img .card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.content-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-card-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.content-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.5rem 0;
    line-height: 1.4;
    flex-grow: 1;
}

.content-card-title a {
    color: var(--black);
}

.content-card-title a:hover {
    color: var(--blue);
}

.content-card-excerpt {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 0;
}

.news-card {
}

.case-card-modern {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card-modern:hover {
    box-shadow: 0 12px 40px rgba(26, 60, 110, 0.12);
    transform: translateY(-4px);
    border-color: transparent;
}

.case-card-img {
    height: 180px;
    overflow: hidden;
}

.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card-modern:hover .case-card-img img {
    transform: scale(1.05);
}

.case-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.case-card-number {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.case-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.case-card-title a {
    color: var(--black);
}

.case-card-title a:hover {
    color: var(--blue);
}

.case-card-defendants {
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.case-card-amount {
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}


.search-bar-modern {
    margin-bottom: 1.5rem;
}

.search-bar-form {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 60px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-bar-form:focus-within {
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(26, 60, 110, 0.12);
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
}

.search-input-wrap i {
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 1rem 0;
    background: transparent;
    color: var(--gray-900);
}

.search-input-wrap input::placeholder {
    color: var(--gray-500);
}

.search-bar-btn {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 0 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar-btn:hover {
    background: var(--blue-light);
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.filter-pill-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.filter-pill-toggle:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.filter-count {
    background: var(--blue);
    color: var(--white);
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.25rem;
}

.filter-pill-clear {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    transition: var(--transition);
}

.filter-pill-clear:hover {
    color: #DC3545;
}

.advanced-filters {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: none;
}

.advanced-filters.show {
    display: block;
    animation: filterSlideIn 0.25s ease;
}

.cases-bottom-search {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E6EAF0;
}

.cases-search-panel {
    position: relative;
    z-index: 30;
    max-width: none;
    margin-bottom: 1.5rem;
    background: #17375F;
    border-color: rgba(23, 55, 95, 0.16);
    box-shadow: 0 22px 56px rgba(6, 22, 43, 0.14);
}

.cases-search-panel.has-open-combobox,
.cases-search-panel:has(.filter-combobox.is-open) {
    z-index: 1000;
}

.cases-search-panel .hero-search-panel__main {
    background: rgba(255, 255, 255, 0.98);
}

.cases-search-panel .hero-advanced-filters {
    background: rgba(5, 27, 62, 0.58);
}

.cases-bottom-search .cases-search-panel {
    margin-bottom: 0;
}

@keyframes filterSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.filter-select {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    width: 100%;
    transition: var(--transition);
    background: var(--white);
}

.filter-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.08);
    outline: none;
}

.btn-filter-apply {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 0.55rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter-apply:hover {
    background: var(--blue-light);
}

.results-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-300);
}

.results-count-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}


.empty-state {
    padding: 3rem 0;
    text-align: center;
}

.empty-state i {
    font-size: 3.5rem;
    color: var(--gray-300);
    display: block;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--gray-500);
    font-size: 1rem;
    margin-bottom: 1rem;
}


.article-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.article-hero-inner {
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.back-link:hover {
    color: var(--yellow);
}

.article-hero h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0.5rem 0;
    max-width: 700px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 0.75rem;
}

.article-meta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}


.article-content {
    padding: 3rem 0;
}

.article-featured-img {
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-featured-img img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-related-cases {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-300);
}

.article-related-cases h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}


.search-filters {
    display: none;
}

.case-header {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 3rem 0;
}

.case-header h1 {
    color: var(--white);
    font-size: 2rem;
}

.case-header .case-number {
    color: var(--yellow);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.case-section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-300);
}

.case-section:last-child {
    border-bottom: none;
}

.case-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-section h3 i {
    color: var(--blue);
    font-size: 1.1rem;
}

.defendant-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.defendant-card:hover {
    background: rgba(26, 60, 110, 0.06);
}

.defendant-card img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-300);
}

.defendant-card .def-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.defendant-card .def-position {
    font-size: 0.825rem;
    color: var(--gray-500);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--blue);
    background: var(--white);
    z-index: 1;
}

.timeline-item.type-crime::before {
    border-color: #DC3545;
}

.timeline-item.type-suspicion::before {
    border-color: #FFC107;
}

.timeline-item.type-arrest::before {
    border-color: #FD7E14;
}

.timeline-item.type-trial::before {
    border-color: #0D6EFD;
}

.timeline-item.type-verdict::before {
    border-color: #198754;
}

.timeline-item.type-appeal::before {
    border-color: #6F42C1;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
}

.timeline-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0.25rem 0;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.doc-table {
    width: 100%;
}

.doc-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.75rem;
    border-bottom: 2px solid var(--gray-300);
}

.doc-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--gray-300);
    font-size: 0.925rem;
}

.doc-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.85rem;
}

.doc-download:hover {
    color: var(--blue-light);
}

.btn-primary-custom {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.925rem;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--blue-light);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.925rem;
    transition: var(--transition);
}

.btn-yellow:hover {
    background: var(--yellow-light);
    transform: translateY(-1px);
}

.btn-outline-custom {
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 60, 110, 0.2);
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item .accordion-button {
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    color: var(--blue);
    background: rgba(26, 60, 110, 0.03);
}

.pagination .page-link {
    color: var(--blue);
    border-color: var(--gray-300);
    border-radius: var(--radius-sm);
    margin: 0 2px;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.site-footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3.5rem 0 1.5rem;
}

.footer-title {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--yellow);
    color: var(--black);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0 1rem;
}

.footer-copy {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-partners {
    text-align: center;
    padding: 1.25rem 0 0.5rem;
}

.footer-partners__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.footer-partners__logo img {
    height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.footer-partners__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 112px;
}

.footer-partners__logo:hover img {
    opacity: 1;
}


.footer-partners__logo--crjm img,
.footer-partners__logo--undp img {
    filter: brightness(0) invert(1);
}

.footer-partners__logo--undp img,
.footer-partners__logo--ue img {
    height: 104px;
}

.footer-partners__logo--ue img {
    filter: none;
}

.footer-partners__disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 575px) {
    .footer-partners__logos {
        gap: 1.5rem;
    }

    .footer-partners__logo {
        width: calc((100% - 3rem) / 3);
        height: 72px;
    }

    .footer-partners__logo--crjm img {
        height: 34px;
    }

    .footer-partners__logo--ue img,
    .footer-partners__logo--undp img {
        height: 64px;
    }
}

.breadcrumb-custom {
    background: var(--gray-100);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.breadcrumb-custom a {
    color: var(--blue);
    font-weight: 500;
}

.breadcrumb-custom .separator {
    color: var(--gray-500);
    margin: 0 0.5rem;
}

.breadcrumb-custom .current {
    color: var(--gray-500);
}

.page-header {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 20% 50%, rgba(242, 183, 5, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    pointer-events: none;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #c9d6e8 40%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    letter-spacing: -0.02em;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

.page-header .breadcrumb-custom a {
    color: var(--yellow-light);
}

.page-header .breadcrumb-custom .separator {
    color: rgba(255, 255, 255, 0.4);
}

.page-header .breadcrumb-custom .current {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .stats-bar {
        margin-top: 0;
        border-radius: 0;
    }

    .stat-number {
        font-size: 1.15rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 2.5rem 0;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 14px;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .search-bar-form {
        border-radius: var(--radius);
    }

    .search-bar-btn {
        padding: 0 1.25rem;
        font-size: 0.85rem;
    }

    .article-hero h1 {
        font-size: 1rem;
    }

    .article-hero {
        padding: 2rem 0;
    }

    .content-card-img {
        height: 180px;
    }

    .search-filters {
        position: static;
        margin-bottom: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header {
        padding: 2rem 0;
    }
}


.card-details-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    margin-top: 0.75rem;
    transition: var(--transition);
}

.card-details-link:hover {
    color: var(--blue-light);
    gap: 0.6rem;
}

.card-details-link i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.card-details-link:hover i {
    transform: translateX(3px);
}

.stats-updated {
    text-align: right;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.stat-icon {
    font-size: 1rem;
    color: var(--yellow);
    margin-bottom: 0.3rem;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.badge-case-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.45rem 0.75rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.badge-case-type.badge-criminal {
    background: rgba(220, 53, 69, 0.85);
    color: #fff;
}

.badge-case-type.badge-contravention {
    background: rgba(180, 130, 0, 0.85);
    color: #fff;
}

.card-financial {
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 600;
    margin-top: 0.5rem;
}

.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.tag-analysis {
    background: rgba(26, 60, 110, 0.88);
    color: #fff;
}

.tag-news {
    background: rgba(180, 130, 0, 0.88);
    color: #fff;
}

.case-detail {
    padding: 2rem 0 3rem;
}

.case-header .case-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 700px;
    margin-top: 0.5rem;
}

.case-header-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.id-sheet {
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
}

.id-row {
    display: flex;
    border-bottom: 1px solid var(--gray-300);
}

.id-row:last-child {
    border-bottom: none;
}

.id-label {
    flex: 0 0 200px;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    background: rgba(26, 60, 110, 0.04);
}

.id-value {
    flex: 1;
    padding: 0.85rem 1.25rem;
    font-size: 0.925rem;
}

@media (max-width: 575px) {
    .id-row {
        flex-direction: column;
    }

    .id-label {
        flex: none;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .id-value {
        padding: 0.4rem 1rem 0.75rem;
    }
}

.case-text-block {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700);
    max-width: 800px;
}

.financial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.financial-card {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    border-left: 3px solid var(--yellow);
}

.financial-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.financial-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue);
}

.expert-box {
    background: linear-gradient(135deg, rgba(26, 60, 110, 0.04) 0%, rgba(242, 183, 5, 0.06) 100%);
    border-left: 4px solid var(--yellow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.timeline-step {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-item {
    position: relative;
}

.case-sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.case-sidebar-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.case-photo {
    width: 100%;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.defendant-sidebar-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-300);
}

.defendant-sidebar-card:last-child {
    border-bottom: none;
}

.defendant-sidebar-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.def-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-500);
}

.def-role {
    font-size: 0.8rem;
    color: var(--blue);
    font-weight: 500;
}

.stage-indicator {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 1.5rem;
}

.stage-indicator::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--gray-300);
}

.stage-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    position: relative;
}

.stage-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gray-300);
    position: absolute;
    left: -1.5rem;
    z-index: 1;
}

.stage-step.active .stage-dot {
    background: var(--blue);
    box-shadow: 0 0 0 2px var(--blue);
}

.stage-step.current .stage-dot {
    background: var(--yellow);
    box-shadow: 0 0 0 2px var(--yellow), 0 0 8px rgba(242, 183, 5, 0.4);
}

.stage-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
}

.stage-step.active .stage-label {
    color: var(--gray-900);
    font-weight: 600;
}

.stage-step.current .stage-label {
    color: var(--blue);
    font-weight: 700;
}

.related-case-link {
    display: block;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.related-case-link:hover {
    border-color: var(--blue);
    background: rgba(26, 60, 110, 0.03);
}

.related-number {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
}

.related-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 0.15rem;
}

.subscribe-card {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    border-color: transparent;
    color: var(--white);
}

.subscribe-card h4 {
    color: var(--white);
}

.subscribe-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
}

.subscribe-form button {
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.subscribe-form button:hover {
    background: var(--yellow-light);
}

.cta-section {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 40%, var(--blue-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(242, 183, 5, 0.35);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    background: var(--yellow-light);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 6px 13px rgba(242, 183, 5, 0.45);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .cta-section {
        padding: 3.5rem 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-btn {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }
}

.text-blue {
    color: var(--blue);
}

.text-yellow {
    color: var(--yellow);
}

.bg-blue {
    background: var(--blue);
}

.bg-yellow {
    background: var(--yellow);
}


.case-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-light) 100%);
    padding: 2.5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.case-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.case-hero .back-link {
    margin-bottom: 1.25rem;
    display: inline-flex;
}

.case-hero-content {
    position: relative;
    z-index: 1;
}

.case-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 0.75rem;
    max-width: 900px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.case-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 850px;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.case-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.case-hero-meta span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.case-hero-meta span i {
    color: var(--yellow);
    font-size: 1.05rem;
}


.case-nav-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    position: sticky;
    top: 70px;
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.case-nav-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.case-nav-scroll::-webkit-scrollbar {
    display: none;
}

.case-nav-item {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.case-nav-item:hover {
    color: var(--blue);
    background: rgba(26, 60, 110, 0.03);
}

.case-nav-item.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}


.case-page-body {
    background: var(--gray-100);
    padding: 2rem 0 3rem;
    min-height: 60vh;
}


.case-card-section {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.case-card-section:hover {
    box-shadow: 0 4px 16px rgba(26, 60, 110, 0.06);
}

.case-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-300);
    background: rgba(26, 60, 110, 0.02);
}

.case-card-header i {
    color: var(--blue);
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    background: rgba(26, 60, 110, 0.07);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.case-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--black);
}

.case-card-content {
    padding: 1.5rem;
}


.expert-card {
    border-left: 4px solid var(--yellow);
    background: linear-gradient(135deg, rgba(242, 183, 5, 0.03) 0%, var(--white) 100%);
}

.expert-card .case-card-header {
    background: rgba(242, 183, 5, 0.04);
}

.expert-card .case-card-header i {
    color: var(--yellow);
    background: rgba(242, 183, 5, 0.1);
}


.data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.data-item {
    display: flex;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.data-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.data-item:first-child {
    padding-top: 0;
}

.data-key {
    flex: 0 0 200px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.data-val {
    flex: 1;
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 500;
}


.article-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.article-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    padding: 0.45rem 1rem 0.45rem 0.6rem;
    transition: var(--transition);
    cursor: default;
}

.article-chip:hover {
    border-color: var(--blue);
    background: rgba(26, 60, 110, 0.04);
}

.chip-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    min-width: 36px;
    text-align: center;
}

.chip-title {
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--gray-700);
}


.case-prose {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.case-prose p {
    margin-bottom: 1rem;
}


.fin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.fin-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition);
}

.fin-item:hover {
    border-color: var(--gray-300);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fin-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(26, 60, 110, 0.08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.fin-icon.fin-red {
    background: rgba(220, 53, 69, 0.08);
    color: #DC3545;
}

.fin-icon.fin-green {
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
}

.fin-icon.fin-yellow {
    background: rgba(242, 183, 5, 0.12);
    color: #B8860B;
}

.fin-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.2;
}

.fin-amount.text-success {
    color: #198754 !important;
}

.fin-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 0.2rem;
}


.case-timeline {
    position: relative;
    padding-left: 0;
}

.ct-item {
    display: flex;
    gap: 1.25rem;
    position: relative;
    padding-bottom: 1.75rem;
}

.ct-item:last-child {
    padding-bottom: 0;
}

.ct-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

.ct-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.ct-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(26, 60, 110, 0.2);
}

.ct-content {
    flex: 1;
    padding-top: 0.35rem;
}

.ct-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.ct-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
}

.ct-desc {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-top: 0.35rem;
}


.doc-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.doc-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.doc-item:first-child {
    padding-top: 0;
}

.doc-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(220, 53, 69, 0.08);
    color: #DC3545;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-name {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-meta-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.1rem;
}

.doc-dl-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.doc-dl-btn:hover {
    background: var(--blue);
    color: var(--white);
}


.sb-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    overflow: hidden;
}

.sb-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--black);
    background: rgba(26, 60, 110, 0.03);
    border-bottom: 1px solid var(--gray-300);
}

.sb-header i {
    color: var(--blue);
    font-size: 1rem;
}

.sb-header-light {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
    border-bottom: none;
}

.sb-header-light i {
    color: var(--yellow);
}

.sb-body {
    padding: 1.25rem;
}

.sb-photo {
    width: 100%;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}


.sb-person {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.sb-person:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sb-person:first-child {
    padding-top: 0;
}

.sb-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--gray-300);
}

.sb-avatar-placeholder {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--gray-500);
    border: 2px solid var(--gray-300);
}

.sb-person-name {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

.sb-person-role {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.1rem;
}

.sb-person-case-role {
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 600;
    margin-top: 0.2rem;
}


.sb-stages {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.sb-stage {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    position: relative;
}

.sb-stage:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: calc(0.65rem + 32px);
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

.sb-stage.done:not(:last-child)::after {
    background: var(--blue);
}

.sb-stage-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--gray-100);
    color: var(--gray-500);
    border: 2px solid var(--gray-300);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.sb-stage.done .sb-stage-icon {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.sb-stage.current .sb-stage-icon {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.2);
}

.sb-stage-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
}

.sb-stage.done .sb-stage-label {
    color: var(--gray-900);
    font-weight: 600;
}

.sb-stage.current .sb-stage-label {
    color: var(--blue);
    font-weight: 700;
}


.sb-related {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    margin-bottom: 0.5rem;
    transition: var(--transition);
    color: var(--black);
    text-decoration: none;
}

.sb-related:last-child {
    margin-bottom: 0;
}

.sb-related:hover {
    border-color: var(--blue);
    background: rgba(26, 60, 110, 0.03);
    color: var(--blue);
}

.sb-related-num {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.sb-related-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 0.15rem;
    line-height: 1.3;
}

.sb-related i {
    color: var(--gray-300);
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.sb-related:hover i {
    color: var(--blue);
    transform: translateX(2px);
}


.case-pdf-export {
    margin-top: 0.5rem;
}

.btn-pdf-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
}

.btn-pdf-export:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71d2a 100%);
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.35);
    transform: translateY(-1px);
}

.btn-pdf-export:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.sb-subscribe {
    border-color: transparent;
    overflow: hidden;
}

.sb-subscribe .sb-body {
    background: linear-gradient(180deg, rgba(26, 60, 110, 0.02) 0%, rgba(242, 183, 5, 0.04) 100%);
}

.sb-subscribe-text {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.sb-subscribe-form {
    display: flex;
    gap: 0.5rem;
}

.sb-subscribe-form input {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition);
}

.sb-subscribe-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.08);
}

.sb-subscribe-form button {
    background: var(--blue);
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.sb-subscribe-form button:hover {
    background: var(--blue-light);
}


@media (max-width: 991px) {
    .case-hero h1 {
        font-size: 1.45rem;
    }

    .case-hero {
        padding: 2.5rem 0 2rem;
    }

    .case-nav-bar {
        top: 0;
    }

    .case-nav-item {
        padding: 0.85rem 1rem;
        font-size: 0.8rem;
    }

    .fin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .case-hero h1 {
        font-size: 1.2rem;
    }

    .case-hero-subtitle {
        font-size: 0.95rem;
    }

    .case-hero-meta {
        gap: 0.75rem;
    }

    .case-hero-meta span {
        font-size: 0.8rem;
    }

    .case-card-header {
        padding: 1rem 1.25rem;
    }

    .case-card-content {
        padding: 1.25rem;
    }

    .data-item {
        flex-direction: column;
        gap: 0.2rem;
    }

    .data-key {
        flex: none;
        font-size: 0.75rem;
    }

    .data-val {
        font-size: 0.9rem;
    }

    .ct-item {
        gap: 1rem;
    }

    .ct-number {
        width: 34px;
        height: 34px;
        font-size: 0.7rem;
    }

    .ct-item:not(:last-child)::after {
        left: 16px;
        top: 36px;
    }

    .article-chip {
        padding: 0.35rem 0.75rem 0.35rem 0.45rem;
    }

    .case-page-body {
        padding: 1.25rem 0 2rem;
    }
}


.infographic-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.infographic-export-btn:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.infographic-export-btn:hover i,
.infographic-export-btn:hover .bi {
    color: var(--white) !important;
}

.infographic-export-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

.infographic-container {
    padding: 2.5rem;
    background: var(--white);
    position: relative;
}


.ig-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--gray-100);
}

.ig-logo img {
    height: 32px;
    opacity: 0.7;
}

.ig-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    background: rgba(26, 60, 110, 0.08);
    color: var(--blue);
}


.ig-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 1rem;
    max-width: 700px;
}

.ig-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.ig-article {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.3px;
}


.ig-summary {
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.ig-person-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.ig-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ig-person-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ig-person-placeholder {
    background: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-500);
}

.ig-person-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
}

.ig-person-pos {
    font-size: 0.8rem;
    color: var(--gray-500);
}


.ig-timeline {
    position: relative;
    padding: 0;
}

.ig-step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    min-height: 90px;
}

.ig-step-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 48px;
    position: relative;
}

.ig-step-line::after {
    content: '';
    position: absolute;
    top: 48px;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--gray-300) 100%);
    transform: translateX(-50%);
}

.ig-step-last .ig-step-line::after {
    display: none;
}

.ig-step-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(26, 60, 110, 0.25);
}

.ig-step:nth-child(even) .ig-step-dot {
    background: linear-gradient(135deg, var(--yellow), #FFD54F);
    color: var(--black);
    box-shadow: 0 4px 12px rgba(242, 183, 5, 0.3);
}

.ig-step-content {
    flex: 1;
    padding-bottom: 2rem;
    padding-top: 0.25rem;
}

.ig-step-num {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--blue);
    background: rgba(26, 60, 110, 0.06);
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    margin-bottom: 0.35rem;
    letter-spacing: 1px;
}

.ig-step-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ig-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.ig-step-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.65;
}


.ig-financial {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    border-radius: var(--radius);
}

.ig-fin-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 180px;
    color: var(--white);
}

.ig-fin-item i {
    font-size: 1.5rem;
    opacity: 0.8;
}

.ig-fin-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
}

.ig-fin-lbl {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.ig-fin-red .ig-fin-val {
    color: #FF8A80;
}

.ig-fin-green .ig-fin-val {
    color: #A5D6A7;
}


.ig-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 2px solid var(--gray-100);
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}


@media (max-width: 767px) {
    .infographic-container {
        padding: 1.5rem;
    }

    .ig-title {
        font-size: 1rem;
    }

    .ig-step {
        gap: 1rem;
    }

    .ig-step-line {
        width: 40px;
    }

    .ig-step-dot {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .ig-step-line::after {
        top: 40px;
    }

    .ig-step-title {
        font-size: 1rem;
    }

    .ig-financial {
        flex-direction: column;
    }

    .ig-person-row {
        flex-direction: column;
    }
}


.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--yellow);
}

.contact-form-card .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.3rem;
}

.contact-form-card .form-control {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-form-card .form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.1);
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-contact-submit:hover {
    background: #0F2244;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 60, 110, 0.3);
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 0;
}

.contact-info-item:not(:last-child) {
    border-bottom: 1px solid var(--gray-300);
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(26, 60, 110, 0.08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.5;
}

.contact-info-item a {
    font-size: 0.9rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-item a:hover {
    color: var(--yellow);
}

.contact-social-card {
    background: var(--blue);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.contact-social-card h6 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.contact-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-social-links a:hover {
    background: var(--yellow);
    color: var(--dark);
    transform: translateY(-2px);
}

.contact-social-empty {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.5;
}


:root {
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-shadow: 0 8px 32px rgba(26, 60, 110, 0.10);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-18px) rotate(1deg);
    }
    66% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(15px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-10px, -35px) scale(0.97);
    }
    75% {
        transform: translate(20px, -15px) scale(1.02);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.will-animate.revealed {
    opacity: 1;
    transform: translateY(0);
}


.hero-v2__pattern,
.page-header-v2__pattern,
.cta-section-v2__pattern,
.newsletter-section__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(200, 220, 255, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    pointer-events: none;
    z-index: 0;
}


.hero-v2__orb,
.page-header-v2__orb,
.cta-section-v2__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-v2__orb--1 {
    width: 400px;
    height: 400px;
    top: -15%;
    right: -8%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    animation: floatOrb 12s ease-in-out infinite;
}

.hero-v2__orb--2 {
    width: 250px;
    height: 250px;
    bottom: -10%;
    left: 5%;
    background: radial-gradient(circle, rgba(200, 220, 255, 0.10) 0%, transparent 70%);
    animation: floatOrb 16s ease-in-out infinite reverse;
}

.hero-v2__orb--3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: floatOrb 10s ease-in-out infinite 2s;
}

.page-header-v2__orb--1 {
    width: 350px;
    height: 350px;
    top: -30%;
    right: -5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
    animation: floatOrb 14s ease-in-out infinite;
}

.page-header-v2__orb--2 {
    width: 200px;
    height: 200px;
    bottom: -25%;
    left: 10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    animation: floatOrb 18s ease-in-out infinite reverse;
}

.cta-section-v2__orb--1 {
    width: 300px;
    height: 300px;
    top: -20%;
    left: -5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    animation: floatOrb 12s ease-in-out infinite;
}

.cta-section-v2__orb--2 {
    width: 200px;
    height: 200px;
    bottom: -15%;
    right: 5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: floatOrb 15s ease-in-out infinite reverse;
}


.page-header-v2 {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-header-v2 h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    letter-spacing: 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #c9d6e8 40%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.page-header-v2--compact {
    padding: 3.2rem 0 2.6rem;
}

.content-panel {
    max-width: 920px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid #E6EAF0;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 16px 40px rgba(20, 33, 61, 0.06);
    color: #475569;
    line-height: 1.7;
}

.methodology-content {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.methodology-content__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: rgba(26, 60, 110, 0.08);
    color: var(--blue);
    font-size: 1.45rem;
}

.methodology-content p {
    margin: 0;
}

.methodology-content a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.methodology-content a:hover {
    color: var(--blue-dark);
}

.page-header-v2 p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    position: relative;
}

@media (max-width: 767px) {
    .page-header-v2 {
        padding: 2.5rem 0 2rem;
    }

    .page-header-v2 h1 {
        font-size: 1.75rem;
    }

    .methodology-content {
        grid-template-columns: 1fr;
        padding: 1.4rem;
    }
}


.hero-v2 {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
    padding: 5.5rem 0 5rem;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}


.stats-bar-v2 {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 1.5rem 2rem 1rem;
}

.stats-bar-v2 .row {
    row-gap: 0.6rem;
}

.stats-bar-v2__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stats-method-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(26, 60, 110, 0.16);
    border-radius: 8px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.stats-method-link:hover {
    color: var(--blue-dark);
    border-color: rgba(26, 60, 110, 0.32);
    transform: translateY(-1px);
}

.stat-item-v2 {
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: var(--radius);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: default;
    position: relative;
}

.stat-item-v2:hover {
    transform: translateY(-4px);
    background: rgba(26, 60, 110, 0.04);
}

.stat-item-v2__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 0.6rem;
    transition: transform 0.3s ease;
}

.stat-item-v2:hover .stat-item-v2__icon {
    transform: scale(1.1);
}

.stat-item-v2--orange .stat-item-v2__icon {
    background: #FFF3E0;
    color: #E65100;
}

.stat-item-v2--green .stat-item-v2__icon {
    background: #E8F5E9;
    color: #2E7D32;
}

.stat-item-v2--blue .stat-item-v2__icon {
    background: #E3F2FD;
    color: #1565C0;
}

.stat-item-v2--purple .stat-item-v2__icon {
    background: #F3E5F5;
    color: #7B1FA2;
}

.stat-item-v2--teal .stat-item-v2__icon {
    background: #E0F2F1;
    color: #00796B;
}

.stat-item-v2--yellow .stat-item-v2__icon {
    background: #FFF8E1;
    color: #F57F17;
}

.stat-item-v2--red .stat-item-v2__icon {
    background: #FFEBEE;
    color: #C62828;
}

.stat-item-v2__number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.stat-item-v2__label {
    font-size: 0.72rem;
    color: var(--gray-500);
    margin-top: 0.3rem;
    line-height: 1.3;
}

.stats-update-popover {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: none;
    margin: 0.9rem -2rem -1rem;
    padding: 0.9rem 3.25rem 1rem 2rem;
    border: 0;
    border-top: 1px solid rgba(242, 183, 5, 0.30);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.88), rgba(255, 253, 244, 0.68));
    color: #14213D;
    box-shadow: none;
    animation: statsPopoverIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stats-update-popover.is-hidden {
    display: none;
}

.stats-update-popover__close {
    position: absolute;
    top: 0.65rem;
    right: 0.8rem;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(20, 33, 61, 0.42);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.75rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.stats-update-popover__close:hover {
    background: rgba(20, 33, 61, 0.06);
    color: rgba(20, 33, 61, 0.75);
}

.stats-update-popover__close:focus-visible {
    outline: 2px solid rgba(26, 60, 110, 0.32);
    outline-offset: 2px;
}

.stats-update-popover__label {
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #8A6400;
    margin-bottom: 0.35rem;
}

.stats-update-popover__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 800;
}

.stats-update-popover__items span:not(:last-child)::after {
    content: '|';
    color: rgba(20, 33, 61, 0.28);
    margin-left: 0.9rem;
}

@keyframes statsPopoverIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 991px) {
    .stats-bar-v2 {
        margin-top: 0;
        border-radius: var(--radius);
    }

    .stats-bar-v2__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .stat-item-v2__number {
        font-size: 1.2rem;
    }

    .stats-update-popover {
        margin: 0.9rem -2rem -1rem;
        padding-left: 1.25rem;
        padding-right: 3rem;
        border-radius: 0 0 var(--radius) var(--radius);
    }
}

@media (max-width: 575px) {
    .stats-update-popover__items {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .stats-update-popover__items span:not(:last-child)::after {
        display: none;
    }
}


.case-card-v2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(26, 60, 110, 0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.case-card-v2__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}


.case-card-v2:not(.case-card-v2--has-photo) {
    padding: 1.75rem;
}

.case-card-v2--has-photo .case-card-v2__body {
    padding: 1.25rem 1.5rem 1.5rem;
}


.case-card-v2__photo {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    flex-shrink: 0;
}

.case-card-v2__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card-v2:hover .case-card-v2__photo img {
    transform: scale(1.06);
}

.case-card-v2__photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 46, 0.08) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.case-card-v2:hover .case-card-v2__photo-overlay {
    opacity: 0.6;
}

.case-card-v2__glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.12) 0%, transparent 70%);
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.case-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(26, 60, 110, 0.15);
    border-color: rgba(26, 60, 110, 0.15);
    background: rgba(255, 255, 255, 0.88);
}

.case-card-v2:hover .case-card-v2__glow {
    transform: scale(1.5);
    opacity: 0.7;
}

.case-card-v2__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.case-card-v2__number {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.case-card-v2__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
    margin: 0 0 0.75rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.case-card-v2:hover .case-card-v2__title {
    color: var(--blue);
}

.case-card-v2__defendants {
    font-size: 0.85rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.case-card-v2__defendants i {
    color: var(--blue-light);
    font-size: 0.9rem;
}

.case-card-v2__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.case-card-v2__amount {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.case-card-v2__amount i {
    color: var(--yellow);
}

.case-card-v2__arrow {
    font-size: 1.4rem;
    color: var(--gray-300);
    transition: all 0.35s ease;
}

.case-card-v2:hover .case-card-v2__arrow {
    color: var(--blue);
    transform: translateX(4px);
}


.empty-state-v2 {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.empty-state-v2__icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: var(--gray-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-300);
    margin-bottom: 1.25rem;
}

.empty-state-v2 h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.empty-state-v2 p {
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-glass:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 60, 110, 0.2);
}


.trust-section {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FB 100%);
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(760px, 70%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(26, 60, 110, 0.22), transparent);
}

.trust-card {
    --trust-accent: #B47A00;
    position: relative;
    min-height: 100%;
    padding: 1.45rem 1.35rem 1.35rem;
    border: 1px solid rgba(20, 33, 61, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(20, 33, 61, 0.07);
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--trust-accent);
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--trust-accent) 28%, transparent);
    box-shadow: 0 24px 50px rgba(20, 33, 61, 0.12);
}

.trust-card--blue {
    --trust-accent: #2367A8;
}

.trust-card--green {
    --trust-accent: #2E7D32;
}

.trust-card__index {
    position: absolute;
    top: 0.65rem;
    right: 0.85rem;
    color: rgba(20, 33, 61, 0.09);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.trust-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: #FFF7D8;
    color: #B47A00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.45rem;
    box-shadow: inset 0 0 0 1px rgba(180, 122, 0, 0.08);
}

.trust-card__icon--blue {
    background: #E9F2FF;
    color: #2367A8;
}

.trust-card__icon--green {
    background: #E8F5E9;
    color: #2E7D32;
}

.trust-card h3 {
    margin: 0;
    color: #14213D;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.35;
}

.trust-card__content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-right: 1.25rem;
}

.trust-card__line {
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 0.7rem;
    background: var(--trust-accent);
    transition: width 0.3s ease;
}

.trust-card:hover .trust-card__line {
    width: 54px;
}

.trust-section__note {
    max-width: 920px;
    margin: 1.35rem auto 0;
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.65;
    text-align: center;
}

.trust-section__note span {
    color: #B47A00;
    font-weight: 900;
}

@media (max-width: 767px) {
    .trust-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .trust-card {
        min-height: 112px;
    }
}

.newsletter-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef6 25%, #f5f7fa 50%, #eaeff7 75%, #f0f4f8 100%);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(26, 60, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.newsletter-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 3rem 3.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--yellow), #FFD54F);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--blue-dark);
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 20px rgba(242, 183, 5, 0.3);
}

.newsletter-card__title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.newsletter-card__desc {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.6;
}

.newsletter-form__wrap {
    display: flex;
    gap: 0;
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    border-radius: 60px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-form__wrap:focus-within {
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(26, 60, 110, 0.12);
    background: var(--white);
}

.newsletter-form__input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
}

.newsletter-form__input-group i {
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.newsletter-form__input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 1rem 0;
    background: transparent;
    color: var(--gray-900);
    font-family: 'Inter', sans-serif;
}

.newsletter-form__input-group input::placeholder {
    color: var(--gray-500);
}

.newsletter-form__btn {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 0 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.newsletter-form__btn:hover {
    background: var(--blue-light);
}

.newsletter-form__hint {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

.newsletter-form__hint i {
    color: #2E7D32;
}

/* ── Report corruption section ── */
.report-section {
    position: relative;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 4.5rem 0;
}

.report-section--contrast {
    background: #14213D;
}

.report-section--contrast .report-section__title {
    color: #FFFFFF;
}

.report-section--contrast .report-section__subtitle {
    color: rgba(255, 255, 255, 0.76);
}

.report-section--contrast .report-card {
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.report-section__header {
    max-width: 820px;
    margin: 0 auto 2rem;
    text-align: center;
}

.report-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(26, 60, 110, 0.12);
    border-radius: 8px;
    background: #fff;
    color: #1A3C6E;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 30px rgba(26, 60, 110, 0.08);
}

.report-section__eyebrow i {
    color: #C48A00;
}

.report-section__title {
    margin: 0;
    color: #14213D;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
}

.report-section__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--yellow);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.report-section__subtitle {
    max-width: 620px;
    margin: 0.9rem auto 0;
    color: #64748B;
    font-size: 1rem;
    line-height: 1.7;
}

.report-card {
    min-height: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon body"
        "link link";
    gap: 1rem;
    align-items: start;
    padding: 1.35rem;
    background: #FFFFFF;
    border: 1px solid #E6EAF0;
    border-top: 4px solid #C48A00;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(20, 33, 61, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.report-card:hover {
    transform: translateY(-3px);
    border-color: #D7DEE8;
    box-shadow: 0 24px 55px rgba(20, 33, 61, 0.12);
}

.report-card--emergency {
    border-top-color: #D64545;
}

.report-card--prosecutor {
    border-top-color: #2367A8;
}

.report-card__icon {
    grid-area: icon;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #FFF7D8;
    color: #B47A00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.report-card__icon--red {
    background: #FFE9E8;
    color: #C73636;
}

.report-card__icon--blue {
    background: #E9F2FF;
    color: #2367A8;
}

.report-card__body {
    grid-area: body;
    min-width: 0;
}

.report-card__phone {
    color: #14213D;
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 850;
    white-space: nowrap;
}

.report-card__label {
    margin-bottom: 0.4rem;
    color: #64748B;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
}

.report-card__link {
    grid-area: link;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.15rem;
    padding-top: 1rem;
    border-top: 1px solid #EEF2F6;
    color: #1A3C6E;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.report-card__link:hover {
    color: #C48A00;
    gap: 1rem;
}

@media (max-width: 767px) {
    .report-section {
        padding: 3.25rem 0;
    }

    .report-section__title {
        font-size: 1.5rem;
    }

    .report-section__subtitle {
        font-size: 0.94rem;
    }

    .report-card__phone {
        font-size: 1.35rem;
    }
}

@media (max-width: 767px) {
    .newsletter-card {
        padding: 2rem 1.5rem;
    }

    .newsletter-form__wrap {
        flex-direction: column;
        border-radius: var(--radius);
    }

    .newsletter-form__btn {
        padding: 0.9rem 1.5rem;
        border-radius: 0 0 10px 10px;
    }
}


.cta-section-v2 {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    /*max-width: 850px;*/
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-section-v2 h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.cta-section-v2 p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-btn-v2 {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    background: var(--yellow);
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 32px rgba(242, 183, 5, 0.35);
    position: relative;
    z-index: 1;
}

.cta-btn-v2:hover {
    background: var(--yellow-light);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(242, 183, 5, 0.4);
    color: var(--blue-dark);
}


.case-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.case-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 20% 50%, rgba(242, 183, 5, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    pointer-events: none;
}

.case-hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -8%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.15) 0%, transparent 70%);
    animation: floatOrb 14s ease-in-out infinite;
    pointer-events: none;
}

.case-hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease both;
}

.case-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-hero h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    max-width: 800px;
}

.case-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 850px;
    margin-bottom: 1rem;
}

.case-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.case-hero-meta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.case-hero-meta span i {
    color: var(--yellow);
}


.case-nav-bar {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 56px;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.case-nav-scroll {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.case-nav-scroll::-webkit-scrollbar {
    display: none;
}

.case-nav-item {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.case-nav-item:hover {
    background: rgba(26, 60, 110, 0.06);
    color: var(--blue);
}

.case-nav-item.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}


.case-page-body {
    padding: 2.5rem 0 3rem;
    background: var(--gray-100);
    min-height: 60vh;
}


.case-card-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(26, 60, 110, 0.06);
    box-shadow: 0 4px 24px rgba(26, 60, 110, 0.04);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.case-card-section:hover {
    box-shadow: 0 8px 40px rgba(26, 60, 110, 0.08);
}

.case-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(26, 60, 110, 0.06);
    background: rgba(26, 60, 110, 0.015);
}

.case-card-header i {
    color: var(--blue);
    font-size: 1.15rem;
}

.case-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.case-card-content {
    padding: 1.5rem 1.75rem;
}


.expert-card {
    border-left: 4px solid var(--yellow);
    background: linear-gradient(135deg, var(--white) 0%, rgba(242, 183, 5, 0.03) 100%);
}


.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0;
}

.data-item {
    display: flex;
    flex-direction: column;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(26, 60, 110, 0.06);
}

.data-key {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 0.2rem;
}

.data-val {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-900);
}


.id-table {
    width: 100%;
    border-collapse: collapse;
}

.id-table tr {
    border-bottom: 1px solid rgba(26, 60, 110, 0.06);
    transition: background 0.2s ease;
}

.id-table tr:last-child {
    border-bottom: none;
}

.id-table tr:hover {
    background: rgba(26, 60, 110, 0.02);
}

.id-table__label {
    width: 200px;
    padding: 0.95rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    background: rgba(26, 60, 110, 0.025);
    white-space: nowrap;
    vertical-align: middle;
}

.id-table__label i {
    color: var(--blue-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

.id-table__value {
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-900);
    font-weight: 500;
    vertical-align: middle;
}

.id-table__inst {
    color: var(--gray-500);
    font-weight: 400;
    font-size: 0.88rem;
}

@media (max-width: 575px) {
    .id-table__label {
        width: auto;
        display: block;
        padding: 0.65rem 1.25rem 0.15rem;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .id-table__value {
        display: block;
        padding: 0.15rem 1.25rem 0.65rem;
    }

    .id-table tr {
        display: block;
    }
}


.article-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.article-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(26, 60, 110, 0.06);
    border: 1px solid rgba(26, 60, 110, 0.1);
    transition: all 0.25s ease;
}

.article-chip:hover {
    background: rgba(26, 60, 110, 0.1);
    transform: translateY(-1px);
}

.chip-code {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blue);
}

.chip-title {
    font-size: 0.82rem;
    color: var(--gray-700);
}


.case-prose {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--gray-700);
}

.case-prose p {
    margin-bottom: 1rem;
}


.fin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.fin-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--gray-100);
    transition: transform 0.25s ease;
}

.fin-item:hover {
    transform: translateY(-2px);
}

.fin-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(26, 60, 110, 0.08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.fin-icon.fin-red {
    background: #FFEBEE;
    color: #C62828;
}

.fin-icon.fin-green {
    background: #E8F5E9;
    color: #2E7D32;
}

.fin-icon.fin-yellow {
    background: #FFF8E1;
    color: #F57F17;
}

.fin-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--blue);
}

.fin-label {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 0.1rem;
}


.case-timeline {
    position: relative;
    padding-left: 0;
}

.ct-item {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    position: relative;
}

.ct-item:last-child {
    padding-bottom: 0;
}

.ct-marker {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ct-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.ct-item:not(:last-child) .ct-marker::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, var(--blue-light), var(--gray-300));
}

.ct-content {
    flex: 1;
    padding-top: 0.25rem;
}

.ct-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.ct-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.3rem;
}

.ct-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.65;
}


.sb-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(26, 60, 110, 0.06);
    box-shadow: 0 4px 24px rgba(26, 60, 110, 0.04);
    overflow: hidden;
}

.sb-photo {
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}

.sb-header {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--black);
    border-bottom: 1px solid rgba(26, 60, 110, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sb-header i {
    color: var(--blue);
}

.sb-body {
    padding: 1.25rem;
}


.sb-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(26, 60, 110, 0.05);
}

.sb-person:last-child {
    border-bottom: none;
}

.sb-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.sb-avatar-placeholder {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1.15rem;
}

.sb-person-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--black);
}

.sb-person-role {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.sb-person-case-role {
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 500;
}


.sb-stages {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 1.25rem;
}

.sb-stages::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--gray-300);
}

.sb-stage {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    position: relative;
}

.sb-stage-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    position: absolute;
    left: -1.25rem;
    z-index: 1;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.sb-stage.done .sb-stage-icon {
    background: var(--blue);
    color: var(--white);
}

.sb-stage.current .sb-stage-icon {
    background: var(--yellow);
    color: var(--blue-dark);
    box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.25);
    animation: pulse 2s ease-in-out infinite;
}

.sb-stage-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-left: 1rem;
}

.sb-stage.done .sb-stage-label {
    color: var(--gray-900);
    font-weight: 600;
}

.sb-stage.current .sb-stage-label {
    color: var(--blue);
    font-weight: 700;
}


.sb-related {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 60, 110, 0.06);
    margin-bottom: 0.5rem;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.sb-related:hover {
    background: rgba(26, 60, 110, 0.03);
    border-color: rgba(26, 60, 110, 0.12);
    transform: translateX(3px);
    color: inherit;
}

.sb-related-num {
    font-size: 0.72rem;
    color: var(--gray-500);
    font-weight: 600;
    font-family: 'SF Mono', monospace;
}

.sb-related-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--black);
}

.sb-related i {
    color: var(--gray-300);
    transition: all 0.25s ease;
}

.sb-related:hover i {
    color: var(--blue);
}


.sb-subscribe {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    border-color: transparent;
}

.sb-header-light {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.sb-header-light i {
    color: var(--yellow);
}

.sb-subscribe .sb-body {
    padding: 1.25rem;
}

.sb-subscribe-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.sb-subscribe-form {
    display: flex;
    gap: 0.5rem;
}

.sb-subscribe-form input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.sb-subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.sb-subscribe-form button {
    background: var(--yellow);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0 1rem;
    color: var(--blue-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sb-subscribe-form button:hover {
    background: var(--yellow-light);
    transform: scale(1.05);
}


.doc-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 60, 110, 0.06);
    transition: all 0.25s ease;
}

.doc-item:hover {
    background: rgba(26, 60, 110, 0.02);
    border-color: rgba(26, 60, 110, 0.1);
}

.doc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #FFEBEE;
    color: #C62828;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
}

.doc-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--black);
}

.doc-meta-text {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.doc-dl-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(26, 60, 110, 0.06);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.doc-dl-btn:hover {
    background: var(--blue);
    color: var(--white);
}


.infographic-container {
    padding: 2rem;
    background: var(--white);
}

.ig-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ig-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: var(--blue);
    color: var(--white);
}

.ig-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.ig-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ig-article {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    background: rgba(26, 60, 110, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.ig-summary {
    margin-bottom: 1.5rem;
}

.ig-person-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.ig-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ig-person-photo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
}

.ig-person-placeholder {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1.25rem;
}

.ig-person-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.ig-person-pos {
    font-size: 0.78rem;
    color: var(--gray-500);
}


.ig-timeline {
    padding: 1rem 0 1.5rem;
}

.ig-step {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.ig-step:last-child {
    padding-bottom: 0;
}

.ig-step-line {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ig-step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    z-index: 2;
    position: relative;
}

.ig-step-last .ig-step-dot {
    background: linear-gradient(135deg, var(--yellow), #FFD54F);
    color: var(--blue-dark);
}

.ig-step:not(:last-child) .ig-step-line::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 24px);
    background: linear-gradient(180deg, var(--blue-light), var(--gray-300));
}

.ig-step-content {
    flex: 1;
    padding-top: 0.25rem;
}

.ig-step-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.ig-step-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
}

.ig-step-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--black);
    margin: 0.2rem 0;
}

.ig-step-desc {
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.55;
}


.ig-financial {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin: 1rem 0;
}

.ig-fin-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 180px;
}

.ig-fin-item i {
    font-size: 1.25rem;
    color: var(--blue);
}

.ig-fin-red i {
    color: #C62828;
}

.ig-fin-green i {
    color: #2E7D32;
}

.ig-fin-val {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--black);
}

.ig-fin-lbl {
    font-size: 0.72rem;
    color: var(--gray-500);
}

.ig-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--gray-300);
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}


.infographic-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    background: rgba(26, 60, 110, 0.06);
    color: var(--blue);
    border: 1px solid rgba(26, 60, 110, 0.1);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.infographic-export-btn:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.infographic-export-btn:hover i,
.infographic-export-btn:hover .bi {
    color: var(--white) !important;
}


.search-bar-form {
    border-radius: 60px;
    border: 2px solid rgba(26, 60, 110, 0.12);
    box-shadow: 0 4px 24px rgba(26, 60, 110, 0.06);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
}

.search-bar-form:focus-within {
    border-color: var(--blue);
    box-shadow: 0 8px 32px rgba(26, 60, 110, 0.15);
    background: var(--white);
}

.search-bar-btn {
    border-radius: 0 56px 56px 0;
}


.filter-pill-toggle {
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.advanced-filters {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(26, 60, 110, 0.08);
    box-shadow: 0 4px 24px rgba(26, 60, 110, 0.06);
}

.filter-select {
    border-radius: var(--radius-sm);
}

.btn-filter-apply {
    border-radius: 50px;
    padding: 0.55rem 2rem;
}


.pagination .page-link {
    border-radius: 12px;
}


.section-title::after {
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
}


.content-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(26, 60, 110, 0.06);
    box-shadow: 0 4px 24px rgba(26, 60, 110, 0.04);
}

.content-card:hover {
    box-shadow: 0 16px 48px rgba(26, 60, 110, 0.12);
    transform: translateY(-6px);
}

.content-card-img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.site-footer {

    margin-top: -1px;
}

.footer-social a {
    border-radius: 12px;
}

.badge-status {
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.badge-case-type {
    border-radius: 50px;
}

.badge-article {
    border-radius: 50px;
}

.cookie-consent {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}


@media (max-width: 767px) {
    .case-card-v2:not(.case-card-v2--has-photo) {
        padding: 1.25rem;
    }

    .case-card-v2__photo {
        height: 160px;
    }

    .case-hero h1 {
        font-size: 1.3rem;
    }

    .case-hero {
        padding: 2.5rem 0 2rem;
    }

    .case-nav-bar {
        top: 0;
    }

    .case-card-section {
        border-radius: var(--radius);
    }

    .sb-card {
        border-radius: var(--radius);
    }

    .case-page-body {
        padding: 1.5rem 0 2rem;
    }

    .case-card-header {
        padding: 1rem 1.25rem;
    }

    .case-card-content {
        padding: 1.25rem;
    }

    .newsletter-card__title {
        font-size: 1.35rem;
    }

    .cta-section-v2 h2 {
        font-size: 1.5rem;
    }

    .cta-section-v2 {
        padding: 3.5rem 0;
    }
}

@media (max-width: 575px) {
    .data-grid {
        grid-template-columns: 1fr;
    }

    .fin-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Moldova Map ────────────────────────────────────────────── */
.map-section {
    position: relative;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef6 25%, #f5f7fa 50%, #eaeff7 75%, #f0f4f8 100%);
    overflow: hidden;
    margin-top: 2rem;
}

.map-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 60, 110, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.map-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -60px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(26, 60, 110, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.map-section .map-container {
    position: relative;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.map-container {
    /*max-width: 1100px;*/
    margin: 2rem auto 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.map-svg-wrap {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.map-svg-wrap svg {
    width: 100%;
    height: auto;
    max-height: 685px;
    display: block;
}

.map-raion {
    fill: #E8EDF2;
    stroke: var(--white);
    stroke-width: 1.5;
    cursor: pointer;
    transition: fill 0.2s ease, opacity 0.2s ease, stroke 0.2s ease;
}

.map-raion.has-cases {
    animation: raionPulse 3s ease-in-out infinite;
}

.map-raion.has-cases:nth-child(odd) {
    animation-delay: 0.5s;
}

.map-raion.has-cases:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes raionPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.map-raion:hover {
    opacity: 0.8 !important;
    stroke: var(--blue);
    stroke-width: 2.5;
    filter: brightness(0.92);
    animation: none;
}

.map-tooltip {
    display: none;
    position: absolute;
    z-index: 100;
    background: var(--white);
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.map-tooltip strong {
    display: block;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.map-tooltip__row {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    min-width: 190px;
}

.map-tooltip__row b {
    color: var(--gray-700);
    font-weight: 700;
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    flex: 0 0 220px;
    align-self: center;
}

.map-legend-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.map-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.map-legend-text {
    line-height: 1.3;
}

.map-legend-bar {
    width: 180px;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(to right, #E8EDF2, var(--blue));
}

.map-legend-label {
    font-weight: 600;
    color: var(--gray-700);
}

.map-legend-suffix {
    color: var(--gray-500);
}

@media (max-width: 767px) {
    .map-container {
        max-width: 100%;
        margin-top: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    .map-svg-wrap svg {
        max-height: 400px;
    }

    .map-legend {
        align-items: center;
    }
}

@media(max-width: 767px){
    .btn-access-extended {
        margin-left: 1.2rem;
    }
}

/* Refined public UI: shared visual language across public pages. */
:root {
    --radius-lg: 8px;
    --surface-soft: #F7F9FC;
    --surface-muted: #EEF3F8;
    --border-soft: rgba(20, 48, 84, 0.12);
    --shadow-soft: 0 12px 34px rgba(15, 40, 71, 0.08);
    --shadow-hover: 0 20px 48px rgba(15, 40, 71, 0.14);
}

body {
    background: var(--white);
}

main {
    overflow: clip;
}

.site-header {
    border-bottom: 1px solid rgba(15, 40, 71, 0.08);
    box-shadow: 0 8px 28px rgba(15, 40, 71, 0.055);
}

.site-header .navbar {
    min-height: 72px;
    padding: 0.6rem 0;
}

.site-header .navbar-brand {
    display: inline-flex;
    align-items: center;
}

.site-header .logo-img {
    height: 40px;
}

@media (min-width: 992px) {
    .site-header .nav-link:not(.lang-switch) {
        position: relative;
        border-radius: 0;
        background: transparent;
    }

    .site-header .nav-link:not(.lang-switch)::after {
        content: '';
        position: absolute;
        right: 1rem;
        bottom: -0.55rem;
        left: 1rem;
        height: 2px;
        background: var(--yellow);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.22s ease;
    }

    .site-header .nav-link:not(.lang-switch):hover::after,
    .site-header .nav-link:not(.lang-switch).active::after {
        transform: scaleX(1);
    }
}

.btn-access-extended,
.lang-switch {
    border-radius: 8px;
}

.btn-access-extended {
    min-height: 42px;
    padding: 0.55rem 1rem;
    box-shadow: 0 8px 20px rgba(15, 40, 71, 0.16);
}

.btn-access-extended i {
    color: var(--yellow);
}

.hero-v2,
.page-header-v2 {
    background: #17375F;
}

.hero-v2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-v2::before,
.page-header-v2::before,
.page-header-v2::after {
    display: none;
}

.hero h1 {
    max-width: 1040px;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero p {
    max-width: 700px;
}

.hero-search-panel {
    border-radius: 8px;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 24px 54px rgba(6, 22, 43, 0.26);
}

.hero-search-panel__submit,
.hero-filters-reset,
.hero-filters-apply {
    border-radius: 6px;
}

.page-header-v2 {
    border-bottom: 4px solid var(--yellow);
}

.page-header-v2 h1 {
    display: inline-block;
    color: var(--white);
    background: linear-gradient(135deg, #FFFFFF 0%, #c9d6e8 40%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-wrap: balance;
}

.page-header-v2 h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 0.9rem;
    background: var(--yellow);
}

.page-header-v2 p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
}

.section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.section-alt {
    background: var(--surface-soft);
    border-top: 1px solid rgba(15, 40, 71, 0.05);
    border-bottom: 1px solid rgba(15, 40, 71, 0.05);
}

.section-title {
    color: #14213D;
    font-size: 1.9rem;
    letter-spacing: 0;
}

.section-subtitle {
    max-width: 720px;
    color: #64748B;
}

.stats-bar-v2 {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 55px rgba(15, 40, 71, 0.13);
}

.stat-item-v2 {
    border-radius: 6px;
}

.stat-item-v2__icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
}

.stat-item-v2__number {
    font-size: 1.6rem;
    letter-spacing: 0;
}

@media (min-width: 992px) {
    .stats-bar-v2 .row > div:not(:nth-child(3n)) .stat-item-v2::after {
        content: '';
        position: absolute;
        top: 18%;
        right: -0.75rem;
        width: 1px;
        height: 64%;
        background: rgba(15, 40, 71, 0.09);
    }
}

.stats-update-popover {
    border-radius: 0 0 8px 8px;
}

.map-section {
    background: var(--surface-muted);
}

.map-section::before,
.map-section::after,
.newsletter-section::before,
.newsletter-section::after {
    display: none;
}

.map-section .map-container {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.case-card-v2,
.content-card,
.trust-card,
.report-card,
.newsletter-card,
.content-panel,
.advanced-filters {
    border-radius: 8px;
}

.case-card-v2,
.content-card {
    border-color: var(--border-soft);
    background: var(--white);
    box-shadow: 0 8px 28px rgba(15, 40, 71, 0.065);
}

.case-card-v2:hover,
.content-card:hover {
    border-color: rgba(26, 60, 110, 0.22);
    box-shadow: var(--shadow-hover);
}

.case-card-v2__photo,
.content-card-img {
    border-radius: 0;
}

.content-card-body {
    border-top: 3px solid rgba(242, 183, 5, 0.72);
}

.newsletter-section {
    background: var(--surface-muted);
}

.newsletter-card {
    border: 1px solid var(--border-soft);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.newsletter-card__icon {
    border-radius: 8px;
}

.btn-outline-custom,
.search-bar-form,
.filter-pill-toggle,
.advanced-filters,
.btn-filter-apply,
.pagination .page-link {
    border-radius: 8px;
}

.search-bar-form {
    overflow: hidden;
}

.search-bar-btn {
    border-radius: 0;
}

.site-footer {
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 4px solid var(--yellow);
    border-radius: 0 !important;
    overflow: visible;
    background: #0F2847;
    box-shadow: none;
    clip-path: none;
}

.site-footer .container {
    border-radius: 0;
}

.footer-title {
    position: relative;
    padding-bottom: 0.65rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--yellow);
}

.footer-links a {
    display: inline-flex;
    align-items: center;
}

.footer-social a {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.footer-partners {
    border-radius: 0;
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 64px;
    }

    .site-header .logo-img {
        height: 36px;
    }
}

@media (max-width: 767px) {
    .section {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .stats-bar-v2 {
        border-radius: 8px;
    }

    .stat-item-v2__number {
        font-size: 1.35rem;
    }
}

/* Accessibility and mobile rendering safeguards. */
:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.mobile-menu-toggle,
.offcanvas-close {
    min-width: 44px;
    min-height: 44px;
}

.map-raion:focus-visible {
    outline: none;
    stroke: var(--yellow);
    stroke-width: 5;
    filter: brightness(0.9);
    animation: none;
}

.footer-links a,
.footer-desc,
.footer-partners__disclaimer {
    color: rgba(255, 255, 255, 0.78);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 767px) {
    .map-raion.has-cases {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal,
    .scroll-reveal.will-animate {
        opacity: 1;
        transform: none;
    }
}
