/* =====================================================
   DESIGN CONNECTION — RESIDENTIAL SHOWCASE STYLES
===================================================== */

.residential-page-hero {
    position: relative;
    padding: 200px 0 110px;
    background: #151413;
    color: var(--white);
    overflow: hidden;
}

.residential-hero-inner {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto;
}

.residential-hero-inner .hero-eyebrow {
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.residential-hero-inner h1 {
    max-width: 900px;
    font-family: var(--font-heading);
    font-size: clamp(48px, 6.8vw, 98px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 28px;
}

.residential-hero-inner h1 span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
}

.residential-hero-inner p {
    max-width: 580px;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
}

/* Residential Showcase Main Section */
.residential-showcase-section {
    background: var(--off-white);
    color: var(--text-primary);
    padding: 130px 0 150px;
}

/* Residential Value Pillars */
.residential-pillars-section {
    background: var(--black);
    color: var(--off-white);
    padding: 140px 0 150px;
}

.pillars-intro {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto 90px;
}

.pillars-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 80px;
    align-items: end;
}

.pillars-heading-row h2 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 5.5vw, 84px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.pillars-heading-row h2 span {
    display: block;
    color: var(--text-muted);
}

.pillars-heading-row p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.pillars-grid {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar-card {
    padding: 40px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), background var(--transition-smooth);
}

.pillar-card:nth-child(1) {
    border-top: 3px solid var(--brand-blue);
}
.pillar-card:nth-child(1) .pillar-number {
    color: var(--brand-blue);
    font-weight: 600;
}
.pillar-card:nth-child(1):hover {
    transform: translateY(-6px);
    border-color: var(--brand-blue-border);
    background: rgba(0, 159, 227, 0.06);
}

.pillar-card:nth-child(2) {
    border-top: 3px solid var(--brand-yellow);
}
.pillar-card:nth-child(2) .pillar-number {
    color: var(--brand-yellow);
    font-weight: 600;
}
.pillar-card:nth-child(2):hover {
    transform: translateY(-6px);
    border-color: var(--brand-yellow-border);
    background: rgba(245, 184, 0, 0.06);
}

.pillar-card:nth-child(3) {
    border-top: 3px solid var(--brand-magenta);
}
.pillar-card:nth-child(3) .pillar-number {
    color: var(--brand-magenta);
    font-weight: 600;
}
.pillar-card:nth-child(3):hover {
    transform: translateY(-6px);
    border-color: var(--brand-magenta-border);
    background: rgba(214, 41, 133, 0.06);
}

.pillar-number {
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 24px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--white);
}

.pillar-card p {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Residential Page CTA */
.residential-cta-section {
    padding: 150px 24px;
    text-align: center;
    background: #151413;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.residential-cta-section .eyebrow {
    display: block;
    margin-bottom: 24px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-blue);
}

.residential-cta-section h2 {
    max-width: 840px;
    margin: 0 auto 40px;
    font-family: var(--font-heading);
    font-size: clamp(48px, 6.5vw, 96px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.residential-cta-section h2 em {
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
}

/* ================= RESIDENTIAL RESPONSIVE ================= */
@media (max-width: 1024px) {
    .residential-hero-inner,
    .pillars-intro,
    .pillars-grid {
        width: calc(100% - 48px);
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .residential-page-hero {
        padding: 140px 0 70px;
    }

    .residential-hero-inner h1 {
        font-size: clamp(38px, 10vw, 54px);
    }

    .residential-showcase-section,
    .residential-pillars-section {
        padding: 80px 0 90px;
    }

    .pillars-heading-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pillar-card {
        padding: 30px 24px;
    }

    .residential-cta-section {
        padding: 100px 20px;
    }
}
