@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
    --color-primary: #0A2463;
    --color-secondary: #123B8C;
    --color-accent: #D4AF37;
    --color-light: #FFFFFF;
    --color-muted: #F5F7FB;
    --color-neutral: #E0E6F0;
    --color-dark: #111827;
    --color-text: #1F2937;
    --shadow-soft: 0 15px 35px rgba(10, 36, 99, 0.15);
    --shadow-card: 0 18px 40px rgba(12, 36, 78, 0.12);
    --radius-base: 16px;
    --radius-pill: 50px;
    --space-2xs: 0.5rem;
    --space-xs: 0.75rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    color: var(--color-text);
    background: linear-gradient(180deg, #F9FBFF 0%, #EEF2FB 46%, #FFFFFF 100%);
}

main {
    flex: 1 0 auto;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover,
a:focus {
    opacity: 0.85;
}

p {
    margin: 0 0 var(--space-sm);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0 0 var(--space-sm);
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.3rem, 6vw, 3.6rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.2;
}

h4 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

ul,
ol {
    padding-left: 1.2rem;
    margin: 0 0 var(--space-md);
}

button {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 30px rgba(4, 23, 66, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.site-logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-toggle {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: var(--space-2xs);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.site-nav {
    position: fixed;
    inset: 0;
    padding: var(--space-xl) var(--space-md);
    background: rgba(10, 36, 99, 0.95);
    backdrop-filter: blur(12px);
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: grid;
    gap: var(--space-md);
}

.site-nav a {
    color: var(--color-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-nav.nav-open {
    transform: translateY(0);
}

.primary-nav {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #F9D976);
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.28);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--color-light);
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
    border-color: var(--color-light);
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: rgba(10, 36, 99, 0.1);
    color: var(--color-primary);
}

.section {
    padding: var(--space-xl) 0;
}

.section.alt-section {
    background: var(--color-muted);
}

.section-heading {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    max-width: 640px;
    color: rgba(17, 24, 39, 0.72);
}

.page-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--color-light);
}

.page-hero.homepage-hero {
    background: linear-gradient(128deg, rgba(10, 36, 99, 0.98) 15%, rgba(19, 58, 132, 0.92) 55%, rgba(23, 70, 150, 0.95) 100%);
    color: var(--color-light);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-hero.homepage-hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 65%);
    top: -140px;
    right: -120px;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--space-lg);
}

.hero-grid .hero-content {
    max-width: 600px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.hero-tagline span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-accent);
    display: inline-flex;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.hero-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(8, 22, 71, 0.45);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-stat {
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: var(--space-sm);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(6px);
}

.hero-stat strong {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid.featured-grid {
    padding: var(--space-md) 0;
}

.grid.featured-grid > article {
    background: var(--color-light);
    border-radius: var(--radius-base);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.grid.featured-grid > article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.08), rgba(212, 175, 55, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid.featured-grid > article:hover::before {
    opacity: 1;
}

.grid.featured-grid > article > * {
    position: relative;
    z-index: 1;
}

.grid.stats-grid {
    background: var(--color-light);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    padding: var(--space-lg);
}

.grid.stats-grid .stat-block {
    text-align: center;
    padding: var(--space-sm);
}

.grid.stats-grid .stat-block strong {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--color-primary);
    margin-bottom: var(--space-2xs);
}

.grid.stats-grid .stat-block span {
    color: rgba(17, 24, 39, 0.7);
    font-size: 1rem;
}

.card {
    background: var(--color-light);
    border-radius: var(--radius-base);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.card.accent-card {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.95), rgba(18, 59, 140, 0.92));
    color: var(--color-light);
}

.testimonial-card {
    background: var(--color-light);
    border-radius: 20px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: "“";
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.15);
    font-family: var(--font-heading);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: auto;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(212, 175, 55, 0.4);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    background: rgba(10, 36, 99, 0.08);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.media-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
}

.media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: inherit;
    pointer-events: none;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(10, 36, 99, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.quote-highlight {
    border-left: 4px solid var(--color-accent);
    padding-left: var(--space-sm);
    font-style: italic;
    color: rgba(17, 24, 39, 0.8);
}

.timeline {
    display: grid;
    gap: var(--space-lg);
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(10, 36, 99, 0.4), rgba(212, 175, 55, 0.4));
}

