@font-face {
    font-family: 'Ethnocentric';
    src: url('../assets/fonts/ethnocentric-rg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ethnocentric';
    src: url('../assets/fonts/ethnocentric-rg-it.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --navy: #1b2559;
    --navy-light: #2a3a7a;
    --gold: #f5b731;
    --gold-light: #fdd86a;
    --white: #ffffff;
    --off-white: #f7f7fa;
    --gray-100: #f0f0f5;
    --gray-200: #e0e0ea;
    --gray-400: #9999aa;
    --gray-600: #5c5c6e;
    --text: #1d1d2f;
    --text-secondary: #6e6e80;
    --font-display: 'Ethnocentric', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --section-padding: clamp(80px, 10vw, 140px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* ─── NAV ─── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

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

.nav-logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.2s;
}

.nav-logo:hover img {
    opacity: 0.8;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 980px;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ─── HERO ─── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.hero-content {
    max-width: 820px;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: clamp(12px, 1.4vw, 15px);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.08;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ─── BUTTONS ─── */

.btn {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 980px;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(27, 37, 89, 0.25);
}

/* ─── SECTION COMMON ─── */

.section-eyebrow {
    font-family: var(--font-display);
    font-size: clamp(11px, 1.2vw, 13px);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.12;
    color: var(--navy);
    margin-bottom: 56px;
    letter-spacing: -0.005em;
}

/* ─── SERVICES ─── */

.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.service-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 48px 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 37, 89, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 400;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

/* ─── STATS ─── */

.stats {
    padding: var(--section-padding) 0;
    background: var(--navy);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
}

.stat {
    padding: 20px 8px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    display: block;
    color: var(--gold);
    line-height: 1.1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 24px);
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

/* ─── ABOUT ─── */

.about {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 80px;
}

.highlight {
    padding: 28px 32px;
    background: var(--off-white);
    border-radius: 16px;
    border-left: 4px solid var(--gold);
}

.highlight-number {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--navy);
    display: inline;
}

.highlight-suffix {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--navy);
}

.highlight-text {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ─── PROJECTS ─── */

.projects {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

.project-card {
    background: var(--navy);
    border-radius: 20px;
    overflow: hidden;
    min-height: 280px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(27, 37, 89, 0.2);
}

.project-card--wide {
    grid-column: span 2;
}

.project-card-inner {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    background: linear-gradient(180deg, rgba(27, 37, 89, 0.3) 0%, rgba(27, 37, 89, 0.95) 100%);
}

.project-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    background: rgba(245, 183, 49, 0.15);
    padding: 4px 12px;
    border-radius: 980px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 400;
}

.project-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ─── TESTIMONIALS ─── */

.testimonials {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.testimonial {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px 36px;
    border: none;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 64px;
    color: var(--gold);
    position: absolute;
    top: 20px;
    left: 32px;
    line-height: 1;
    opacity: 0.5;
}

.testimonial p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    padding-top: 24px;
    font-style: italic;
}

.testimonial footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial footer strong {
    font-size: 15px;
    color: var(--navy);
    font-weight: 600;
}

.testimonial footer span {
    font-size: 13px;
    color: var(--gray-400);
}

/* ─── CONTACT ─── */

.contact {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

.office {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 36px;
    transition: box-shadow 0.3s;
}

.office:hover {
    box-shadow: 0 8px 32px rgba(27, 37, 89, 0.06);
}

.office h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 16px;
    font-weight: 400;
}

.office-badge {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gold);
    color: var(--navy);
    padding: 3px 10px;
    border-radius: 980px;
    vertical-align: middle;
    margin-left: 8px;
}

.office address {
    font-style: normal;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.office-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.office-contacts a {
    font-size: 14px;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.office-contacts a:hover {
    color: var(--gold);
}

.office-contacts i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: var(--gold);
}

/* ─── FOOTER ─── */

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 32px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ─── ANIMATIONS ─── */

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MOBILE ─── */

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card--wide {
        grid-column: span 1;
    }

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

    .about-highlights {
        padding-top: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .highlight {
        flex: 1;
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 20px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        flex-direction: column;
    }

    .highlight {
        min-width: auto;
    }
}
