:root {
    --dark: #0a0f17;
    --dark-soft: #131b27;
    --dark-card: #182231;
    --white: #ffffff;
    --light: #f4f5f7;
    --light-soft: #fafafa;
    --muted: #64748b;
    --muted-light: #cbd5e1;
    --border: #e5e7eb;
    --gold: #f0a32f;
    --gold-soft: #ffe0a3;
    --gold-dark: #bf7611;
    --steel: #334155;
    --radius: 30px;
    --shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
}

[x-cloak] {
    display: none !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #e5e7eb;
}

body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 999px;
}

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

img {
    display: block;
    width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 115px 0;
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 3px;
    background: var(--gold);
    border-radius: 999px;
}

.section-header {
    margin-bottom: 54px;
}

.section-header.centered {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.section-header.centered .eyebrow {
    justify-content: center;
}

.section-header.split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: end;
}

.section-header h2,
.about-content h2,
.contact-left h2 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -2.2px;
}

.section-header p,
.about-content p,
.contact-left p {
    color: var(--muted);
    font-size: 17px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 900;
    transition: 0.25s ease;
}

.btn-primary {
    color: var(--dark);
    background: linear-gradient(135deg, #ffd27a, var(--gold));
    box-shadow: 0 16px 36px rgba(240, 163, 47, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(240, 163, 47, 0.45);
}

.btn-glass {
    color: var(--white);
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
}

.btn-glass:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* decorative crane watermarks */
.section-watermark,
.hero-crane {
    pointer-events: none;
}

.watermark-crane-left,
.watermark-crane-right,
.hero-crane {
    position: absolute;
    opacity: 0.06;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: grayscale(1);
}

.watermark-crane-left,
.watermark-crane-right,
.hero-crane {
    position: absolute;
    opacity: 0.06;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: grayscale(1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cg fill='none' stroke='%23000000' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M40 270 L85 270 L95 85 L105 85 L110 270 L155 270'/%3E%3Cpath d='M100 85 L250 85'/%3E%3Cpath d='M220 85 L220 140'/%3E%3Cpath d='M210 140 L230 140'/%3E%3Cpath d='M70 120 L130 120'/%3E%3Cpath d='M85 120 L85 85'/%3E%3Cpath d='M115 120 L115 85'/%3E%3Cpath d='M60 160 L140 160'/%3E%3Cpath d='M70 200 L130 200'/%3E%3Cpath d='M95 85 L50 45'/%3E%3C/g%3E%3C/svg%3E");
}

.watermark-crane-left {
    width: 260px;
    height: 260px;
    left: -40px;
    bottom: 20px;
}

.watermark-crane-right {
    width: 260px;
    height: 260px;
    right: -40px;
    top: 40px;
}

.hero-crane {
    width: 300px;
    height: 300px;
    z-index: 1;
}

.crane-left {
    left: -50px;
    bottom: 40px;
}

.crane-right {
    right: -40px;
    top: 90px;
}

/* Navbar */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 22px 0;
    transition: 0.25s ease;
}

.navbar.scrolled {
    padding: 13px 0;
    background: rgba(10, 15, 23, 0.88);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    color: var(--white);
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -0.8px;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 800;
    font-size: 14px;
}

.nav-links a {
    position: relative;
    transition: 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 999px;
    transition: 0.25s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--dark);
    background: var(--white);
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    transition: 0.2s ease;
}

.nav-cta:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.nav-mobile-cta {
    display: none;
}

.menu-btn {
    display: none;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 14px;
    padding: 10px 15px;
    font-weight: 900;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 0 80px;
    color: var(--white);
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(10, 15, 23, 0.96), rgba(10, 15, 23, 0.84), rgba(10, 15, 23, 0.58)),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1900&q=80") center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(transparent, rgba(10, 15, 23, 0.98));
    z-index: 1;
}

.hero-overlay-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 72px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(240, 163, 47, 0.13);
    border: 1px solid rgba(240, 163, 47, 0.35);
    color: #fde7b3;
    font-weight: 900;
    margin-bottom: 28px;
}

.hero-badge span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(240, 163, 47, 0.16);
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -3.4px;
    margin-bottom: 28px;
}

.hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
    max-width: 680px;
}

.hero-trust div {
    padding-left: 18px;
    border-left: 2px solid rgba(240, 163, 47, 0.45);
}

.hero-trust strong {
    display: block;
    color: var(--gold);
    font-size: 32px;
    line-height: 1;
}

.hero-trust span {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 800;
    font-size: 14px;
}

.hero-visual {
    position: relative;
}

.hero-main-card {
    position: relative;
    height: 570px;
    border-radius: 38px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 45px 110px rgba(0, 0, 0, 0.48);
}

.hero-main-card img {
    height: 100%;
    object-fit: cover;
}

.hero-main-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(10, 15, 23, 0.52));
}

.hero-floating-card {
    position: absolute;
    z-index: 2;
    padding: 19px 22px;
    border-radius: 22px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.hero-floating-card.top {
    top: 28px;
    right: 28px;
    color: var(--white);
    background: rgba(10, 15, 23, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-floating-card.bottom {
    left: 28px;
    bottom: 28px;
    color: var(--dark);
    background: var(--gold);
}

.hero-floating-card span {
    display: block;
    font-size: 13px;
    font-weight: 800;
    opacity: 0.78;
}

.hero-floating-card strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.hero-bottom {
    position: relative;
    z-index: 3;
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hero-bottom-item {
    padding: 26px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(16px);
}

.hero-bottom-item span {
    display: inline-flex;
    color: var(--gold);
    font-weight: 950;
    margin-bottom: 12px;
}

.hero-bottom-item strong {
    display: block;
    font-size: 19px;
    margin-bottom: 6px;
}

.hero-bottom-item p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
}

/* Services */
.services {
    background:
        radial-gradient(circle at top left, rgba(240, 163, 47, 0.10), transparent 34%),
        linear-gradient(180deg, #f7f8fa, #f3f4f6);
}

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

.service-card {
    position: relative;
    min-height: 300px;
    padding: 32px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(226, 232, 240, 0.85);
    overflow: hidden;
    transition: 0.25s ease;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.04);
}

.service-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(240, 163, 47, 0.14);
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-card.featured {
    color: var(--white);
    background:
        linear-gradient(145deg, rgba(10, 15, 23, 0.98), rgba(24, 34, 49, 0.96));
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.72);
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.service-top span {
    color: rgba(15, 23, 42, 0.22);
    font-size: 46px;
    font-weight: 950;
    line-height: 1;
}

.service-card.featured .service-top span {
    color: rgba(255, 255, 255, 0.18);
}

.service-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #fff3d6;
    font-size: 28px;
}

.service-card h3 {
    position: relative;
    z-index: 2;
    font-size: 23px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.service-card p {
    position: relative;
    z-index: 2;
    color: var(--muted);
}

/* Projects */
.projects {
    background:
        linear-gradient(180deg, var(--white), #fbfbfc);
}

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

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--dark);
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent, rgba(10, 15, 23, 0.92)),
        linear-gradient(135deg, rgba(240, 163, 47, 0.16), transparent 50%);
    opacity: 0.95;
}

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

.gallery-content {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 22px;
    color: var(--white);
    transform: translateY(6px);
    transition: 0.25s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--dark);
    background: var(--gold);
    font-weight: 950;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gallery-content h3 {
    font-size: 25px;
    letter-spacing: -0.7px;
}

.gallery-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.project-card-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--gold-soft);
    font-size: 13px;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(240, 163, 47, 0.16), transparent 55%),
        var(--dark-card);
}

.projects-empty {
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.projects-empty h3 {
    margin-bottom: 6px;
    font-size: 24px;
}

.projects-empty p {
    color: var(--muted);
}

.projects-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.72fr);
    gap: 48px;
    align-items: stretch;
    margin-bottom: 32px;
}

.projects-heading h2 {
    max-width: 720px;
    margin-top: 14px;
    font-size: clamp(40px, 4.8vw, 62px);
    line-height: 1.02;
    letter-spacing: -2.7px;
}

