/* ===============================================================
   ========================================================================== */
:root {
    --primary: #0a2f1d;
    --accent: #2a9d8f;
    --danger: #9b2226;
    --warning: #ca6702;
    --info: #005f73;
    --dark: #0b1310;
    --light: #f3f7f5;
    --white: #ffffff;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.65;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.max-width-md { max-width: 850px; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.text-white { color: var(--white) !important; }
.text-muted { color: #8fa39b; }

.section-title { font-size: 2.8rem; font-weight: 900; text-align: center; color: var(--primary); margin-bottom: 12px; letter-spacing: -0.5px; }
.section-subtitle { text-align: center; color: #4e5e57; max-width: 700px; margin: 0 auto 60px auto; font-size: 1.15rem; }

/* ==========================================================================
   2. Sticky Header Setup
   ========================================================================== */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 6%; position: sticky; top: 0;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px);
    z-index: 1000; box-shadow: 0 4px 30px rgba(0,0,0,0.02);
}
header .logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
header .logo span { color: var(--accent); }
nav a { margin-left: 30px; text-decoration: none; color: var(--dark); font-weight: 600; transition: var(--transition-smooth); }
nav a:hover { color: var(--accent); }

/* ==========================================================================
   3. Immersive Hero Structure
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(11, 19, 16, 0.82), rgba(10, 47, 29, 0.65)), 
                url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1600&q=80') center center/cover;
    height: 90vh; display: flex; align-items: center; color: var(--white);
}
.hero-content { max-width: 850px; margin: 0 auto; padding: 0 20px; text-align: center; }
.badge { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 6px 18px; border-radius: 30px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; display: inline-block; margin-bottom: 25px; }
.hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.15; margin-bottom: 24px; letter-spacing: -1px; }
.hero h1 span { color: #a3e635; }
.hero p { font-size: 1.3rem; margin-bottom: 45px; opacity: 0.9; font-weight: 400; }
.cta-btn { display: inline-block; background-color: var(--accent); color: var(--white); text-decoration: none; padding: 18px 44px; font-weight: 700; border-radius: 50px; transition: var(--transition-smooth); border: none; box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3); }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(42, 157, 143, 0.5); background-color: #238579; }

/* ==========================================================================
   4. Deep-Dive Long-Form "Why" Content Layout
   ========================================================================== */
.why-extended-grid { display: flex; flex-direction: column; gap: 50px; }
.why-row-card { display: flex; background: var(--light); border-radius: 24px; overflow: hidden; align-items: center; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.why-row-card.reverse { flex-direction: row-reverse; }
.card-media { flex: 1; min-height: 400px; align-self: stretch; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-text { flex: 1; padding: 60px; }
.category-tag { display: inline-block; padding: 5px 14px; border-radius: 30px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 15px; }
.tag-danger { background: #ffeef2; color: var(--danger); }
.tag-warning { background: #fff4e6; color: var(--warning); }
.tag-info { background: #e6f7ff; color: var(--info); }
.card-text h3 { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin-bottom: 15px; }
.card-text p { color: #44524a; font-size: 1.05rem; }

@media (max-width: 900px) {
    .why-row-card, .why-row-card.reverse { flex-direction: column; }
    .card-media { min-height: 250px; width: 100%; }
    .card-text { padding: 35px 25px; }
}

/* ==========================================================================
   5. Metrics Columns
   ========================================================================== */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.metric-box { background: var(--white); padding: 45px 35px; border-radius: 16px; border-bottom: 5px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.02); text-align: center; }
.metric-num { font-size: 3.8rem; font-weight: 900; color: var(--primary); display: block; line-height: 1; margin-bottom: 10px; }
.metric-box h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }
.metric-box p { color: #55665e; font-size: 0.95rem; }

/* ==========================================================================
   6. PURE CSS INTERACTIVE COMPONENT (The Split Dashboard via Hover)
   ========================================================================== */
.split-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
@media (max-width: 768px) { .split-dashboard { grid-template-columns: 1fr; } }

.interactive-panel {
    background: #14241e; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 40px; min-height: 320px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden; transition: var(--transition-smooth);
}
.panel-collapse { border-left: 6px solid var(--danger); }
.panel-sustain { border-left: 6px solid var(--accent); }

/* Standard visible state */
.panel-preview { transition: var(--transition-smooth); opacity: 1; transform: translateY(0); }
.panel-preview h3 { font-size: 1.6rem; color: var(--white); margin-bottom: 10px; }
.hover-prompt { font-size: 0.9rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; }

/* Hidden state details */
.panel-expanded-content {
    position: absolute; inset: 0; padding: 40px;
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; transform: translateY(20px); transition: var(--transition-smooth);
}
.panel-collapse .panel-expanded-content { background: #3a0ca3; background: linear-gradient(135px, #4d0b14, #140204); }
.panel-sustain .panel-expanded-content { background: linear-gradient(135px, #113f2a, #04140e); }

.panel-expanded-content h4 { font-size: 1.6rem; margin-bottom: 12px; color: #a3e635; }
.panel-expanded-content p { font-size: 1.05rem; opacity: 0.9; }

/* PURE CSS MECHANICS: Swap visibilities cleanly on hover trigger */
.interactive-panel:hover .panel-preview { opacity: 0; transform: translateY(-20px); }
.interactive-panel:hover .panel-expanded-content { opacity: 1; transform: translateY(0); }
.interactive-panel:hover { transform: scale(1.02); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }

/* ==========================================================================
   7. Massive Structural Media Grid
   ========================================================================== */
.massive-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.gallery-block { position: relative; border-radius: 20px; overflow: hidden; height: 280px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.gallery-block.large { grid-column: span 2; height: 420px; }
.gallery-block img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.block-info { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(11, 19, 16, 0.9)); display: flex; flex-direction: column; justify-content: flex-end; padding: 35px; color: var(--white); opacity: 0; transition: var(--transition-smooth); }
.block-info h4 { font-size: 1.4rem; margin-bottom: 6px; }
.block-info p { opacity: 0.85; font-size: 0.95rem; max-width: 600px; }

.gallery-block:hover img { transform: scale(1.05); }
.gallery-block:hover .block-info { opacity: 1; }

@media (max-width: 768px) {
    .massive-gallery { grid-template-columns: 1fr; }
    .gallery-block.large { grid-column: span 1; height: 280px; }
}

/* ==========================================================================
   8. Blueprint List Layout
   ========================================================================== */
.blueprint-list { list-style-type: none; counter-reset: blueprint-counter; }
.blueprint-list li { position: relative; padding-left: 70px; margin-bottom: 45px; }
.blueprint-list li::before {
    counter-increment: blueprint-counter; content: counter(blueprint-counter, decimal-leading-zero);
    position: absolute; left: 0; top: 0; font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1;
}
.blueprint-list li strong { display: block; font-size: 1.3rem; color: var(--primary); margin-bottom: 8px; font-weight: 700; }
.blueprint-list li p { color: #4e5e57; font-size: 1.05rem; }



