/* ============================================
   TEEUWEN BOUW — STYLE SYSTEM
   ============================================ */

:root {
    --yellow: #FDD916;
    --yellow-light: #FEE44A;
    --yellow-bg: #FDF8E8;
    --blue: #1F5DAA;
    --blue-dark: #0F3F7F;
    --blue-light: #4A8FD9;
    --white: #FFFFFF;
    --dark: #1A1A1A;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-300: #D4D4D4;
    --gray-400: #999999;
    --gray-600: #555555;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --nav-height: 80px;
    --container: 1200px;
    --container-narrow: 800px;
    --radius: 6px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- RESET & BASE ---- */

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

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

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.15;
}

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

/* ---- DECORATIVE BG ELEMENTS ---- */

.bg-dots {
    position: absolute;
    width: 160px;
    height: 160px;
    background-image: radial-gradient(circle, var(--blue-light) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.bg-corner {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 2px solid var(--yellow);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius-lg);
}

.bg-circle {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 2px solid var(--blue-light);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.bg-yellow-block {
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--yellow);
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius);
}

.bg-line {
    position: absolute;
    width: 1px;
    height: 240px;
    background: linear-gradient(to bottom, transparent, var(--blue-light), transparent);
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}

.bg-cross {
    position: absolute;
    width: 28px;
    height: 28px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
}

.bg-cross::before,
.bg-cross::after {
    content: '';
    position: absolute;
    background: var(--blue-light);
}

.bg-cross::before {
    width: 24px;
    height: 2px;
    top: 11px;
    left: 0;
}

.bg-cross::after {
    width: 2px;
    height: 24px;
    top: 0;
    left: 11px;
}

/* Hide mobile-only elements on desktop */
.nav__menu-logo {
    display: none;
}

/* ---- SCROLL ANIMATIONS ---- */

.fade-up, .fade-left, .fade-right, .fade-in {
    opacity: 0;
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-out);
    will-change: opacity, transform;
}

.fade-up { transform: translateY(50px); }
.fade-left { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }
.fade-in { transform: none; }

.fade-up.is-visible, .fade-left.is-visible, .fade-right.is-visible, .fade-in.is-visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.6s; }

.stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-out);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: none; }

.stagger > .intro-strip__divider { opacity: 1; transform: none; }

/* ---- NAVIGATION ---- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: #FDD916;
    transition: box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

.nav--scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    height: 68px;
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo-img {
    height: 44px;
    width: auto;
    transition: height 0.4s var(--ease);
}

.nav--scrolled .nav__logo-img {
    height: 36px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    color: var(--blue-dark);
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s var(--ease);
}

.nav__link:hover::after, .nav__link.is-active::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--blue);
    color: var(--white) !important;
    padding: 10px 28px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue-dark);
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 2px;
}

/* ---- BUTTONS ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,93,170,0.25); }

.btn--yellow { background: var(--yellow); color: var(--blue-dark); }
.btn--yellow:hover { background: var(--yellow-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(253,217,22,0.3); }

.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn--outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); transform: translateY(-2px); }

.btn--outline-dark { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--outline-dark:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.btn--large { padding: 18px 48px; font-size: 1rem; }
.btn--full { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---- SECTION LABELS ---- */

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 200;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.section-title--white { color: var(--white); }

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    font-weight: 300;
    line-height: 1.85;
}

/* ---- HERO ---- */

.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    will-change: transform;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,63,127,0.82) 0%, rgba(15,63,127,0.55) 50%, rgba(15,63,127,0.75) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero__title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 200;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.05;
}

.hero__title span { display: block; color: var(--yellow); }

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.hero__tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero__tag {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    padding: 6px 18px;
    border: 1px solid rgba(253,217,22,0.35);
    border-radius: 100px;
    color: var(--yellow);
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---- PAGE HERO ---- */

.page-hero {
    position: relative;
    padding: calc(var(--nav-height) + 80px) 0 80px;
    overflow: hidden;
}

.page-hero--image {
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,63,127,0.75) 0%, rgba(15,63,127,0.85) 100%);
}

