/* =============================================
   DATA CENTER PAGE - CLEAN LIGHT
   Narrative walkthrough: Approach → Inside → Core → Protect → CTA
   ============================================= */

body.page-datacenter-clean {
    background: var(--stone-50);
}

/* ---- Intro ---- */
.dc-intro {
    padding: 12rem 4% 4rem;
    background: white;
}

.dc-intro-inner {
    max-width: 720px;
}

.dc-intro h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: var(--stone-800);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.dc-intro-lead {
    font-size: 1.15rem;
    color: var(--stone-500);
    line-height: 1.8;
    font-weight: 300;
    max-width: 600px;
}

/* ---- The Approach (Exterior) ---- */
.dc-approach {
    padding: 0 4% 6rem;
    background: white;
}

.dc-approach-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.dc-approach-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.dc-approach-image img {
    width: 100%;
    height: auto;
    display: block;
}

.dc-approach-caption {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--stone-400);
    font-weight: 300;
    max-width: 540px;
}

/* ---- Inside the Facility ---- */
.dc-inside {
    padding: 6rem 4%;
    background: var(--stone-50);
}

.dc-inside-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.dc-inside-header {
    max-width: 560px;
    margin-bottom: 3rem;
}

.dc-inside-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--stone-800);
    margin-bottom: 1rem;
}

.dc-inside-header p {
    font-size: 1.05rem;
    color: var(--stone-500);
    line-height: 1.8;
    font-weight: 300;
}

.dc-inside-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.dc-inside-large {
    grid-row: span 2;
    border-radius: 16px;
    overflow: hidden;
}

.dc-inside-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dc-inside-small {
    border-radius: 12px;
    overflow: hidden;
}

.dc-inside-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- The Core (Dark Inset) ---- */
.dc-core {
    padding: 6rem 4%;
    background: var(--stone-50);
}

.dc-core-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--stone-950);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
}

.dc-core-image {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
}

.dc-core-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dc-core-text {
    padding: 3rem 3rem 0;
}

.dc-core-text .eyebrow {
    color: var(--eg-green);
}

.dc-core-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
}

.dc-core-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 680px;
}

.dc-core-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
}

.dc-core-stat {
    text-align: center;
}

.dc-core-stat-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: white;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.dc-core-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    line-height: 1.4;
}

/* ---- Built to Protect ---- */
.dc-protect {
    padding: 6rem 4%;
    background: white;
}

.dc-protect-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dc-protect-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.dc-protect-image img {
    width: 100%;
    height: auto;
    display: block;
}

.dc-protect-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--stone-800);
    margin-bottom: 1rem;
}

.dc-protect-content p {
    font-size: 1.05rem;
    color: var(--stone-500);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 2rem;
}

.dc-protect-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dc-protect-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--stone-700);
    font-size: 0.95rem;
}

.dc-protect-list li svg {
    color: var(--eg-green);
    flex-shrink: 0;
}

/* ---- CTA ---- */
.dc-cta {
    padding: 8rem 4%;
    text-align: center;
    background: var(--stone-50);
    border-top: 1px solid var(--stone-200);
}

.dc-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.dc-cta h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--stone-800);
    margin-bottom: 1.25rem;
}

.dc-cta p {
    color: var(--stone-500);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.dc-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.dc-cta .btn-cta {
    display: inline-block;
    background: var(--eg-green);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.dc-cta .btn-cta:hover {
    background: var(--stone-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.dc-cta-link {
    color: var(--stone-500);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.dc-cta-link:hover {
    color: var(--eg-green);
}

/* ---- Nav overrides (no dark hero — light bg from the start) ---- */
body.page-datacenter-clean nav:not(.scrolled) .nav-links-list a {
    color: var(--stone-600);
}

body.page-datacenter-clean nav:not(.scrolled) .nav-cta {
    background: var(--stone-950);
    color: var(--stone-50);
    border: none;
    backdrop-filter: none;
}

body.page-datacenter-clean nav:not(.scrolled) .nav-logo .logo-hero {
    display: none;
}

body.page-datacenter-clean nav:not(.scrolled) .nav-logo .logo-scrolled {
    display: block;
}


/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .dc-inside-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .dc-inside-large {
        grid-row: span 1;
        grid-column: span 2;
    }

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

    .dc-protect-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .dc-intro {
        padding: 10rem 4% 3rem;
    }

    .dc-inside-grid {
        grid-template-columns: 1fr;
    }

    .dc-inside-large {
        grid-column: span 1;
    }

    .dc-inside-small {
        max-height: 240px;
    }

    .dc-core-text {
        padding: 2rem 2rem 0;
    }

    .dc-core-stats {
        padding: 2rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .dc-core-stats {
        grid-template-columns: 1fr;
    }
}
