/* ===== Giga Electrical — brand tokens ===== */
:root {
  --navy: #0B1530;
  --navy-2: #13224A;
  --navy-3: #1E2B52;
  --yellow: #FFC400;
  --yellow-2: #FFD84D;
  --blue: #1F6FEB;
  --white: #FFFFFF;
  --paper: #F4F6FB;
  --ink: #0B1530;
  --ink-2: #3A4670;
  --muted: #5B6789;
  --line: #DCE1EE;
  --danger: #B42318;
  --ok: #067647;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 21, 48, .08);
  --font-display: 'Archivo', 'Arial Black', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: #1557c0; }
h1, h2, h3, .h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.ic { flex-shrink: 0; vertical-align: middle; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt { margin-top: 2rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 10px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-family: var(--font-body); font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-2); color: var(--navy); box-shadow: 0 8px 20px rgba(255, 196, 0, .35); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { color: var(--white); border-color: var(--yellow); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: rgba(11,21,48,.08); color: var(--navy); }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ===== Top bar & header ===== */
.topbar { background: var(--navy); color: #B8C2DE; font-size: .85rem; }
.topbar-inner { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: var(--yellow); text-decoration: none; font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(11,21,48,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; letter-spacing: -.02em; }
.brand-text small { font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .42em; margin-top: 3px; }
.brand-light { color: var(--white); }
.brand-light .brand-text small { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.nav a:hover, .nav a.active { color: var(--navy); background: var(--paper); }
.nav a.nav-cta { color: var(--navy); background: var(--yellow); margin-left: 8px; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); width: 48px; height: 48px; border-radius: 10px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--white); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,21,48,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .hide-sm { display: none !important; }
}

/* ===== Hero ===== */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; top: -60px; width: 520px; height: 640px; background: var(--yellow); opacity: .06; clip-path: polygon(62% 0, 8% 58%, 44% 58%, 32% 100%, 92% 38%, 56% 38%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow.dark { color: var(--blue); }
.hl { color: var(--yellow); }
.lead { font-size: 1.15rem; color: #C9D1E8; max-width: 620px; }
.lead.dark { color: var(--ink-2); margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; color: #DCE2F2; font-weight: 600; }
.hero-points li { display: inline-flex; gap: 6px; align-items: center; }
.hero-points .ic { color: var(--yellow); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.quick-book { color: var(--ink); border-top: 6px solid var(--yellow); }
.quick-book h2 { font-size: 1.5rem; margin-bottom: .2em; }

label { display: block; font-weight: 700; font-size: .9rem; margin: 14px 0 6px; color: var(--ink); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #C5CCE0; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,235,.18); }
form .btn-block { margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-error { background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section.alt { background: var(--paper); }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.section-title.light { color: var(--white); }
.section-title a { color: inherit; text-decoration: none; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--blue); }

.problems { background: var(--paper); padding: 56px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 600; }
.chip .ic { color: var(--yellow); }
.chip:hover { background: var(--navy-2); color: var(--white); }
.chip-light { background: var(--white); color: var(--navy); border: 1.5px solid var(--line); }
.chip-light:hover { border-color: var(--navy); color: var(--navy); background: var(--white); }

.trust { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ic { color: var(--navy); background: var(--yellow); border-radius: 12px; padding: 8px; width: 46px; height: 46px; }
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .92rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy); color: var(--ink); }
.service-card h2, .service-card h3 { margin: 10px 0 4px; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0 0 8px; flex-grow: 1; }
.svc-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--yellow); }
.svc-icon.sm { width: 36px; height: 36px; border-radius: 10px; vertical-align: middle; margin-right: 6px; }
.svc-price { font-weight: 800; color: var(--navy); background: #FFF4CC; align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: .9rem; }
.mini-list { margin: 0 0 12px; padding-left: 18px; color: var(--ink-2); font-size: .9rem; }

/* Steps */
.steps-section { background: var(--navy); color: var(--white); }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: var(--radius); padding: 26px; }
.steps p { color: #C9D1E8; margin: 0; }
.step-n { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: var(--yellow); color: var(--navy); font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; margin-bottom: 14px; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius); padding: 30px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare-col li { display: flex; gap: 10px; align-items: flex-start; }
.compare-col.bad { background: var(--paper); color: var(--ink-2); }
.compare-col.bad li::before { content: '✕'; color: var(--danger); font-weight: 800; }
.compare-col.good { background: var(--navy); color: var(--white); }
.compare-col.good .ic { color: var(--yellow); margin-top: 3px; }

/* Rates */
.rate-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 16px; }
.rate-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #C5CCE0; text-decoration: none; color: var(--ink); }
.rate-row strong { color: var(--navy); white-space: nowrap; }
.rate-row:hover span { color: var(--blue); }
.rates { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.rates td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates td:last-child { text-align: right; font-weight: 800; white-space: nowrap; padding-left: 12px; }
.rate-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.note { display: flex; gap: 12px; background: var(--paper); border-radius: var(--radius); padding: 18px; }
.note .ic { color: var(--blue); margin-top: 2px; }
.note strong { display: block; }
.note span { color: var(--muted); font-size: .92rem; }
.rate-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.rate-group h2 a { color: inherit; text-decoration: none; }
.rate-card-box { position: sticky; top: 100px; align-self: start; }
.rate-card-box .btn { margin-top: 10px; }

/* Tips */
.tips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tip { border: 1px solid var(--line); border-top: 5px solid var(--yellow); border-radius: var(--radius); padding: 24px; }
.tip p { color: var(--muted); font-size: .95rem; }
.tip a { font-weight: 700; text-decoration: none; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 16px; }
.review { margin: 0; }
.stars { color: #B98900; letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 10px 0 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-bottom: 16px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta-band { background: var(--yellow); color: var(--navy); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .2em; }
.cta-inner p { margin: 0; font-weight: 600; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Inner pages */
.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 64px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.crumbs { font-size: .9rem; color: #8C99BF; margin-bottom: 16px; }
.crumbs a { color: #C9D1E8; text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.price-badge { background: var(--yellow); color: var(--navy); border-radius: 22px; padding: 26px 32px; text-align: center; min-width: 220px; }
.price-badge span { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.price-badge strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 2.8rem; line-height: 1.1; }
.price-badge small { font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.check-list .ic { color: #B54708; margin-top: 2px; }
.check-list.good .ic { color: var(--ok); }

.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.area-card { display: flex; align-items: center; gap: 10px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.area-card .ic { color: var(--blue); }
.area-card:hover { border-color: var(--navy); color: var(--ink); background: var(--paper); }

.prose h2 { margin-top: 1.5em; }
.prose p { color: var(--ink-2); }
.steps-mini { padding-left: 20px; margin: 0 0 20px; display: grid; gap: 10px; color: var(--ink-2); }
.steps-mini strong { color: var(--ink); }

.contact-side { display: grid; gap: 14px; }
.contact-tile { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-tile .ic { color: var(--navy); background: var(--yellow); border-radius: 12px; padding: 8px; width: 46px; height: 46px; }
.contact-tile strong { display: block; }
.contact-tile span { color: var(--muted); }
a.contact-tile:hover { border-color: var(--navy); color: var(--ink); }
.emergency { border-left: 0; background: #FFF6E0; border-color: #F5D58A; box-shadow: none; }
.emergency h2 { display: flex; gap: 8px; align-items: center; color: #93370D; }
.emergency p { margin: 0; color: var(--ink-2); }

.thanks { min-height: 55vh; display: flex; align-items: center; }
.thanks-mark { margin-bottom: 16px; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D1E8; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #C9D1E8; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .muted { color: #8C99BF; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--navy-3); padding-top: 20px; padding-bottom: 28px; font-size: .9rem; color: #8C99BF; }

/* Floating & mobile bar */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); z-index: 40; }
.wa-float:hover { color: var(--white); transform: scale(1.05); }
.mobile-bar { display: none; }

@media (max-width: 1024px) {
  .service-grid, .tips, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .section { padding: 56px 0; }
  .hero-grid, .two-col, .compare, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 44px; padding-bottom: 56px; gap: 32px; }
  .service-grid, .service-grid.four, .tips, .reviews, .steps, .trust-grid, .rate-preview, .rate-groups, .rate-notes, .footer-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .price-badge { justify-self: start; }
  .rate-card-box { position: static; }
  .card { padding: 22px; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--navy); border-top: 1px solid var(--navy-3); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 60px; color: var(--white); text-decoration: none; font-weight: 700; }
  .mobile-bar .mb-wa { background: #157F42; }
  .mobile-bar .mb-book { background: var(--yellow); color: var(--navy); }
}