.page-hero--yellow { background: #FDD916; }

.page-hero__content { position: relative; z-index: 2; }

.page-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 200;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-hero--image .page-hero__title { color: var(--white); }
.page-hero--yellow .page-hero__title { color: var(--blue-dark); }

.page-hero__desc {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 560px;
}

.page-hero--image .page-hero__desc { color: rgba(255,255,255,0.8); }
.page-hero--yellow .page-hero__desc { color: var(--blue-dark); opacity: 0.7; }

/* ---- INTRO STRIP ---- */

.intro-strip {
    background: var(--yellow);
    padding: 40px 0;
}

.intro-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.intro-strip__item { text-align: center; min-width: 140px; }

.intro-strip__number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 200;
    color: var(--blue-dark);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.intro-strip__label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--blue-dark);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.intro-strip__divider {
    width: 1px;
    height: 48px;
    background: rgba(31,93,170,0.15);
}

.intro-strip__logo {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s var(--ease);
    filter: brightness(0) invert(19%) sepia(60%) saturate(2000%) hue-rotate(197deg) brightness(85%);
}

.intro-strip__item:hover .intro-strip__logo {
    transform: scale(1.05);
}

/* ---- CONTENT BLOCKS ---- */

.content-block { padding: 80px 0; position: relative; overflow: hidden; }
.content-block--gray { background: var(--gray-50); }

.testimonials { position: relative; overflow: hidden; }

.content-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.content-block__grid--reverse { direction: rtl; }
.content-block__grid--reverse > * { direction: ltr; }

.content-block__images { position: relative; }

.content-block__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.content-block__img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.content-block__img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 200px;
    height: 150px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.content-block__img-accent img { width: 100%; height: 100%; object-fit: cover; }
.content-block__grid--reverse .content-block__img-accent { right: auto; left: -32px; }

.content-block__text p {
    color: var(--gray-600);
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 18px;
}

.content-block__text p:last-child { margin-bottom: 0; }
.content-block__text--mb { margin-bottom: 32px; }

/* ---- IMAGE STRIP ---- */

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

.image-strip__item { aspect-ratio: 4/3; overflow: hidden; }

.image-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.image-strip__item:hover img { transform: scale(1.06); }

/* ---- SERVICES ---- */

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

.service-card {
    background: var(--white);
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon { width: 48px; height: 48px; margin-bottom: 24px; color: var(--blue); }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title { font-size: 1.15rem; font-weight: 500; margin-bottom: 12px; color: var(--dark); }
.service-card__desc { font-size: 0.9rem; color: var(--gray-600); font-weight: 300; line-height: 1.75; }

/* ---- SERVICE DETAIL ---- */

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 0;
}

.service-detail__img { overflow: hidden; }
.service-detail__img img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }

.service-detail__content {
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.service-detail--alt .service-detail__content { background: var(--gray-50); }

.service-detail__title {
    font-size: 1.8rem;
    font-weight: 200;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.service-detail__text {
    color: var(--gray-600);
    font-weight: 300;
    line-height: 1.85;
}

.service-detail__text ul {
    list-style: none;
    margin-top: 16px;
}

.service-detail__text ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.service-detail__text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background: var(--yellow);
}

/* ---- FEATURE BANNER ---- */

.feature-banner { position: relative; overflow: hidden; }

.feature-banner__content { position: relative; height: 520px; }

.feature-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,63,127,0.92) 0%, rgba(15,63,127,0.3) 100%);
}

.feature-banner__text {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
    padding: 0 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.feature-banner__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 200;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.feature-banner__desc {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.82;
    line-height: 1.85;
    margin-bottom: 28px;
}

/* ---- PROJECTS GRID (overview page) ---- */

.projects-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-preview {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
}

.project-preview:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: transparent;
}

.project-preview__img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    display: block;
    cursor: pointer;
}

