.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
}

.content-shell {
    display: block;
    min-height: 50vh;
}

.site-main {
    padding: 96px 0 72px;
    width: 100%;
    position: relative;
}

.hero-panel {
    padding: 3rem;
}

.hero-panel .display-5 {
    letter-spacing: -0.02em;
}

.hero-panel .lead {
    max-width: 720px;
}

.mdb-card,
.stat-card,
.contact-card,
.policy-card,
.terms-card,
.login-card {
    padding: 24px;
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(30, 60, 114, 0.07));
    pointer-events: none;
}

.section-lead {
    max-width: 780px;
    margin-inline: auto;
}

.icon-chip + h3,
.icon-chip + h2,
.icon-chip + h5 {
    margin-top: 1rem;
}

.callout-panel {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
    color: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-strong);
}

.callout-panel .btn-outline-light {
    border-width: 2px;
}

.social-links a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    transition: transform .2s ease, background-color .2s ease;
}

.social-links a:hover,
.social-links a:focus {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .15);
}

.back-to-top i {
    font-size: 1rem;
}

.language-switcher .nav-action-label {
    font-weight: 600;
}

.dropdown-menu--language .flag-icon {
    margin-inline-end: .5rem;
}

.page-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

.fade-section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .4s ease;
}

.fade-section.in-view {
    opacity: 1;
    transform: none;
}

.login-viewport {
    min-height: calc(100vh - 160px);
}

.login-card .icon-chip {
    width: 64px;
    height: 64px;
}

@media (max-width: 991.98px) {
    .navbar-actions {
        margin-top: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
        padding: .85rem;
        background-color: var(--color-surface);
        border: 1px solid var(--color-border);
        border-radius: 1rem;
        box-shadow: var(--shadow-soft);
    }

    .navbar-actions .btn,
    .navbar-actions .dropdown,
    .navbar-actions .language-switcher {
        width: 100%;
    }

    .navbar-actions .btn,
    .navbar-actions .dropdown > button,
    .navbar-actions .language-switcher .btn {
        justify-content: center;
        min-height: 42px;
        font-weight: 600;
        font-size: .95rem;
        padding: .5rem .9rem;
    }
}

@media (max-width: 767.98px) {
    .site-main {
        padding: 64px 0 56px;
    }

    .hero-panel {
        padding: 2rem;
    }
}
