:root {
    --bg: #f7fbfd;
    --white: #ffffff;
    --primary: #2f4f5b;
    --secondary: #6e8793;
    --accent: #dfeaf0;
    --line: #e6eef3;
    --text: #35505d;
    --muted: #6f8791;
    --shadow: 0 18px 50px rgba(47, 79, 91, 0.08);
    --shadow-soft: 0 10px 30px rgba(47, 79, 91, 0.06);
    --radius: 24px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, #fdfefe 0%, #f7fbfd 40%, #eef5f9 100%);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(247, 251, 253, 0.88);
    border-bottom: 1px solid rgba(230, 238, 243, 0.9);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 78px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(47, 79, 91, 0.06);
    padding: 0.35rem;
}

.brand-text {
    min-width: 0;
}

.brand-text strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-text span {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.96rem;
    color: var(--secondary);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(47, 79, 91, 0.12);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.35rem;
    flex-wrap: nowrap;
}

.flag-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid transparent;
    box-shadow: 0 8px 20px rgba(47, 79, 91, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
    flex: 0 0 44px;
}

.flag-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(47, 79, 91, 0.12);
    border-color: #cfdde6;
}

.flag-link.active {
    border-color: #9fc2d4;
}

.flag-link img {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    object-fit: cover;
    border-radius: 999px;
    display: block;
    flex-shrink: 0;
}

.menu-btn {
    display: none;
    background: transparent;
    border: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    cursor: pointer;
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--primary);
    transition: 0.25s ease;
}

.hero {
    padding: 4.5rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(223, 234, 240, 0.75);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

h1,
h2 {
    margin: 0 0 1rem;
    color: var(--primary);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.35rem);
    max-width: 11ch;
}

.hero p {
    font-size: 1.08rem;
    max-width: 58ch;
    color: var(--secondary);
    margin: 0 0 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(47, 79, 91, 0.08);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--line);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 253, 0.95));
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(223, 234, 240, 0.7);
    filter: blur(10px);
}

.hero-card::before {
    width: 180px;
    height: 180px;
    top: -40px;
    right: -40px;
}

.hero-card::after {
    width: 130px;
    height: 130px;
    bottom: -30px;
    left: -30px;
}

.logo-frame {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.25rem;
    position: relative;
    z-index: 1;
}

.logo-frame img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    margin: 0 auto;
}

.section {
    padding: 2rem 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header p {
    max-width: 60ch;
    margin: 0 auto;
    color: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px rgba(47, 79, 91, 0.11);
}

.icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(223, 234, 240, 0.7);
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin: 0 0 0.65rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.card p {
    margin: 0;
    color: var(--secondary);
    font-size: 0.98rem;
}

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

.about-box {
    background: linear-gradient(180deg, #ffffff, #f9fcfe);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.about-box ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.85rem;
}

.about-box li {
    display: flex;
    gap: 0.75rem;
    color: var(--secondary);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    flex: 0 0 10px;
    margin-top: 0.45rem;
}

.contact-wrap {
    margin-top: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7fa 100%);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.contact-item span {
    color: var(--secondary);
    font-size: 0.96rem;
    word-break: break-word;
}

.cta-box {
    padding: 1.75rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
}

.cta-box p {
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

footer {
    padding: 2rem 0 2.6rem;
    color: var(--muted);
    font-size: 0.93rem;
    text-align: center;
}

@media (max-width: 960px) {

    .hero-grid,
    .about,
    .contact-wrap,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 2.5rem;
    }

    h1 {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .menu-btn {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.65rem);
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        text-align: center;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a,
    .nav-cta {
        padding: 0.9rem 1rem;
        border-radius: 16px;
        width: 100%;
    }

    .nav-cta {
        text-align: center;
    }

    .brand-text strong {
        font-size: 0.95rem;
    }

    .brand-text span {
        font-size: 0.82rem;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .section,
    .hero {
        padding-left: 0;
        padding-right: 0;
    }

    .card,
    .about-box,
    .contact-wrap,
    .hero-card {
        padding: 1.25rem;
    }

    .lang-switcher {
        justify-content: center;
        align-items: center;
        margin-left: 0;
        padding-top: 0.35rem;
        gap: 0.85rem;
        width: 100%;
    }

    .flag-link {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        flex: 0 0 48px;
    }

    .flag-link img {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
    }
}