*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #0f172a;
    --text-light: #475569;
    --muted: #cbd5f5;
    --background: #f8fafc;
    --card: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    --radius: 16px;
    --max-width: 1200px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

.container.narrow {
    width: min(70%, var(--max-width));
    text-align: center;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid.two {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.four {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37,99,235,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 25px 45px rgba(37, 99, 235, 0.35);
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.ghost {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

.text-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.lang-switcher {
    display: flex;
    gap: 0.35rem;
}

.lang-btn {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: white;
    color: var(--text);
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: transparent;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: #fff;
    background-image: linear-gradient(120deg, rgba(15,23,42,0.6), rgba(37,99,235,0.45)), url('banner.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(37, 99, 235, 0.65));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 6rem 0;
    max-width: 720px;
}

.hero-text {
    margin: 1.5rem 0 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 6rem 0;
}

.about,
.why,
.technologies,
.process,
.contact,
.services {
    position: relative;
}

.why .card,
.service-card,
.contact-card,
.process-steps .step {
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.tech-item {
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(37, 99, 235, 0.08);
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.process-steps .step {
    padding: 2rem;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.contact-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.contact-card li {
    display: flex;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-card li a {
    color: var(--primary);
    text-decoration: none;
}

.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0;
    margin-top: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding-top: 1.5rem;
}

.footer-bottom nav {
    display: flex;
    gap: 1rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.legal-hero {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(37, 99, 235, 0.7)), url('banner.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0;
}

.legal-hero__content h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.legal-hero__content p {
    color: rgba(255, 255, 255, 0.9);
}

.legal-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.legal-tags span {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
}

.legal-content {
    background: #fff;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section ul {
    margin: 1rem 0 0 1.2rem;
    color: var(--text-light);
}

.legal-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.legal-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow);
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover .icon {
    transform: scale(1.05);
}

.service-card .icon,
.bullet .icon {
    transition: transform 0.3s ease;
}

.service-card:hover .icon,
.bullet:hover .icon {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-cta {
        flex-direction: column;
    }

    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .header-content {
        flex-wrap: wrap;
    }

    .lang-switcher {
        width: 100%;
        justify-content: flex-end;
    }

    .contact-card li {
        flex-direction: column;
    }
}