.project-preview__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.project-preview:hover .project-preview__img img {
    transform: scale(1.04);
}

.project-preview__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--yellow);
    color: var(--blue-dark);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    z-index: 2;
}

.project-preview__body {
    padding: 28px 32px 32px;
}

.project-preview__location {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 4px;
}

.project-preview__title {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--dark);
}

.project-preview__desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-preview__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--blue);
    padding: 10px 24px;
    background: rgba(31,93,170,0.06);
    border-radius: var(--radius);
    transition: background 0.3s, gap 0.3s;
}

.project-preview__link:hover {
    background: rgba(31,93,170,0.12);
    gap: 12px;
}

.project-preview__link svg {
    width: 16px;
    height: 16px;
}

.project-preview__link--external {
    background: rgba(242,195,0,0.15);
    color: var(--blue-dark);
}

.project-preview__link--external:hover {
    background: rgba(242,195,0,0.25);
}

.project-preview__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 8px;
}

.project-preview__tag--monument {
    background: rgba(31,93,170,0.08);
    color: var(--blue);
}

.project-preview__tag--prep {
    background: rgba(253,217,22,0.2);
    color: var(--blue-dark);
}

/* ---- PROJECTS GRID (homepage compact) ---- */

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

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.project-card__img-wrap { position: absolute; inset: 0; }

.project-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.project-card:hover .project-card__img-wrap img { transform: scale(1.05); }

.project-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease);
}

.project-card:hover .project-card__info { transform: translateY(0); opacity: 1; }

.project-card__location {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--yellow);
}

.project-card__title { font-size: 1.35rem; font-weight: 300; margin: 4px 0 10px; }
.project-card__cta { font-size: 0.82rem; font-weight: 400; opacity: 0.7; }

/* ---- CTA ---- */

.cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta__bg { position: absolute; inset: 0; }
.cta__bg-img { width: 100%; height: 100%; object-fit: cover; }
.cta__overlay { position: absolute; inset: 0; background: rgba(15,63,127,0.9); }

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 200;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta__desc {
    font-size: 1.05rem;
    font-weight: 300;
    opacity: 0.75;
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.85;
}

.cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- CONTACT ---- */

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

.contact__details {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__detail { display: flex; align-items: flex-start; gap: 16px; }

.contact__detail-icon { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.contact__detail-icon svg { width: 100%; height: 100%; }

.contact__detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact__detail-value { font-size: 1rem; font-weight: 400; color: var(--dark); line-height: 1.6; }
a.contact__detail-value:hover { color: var(--blue); }

.contact__badges { display: flex; gap: 12px; margin-top: 8px; }

.contact__badge {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 8px 20px;
    border: 1.5px solid var(--yellow);
    border-radius: 100px;
    color: var(--blue-dark);
}

/* ---- FORM ---- */

.contact__form-wrap {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact__form input,
.contact__form select,
.contact__form textarea {
    width: 100%;
    padding: 15px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--dark);
    background: var(--gray-100);
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    -webkit-appearance: none;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus { border-color: var(--blue); background: var(--white); }

.contact__form textarea { resize: vertical; min-height: 130px; }
.contact__form select { cursor: pointer; color: var(--gray-400); }

/* ---- MAP ---- */

.map-section { height: 400px; background: var(--gray-100); }
.map-section iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.3); }

/* ---- USP STRIP ---- */

.usp-strip { padding: 60px 0; position: relative; overflow: hidden; }

.usp-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.usp-item { text-align: center; padding: 32px 16px; }

.usp-item__icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--blue); }
.usp-item__icon svg { width: 100%; height: 100%; }
.usp-item__title { font-size: 1rem; font-weight: 500; margin-bottom: 8px; }
.usp-item__desc { font-size: 0.85rem; color: var(--gray-600); font-weight: 300; line-height: 1.7; }

/* ---- FOOTER ---- */

.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.55);
    padding: 60px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo {
    height: 36px;
    width: auto;
    margin-bottom: 14px;
}