.timeline-step {
    display: grid;
    gap: var(--space-sm);
    padding-left: 42px;
    position: relative;
}

.timeline-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.highlight-grid {
    display: grid;
    gap: var(--space-md);
}

.highlight-grid .highlight-item {
    padding: var(--space-lg);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow: var(--shadow-soft);
}

.faq-item {
    background: var(--color-light);
    border-radius: 18px;
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.faq-item h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
}

.form-grid {
    display: grid;
    gap: var(--space-sm);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
}

.form-field label {
    font-weight: 600;
    color: var(--color-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
    border: 1px solid rgba(10, 36, 99, 0.18);
    border-radius: 14px;
    padding: var(--space-sm);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.92);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-card {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.98), rgba(18, 59, 140, 0.92));
    color: var(--color-light);
    border-radius: 22px;
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
}

.contact-list {
    display: grid;
    gap: var(--space-sm);
}

.contact-list a {
    color: var(--color-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.site-footer {
    background: #040B1B;
    color: rgba(255, 255, 255, 0.88);
    padding: var(--space-xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 50%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    gap: var(--space-lg);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 360px;
}

.footer-nav {
    display: grid;
    gap: var(--space-xs);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
}

.footer-contact {
    display: grid;
    gap: var(--space-2xs);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.footer-bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.table-responsive {
    overflow-x: auto;
    background: var(--color-light);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

thead {
    background: rgba(10, 36, 99, 0.92);
    color: var(--color-light);
}

th,
td {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
    text-align: left;
    font-size: 0.98rem;
}

th {
    font-weight: 600;
    letter-spacing: 0.04em;
}

tbody tr:nth-child(every) {
    background: transparent;
}

tbody tr:hover {
    background: rgba(10, 36, 99, 0.05);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(10, 36, 99, 0.96);
    color: var(--color-light);
    border-radius: 18px;
    padding: var(--space-md);
    box-shadow: 0 25px 45px rgba(4, 14, 42, 0.4);
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-container {
    display: grid;
    gap: var(--space-sm);
}

.cookie-container p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.cookie-actions .btn {
    flex: 1 1 140px;
    min-width: 140px;
}

.metrics-grid {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.metrics-grid .metric {
    background: var(--color-light);
    border-radius: 20px;
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.metrics-grid .metric strong {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--space-2xs);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.35rem 0.9rem;
    background: rgba(10, 36, 99, 0.12);
    color: var(--color-primary);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

blockquote {
    margin: 0;
    padding: var(--space-md);
    background: rgba(10, 36, 99, 0.08);
    border-radius: 18px;
    border-left: 4px solid var(--color-accent);
    font-style: italic;
}

.return-home {
    margin-top: var(--space-lg);
    display: inline-flex;
}

@media (max-width: 767px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .grid.stats-grid {
        padding: var(--space-md);
    }

    .metrics-grid .metric {
        text-align: center;
    }
}

@media (min-width: 600px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .grid.featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        transform: translateY(0);
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        display: block;
    }

    .site-nav ul {
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }

    .site-nav a {
        color: var(--color-primary);
        font-size: 0.95rem;
        letter-spacing: 0.05em;
    }

    .primary-nav {
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }

    .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }

    .cookie-banner {
        left: auto;
        width: min(420px, 90%);
    }

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

@media (min-width: 1024px) {
    .page-hero {
        padding: var(--space-2xl) 0;
    }

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

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

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

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
        top: 30px;
    }

    .timeline-step {
        padding-left: 0;
        padding-right: 42px;
    }

    .timeline-step::before {
        left: auto;
        right: -42px;
    }

    .timeline-step:nth-child(odd) {
        text-align: right;
    }

    .timeline-step:nth-child(odd)::before {
        right: auto;
        left: -42px;
    }

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

@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }

    .page-hero.homepage-hero::after {
        width: 720px;
        height: 720px;
        top: -160px;
        right: -160px;
    }
}