.projects-intro {
    position: relative;
    align-self: end;
    max-width: 480px;
    padding: 26px 28px;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.13);
    border-left: 3px solid var(--gold);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(240, 163, 47, 0.12), transparent 38%),
        rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.projects-intro p {
    color: var(--muted);
    font-size: 16px;
}

.projects-intro-label {
    display: block;
    margin-bottom: 10px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.projects-intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
    list-style: none;
}

.projects-intro-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(240, 163, 47, 0.1);
    color: var(--steel);
    font-size: 11px;
    font-weight: 800;
}

.projects-intro-points li::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gold);
}

.projects-heading-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 900;
    transition: color 0.2s ease, transform 0.2s ease;
}

.projects-heading-link:hover {
    color: var(--gold-dark);
    transform: translateX(3px);
}

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

.projects-index-grid > div {
    min-width: 0;
}

.home-projects-carousel {
    position: relative;
    min-width: 0;
}

.home-projects-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    min-height: 48px;
    margin-bottom: 18px;
}

.home-projects-carousel.is-static .home-projects-nav {
    visibility: hidden;
}

.home-projects-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(10, 15, 23, 0.12);
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(10, 15, 23, 0.16);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.home-projects-arrow:hover:not(:disabled),
.home-projects-arrow:focus-visible:not(:disabled) {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
}

.home-projects-arrow:focus-visible {
    outline: 3px solid rgba(240, 163, 47, 0.3);
    outline-offset: 3px;
}

.home-projects-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.home-projects-track {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 24px;
    padding: 2px 2px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.home-projects-track::-webkit-scrollbar {
    display: none;
}

.home-project-slide {
    min-width: 0;
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.home-projects-carousel.projects-count-1 .home-projects-track {
    justify-content: center;
}

@media (min-width: 1200px) {
    .home-projects-carousel.projects-count-2 .home-projects-track {
        justify-content: center;
    }
}

.project-card {
    position: relative;
    display: block;
    height: 380px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--dark-card);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.project-card-preview,
.project-card-placeholder,
.project-card-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-card-preview {
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--dark-card);
    color: inherit;
    cursor: zoom-in;
}

.project-card-preview > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.project-card-placeholder {
    background:
        radial-gradient(circle at 75% 25%, rgba(240, 163, 47, 0.22), transparent 25%),
        linear-gradient(135deg, var(--dark), var(--dark-card));
}

.project-card-overlay {
    background:
        linear-gradient(180deg, rgba(10, 15, 23, 0.04) 18%, rgba(10, 15, 23, 0.52) 58%, rgba(10, 15, 23, 0.98) 100%),
        linear-gradient(135deg, rgba(240, 163, 47, 0.12), transparent 55%);
}

.project-card-preview-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(10, 15, 23, 0.58);
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.project-card-content {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    left: 24px;
    pointer-events: none;
}

.project-card-badge {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 12px;
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--gold);
    color: var(--dark);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.8px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.project-card h3 {
    overflow-wrap: anywhere;
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.08;
    letter-spacing: -0.8px;
}

.project-card-meta {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    letter-spacing: 0.1px;
}

.project-card-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 900;
    pointer-events: auto;
    transition: color 0.2s ease, gap 0.2s ease;
}

.project-card-action:hover,
.project-card-action:focus-visible {
    gap: 11px;
    color: var(--white);
}

.project-card-preview:hover > img,
.project-card-preview:focus-visible > img {
    transform: scale(1.05);
}

.project-card-preview:hover .project-card-preview-icon,
.project-card-preview:focus-visible .project-card-preview-icon {
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.06);
}

.project-card-preview:focus-visible,
.project-card-action:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
}

.error-page {
    display: grid;
    min-height: 100vh;
    padding: 150px 0 80px;
    place-items: center;
    background:
        radial-gradient(circle at 70% 30%, rgba(240, 163, 47, 0.14), transparent 30%),
        var(--dark);
    color: var(--white);
    text-align: center;
}

.error-page-content {
    max-width: 720px;
}

.error-page h1 {
    margin-top: 14px;
    font-size: clamp(42px, 8vw, 82px);
    line-height: 1;
    letter-spacing: -3px;
}

