/* Home composition: introduction, compact routes, calculator on demand. */
.home .hero{padding:52px 0 44px;min-height:min(760px,calc(100svh - 72px))}
.home .hero-grid{display:block}.home .hero-copy{max-width:760px}
.hero-region{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:7px 12px;border:1px solid var(--line2);border-radius:24px;font-size:13px;color:var(--text2)}
.hero-region svg{width:16px;height:16px}.hero-region:hover{background:var(--surface)}
.home .hero .h-display{font-size:clamp(40px,3.5vw,52px);line-height:1.12;max-width:none;margin:22px 0 14px;letter-spacing:-.025em}
.hero-subtitle{font-size:21px;line-height:1.5;color:var(--text2);margin:0 0 12px}
.home .hero .lead{font-size:16px;max-width:48ch;margin:0 0 26px}
.home .routes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 26px;border:0;max-width:700px}
.home .route{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:0;padding:8px 8px 10px;border-radius:10px;background:transparent}
.home .route:hover{background:rgba(var(--ink),.055)}.home .route b{font-size:14px;font-weight:500;line-height:1.4}
.home .r-ic{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line2);background:rgba(var(--paper),.48);color:var(--text2)}
.home .route-urgent .r-ic{color:var(--red);border-color:var(--line2)}
.home .hero-contact{margin-top:22px}.home .hc-phone{font-size:18px}.home .hero-proof{margin-top:16px;font-size:12px;max-width:650px}
.hero-calculate{display:inline-flex;gap:10px;min-height:48px;padding:12px 20px}.hero-calculate svg{width:20px;height:20px}
.quick-dialog{padding:0;margin:auto;width:min(510px,calc(100vw - 32px));max-height:calc(100dvh - 40px);border:1px solid var(--line2);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 90px #0008;overflow:auto;overscroll-behavior:contain}
.quick-dialog::backdrop{background:#11100ed9}.quick-dialog-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:var(--surface);border-bottom:1px solid var(--line);z-index:2}
.quick-dialog-head h2{font-family:Manrope,sans-serif;font-size:19px;font-weight:600;margin:0;line-height:1.4}.quick-dialog-head button{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--line2);border-radius:8px;color:var(--text);cursor:pointer}
.quick-dialog .hero-widget{border:0;border-radius:0;box-shadow:none;max-width:none;width:100%}.quick-dialog .qw-head b{display:none}.quick-dialog .qw-head small{margin-top:0}
body:has(.quick-dialog[open]){overflow:hidden}.wiring-pause{display:block;width:100%;margin-top:12px;min-height:44px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);cursor:pointer}
body.home .bg-wiring{opacity:.74}body.home::after{background:linear-gradient(90deg,rgba(var(--paper),.18),rgba(var(--paper),.94) 12%,rgba(var(--paper),.94) 53%,rgba(var(--paper),.28) 76%,rgba(var(--paper),.1))}
@media(max-width:980px){.home .hero-copy{max-width:680px}.home .hero{padding-top:30px;min-height:0}body.home::after{background:linear-gradient(90deg,rgba(var(--paper),.94) 0 72%,rgba(var(--paper),.45))}}
@media(max-width:640px){.home .hero{padding:24px 0 34px}.home .hero .h-display{font-size:36px;margin:18px 0 12px}.hero-subtitle{font-size:18px;margin-bottom:12px}.home .hero .lead{font-size:15px;margin-bottom:18px}.hero-region{font-size:12px}.home .routes{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin-bottom:20px}.home .route{flex-direction:row;align-items:center;gap:10px;min-height:62px;padding:6px 0}.home .route b{font-size:13px}.home .r-ic{width:38px;height:40px;flex:none}.home .hero-contact{margin-top:18px}.home .hero-proof{line-height:1.6}.quick-dialog-head{padding:12px 16px}.quick-dialog-head h2{font-size:18px}.quick-dialog .hero-widget{padding:18px}body.home .bg-wiring{opacity:.42}body.home::after{background:rgba(var(--paper),.78)}}

/* Clear service choices; the room circuit remains a decorative background plane. */
.home .hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:64px;align-items:center}
.home .hero-copy{min-width:0}
.home .routes{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0 0 24px}
.home .route{display:grid;grid-template-columns:34px minmax(0,1fr) 14px;gap:12px;align-items:center;min-height:90px;padding:14px 0;border-radius:0;border-top:1px solid var(--line)}
.home .route:hover{background:rgba(var(--ink),.035)}
.home .r-ic{width:34px;height:38px;border:0;background:none;color:var(--muted)}
.home .route b{display:block;font-size:14px;font-weight:600}.home .route small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px}
.home .route>svg{width:14px;height:14px;color:var(--muted)}
.hero-calculate.btn-quiet{background:rgba(var(--ink),.025);color:var(--text2);border:1px solid var(--line2);box-shadow:none}.hero-calculate.btn-quiet:hover{background:var(--surface);border-color:var(--volt)}
.hero-circuit{pointer-events:none;min-width:0;opacity:.65;background:radial-gradient(ellipse,rgba(var(--paper),.9),rgba(var(--paper),.65) 55%,transparent 75%);transform:perspective(1100px) rotateX(12deg) rotateZ(-7deg)}
.hero-circuit{margin:0 28px;opacity:1;background:none}.hero-circuit svg{display:block;width:100%;height:auto;overflow:visible;opacity:.65}
@media(min-width:981px){body.home::after{background:linear-gradient(90deg,rgba(var(--paper),.18),rgba(var(--paper),.94) 12%,rgba(var(--paper),.94) 53%,rgba(var(--paper),.82) 76%,rgba(var(--paper),.35))}}
.plan-walls{stroke:var(--text2);stroke-width:1.8;opacity:.32}.plan-furniture{stroke:var(--text2);stroke-width:1;opacity:.14}
.plan-cables{stroke:var(--volt);stroke-width:1.4;opacity:.7}.plan-cables .plan-secondary{stroke-dasharray:4 6;opacity:.55}.plan-points{stroke:var(--volt);stroke-width:1.5;opacity:.8}
@media(max-width:980px){.home .hero-grid{display:block}.hero-circuit{display:none}.home .hero-copy{max-width:700px}}
@media(max-width:640px){.home .routes{gap:0 16px}.home .route{grid-template-columns:26px minmax(0,1fr);gap:8px;min-height:96px;padding:12px 0}.home .route>svg{display:none}.home .r-ic{width:26px;height:32px}.home .route b{font-size:13px}.home .route small{font-size:11px}.hero-calculate{padding:12px 16px;font-size:14px}}
