:root {
    --nav-height: 72px;
    --bg-hero: #213a8f;
    --bg-page: #f3f4f7;
    --ink: #1f2738;
    --muted: #586077;
    --card: #ffffff;
    --line: #d8deee;
    --accent: #2a4fb2;
    --accent-2: #203f93;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg-page);
    line-height: 1.65;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(233, 234, 238, 0.96);
    border-bottom: 1px solid #d6d9e2;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.main-nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: clamp(1rem, 3vw, 2.6rem);
}

.nav-links a {
    text-decoration: none;
    color: #27429a;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #0f766e;
    border-bottom-color: #0f766e;
}

.hero {
    position: relative;
    min-height: min(840px, 92vh);
    margin-top: var(--nav-height);
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.12), transparent 35%),
        radial-gradient(circle at 90% 88%, rgba(255, 255, 255, 0.08), transparent 32%),
        linear-gradient(180deg, #24439d 0%, #213a8f 55%, #1f3685 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 85%, transparent);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: clamp(0.5rem, 2vh, 1.5rem) 1rem clamp(1.3rem, 3vh, 2.2rem);
}

.hero-brand {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.hero-logo {
    display: block;
    width: min(54vw, 890px);
    max-width: 100%;
    max-height: min(31vh, 380px);
    height: auto;
    object-fit: contain;
    transform: translateX(0);
    filter: brightness(0) saturate(100%) invert(90%) sepia(8%) saturate(275%) hue-rotate(186deg) brightness(90%) contrast(94%);
}

.hero-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subline {
    margin: 0.25rem auto 0;
    width: min(560px, 100%);
    max-width: 560px;
    padding: 0 0.4rem;
    color: #e4eaff;
    font-size: clamp(1rem, 2.1vw, 1.25rem);
}

.hero-cta {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    color: #f8fbff;
    text-decoration: none;
    padding: 0.84rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
}

.section {
    padding: clamp(3rem, 6vw, 5.3rem) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.1rem;
}

.section-title h2 {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-bottom: 0.5rem;
}

.section-title p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
}

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

.service-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.35rem;
    box-shadow: 0 12px 28px rgba(24, 35, 68, 0.07);
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.2s ease;
}

.service-illustration {
    width: 54px;
    height: 54px;
    display: block;
    margin-bottom: 0.8rem;
}

.service-card.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.service-card:hover {
    box-shadow: 0 16px 30px rgba(32, 63, 147, 0.16);
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
}

.service-card p {
    color: var(--muted);
}

.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-panel,
.contact-panel {
    background: #ffffff;
    border: 1px solid #d8deee;
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 18px 30px rgba(31, 54, 133, 0.1);
}

.about-panel p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.benefits {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.benefits li {
    display: flex;
    align-items: start;
    gap: 0.55rem;
}

.benefits li::before {
    content: "+";
    color: var(--accent-2);
    font-weight: 700;
}

.contact {
    background: linear-gradient(180deg, #eef1f9 0%, #e7ecf8 100%);
}

.contact-panel {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta {
    display: inline-block;
    margin-top: 0.6rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border-radius: 999px;
    padding: 0.8rem 1.4rem;
    font-weight: 600;
}

.contact-info {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #d8deee;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    background: #fff;
}

.contact-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
}

.site-footer {
    text-align: center;
    padding: 1.5rem 0;
    background: #1a2d6f;
    color: #e5eaf9;
}

@media (max-width: 900px) {
    .about-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    :root {
        --nav-height: 62px;
    }

    .hero {
        min-height: 74vh;
    }

    .hero-brand {
        overflow: hidden;
    }

    .hero-logo {
        width: min(74.25vw, 520px);
        max-height: 28.6vh;
        transform: translateX(0);
        margin-inline: auto;
    }

    .hero-inner {
        width: 100%;
        max-width: 540px;
        margin-inline: auto;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 0.8rem;
        padding-bottom: 1.5rem;
    }

    .hero-subline {
        width: min(92vw, 520px);
        max-width: 92vw;
        padding: 0 0.65rem;
        font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    }

    .hero-cta {
        margin-top: 1.25rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.92rem;
    }
}