.error-page p {
    max-width: 560px;
    margin: 20px auto 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
}

.projects-index {
    background: var(--light-soft);
}

.projects-index-hero {
    padding: 190px 0 90px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 35%, rgba(240, 163, 47, 0.2), transparent 26%),
        linear-gradient(135deg, var(--dark), var(--dark-card));
}

.projects-index-hero h1 {
    margin: 12px 0 18px;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.projects-index-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
}

.projects-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    color: var(--muted);
    font-size: 14px;
}

.projects-pagination a {
    color: var(--dark);
    font-weight: 900;
}

.projects-pagination a:hover {
    color: var(--gold-dark);
}

.projects-pagination .disabled {
    opacity: 0.45;
}

/* About */
.about {
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(240, 163, 47, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(10, 15, 23, 0.98), rgba(19, 27, 39, 0.99));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 82px;
    align-items: center;
}

.about-images {
    position: relative;
    min-height: 620px;
}

.about-main-img {
    height: 555px;
    object-fit: cover;
    border-radius: 38px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.35);
}

.about-small-img {
    position: absolute;
    right: -26px;
    bottom: 0;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border: 10px solid var(--dark);
    border-radius: 34px;
}

.about-small-img img {
    height: 100%;
    object-fit: cover;
}

.experience-card {
    position: absolute;
    left: 30px;
    bottom: 40px;
    width: 235px;
    padding: 27px;
    border-radius: 26px;
    color: var(--dark);
    background: linear-gradient(135deg, #ffd27a, var(--gold));
    box-shadow: var(--shadow);
}

.experience-card strong {
    display: block;
    font-size: 46px;
    line-height: 1;
}

.experience-card span {
    font-weight: 900;
}

.about-content p {
    color: rgba(255, 255, 255, 0.72);
    margin: 24px 0;
}

.about-list {
    display: grid;
    gap: 15px;
    margin-bottom: 34px;
}

.about-list div {
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
}

.about-list span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--dark);
    background: var(--gold);
    flex: 0 0 auto;
}

/* Process */
.process {
    background:
        linear-gradient(180deg, var(--white), #f7f8fb);
}

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

.process-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    min-height: 270px;
    transition: 0.25s ease;
    overflow: hidden;
}

.process-card::after {
    content: "";
    position: absolute;
    inset: auto 24px 0 24px;
    height: 4px;
    background: var(--gold);
    border-radius: 999px 999px 0 0;
}

.process-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.process-card span {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--dark);
    color: var(--gold);
    font-weight: 950;
    margin-bottom: 28px;
}

.process-card h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

.process-card p {
    color: var(--muted);
}

/* Testimonials */
.testimonials {
    background:
        radial-gradient(circle at top left, rgba(240, 163, 47, 0.1), transparent 32%),
        var(--dark);
    color: var(--white);
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.72);
}

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

.testimonial-card {
    padding: 34px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-soft);
}