.footer__tagline { font-size: 0.88rem; font-weight: 200; letter-spacing: 0.04em; }

.footer__heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}

.footer__col p {
    font-size: 0.85rem;
    font-weight: 300;
    margin-bottom: 8px;
    line-height: 1.65;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.footer__col p a {
    white-space: nowrap;
}

.footer__icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.5;
}

.footer__icon svg { width: 100%; height: 100%; }
.footer__col a { transition: color 0.3s; }
.footer__col a:hover { color: var(--yellow); }

.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { font-size: 0.85rem; font-weight: 300; transition: color 0.3s; }
.footer__nav a:hover { color: var(--yellow); }

.footer__bottom { padding-top: 32px; }
.footer__disclaimer { font-size: 0.72rem; font-weight: 300; line-height: 1.65; opacity: 0.5; margin-bottom: 8px; max-width: 700px; }
.footer__copy { font-size: 0.72rem; font-weight: 300; opacity: 0.35; }

.footer__certs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.footer__cert-link {
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer__cert-link:hover {
    opacity: 1;
}

.footer__cert-link img {
    height: 40px;
    width: auto;
}

/* ---- GALLERY ---- */

.gallery-hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 48px;
    background: #FDD916;
}

.gallery-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--blue-dark);
    margin-bottom: 20px;
    transition: gap 0.3s;
}

.gallery-hero__back:hover { gap: 14px; }
.gallery-hero__back svg { width: 18px; height: 18px; }

.gallery-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 200;
    letter-spacing: -0.02em;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.gallery-hero__subtitle { color: var(--blue-dark); font-weight: 300; opacity: 0.6; }

.gallery { padding: 56px 0 120px; }

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

.gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery__item:nth-child(4n+1) {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery__item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.lightbox.is-active { opacity: 1; pointer-events: all; }

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox__close:hover { background: rgba(255,255,255,0.15); }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox__nav:hover { background: rgba(255,255,255,0.15); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---- TESTIMONIALS ---- */

.testimonials {
    padding: 80px 0;
    position: relative;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-card__star {
    width: 18px;
    height: 18px;
    color: #FBBC04;
}

.testimonial-card__star svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.testimonial-card__text {
    font-size: 0.92rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--blue);
    flex-shrink: 0;
}

.testimonial-card__name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--dark);
}

.testimonial-card__source {
    font-size: 0.72rem;
    color: var(--gray-400);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 4px;
}

.testimonial-card__source svg {
    width: 12px;
    height: 12px;
}

.testimonials__google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    font-size: 0.82rem;
    color: var(--gray-400);
    font-weight: 300;
}

.testimonials__google svg {
    width: 16px;
    height: 16px;
}

/* ---- SCROLL TO TOP ---- */

.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s var(--ease-out), background 0.3s;
    box-shadow: 0 4px 20px rgba(31,93,170,0.3);
}

.scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(31,93,170,0.4);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

/* ---- MOBILE MENU OVERLAY ---- */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    backdrop-filter: blur(4px);
}

