/* LUMOS Electrical — main stylesheet */
:root {
    --navy-900: #0b1726;
    --navy-800: #11233a;
    --navy-700: #1a3252;
    --slate-600: #4a5d73;
    --slate-400: #8a9bb0;
    --slate-100: #eef2f7;
    --white: #ffffff;
    --accent: #ffc21a;
    --accent-dark: #e6a800;
    --blue: #1f6feb;
    --text: #1b2733;
    --muted: #55677a;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(11, 23, 38, .08);
    --shadow-lg: 0 20px 50px rgba(11, 23, 38, .16);
    --font-head: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--navy-900); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
.icon { flex-shrink: 0; vertical-align: middle; }
.text-accent { color: var(--accent); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 600; font-size: 1rem;
    text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy-900); box-shadow: 0 6px 20px rgba(255, 194, 26, .35); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-primary { background: var(--navy-900); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--navy-900); color: var(--slate-400); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--slate-100); text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar-links { display: flex; gap: 20px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-100); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11,23,38,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; letter-spacing: .08em; }
.brand-text small { font-size: .72rem; text-transform: uppercase; letter-spacing: .28em; color: var(--muted); margin-top: 3px; }
.brand-light { color: var(--white); }
.brand-light .brand-text small { color: var(--slate-400); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { padding: 8px 14px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { background: var(--slate-100); }
.site-nav a.active { color: var(--navy-900); font-weight: 600; box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav-cta { margin-left: 10px; padding: 10px 20px; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); color: var(--slate-100); }
.hero-glow { position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(circle, rgba(255,194,26,.18), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.hero h1 { color: var(--white); }
.lead { font-size: 1.15rem; color: inherit; opacity: .9; max-width: 38em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.eyebrow.dark { color: var(--accent-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--accent); }
.hero-art { display: flex; justify-content: center; }
.hero-bulb { width: 100%; max-width: 340px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-bulb { animation: none; } html { scroll-behavior: auto; } }

.page-hero { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--slate-100); padding: 70px 0 60px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--slate-100); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); }

/* Cards */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--slate-100); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-card p { color: var(--muted); flex: 1; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(255,194,26,.16); color: var(--accent-dark); margin-bottom: 18px; }
.card-icon-lg { width: 72px; height: 72px; border-radius: 18px; }
.card-link { font-weight: 600; color: var(--blue); text-decoration: none; }

/* Split / stats */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.check-list .icon { color: #1a9e5c; margin-top: 3px; }
.stat-panel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; background: var(--navy-900); color: var(--white); border-radius: 20px; padding: 44px 34px; box-shadow: var(--shadow-lg); }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; color: var(--slate-400); }
.stat-accent .stat-num { color: var(--accent); }
.stat-label { font-size: .9rem; color: var(--slate-400); }
.stat-arrow { font-size: 2rem; color: var(--accent); }
.stat-note { grid-column: 1 / -1; text-align: center; margin: 10px 0 0; font-weight: 500; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature p { color: var(--muted); }

/* Areas */
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-list li { display: inline-flex; align-items: center; gap: 6px; background: var(--white); padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 500; }
.area-list .icon { color: var(--accent-dark); }

/* Services page */
.service-list { display: grid; gap: 24px; max-width: 900px; }
.service-row { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 34px; border-radius: var(--radius); border: 1px solid var(--slate-100); scroll-margin-top: 100px; }
.service-row:target { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,194,26,.2); }
.service-row h2 { font-size: 1.5rem; }
.service-row p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps li > span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--navy-900); font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.calc-result { background: var(--navy-900); color: var(--slate-100); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg); position: sticky; top: 100px; }
.result-label { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--slate-400); margin: 0; }
.result-big { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: var(--accent); margin: 0; line-height: 1.1; }
.result-big small { font-size: 1.1rem; color: var(--slate-400); font-weight: 500; margin-left: 4px; }
.result-year { font-size: 1.2rem; font-weight: 600; color: var(--white); }
.result-detail { margin: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.12); }
.result-detail div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.result-detail dt { color: var(--slate-400); }
.result-detail dd { margin: 0; font-weight: 600; }
.calc-result .hint { color: var(--slate-400); margin-top: 16px; }
.hint { font-size: .85rem; color: var(--muted); margin: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.swap-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
.swap-table th, .swap-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--slate-100); }
.swap-table th { background: var(--navy-900); color: var(--white); font-family: var(--font-head); font-weight: 600; }
.swap-table td:nth-child(4) { color: #1a9e5c; font-weight: 600; }

/* Forms */
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy-900); }
input, select, textarea {
    font: inherit; padding: 12px 14px; border: 1.5px solid #d3dbe5; border-radius: 10px; background: var(--white); color: var(--text); width: 100%;
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-dark); box-shadow: 0 0 0 4px rgba(255,194,26,.2); }
textarea { resize: vertical; }
.has-error input, .has-error textarea { border-color: #d64545; }
.error { color: #c23434; font-size: .85rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; }
.alert p { margin: 4px 0 0; }
.alert-success { background: #e7f7ee; color: #145c37; }
.alert-error { background: #fdecec; color: #8c2020; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-tile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--slate-100); color: var(--text); text-decoration: none; transition: background .15s; }
a.contact-tile:hover { background: #e2e8f0; }
.contact-tile .card-icon { margin: 0; width: 48px; height: 48px; }
.contact-tile span:last-child { display: flex; flex-direction: column; word-break: break-word; }
.contact-tile strong { font-family: var(--font-head); color: var(--navy-900); }
.form-card h2 { font-size: 1.6rem; }

/* About */
.team-card { text-align: center; }
.avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--navy-900); font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; }
.avatar-sm { width: 76px; height: 76px; background: var(--slate-100); color: var(--slate-600); }
.role { color: var(--accent-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-member { text-align: center; }
.team-member h3 { margin-bottom: 4px; }
.quote { margin: 30px 0 0; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--slate-100); border-radius: 0 12px 12px 0; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-900); }
.quote cite { display: block; margin-top: 8px; font-size: .9rem; font-style: normal; color: var(--muted); }

/* CTA band + footer */
.cta-band { background: var(--accent); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 50px; padding-bottom: 50px; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--navy-800); }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-accent { background: var(--navy-900); color: var(--white); box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--navy-700); }
.cta-band .btn-ghost-light { border-color: var(--navy-900); color: var(--navy-900); }
.cta-band .btn-ghost-light:hover { background: rgba(11,23,38,.08); }

.site-footer { background: var(--navy-900); color: var(--slate-400); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--slate-100); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-about { margin-top: 18px; max-width: 30em; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }

.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 60; transition: transform .15s; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 1000px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid, .team-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--white); padding: 12px 20px 20px; border-bottom: 1px solid var(--slate-100); box-shadow: var(--shadow);
        display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--slate-100); border-radius: 0; }
    .site-nav a.active { box-shadow: inset 4px 0 0 var(--accent); padding-left: 14px; }
    .nav-cta { margin: 16px 0 0; }
    .hero-inner, .split, .calc, .contact-grid { grid-template-columns: 1fr; }
    .hero-inner { padding-top: 60px; padding-bottom: 60px; }
    .hero-art { order: -1; }
    .hero-bulb { max-width: 180px; }
    .calc-result { position: static; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
    .section { padding: 64px 0; }
}
@media (max-width: 600px) {
    .card-grid, .feature-grid, .team-grid, .steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
    .hide-sm { display: none !important; }
    .topbar-inner { font-size: .8rem; }
    .service-row { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
    .stat-panel { padding: 30px 20px; }
    .card { padding: 24px; }
    .hero-actions .btn { flex: 1 1 100%; }
}
.form-intro { color: var(--muted); margin-bottom: 22px; }
