/* ==========================================================================
   SERVICE 6: SOLAR INSTALLATION (ARCHITECTURE 1, 7-SECTION FUNNEL)
   ========================================================================== */

:root {
    --primary: #0f172a;       /* Dark Slate/Navy */
    --brand-primary: #f59e0b; /* Sun Yellow/Orange */
    --brand-dark: #d97706;    /* Darker Orange for hover */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Limits Enforced */
h1, h2, h3, h4, .logo { color: var(--primary); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(2rem, 3vw, 2.4rem); margin-bottom: 15px; } /* Medium sized headers */
h3 { font-size: 1.4rem; }

.container { max-width: 1150px; margin: 0 auto; padding: 0 5%; }
img { max-width: 100%; display: block; border-radius: 12px; }
a { text-decoration: none; }

/* Utilities & Tight Spacing */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.bg-light { background-color: var(--bg-light); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.eyebrow { color: var(--brand-primary); font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.font-sm { font-size: 0.9rem; }
.uppercase { text-transform: uppercase; letter-spacing: 1px; }
.mt-2 { margin-top: 10px; } .mt-3 { margin-top: 20px; } .mt-4 { margin-top: 30px; } .pt-3 { padding-top: 20px; }

/* Banner */
.josef-preview-banner { background: var(--bg-light); color: var(--text-main); text-align: center; padding: 8px; font-size: 13px; border-bottom: 1px solid var(--border); }

/* =========================================================
   MASTER PROTOCOL: ARCHITECTURE 1 (SCULPTED FLOATING BAR)
   ========================================================= */
.header-1-wrapper { padding: 20px 0; position: sticky; top: 0; z-index: 100; }
.header-1 {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px);
    border-radius: 100px; padding: 10px 15px 10px 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid rgba(0,0,0,0.05);
}
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px; }
.logo span { color: var(--brand-primary); }

.header-1-nav { background: var(--bg-light); padding: 12px 30px; border-radius: 50px; display: flex; gap: 30px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.02); }
.nav-link { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover { color: var(--primary); }

.btn-primary { background: var(--primary); color: white; padding: 14px 28px; border-radius: 50px; font-weight: 700; transition: all 0.3s; display: inline-block; box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1); }
.btn-primary:hover { background: var(--brand-primary); color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3); }

/* 1. Hero Section (Tight padding: 60px) */
.solar-hero { padding: 40px 0 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.eco-badge { display: inline-flex; align-items: center; gap: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #d97706; padding: 8px 16px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; margin-bottom: 20px; }
.hero-text h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-text { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); font-size: 0.95rem; }
.trust-text i { color: var(--brand-primary); font-size: 1.2rem; }
.hero-image img { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

/* 2. Trust Bar */
.trust-bar { padding: 30px 0; }
.logo-flex { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.equipment-brand { font-size: 1.2rem; font-weight: 800; color: #94a3b8; display: flex; align-items: center; gap: 8px; }

/* 3. Benefits Section */
.benefits-section { padding: 80px 0; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.benefits-image { position: relative; }
.floating-card { position: absolute; bottom: -20px; right: -20px; background: white; padding: 25px; border-radius: 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); border: 1px solid var(--border); text-align: center; }
.floating-card h3 { font-size: 2.5rem; color: var(--brand-primary); margin-bottom: 0; line-height: 1; }
.floating-card p { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin: 0; }
.benefits-content p { font-size: 1.05rem; margin-bottom: 30px; }
.benefit-list { display: flex; flex-direction: column; gap: 25px; }
.benefit-item { display: flex; gap: 15px; align-items: flex-start; }
.icon-wrap { width: 50px; height: 50px; background: #fffbeb; color: var(--brand-dark); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.benefit-item h4 { margin-bottom: 5px; font-size: 1.1rem; }
.benefit-item p { margin: 0; font-size: 0.95rem; }

/* 4. Services Section */
.services-section { padding: 80px 0; }
.section-header { margin-bottom: 50px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--brand-primary); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.service-card img { height: 220px; width: 100%; object-fit: cover; border-radius: 0; }
.card-body { padding: 25px; }
.card-body h3 { margin-bottom: 10px; }

/* 5. Process Section */
.process-section { padding: 80px 0; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 40px; }
.step-card { padding: 30px 25px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-light); position: relative; }
.step-icon { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 15px; }
.step-card h4 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p { font-size: 0.95rem; margin: 0; }

/* 6. Incentives Banner */
.incentives-banner { background: var(--primary); color: white; padding: 60px 0; }
.incentives-banner h2 { color: white; }
.incentives-banner p { color: #94a3b8; max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

/* 7. Footer */
.service-footer { padding: 60px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.footer-contact h4 { margin-bottom: 15px; }
.footer-contact p { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text-muted); font-weight: 500; }
.footer-contact i { color: var(--brand-primary); font-size: 1.2rem; }
.socials a { color: var(--text-muted); font-size: 1.5rem; margin-left: 15px; transition: color 0.2s; }
.socials a:hover { color: var(--brand-primary); }

/* Animations */
.fade-in-up { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 992px) {
    .hide-mobile { display: none; }
    .hero-grid, .benefits-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .floating-card { position: relative; bottom: 0; right: 0; margin-top: -30px; margin-left: 20px; width: max-content; }
}