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

:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-400: #94a3b8;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    /* object-fit: cover crops the square PNG to show just the centered wordmark */
    width: 100px;
    height: 28px;
    object-fit: cover;
    object-position: center;
    filter: url(#logo-navy);
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    padding-left: 20px;
    border-left: 1px solid var(--border);
}

.lang-sep {
    color: var(--border);
    font-size: 0.75rem;
    user-select: none;
    padding: 0 2px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    padding: 4px 4px;
    transition: color 0.15s;
}

.lang-btn:hover {
    color: var(--navy);
}

.lang-btn.active {
    color: var(--navy);
    font-weight: 700;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s;
}

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

.nav-cta {
    background: var(--navy) !important;
    color: var(--white) !important;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.15s !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
}

/* ── Shared labels & titles ── */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--navy);
}

/* ── Button ── */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* ── Hero ── */
.hero {
    padding: 160px 0 100px;
    background: var(--white);
}

.hero-inner {
    max-width: 680px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--navy);
    margin: 8px 0 24px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 40px;
}

/* ── Services ── */
.services {
    padding: 100px 0;
    background: var(--off-white);
}

.services .section-title {
    margin-bottom: 52px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 36px 30px;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.service-icon {
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── About ── */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text .section-title {
    margin: 8px 0 24px;
}

.about-body {
    font-size: 0.975rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}

.pillar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.pillar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.pillar-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Contact ── */
.contact {
    padding: 100px 0;
    background: var(--navy);
}

.contact-inner {
    text-align: center;
}

.contact .section-label {
    color: var(--accent-light);
}

.contact .section-title {
    color: var(--white);
    margin: 8px 0 16px;
}

.contact-sub {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 460px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
    transform: translateY(-1px);
}

/* ── Footer ── */
.footer {
    background: var(--navy-light);
    padding: 24px 0;
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services,
    .about,
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .nav-links li:not(:last-child) {
        display: none;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-link {
        justify-content: center;
    }
}
