:root {
    --emerald: #064e3b;
    --emerald-light: #10b981;
    --emerald-soft: rgba(16, 185, 129, 0.1);
    --slate: #1e293b;
    --dark: #0f172a;
    --amber: #f59e0b;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --border: rgba(0,0,0,0.08);
}

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

html, body {
    background-color: var(--dark); /* Force dark to kill white bottom gap */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--slate);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Navigation --- */
.header-glass {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav { 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem;
}

.logo { font-weight: 800; font-size: 1.6rem; color: var(--dark); letter-spacing: -1.5px; }
.logo span { color: var(--emerald-light); }

/* Black Contact Icon - No Background */
.header-contact-icon {
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
    display: block;
    background: none;
}

nav ul { display: none; list-style: none; gap: 2rem; align-items: center; }

/* --- Hero Section --- */
.hero-minimal {
    min-height: 75vh;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #065f46 0%, var(--dark) 100%);
    color: white;
    padding: 120px 1.5rem 60px;
}

.hero-content { 
    max-width: 900px; 
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Tightened gap to prevent overlap */
}

.location-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--emerald-light);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    align-self: center;
}

.hero-minimal h1 { 
    font-size: clamp(2.2rem, 8vw, 4.5rem); 
    line-height: 1.1; 
    letter-spacing: -2.5px; 
    font-weight: 700;
}

.hero-minimal p { 
    font-size: clamp(1rem, 4vw, 1.25rem); 
    color: rgba(255,255,255,0.7); 
    max-width: 600px; 
    margin: 0 auto;
    font-weight: 300;
}

.scroll-indicator {
    margin-top: 2.5rem; /* Balanced spacing */
    display: flex; flex-direction: column; align-items: center; gap: 0.8rem; opacity: 0.4;
}
.mouse { width: 18px; height: 28px; border: 2px solid white; border-radius: 20px; position: relative; }
.wheel { width: 2px; height: 5px; background: white; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); border-radius: 2px; animation: scroll-dot 2s infinite; }
@keyframes scroll-dot { 0% { opacity: 1; top: 5px; } 100% { opacity: 0; top: 16px; } }

/* --- Middle Sections: White backgrounds --- */
.story-detailed { padding: 6rem 0; background: var(--white); }
.eyebrow { color: var(--emerald-light); text-transform: uppercase; letter-spacing: 2.5px; font-weight: 700; font-size: 0.75rem; }
.section-intro h2 { font-size: clamp(2rem, 7vw, 3.5rem); margin: 0.75rem 0 2.5rem; letter-spacing: -1.5px; color: var(--dark); }
.story-grid-modern { display: flex; flex-direction: column; gap: 3.5rem; }
.story-text p { margin-bottom: 1.8rem; font-size: clamp(1.05rem, 3vw, 1.2rem); color: #475569; }
.spec-item { margin-bottom: 2rem; padding-left: 1.8rem; border-left: 3px solid var(--emerald-light); }
.spec-item strong { display: block; font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--dark); }

.use-cases-section { padding-bottom: 6rem; background: var(--white); }
.case-card { display: flex; flex-direction: column; background: var(--gray-light); margin-bottom: 2.5rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s ease; }
.case-card:hover { transform: translateY(-5px); }
.case-content { padding: 2.5rem; }
.case-content h3 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 1.2rem; }
.case-tag { background: var(--emerald-soft); color: var(--emerald); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; padding: 0.4rem 0.8rem; border-radius: 4px; margin-bottom: 1.2rem; display: inline-block; }
.case-stats { background: rgba(0,0,0,0.02); padding: 2.5rem; }
.case-stats ul { list-style: none; display: grid; gap: 1.2rem; }
.case-stats ul li { font-weight: 600; font-size: 0.95rem; position: relative; padding-left: 1.8rem; }
.case-stats ul li::before { content: "⚡"; position: absolute; left: 0; color: var(--amber); }

.dark-card { background: var(--dark); color: white; border: none; }
.dark-card .case-tag { background: rgba(255, 255, 255, 0.1); color: var(--emerald-light); }

/* --- Contact & Final Dark Footer --- */
.contact-minimal { 
    padding: 6rem 0 4rem; 
    background: var(--dark); 
    color: white; 
    text-align: center;
}

.contact-minimal h2 { font-size: clamp(2.2rem, 9vw, 4rem); letter-spacing: -2.5px; margin-bottom: 1.5rem; }
.contact-lead { font-size: clamp(1.1rem, 4vw, 1.4rem); color: rgba(255, 255, 255, 0.6); margin-bottom: 4rem; font-weight: 300; }
.contact-links { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 4rem; padding: 0 1.5rem; }
.contact-link-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 2rem; border-radius: 16px; text-decoration: none; display: flex; flex-direction: column; align-items: center; transition: 0.3s ease; }
.contact-link-item:hover { background: var(--emerald); border-color: var(--emerald-light); transform: translateY(-3px); }
.contact-label { font-size: 0.75rem; text-transform: uppercase; color: var(--emerald-light); margin-bottom: 0.5rem; }
.contact-value { font-size: 1.1rem; font-weight: 700; color: white; word-break: break-all; }

/* Footer Consolidation Styling */
.footer-consolidated {
    margin-top: 4rem;
}

.service-cities { 
    font-size: 0.85rem; 
    color: rgba(255, 255, 255, 0.4); 
    text-transform: uppercase; 
    line-height: 2; 
    margin-bottom: 1.5rem; 
}

.copyright-text {
    font-size: 0.8rem; 
    color: rgba(255, 255, 255, 0.2);
}

/* --- Responsive Logic --- */
@media (min-width: 768px) {
    .header-contact-icon { display: none; }
    nav ul { display: flex; }
    nav ul a { text-decoration: none; color: var(--slate); font-size: 0.9rem; font-weight: 600; }
    .story-grid-modern { grid-template-columns: 1.4fr 1fr; display: grid; gap: 5rem; }
    .case-card { flex-direction: row; display: grid; grid-template-columns: 2fr 1fr; }
    .contact-links { flex-direction: row; max-width: 900px; margin: 0 auto 4rem; }
}

@media (min-width: 1025px) {
    .logo { font-size: 1.8rem; }
    .case-card:nth-child(even) { grid-template-columns: 1fr 2fr; }
    .case-card:nth-child(even) .case-stats { grid-column: 1; grid-row: 1; }
}
.logo .llc {
    color: #64748b; /* Lighter slate gray */
    font-size: 0.7rem; /* Much smaller */
    font-weight: 500;
    margin-left: 4px;
    letter-spacing: 0.5px;
}