:root {
    --navy-900: #071a34;
    --navy-800: #0d2a4e;
    --navy-700: #143a69;
    --slate-100: #edf2f8;
    --slate-300: #cfd9e7;
    --slate-700: #334761;
    --white: #ffffff;
    --accent: #f58220;
    --accent-dark: #d86605;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-md: 0 14px 34px rgba(6, 22, 44, 0.12);
    --shadow-lg: 0 20px 48px rgba(6, 22, 44, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--slate-700);
    background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(7, 26, 52, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--slate-100);
    font-size: 0.9rem;
}

.topbar a,
.topbar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
}

.topbar a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: #ffd7b3;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.logo {
    height: 90px;
    width: auto;
    display: block;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease;
}

nav a:hover {
    color: #ffe3ca;
    background: rgba(255, 255, 255, 0.1);
}

nav a.active {
    color: #ffe3ca;
    background: rgba(255, 255, 255, 0.18);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.86rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.lang-btn.is-active {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.24);
}

.flag {
    font-size: 1rem;
    line-height: 1;
}

main section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px;
}

#hero {
    max-width: none;
    min-height: 78vh;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
    background-image:
        linear-gradient(120deg, rgba(5, 21, 42, 0.9), rgba(15, 49, 86, 0.8)),
        url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 110px 20px 95px;
}

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

.eyebrow {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffd7b3;
    margin-bottom: 18px;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.15;
    font-weight: 800;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-lead {
    margin: 24px auto 0;
    max-width: 760px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #edf4ff;
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 14px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 26px rgba(245, 130, 32, 0.35);
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: var(--accent-dark);
    box-shadow: 0 14px 30px rgba(216, 102, 5, 0.42);
}

.cta-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: none;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero-trust {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stats {
    margin-top: -45px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 0 20px 70px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(20, 58, 105, 0.09);
}

.stat-card strong {
    display: block;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    color: var(--navy-700);
    margin-bottom: 4px;
}

h2 {
    margin-top: 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--navy-800);
    text-align: center;
    margin-bottom: 20px;
}

.section-intro {
    margin: 0 auto 38px;
    text-align: center;
    max-width: 760px;
    color: #465d7a;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(20, 58, 105, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service h3 {
    color: var(--navy-700);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.35;
}

.service h3 i {
    color: var(--accent);
    margin-right: 8px;
}

.inline-link {
    display: inline-flex;
    margin-top: 8px;
    text-decoration: none;
    font-weight: 700;
    color: var(--navy-700);
}

.inline-link:hover {
    color: var(--accent-dark);
}

.page-hero {
    padding-top: 56px;
    padding-bottom: 28px;
    text-align: center;
}

.page-hero h1 {
    margin: 0;
    color: var(--navy-800);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.page-hero p {
    margin: 12px auto 0;
    max-width: 760px;
}

#about {
    background: linear-gradient(120deg, #e9f1ff 0%, #f4f8ff 100%);
    border-radius: var(--radius-lg);
    margin-top: 30px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 26px;
    align-items: start;
}

.about-text p {
    margin: 0 0 14px;
    font-size: 1.04rem;
}

.about-highlights {
    display: grid;
    gap: 12px;
}

.about-highlights div {
    background: var(--white);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(20, 58, 105, 0.1);
    color: var(--navy-700);
    font-weight: 600;
}

.about-highlights i {
    color: var(--accent);
    margin-right: 8px;
}

#process {
    padding-top: 84px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-grid article {
    background: var(--white);
    border: 1px solid rgba(20, 58, 105, 0.1);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-md);
}

.process-grid span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy-700);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
}

.process-grid h3 {
    margin: 0 0 8px;
    color: var(--navy-700);
}

#gallery .gallery-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 140px;
    border: 1px solid rgba(20, 58, 105, 0.09);
}

.gallery-item a {
    display: block;
    width: 100%;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.project-collage {
    display: block;
    column-count: 1;
    column-gap: 0;
    max-width: 760px;
    margin: 0 auto;
}

.project-collage .gallery-item {
    min-height: 0;
    background: transparent;
    margin: 0 0 12px;
    break-inside: avoid;
}

.project-collage .gallery-item a {
    display: block;
    width: 100%;
}

.project-collage .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#testimonials {
    background: #f1f6ff;
    border-radius: var(--radius-lg);
    margin-top: 30px;
}

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

.testimonial {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(20, 58, 105, 0.1);
}

.testimonial p {
    font-style: italic;
    margin: 0;
}

.testimonial strong {
    display: block;
    margin-top: 16px;
    color: var(--navy-700);
}

.final-cta {
    text-align: center;
    background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.final-cta h2,
.final-cta p {
    color: var(--white);
}

.final-cta .cta-btn {
    margin-top: 12px;
}

footer {
    margin-top: 80px;
    background: #061428;
    color: var(--white);
    padding: 70px 20px 28px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer-section h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #ffd5ac;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.footer-contact-item i,
.social-links i {
    color: var(--accent);
}

.contact-link,
.map-link,
.social-links a {
    color: #ebf3ff;
    text-decoration: none;
}

.about-highlights .contact-link {
    color: var(--navy-700);
    font-weight: 700;
}

.map-link {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 8px 13px;
}

.map-link:hover,
.social-links a:hover,
.contact-link:hover {
    color: #ffd7b3;
}

.social-links {
    display: grid;
    gap: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 34px auto 0;
    padding-top: 18px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #b9c7db;
    font-size: 0.9rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .logo {
        height: 76px;
    }

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

    .service-list,
    .process-grid,
    #gallery .gallery-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-collage {
        column-count: 1;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar {
        justify-content: flex-start;
        font-size: 0.84rem;
    }

    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        justify-content: flex-start;
        gap: 8px;
    }

    .logo {
        height: 68px;
    }

    .language-switch {
        margin-top: 6px;
    }

    main section {
        padding: 70px 16px;
    }

    .stats {
        margin-top: -28px;
        padding: 0 16px 50px;
    }

    .service-list,
    .process-grid,
    #gallery .gallery-grid,
    .gallery-grid,
    .testimonials-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .project-collage {
        column-count: 1;
    }
}
