/* ═══════════════════════════════════════════════
   VOLT & SONS ELECTRIC — SHARED STYLES
   Cloudflare Pages · volt-electric
═══════════════════════════════════════════════ */

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

:root {
  --ink:        #0D0D0D;
  --ink-soft:   #3A3A3A;
  --ink-muted:  #767676;
  --orange:     #E85D20;
  --orange-h:   #D04D12;
  --orange-lt:  #FFF0EA;
  --orange-mid: #F4784A;
  --paper:      #FAFAF8;
  --white:      #FFFFFF;
  --rule:       #E8E8E4;
  --rule-dk:    #D0D0CA;
  --surface:    #F3F3EF;
  --dark:       #141414;
  --dark2:      #1E1E1E;
  --dark3:      #2A2A2A;
  --nav-h:      68px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Figtree', sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: 'Figtree', sans-serif; border: none; background: none; }
ul { list-style: none; }

/* ─── SCROLL PROGRESS ─── */
#scroll-prog { position: fixed; top: var(--nav-h); left: 0; right: 0; height: 3px; z-index: 499; background: transparent; pointer-events: none; }
#scroll-bar  { height: 100%; background: var(--orange); width: 0; transition: width 0.08s linear; }

/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(250,250,248,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center;
  padding: 0 5%; justify-content: space-between;
  transition: box-shadow 0.3s;
}
#nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-bolt { width: 32px; height: 32px; background: var(--ink); display: flex; align-items: center; justify-content: center; transition: background 0.2s; flex-shrink: 0; }
.logo:hover .logo-bolt { background: var(--orange); }
.logo-bolt svg { display: block; }
.logo-text strong { font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 15px; letter-spacing: -0.02em; color: var(--ink); display: block; line-height: 1.1; }
.logo-text span   { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); border-radius: 6px; transition: color 0.15s; display: flex; align-items: center; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px; height: 2px; background: var(--orange); border-radius: 2px; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav-phone:hover { color: var(--orange); }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Figtree', sans-serif; font-weight: 700; font-size: 14px; padding: 10px 22px; transition: all 0.15s; cursor: pointer; white-space: nowrap; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-h); transform: translateY(-1px); }
.btn-dark   { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--rule-dk); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { border-color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-xl { padding: 18px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ─── FLOATING CTA ─── */
#float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  background: var(--orange); color: #fff;
  padding: 14px 24px; font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 14px; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 32px rgba(232,93,32,0.38);
  transform: translateY(80px); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s, background 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
#float-cta.show { transform: translateY(0); opacity: 1; }
#float-cta:hover { background: var(--orange-h); box-shadow: 0 12px 40px rgba(232,93,32,0.5); transform: translateY(-2px) scale(1.02); }
.fp { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: fp 1.6s infinite; }
@keyframes fp { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(0.6);opacity:0.4} }

/* ─── TYPOGRAPHY ─── */
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content:''; width: 22px; height: 2px; background: var(--orange); flex-shrink: 0; }
.kicker-w { color: rgba(255,255,255,0.5); }
.kicker-w::before { background: rgba(255,255,255,0.3); }

.h1 { font-family: 'Epilogue', sans-serif; font-weight: 900; letter-spacing: -0.03em; line-height: 0.94; color: var(--ink); }
.h1 em { font-style: italic; color: var(--orange); }
.h1-w { color: #fff; }
.sz-xl { font-size: clamp(52px, 5.8vw, 88px); }
.sz-lg { font-size: clamp(40px, 4.2vw, 64px); }
.sz-md { font-size: clamp(30px, 3vw, 48px); }
.sz-sm { font-size: clamp(22px, 2.2vw, 32px); }

.lead { font-size: 17px; color: var(--ink-muted); line-height: 1.7; }
.lead-w { color: rgba(255,255,255,0.5); }

/* ─── LAYOUT ─── */
.pt-nav { padding-top: var(--nav-h); }
.section { padding: 96px 7%; }
.section-white   { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-dark    { background: var(--dark); color: #fff; }
.section-surface { background: var(--surface); border-top: 1px solid var(--rule); }
.section-paper   { background: var(--paper); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.split-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }

/* ─── CARDS ─── */
.card { background: var(--white); border: 1px solid var(--rule); }
.card-dk { background: var(--dark2); border: 1px solid rgba(255,255,255,0.06); }
.card-pad { padding: 36px; }
.card-hover { transition: transform 0.2s, box-shadow 0.2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.09); }

/* ─── MARQUEE ─── */
.marquee { overflow: hidden; background: var(--orange); padding: 13px 0; }
.marquee-track { display: flex; gap: 48px; animation: mq 24s linear infinite; width: max-content; }
@keyframes mq { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.mq-item { display: flex; align-items: center; gap: 14px; white-space: nowrap; font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.mq-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 50%; }

/* ─── FOOTER ─── */
footer { background: var(--dark); color: #fff; }
.footer-top { padding: 72px 7% 52px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.fbrand strong { font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 17px; letter-spacing: -0.02em; display: block; color: #fff; margin-bottom: 4px; }
.fbrand-tag  { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 16px; }
.fbrand-desc { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.fcontact    { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.fcontact a  { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.fcontact a:hover { color: #fff; }
.fcol h4 { font-family: 'Epilogue', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 18px; font-weight: 700; }
.fcol ul { display: flex; flex-direction: column; gap: 10px; }
.fcol ul li a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.fcol ul li a:hover { color: #fff; }
.footer-bot { padding: 20px 7%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bot p { font-size: 12px; color: rgba(255,255,255,0.22); }
.cpills { display: flex; gap: 8px; flex-wrap: wrap; }
.cpill { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.3); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; }

/* ─── REVIEWS ─── */
.rev-card { background: var(--white); border: 1px solid var(--rule); padding: 28px; }
.rev-stars { color: var(--orange); font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.rev-text  { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-av { width: 36px; height: 36px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 12px; flex-shrink: 0; }
.rev-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.rev-loc  { font-size: 11px; color: var(--ink-muted); }

/* ─── AREAS GRID ─── */
.areas-grid { display: grid; grid-template-columns: repeat(6,1fr); border: 1px solid var(--rule); margin-top: 48px; }
.area-item { padding: 20px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background 0.15s; }
.area-item:hover { background: var(--orange-lt); }
.area-item:nth-child(6n) { border-right: none; }
.area-item:nth-last-child(-n+6) { border-bottom: none; }
.area-name   { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 13px; color: var(--ink); }
.area-region { font-size: 10px; color: var(--ink-muted); margin-top: 2px; }

/* ─── PROCESS ─── */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,0.07); margin-top: 56px; }
.proc-step { padding: 40px 28px; border-right: 1px solid rgba(255,255,255,0.07); position: relative; overflow: hidden; }
.proc-step:last-child { border-right: none; }
.proc-bg-n { position: absolute; top: 10px; right: 10px; font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 80px; color: rgba(255,255,255,0.03); line-height: 1; pointer-events: none; letter-spacing: -0.05em; }
.proc-dot  { width: 40px; height: 40px; background: var(--orange); display: flex; align-items: center; justify-content: center; font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 14px; color: #fff; margin-bottom: 20px; }
.proc-title { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 8px; }
.proc-desc  { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.65; }

/* ─── EMERGENCY BAR ─── */
.emg { background: var(--orange); padding: 52px 7%; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.emg-icon { width: 60px; height: 60px; background: rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.emg-title { font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 26px; letter-spacing: -0.02em; color: #fff; margin-bottom: 4px; }
.emg-sub   { font-size: 14px; color: rgba(255,255,255,0.72); }
.emg-phone { font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 36px; letter-spacing: -0.03em; color: #fff; transition: opacity 0.15s; }
.emg-phone:hover { opacity: 0.8; }

/* ─── PHOTO UTILS ─── */
.photo-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-wrap  { overflow: hidden; position: relative; }
.photo-wrap img { transition: transform 0.5s ease; }
.photo-wrap:hover img { transform: scale(1.04); }

/* ─── REVEAL ─── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.rv.on { opacity: 1; transform: translateY(0); }

/* ─── TOAST ─── */
#toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(16px); background: var(--ink); color: #fff; padding: 12px 24px; font-size: 14px; font-weight: 600; opacity: 0; transition: all 0.3s; z-index: 999; pointer-events: none; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── RESPONSIVE BASICS ─── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3,1fr); }
  .nav-links { display: none; }
  .sz-xl { font-size: 44px; }
  .sz-lg { font-size: 36px; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2,1fr); }
  .emg { flex-direction: column; text-align: center; }
  .section { padding: 64px 5%; }
}
