:root {
    --theme-navy: #0c1f4a;
    --theme-navy-2: #15357b;
    --theme-gold: #f5c451;
    --theme-orange: #ff7a1a;
    --theme-white: #ffffff;
    --theme-text: #17253f;
    --theme-soft: #f4f7fc;
    --theme-border: rgba(255,255,255,0.12);
    --theme-shadow: 0 10px 30px rgba(0,0,0,0.12);
    --theme-radius: 18px;
    --container: 1180px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--theme-text);
    background: #ffffff;
}

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

a {
    color: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(135deg, var(--theme-navy), var(--theme-navy-2));
    box-shadow: var(--theme-shadow);
}

.site-header__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-branding {
    flex: 0 0 auto;
}

.site-branding__link {
    text-decoration: none;
    color: var(--theme-white);
}

.site-branding__title {
    display: inline-block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: var(--theme-gold);
    line-height: 1.1;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.desktop-navigation {
    display: none;
}

.desktop-language-switcher {
    display: none;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    background: rgba(255,255,255,0.12);
    color: var(--theme-white);
    border: 1px solid rgba(255,255,255,0.18);
    transition: 0.25s ease;
}

.lang-btn:hover,
.lang-btn.is-current {
    background: var(--theme-gold);
    color: #1d1d1d;
    border-color: var(--theme-gold);
}

/* Hamburger */
.menu-toggle {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,0.14);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #fff;
}

.mobile-menu[hidden] {
    display: none !important;
}

.mobile-menu {
    background: linear-gradient(180deg, #10275c, #0a1735);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 8px 0 18px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav-link {
    display: block;
    color: #fff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
}

@media (max-width: 991px) {
    .desktop-navigation,
    .desktop-language-switcher {
        display: none !important;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .mobile-menu {
        display: block;
    }
}

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

/* Desktop nav */
.nav-list,
.mobile-nav-list,
.footer-links,
.content-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link,
.mobile-nav-link {
    text-decoration: none;
    font-weight: 700;
    transition: color 0.25s ease;
}

.nav-link {
    color: var(--theme-white);
    font-size: 15px;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--theme-gold);
}

/* Mobile menu */
.mobile-menu {
    background: linear-gradient(180deg, #10275c, #0a1735);
    border-top: 1px solid var(--theme-border);
    padding: 8px 0 18px;
}

.mobile-navigation {
    padding-top: 4px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav-item {
    width: 100%;
}

.mobile-nav-link {
    display: block;
    color: var(--theme-white);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 16px;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--theme-gold);
}

.mobile-language-switcher {
    margin-top: 16px;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Home Hero */
.home-hero {
    background: linear-gradient(135deg, #0d2459 0%, #173c84 55%, #214a9b 100%);
    color: #fff;
    padding: 40px 0 32px;
}

.home-hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.2;
    color: var(--theme-gold);
}

.hero-text {
    margin: 0 0 22px;
    font-size: 16px;
    color: rgba(255,255,255,0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    background: linear-gradient(135deg, var(--theme-gold), #ffda75);
    color: #1f1f1f;
    box-shadow: 0 10px 24px rgba(245,196,81,0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(245,196,81,0.34);
}

.btn-primary.large {
    min-height: 54px;
    padding: 15px 28px;
    font-size: 16px;
}

/* Content sections */
.home-section {
    padding: 52px 0;
}

.bg-soft {
    background: var(--theme-soft);
}

.home-section h2,
.home-cta h2 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.25;
    color: var(--theme-navy);
}

.home-section h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    color: var(--theme-navy);
}

.home-section p,
.home-cta p {
    margin: 0 0 18px;
    color: var(--theme-text);
}

.content-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.content-list li {
    background: #fff;
    border: 1px solid rgba(12,31,74,0.08);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px rgba(12,31,74,0.04);
}

/* Feature cards */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 10px 28px rgba(12,31,74,0.08);
    border: 1px solid rgba(12,31,74,0.06);
}

.feature-card p {
    margin-bottom: 0;
}

/* CTA */
.home-cta {
    padding: 58px 0;
    background: linear-gradient(135deg, #0b1d45, #15357b);
    color: #fff;
    text-align: center;
}

.home-cta h2 {
    color: var(--theme-gold);
}

.home-cta p {
    color: rgba(255,255,255,0.92);
    max-width: 820px;
    margin-inline: auto;
}

.home-cta .btn-primary {
    margin-top: 12px;
}

/* Generic pages */
.page-hero {
    padding: 44px 0 28px;
    background: linear-gradient(135deg, #0d2459 0%, #183a82 100%);
    color: #fff;
}

.page-hero h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    color: var(--theme-gold);
}

.page-content {
    padding: 48px 0;
}

/* Footer */
.site-footer {
    background: #08152f;
    color: rgba(255,255,255,0.88);
    padding: 40px 0 22px;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-brand-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--theme-gold);
    margin-bottom: 10px;
}

.footer-brand-text {
    margin: 0;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.footer-links a {
    color: rgba(255,255,255,0.86);
    text-decoration: none;
    transition: color 0.25s ease;
}

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

.site-footer__badges {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-18plus {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--theme-orange);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(255,122,26,0.28);
}

.badge-text {
    font-weight: 700;
    color: var(--theme-gold);
}

.footer-disclaimer-short {
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
}

.site-footer__bottom {
    text-align: center;
}

.copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.68);
}

/* Tables / content utility */
table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    border: 1px solid rgba(12,31,74,0.1);
    padding: 12px;
    text-align: left;
}

/* Responsive */
@media (min-width: 768px) {
    .home-hero {
        padding: 54px 0 42px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .home-section h2,
    .home-cta h2 {
        font-size: 34px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .desktop-navigation {
        display: block;
    }

    .desktop-language-switcher {
        display: flex;
    }

    .site-header__inner {
        min-height: 78px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 24px;
    }

    .main-navigation {
        justify-self: center;
    }

    .site-header__actions {
        justify-self: end;
    }

    .home-hero .container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 36px;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__top {
        grid-template-columns: 1.1fr 1fr;
        align-items: start;
    }

    .site-footer__badges {
        grid-template-columns: 260px 1fr;
        align-items: center;
    }
}

@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .hero-text {
        font-size: 17px;
    }
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item,
.contact-card,
.contact-box {
    background: #fff;
    border: 1px solid rgba(12,31,74,0.08);
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 8px 24px rgba(12,31,74,0.05);
}

.faq-item h2,
.contact-card h2,
.contact-box h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    color: var(--theme-navy);
}

.faq-item p,
.contact-card p,
.contact-box p,
.faq-intro p,
.contact-intro p {
    margin: 0 0 14px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.error-content {
    padding: 56px 0 72px;
}

.error-card {
    max-width: 820px;
    margin: 0 auto 28px;
    background: #fff;
    border: 1px solid rgba(12,31,74,0.08);
    border-radius: 22px;
    padding: 28px 22px;
    box-shadow: 0 12px 30px rgba(12,31,74,0.08);
    text-align: center;
}

.error-card h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.25;
    color: var(--theme-navy);
}

.error-card p {
    margin: 0 auto 20px;
    max-width: 720px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.error-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.error-link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    color: var(--theme-navy);
    background: #fff;
    border: 1px solid rgba(12,31,74,0.08);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(12,31,74,0.05);
    transition: 0.25s ease;
}

.error-link-card:hover {
    transform: translateY(-2px);
    color: var(--theme-orange);
    box-shadow: 0 14px 28px rgba(12,31,74,0.09);
}

@media (min-width: 768px) {
    .error-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .error-links-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}