.mobile-overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
    .content-block__grid { gap: 48px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .projects__grid { grid-template-columns: 1fr 1fr; }
    .project-card--wide { grid-column: span 1; }
    .projects-overview { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail__img img { min-height: 280px; }
    .service-detail__content { padding: 48px 32px; }
    .usp-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .image-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    /* Prevent horizontal scroll */
    body { overflow-x: hidden; }

    .nav__toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: rgba(31,93,170,0.1);
        border-radius: var(--radius);
        flex-shrink: 0;
    }

    /* Fullscreen white menu */
    .nav__menu {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 32px 48px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease), visibility 0.4s;
        z-index: 999;
        overflow-y: auto;
    }

    .nav__menu.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav__menu-logo {
        display: block;
        margin-bottom: 40px;
    }

    .nav__menu-logo img {
        height: 52px;
        width: auto;
    }

    .nav__menu .nav__link {
        color: var(--dark);
        font-size: 1.5rem;
        font-weight: 300;
        letter-spacing: -0.01em;
        padding: 14px 0;
        transition: color 0.3s;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav__menu .nav__link:last-child {
        border-bottom: none;
    }

    .nav__menu .nav__link:hover,
    .nav__menu .nav__link.is-active {
        color: var(--blue);
    }

    .nav__menu .nav__link--cta {
        margin-top: 32px;
        background: var(--yellow);
        color: var(--blue-dark) !important;
        padding: 16px 56px;
        font-size: 1rem;
        font-weight: 500;
        border-bottom: none;
        border-radius: var(--radius);
        width: auto;
    }

    .nav__menu .nav__link--cta:hover {
        background: var(--yellow-light);
    }

    .nav__menu .nav__link::after { display: none; }

    .nav__toggle.is-active {
        position: fixed;
        top: 10px;
        right: 20px;
        z-index: 1002;
        background: var(--gray-100);
    }

    .nav__toggle.is-active span {
        background: var(--dark);
    }

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

    .nav__toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

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

    /* Layout */
    .content-block { padding: 48px 0; }
    .content-block__grid { grid-template-columns: 1fr; gap: 40px; }
    .content-block__grid--reverse { direction: ltr; }
    .content-block__img-main img { height: 280px; }
    .content-block__img-accent { right: 16px; bottom: -20px; width: 140px; height: 100px; }
    .content-block__grid--reverse .content-block__img-accent { left: auto; right: 16px; }
    .services__grid { grid-template-columns: 1fr; }
    .service-card { padding: 32px 24px; }
    .projects__grid { grid-template-columns: 1fr; }
    .feature-banner__content { height: 380px; }
    .feature-banner__text { margin-left: 24px; max-width: none; }
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .contact__form-wrap { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .intro-strip { padding: 40px 0; }
    .intro-strip__divider { display: none; }
    .intro-strip__inner { gap: 20px; display: grid; grid-template-columns: 1fr 1fr; }
    .intro-strip__item { min-width: auto; }
    .project-card__info { transform: translateY(0); opacity: 1; }
    .usp-strip { padding: 64px 0; }
    .usp-strip__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .usp-item { padding: 20px 12px; }
    .image-strip { grid-template-columns: 1fr 1fr; }
    .gallery__grid { grid-template-columns: 1fr 1fr; }
    .gallery__item:nth-child(4n+1) { grid-column: span 1; aspect-ratio: 4/3; }
    .page-hero--image { min-height: 300px; }
    .page-hero { padding: calc(var(--nav-height) + 48px) 0 48px; }
    .cta { padding: 80px 0; }

    .hero { min-height: 560px; }
    .hero__title { font-size: 2.2rem; }
    .hero__subtitle { font-size: 0.9rem; }
    .hero__scroll { display: none; }

    .section-title { font-size: 1.7rem; }
    .section-desc { font-size: 0.95rem; }

    .scroll-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }

    .bg-dots, .bg-corner, .bg-circle, .bg-yellow-block, .bg-line, .bg-cross {
        display: none;
    }

    .service-detail { grid-template-columns: 1fr; }
    .service-detail__content { padding: 36px 24px; }
    .service-detail__img img { min-height: 240px; }
    .service-detail__title { font-size: 1.4rem; }

    /* Testimonials */
    .testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__title { font-size: 1.8rem; }
    .hero__tags { flex-direction: column; align-items: flex-start; }
    .btn { text-align: center; }
    .gallery__grid { grid-template-columns: 1fr; }
    .image-strip { grid-template-columns: 1fr; }
    .intro-strip__inner { gap: 12px; }
    .intro-strip__number { font-size: 1.5rem; }
    .intro-strip__label { font-size: 0.65rem; }
    .usp-strip__grid { grid-template-columns: 1fr; }
    .project-preview__body { padding: 20px; }
    .nav__toggle.is-active { right: 16px; }
    .footer__certs { gap: 16px; }
    .footer__cert-link img { height: 32px; }
}