.testimonial-card.dark {
    color: var(--white);
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.testimonial-card p {
    color: var(--muted);
    margin-bottom: 26px;
}

.testimonial-card.dark p {
    color: rgba(255, 255, 255, 0.72);
}

.testimonial-card strong {
    display: block;
    font-size: 18px;
}

.testimonial-card span {
    color: var(--gold-dark);
    font-weight: 800;
    font-size: 14px;
}

/* Contact */
.contact {
    background:
        linear-gradient(180deg, #f5f6f8, #eef1f4);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: stretch;
}

.contact-left {
    position: relative;
    padding: 44px;
    color: var(--white);
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(10, 15, 23, 0.94), rgba(10, 15, 23, 0.78)),
        url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1300&q=80") center/cover no-repeat;
    min-height: 650px;
    box-shadow: var(--shadow);
}

.contact-left p {
    color: rgba(255, 255, 255, 0.72);
    margin: 24px 0 34px;
}

.contact-info-list {
    display: grid;
    gap: 16px;
}

.contact-info-list div {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.contact-info-list span {
    display: block;
    color: var(--gold);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-info-list strong {
    font-size: 16px;
}

.contact-form {
    padding: 44px;
    border-radius: 38px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-header {
    margin-bottom: 26px;
}

.form-header h3 {
    font-size: 30px;
    letter-spacing: -1px;
}

.form-header p {
    color: var(--muted);
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-alert {
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 14px;
    font-size: 14px;
}

.contact-alert-success {
    border-color: #a9ddc4;
    background: #eaf8f1;
    color: #116743;
}

.contact-alert-error {
    border-color: #efb6b6;
    background: #fff1f1;
    color: #982d2d;
}

.contact-alert ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--border);
    background: #f8fafc;
    border-radius: 17px;
    padding: 15px 16px;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(240, 163, 47, 0.13);
}

.contact-field-error {
    display: block;
    margin-top: 6px;
    color: #b42323;
    font-size: 12px;
    font-weight: 700;
}

.full-btn {
    width: 100%;
}

/* Footer */
.footer {
    padding: 72px 0 28px;
    background: #050914;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 38px;
    padding-bottom: 42px;
}

.footer p {
    color: rgba(255, 255, 255, 0.62);
}

.footer h4 {
    margin-bottom: 14px;
    font-size: 17px;
}

.footer a:not(.logo) {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 8px;
    transition: 0.2s ease;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px 90px;
    background: rgba(3, 6, 10, 0.94);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1120px, 100%);
    max-height: calc(100vh - 64px);
    margin: 0;
}

.lightbox-content img {
    max-width: 1120px;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    font-size: 28px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    background: var(--gold);
    transform: scale(1.05);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-previous {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-content figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
    padding: 14px 4px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.lightbox-content figcaption strong {
    flex: 0 0 auto;
    color: var(--gold-soft);
    font-variant-numeric: tabular-nums;
}

/* Project detail */
.project-detail {
    background: var(--white);
}

.project-detail-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: flex-end;
    padding: 180px 0 90px;
    overflow: hidden;
    color: var(--white);
    background: var(--dark);
}

.project-detail-hero > img,
.project-detail-placeholder,
.project-detail-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-detail-hero > img {
    object-fit: cover;
}

.project-detail-placeholder {
    background:
        radial-gradient(circle at 75% 30%, rgba(240, 163, 47, 0.18), transparent 28%),
        linear-gradient(135deg, var(--dark), var(--dark-card));
}

.project-detail-overlay {
    background:
        linear-gradient(90deg, rgba(10, 15, 23, 0.96), rgba(10, 15, 23, 0.35)),
        linear-gradient(0deg, rgba(10, 15, 23, 0.9), transparent 60%);
}

.project-detail-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.project-back-link {
    display: inline-flex;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 800;
}

.project-back-link:hover {
    color: var(--gold);
}

.project-detail-hero h1 {
    max-width: 900px;
    margin: 14px 0 18px;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.project-detail-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
}

.project-hero-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    max-width: 920px;
    gap: 10px;
    margin-top: 30px;
}

.project-hero-meta > div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(10, 15, 23, 0.46);
    backdrop-filter: blur(12px);
}

.project-hero-meta dt {
    color: rgba(255, 255, 255, 0.56);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-hero-meta dd {
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
}

.project-overview-grid {
    max-width: 920px;
}

.project-description h2 {
    margin: 14px 0 24px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.project-description-text {
    color: var(--muted);
    font-size: 18px;
}

.project-gallery {
    background: var(--light);
}

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

.project-gallery-grid.project-gallery-count-1 {
    max-width: 760px;
    margin-inline: auto;
    grid-template-columns: 1fr;
}

.project-gallery-grid.project-gallery-count-2 {
    max-width: 920px;
    margin-inline: auto;
    grid-template-columns: repeat(2, 1fr);
}

.project-gallery-item {
    position: relative;
    height: 340px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: var(--dark);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.project-gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-gallery-zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(10, 15, 23, 0.68);
    color: var(--white);
    font-size: 23px;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, color 0.2s ease;
}

.project-gallery-item:hover .project-gallery-zoom,
.project-gallery-item:focus-visible .project-gallery-zoom {
    background: var(--gold);
    color: var(--dark);
}

.project-gallery-item:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.project-cta {
    color: var(--white);
    background:
        radial-gradient(circle at 85% 30%, rgba(240, 163, 47, 0.18), transparent 30%),
        var(--dark);
}

.project-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.project-cta h2 {
    margin-top: 10px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -2px;
}

/* Responsive */
@media (max-width: 1199px) {
    .projects-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-project-slide {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 1050px) {
    .hero-inner,
    .about-grid,
    .contact-wrapper,
    .section-header.split {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

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

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

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

    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

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

    .project-overview-grid {
        max-width: min(920px, 92%);
    }

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

    .project-hero-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 660px;
    }
}

@media (max-width: 900px) {
    .projects-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
        margin-bottom: 28px;
    }

    .projects-heading h2 {
        max-width: 680px;
    }

    .projects-intro {
        max-width: 680px;
    }

}

@media (max-width: 760px) {
    .section {
        padding: 78px 0;
    }

    .nav-cta {
        display: none;
    }

    .nav-mobile-cta {
        display: inline-flex;
        justify-content: center;
        margin-top: 6px;
        padding: 11px 18px;
        border-radius: 999px;
        background: var(--white);
        color: var(--dark);
        font-weight: 900;
    }

    .menu-btn {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 4%;
        right: 4%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        border-radius: 24px;
        background: rgba(10, 15, 23, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

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

    .hero {
        padding-top: 132px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-trust,
    .hero-bottom,
    .services-grid,
    .process-grid,
    .testimonial-grid,
    .gallery-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-auto-rows: 290px;
    }

    .about-images {
        min-height: auto;
    }

    .about-main-img {
        height: 430px;
    }

    .about-small-img {
        display: none;
    }

    .experience-card {
        left: 20px;
        bottom: 20px;
    }

    .contact-left,
    .contact-form {
        padding: 28px;
    }

    .footer {
        padding-top: 54px;
    }

    .project-detail-hero {
        min-height: 600px;
        padding-bottom: 70px;
    }

    .project-detail-hero h1 {
        letter-spacing: -2px;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery-grid.project-gallery-count-2 {
        grid-template-columns: 1fr;
    }

    .project-gallery-item {
        height: 280px;
    }

    .project-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .projects-index-hero {
        padding: 150px 0 70px;
    }

    .projects-index-hero h1 {
        letter-spacing: -2px;
    }

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

    .projects-index-grid .project-card {
        height: 360px;
    }

    .projects-pagination {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .home-projects-nav {
        display: none;
    }

    .home-projects-track {
        gap: 16px;
        padding-right: 14px;
    }

    .home-project-slide {
        flex-basis: min(86vw, 440px);
    }

    .home-project-slide .project-card {
        height: 360px;
    }

    .lightbox {
        padding: 74px 16px 92px;
    }

    .lightbox-content {
        max-height: calc(100vh - 166px);
    }

    .lightbox-content img {
        max-height: calc(100vh - 220px);
        border-radius: 16px;
    }

    .lightbox-close {
        top: 14px;
        right: 14px;
        width: 46px;
        height: 46px;
    }

    .lightbox-nav {
        top: auto;
        bottom: 20px;
        width: 52px;
        height: 52px;
        transform: none;
    }

    .lightbox-nav:hover,
    .lightbox-nav:focus-visible {
        transform: scale(1.05);
    }

    .lightbox-previous {
        left: calc(50% - 66px);
    }

    .lightbox-next {
        right: calc(50% - 66px);
    }

    .lightbox-content figcaption {
        align-items: flex-start;
        padding-inline: 2px;
        font-size: 13px;
    }

    .watermark-crane-left,
    .watermark-crane-right,
    .hero-crane {
        opacity: 0.04;
    }
}

@media (max-width: 520px) {
    .projects-intro {
        padding: 22px;
        border-radius: 18px;
    }

    .projects-intro-points {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-card-preview-icon {
        top: 14px;
        right: 14px;
        width: 46px;
        height: 46px;
    }

    .project-detail-hero {
        min-height: 660px;
    }

    .project-hero-meta {
        gap: 8px;
    }

    .project-hero-meta > div {
        padding: 11px 12px;
    }
}
