:root {
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --bg-alt: #eef2f6;
    --text-primary: #1f2933;
    --text-secondary: #52606d;
    --accent-color: #0d3b66;
    --accent-secondary: #3a86ff;
    --border-color: #d9dde5;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
    --radius-sm: 10px;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

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

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--text-primary);
    line-height: 1.2;
}

p {
    margin-top: 0;
    color: var(--text-secondary);
}

ul,
ol {
    padding-left: 1.2rem;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    background: var(--accent-color);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.05);
    z-index: 999;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-color);
}

.header-placeholder {
    display: none;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus {
    color: var(--accent-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle__line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--text-primary);
    transition: transform 0.2s ease;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero {
    padding: 4rem 0 3rem;
}

.hero-inner {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
}

.coming-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(13, 59, 102, 0.12);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.coming-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    display: grid;
    gap: 1rem;
}

.landing {
    padding: 4.5rem 0 3rem;
    background: var(--bg-alt);
}

.landing-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: start;
}

.landing-text h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
}

.landing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.25rem;
    display: grid;
    gap: 1rem;
}

.intro {
    padding: 3rem 0;
}

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

.intro-stats {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: var(--accent-color);
}

.quick-links {
    padding: 3rem 0;
}

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

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.arrow-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.arrow-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.arrow-link:hover::after,
.arrow-link:focus::after {
    transform: translateX(4px);
}

.cta-band {
    background: var(--accent-color);
    color: #fff;
    padding: 3rem 0;
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-text h1 {
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-secondary);
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-quote {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-quote blockquote {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.hero-quote figcaption {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 59, 102, 0.2);
}

.btn-secondary {
    background-color: rgba(13, 59, 102, 0.08);
    color: var(--accent-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(13, 59, 102, 0.15);
    transform: translateY(-2px);
}

.page-hero {
    padding: 3rem 0 2rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.hero-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portrait-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.portrait-card__image {
    height: 260px;
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.4), rgba(58, 134, 255, 0.4));
}

.portrait-card__body {
    padding: 1.75rem;
}

.badge-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge-list li {
    background: rgba(13, 59, 102, 0.08);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.content-section {
    padding: 3.5rem 0;
}

.content-section.alt {
    background: var(--bg-alt);
}

.two-column {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.checklist {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.checklist li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--text-secondary);
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.75rem;
}

.timeline__year {
    font-weight: 700;
    color: var(--accent-color);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.list-bullets {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.list-bullets li {
    position: relative;
    padding-left: 1.5rem;
}

.list-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-weight: 700;
}

.list-check {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.list-check li::before {
    content: "✓";
    color: var(--accent-secondary);
    padding-right: 0.5rem;
    font-weight: 600;
}

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

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1.25rem;
    align-content: start;
}

.pricing-card--highlight {
    border: 2px solid var(--accent-color);
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0;
}

.numbered-steps {
    counter-reset: steps;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.numbered-steps li {
    counter-increment: steps;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
}

.numbered-steps li::before {
    content: counter(steps);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
}

.blog-filters {
    background: var(--bg-alt);
    padding: 1.5rem 0;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-form label {
    font-weight: 600;
}

.filter-form select {
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #fff;
    font: inherit;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 3rem 0;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.blog-card__meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
}

.blog-card__category {
    background: rgba(13, 59, 102, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}

.pagination {
    padding-bottom: 3rem;
}

.pagination-inner {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination a {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.pagination a[aria-current="page"] {
    background: var(--accent-color);
    color: #fff;
}

.blog-detail {
    padding: 2rem 0 3rem;
    max-width: 780px;
}

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

.blog-detail__content p {
    margin-bottom: 1.2rem;
}

.blog-detail__content h2,
.blog-detail__content h3 {
    margin-top: 2.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);
}

.article-meta__category {
    background: rgba(13, 59, 102, 0.08);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

.share-links {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.share-links span {
    color: var(--text-secondary);
    font-weight: 600;
}

.alert {
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.alert-info {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

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

.contact-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-field {
    display: grid;
    gap: 0.5rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font: inherit;
    background: #fff;
}

.form-field input:focus,
.form-field textarea:focus,
.filter-form select:focus {
    outline: 2px solid rgba(13, 59, 102, 0.3);
    outline-offset: 2px;
}

.field-error {
    border-color: rgba(239, 68, 68, 0.7) !important;
}

.contact-socials {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.home-contact {
    padding: 3.5rem 0;
}

.home-contact__grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

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

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

.testimonial {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.faq {
    max-width: 800px;
    display: grid;
    gap: 1rem;
}

.faq details {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    padding: 3rem 0 1.5rem;
    align-items: start;
}

.footer-description {
    color: #ffffff;
    max-width: 340px;
}

.footer-title {
    font-size: 1.3rem;
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contacts,
.footer-socials {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.footer-contacts li,
.footer-contacts a {
    color: rgba(255, 255, 255, 0.88);
}

.footer-social-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 1.5rem;
    padding: 1.5rem 0 0.5rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    padding: 0;
    margin: 0;
}

.footer-socials li {
    list-style: none;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.site-footer {
    background: #0b233f;
    color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.88);
}

.footer-copy {
    text-align: center;
    padding: 1.5rem 0 2.2rem;
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 960px) {
    .site-nav {
        position: fixed;
        inset: 0 0 0 40%;
        background: #fff;
        padding: 4rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
    }

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

    .site-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-toggle {
        display: block;
    }

    body.nav-open {
        overflow: hidden;
    }
}

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

    .hero-quote {
        padding: 1.5rem;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .site-nav {
        inset: 0;
    }
}
