﻿.delta-page {
    background: radial-gradient(circle at top right, rgba(31,125,215,.18), transparent 30%), var(--black);
    overflow: hidden;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HERO */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 54px 90px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.72), rgba(5,5,5,.94)), url("/images/delta/hero.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--delta-blue);
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

    .section-kicker::before {
        content: "";
        width: 42px;
        height: 1px;
        background: var(--delta-bronze);
    }

.hero-content h1 {
    margin: 0;
    font-size: clamp(48px, 8vw, 116px);
    line-height: .92;
    letter-spacing: -.06em;
    max-width: 980px;
}

.hero-content p {
    margin: 32px 0 0;
    max-width: 610px;
    color: rgba(255,255,255,.72);
    font-size: 19px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 40px;
}

.btn-primary,
.btn-ghost {
    min-height: 52px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary {
    background: var(--delta-blue);
    color: var(--white);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--white);
    background: rgba(255,255,255,.04);
}

.btn-primary:hover {
    filter: brightness(1.08);
}

.btn-ghost:hover {
    border-color: var(--delta-blue);
}

.small-btn {
    margin-top: 34px;
}

.hero-side {
    position: absolute;
    right: 54px;
    bottom: 90px;
    z-index: 2;
    display: grid;
    gap: 16px;
    width: 250px;
}

    .hero-side div {
        border-top: 1px solid var(--line);
        padding-top: 14px;
    }

    .hero-side div {
        position: relative;
        border-top: 1px solid var(--line);
        padding-top: 14px;
        padding-left: 22px;
    }

        .hero-side div::before {
            content: "";
            position: absolute;
            left: 0;
            top: 21px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--delta-bronze);
        }

    .hero-side span {
        color: rgba(255,255,255,.78);
    }

/* COMMON */

section {
    position: relative;
}

.intro-section,
.services-section,
.projects-section,
.restoration-section,
.cta-section {
    padding: 120px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.align-center {
    align-items: center;
}

.intro-title h2,
.section-head h2,
.restoration-content h2,
.cta-box h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 64px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.intro-text p,
.restoration-content p,
.cta-box p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

/* SERVICES */

.services-section {
    background: var(--dark);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    margin-bottom: 50px;
}

    .section-head.split {
        display: flex;
        justify-content: space-between;
        align-items: end;
        gap: 30px;
    }

.text-link {
    color: var(--delta-blue);
    border-bottom: 1px solid var(--delta-blue);
    padding-bottom: 6px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    min-height: 310px;
    padding: 34px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.02);
    transition: .35s ease;
}

    .service-card:hover {
        background: rgba(31,125,215,.08);
        transform: translateY(-8px);
    }

    .service-card span {
        color: var(--delta-blue);
    }

    .service-card h3 {
        margin: 80px 0 16px;
        font-size: 24px;
    }

    .service-card p {
        margin: 0;
        color: var(--muted);
        line-height: 1.7;
    }

/* PROJECTS */

.project-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
}

.project-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: var(--dark-2);
    border: 1px solid var(--line);
}

    .project-card.large {
        grid-row: span 2;
        min-height: 742px;
    }

.project-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: .8s ease;
}

.project-card:hover .project-image {
    transform: scale(1.06);
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.08));
}

.img-1 {
    background-image: url("/images/delta/project-1.jpg");
}

.img-2 {
    background-image: url("/images/delta/project-2.jpg");
}

.img-3 {
    background-image: url("/images/delta/project-3.jpg");
}

.project-info {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 2;
}

    .project-info span {
        color: var(--delta-blue);
        font-size: 12px;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .project-info h3 {
        margin: 10px 0 8px;
        font-size: 30px;
    }

    .project-info p {
        color: rgba(255,255,255,.7);
        line-height: 1.6;
        max-width: 520px;
    }

/* RESTORATION */

.restoration-section {
    background: linear-gradient(180deg, var(--black), var(--dark));
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    display: grid;
    gap: 14px;
}

    .feature-list li {
        border-top: 1px solid var(--line);
        padding-top: 14px;
        color: rgba(255,255,255,.78);
    }

.before-after {
    position: relative;
    height: 560px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--dark-2);
    --ba-position: 50%;
}

.ba-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.ba-before {
    background-image: url("/images/delta/restoration-after.jpg");
}

.ba-after {
    background-image: url("/images/delta/restoration-before.jpg");
    filter: grayscale(1);
    clip-path: inset(0 50% 0 0);
}

.before-after input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

.before-after::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-position);
    width: 2px;
    background: var(--delta-blue);
    z-index: 4;
    pointer-events: none;
}

.ba-label {
    position: absolute;
    z-index: 6;
    bottom: 18px;
    padding: 8px 12px;
    background: rgba(0,0,0,.6);
    border: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    transition: .25s ease;
}

    .ba-label:hover {
        background: var(--delta-blue);
        color: var(--white);
    }

    .ba-label.before {
        left: 18px;
    }

    .ba-label.after {
        right: 18px;
    }

/* STATS */

.stats-section {
    padding: 80px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 20px 34px;
    border-right: 1px solid var(--line);
}

    .stat:last-child {
        border-right: 0;
    }

    .stat strong {
        display: block;
        font-size: clamp(42px, 5vw, 72px);
        line-height: 1.05;
        color: var(--white);
        letter-spacing: 0;
        font-weight: 400;
        margin-bottom: 10px;
    }

    .stat span {
        display: block;
        color: var(--muted);
        font-size: 16px;
        line-height: 1.45;
        letter-spacing: 0;
        font-weight: 400;
    }

/* CTA */

.cta-section {
    background: var(--black);
}

.cta-box {
    padding: 76px;
    background: linear-gradient(135deg, rgba(31,125,215,.16), rgba(255,255,255,.03)), var(--dark);
    border: 1px solid var(--line);
}

    .cta-box p {
        max-width: 680px;
        margin-bottom: 34px;
    }

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: .8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* RESPONSIVE */

@media (max-width: 980px) {
    .hero-section {
        padding: 140px 22px 80px;
    }

    .hero-side {
        display: none;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large {
        min-height: 520px;
    }

    .before-after {
        height: 440px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .service-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .cta-box {
        padding: 38px 24px;
    }

    .intro-section,
    .services-section,
    .projects-section,
    .restoration-section,
    .cta-section {
        padding: 80px 0;
    }
}
