/* ============================================================
   SPARK ELECTRICAL — Demo styles
   Fictional business demo by Sitefolk
   ============================================================ */

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

:root {
  --yellow: #F5C518;
  --yellow-hover: #e6b800;
  --ink: #0D0D0D;
  --ink2: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg2: #f9fafb;
  --radius: 14px;
  --font-body: 'Inter', sans-serif;
  --font-head: 'Syne', sans-serif;
  --max: 1140px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Utilities ── */
.se-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .se-container { padding: 0 40px; } }

/* ── Emergency bar ── */
.se-emergency-bar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.se-emergency-bar .pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.se-emergency-bar a { color: var(--yellow); font-weight: 700; }
.se-emergency-bar a:hover { text-decoration: underline; }

/* ── Header ── */
.se-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.se-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.se-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
}
.se-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.se-logo__icon {
  width: 34px; height: 34px;
  background: var(--yellow);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.se-logo__icon svg { width: 18px; height: 18px; color: var(--ink); }

.se-nav { display: none; }
@media (min-width: 900px) {
  .se-nav {
    display: flex;
    gap: 32px;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
  }
  .se-nav a { transition: color .2s; }
  .se-nav a:hover { color: var(--ink); }
}

.se-header__actions { display: flex; align-items: center; gap: 12px; }
.se-header__phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.se-header__phone svg { width: 16px; height: 16px; }
@media (min-width: 640px) { .se-header__phone { display: flex; } }

.se-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.se-btn:active { transform: scale(.98); }
.se-btn--yellow { background: var(--yellow); color: var(--ink); }
.se-btn--yellow:hover { background: var(--yellow-hover); }
.se-btn--dark { background: var(--ink); color: #fff; }
.se-btn--dark:hover { background: #222; }
.se-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.se-btn--ghost:hover { background: rgba(255,255,255,.22); }
.se-btn--lg { font-size: 16px; padding: 15px 32px; border-radius: 12px; }

/* hamburger */
.se-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.se-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s;
}
@media (min-width: 900px) { .se-hamburger { display: none; } }

/* mobile menu */
.se-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  flex-direction: column;
  padding: 24px;
}
.se-mobile-menu.open { display: flex; }
.se-mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.se-mobile-menu__close { background: none; border: none; cursor: pointer; }
.se-mobile-menu__links { display: flex; flex-direction: column; gap: 28px; }
.se-mobile-menu__links a { font-size: 26px; font-weight: 700; font-family: var(--font-head); color: var(--ink); }
.se-mobile-menu__cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* ── Hero ── */
.se-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.se-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.se-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #0D0D0D 50%, transparent 100%);
}
.se-hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 0 80px;
  max-width: 640px;
}
@media (min-width: 768px) { .se-hero__content { padding: 120px 0; } }

.se-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,.12);
  border: 1px solid rgba(245,197,24,.35);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.se-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 22px;
  color: #fff;
}
.se-hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  margin-bottom: 36px;
}
.se-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.se-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.se-trust-row span { display: flex; align-items: center; gap: 6px; }
.se-trust-row svg { color: var(--yellow); }

/* ── Sections shared ── */
.se-section { padding: 88px 0; }
.se-section--dark { background: var(--ink); color: #fff; }
.se-section--grey { background: var(--bg2); }
.se-section__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B8941A;
  margin-bottom: 12px;
}
.se-section--dark .se-section__label { color: var(--yellow); }
.se-section__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.se-section--dark .se-section__title { color: #fff; }
.se-section__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
}
.se-section--dark .se-section__sub { color: rgba(255,255,255,.55); }
.se-section__head { text-align: center; margin-bottom: 60px; }
.se-section__head .se-section__sub { margin: 0 auto; }

/* ── Services grid ── */
.se-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .se-services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .se-services-grid { grid-template-columns: 1fr 1fr 1fr; } }

.se-service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.se-section--grey .se-service-card { background: #fff; }
.se-service-card:hover {
  border-color: rgba(245,197,24,.6);
  box-shadow: 0 8px 32px rgba(245,197,24,.15);
  transform: translateY(-2px);
}
.se-service-card__icon {
  width: 48px; height: 48px;
  background: rgba(245,197,24,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .25s;
}
.se-service-card:hover .se-service-card__icon { background: var(--yellow); }
.se-service-card__icon svg { width: 24px; height: 24px; color: var(--ink); }
.se-service-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.se-service-card p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── About ── */
.se-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 900px) { .se-about-grid { grid-template-columns: 1fr 1fr; } }

.se-about__img-wrap { position: relative; }
.se-about__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 20px;
}
.se-about__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--yellow);
  color: var(--ink);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.se-about__badge-title { font-family: var(--font-head); font-size: 22px; font-weight: 800; }
.se-about__badge-sub { font-size: 13px; font-weight: 600; margin-top: 2px; }

.se-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.se-stat {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 20px;
}
.se-stat__val { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--yellow); }
.se-stat__label { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* ── Reviews ── */
.se-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .se-reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .se-reviews-grid { grid-template-columns: 1fr 1fr 1fr; } }

.se-review-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.se-stars { display: flex; gap: 3px; }
.se-stars svg { width: 16px; height: 16px; fill: #FBBF24; }
.se-review-card__text { font-size: 15px; line-height: 1.7; color: #374151; flex-grow: 1; }
.se-review-card__author { font-size: 14px; }
.se-review-card__name { font-weight: 700; color: var(--ink); }
.se-review-card__loc { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ── Areas ── */
.se-areas { padding: 72px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.se-areas__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: 36px;
}
.se-areas__tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.se-areas__tag {
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  padding: 8px 18px;
  border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.se-areas__tag:hover { border-color: var(--yellow); color: var(--ink); }

/* ── CTA ── */
.se-cta { background: var(--yellow); padding: 100px 0; text-align: center; }
.se-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 16px;
}
.se-cta p { font-size: 17px; color: rgba(0,0,0,.55); max-width: 440px; margin: 0 auto 40px; line-height: 1.65; }
.se-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Contact form ── */
.se-contact { padding: 88px 0; background: #fff; }
.se-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}
@media (min-width: 900px) { .se-contact-grid { grid-template-columns: 1fr 1fr; } }

.se-form { display: flex; flex-direction: column; gap: 16px; }
.se-form label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; display: block; }
.se-form input,
.se-form select,
.se-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.se-form input:focus,
.se-form select:focus,
.se-form textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,.15);
}
.se-form textarea { resize: vertical; min-height: 120px; }

.se-contact-info { display: flex; flex-direction: column; gap: 28px; }
.se-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.se-contact-item__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(245,197,24,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.se-contact-item__icon svg { width: 20px; height: 20px; color: var(--ink); }
.se-contact-item__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.se-contact-item__val { font-size: 17px; font-weight: 600; color: var(--ink); }

/* ── Footer ── */
.se-footer { background: var(--ink); color: rgba(255,255,255,.5); padding: 56px 0; }
.se-footer__inner { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 768px) { .se-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.se-footer__brand { max-width: 280px; }
.se-footer__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.se-footer__logo-icon { width: 30px; height: 30px; background: var(--yellow); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.se-footer__logo-icon svg { width: 16px; height: 16px; color: var(--ink); }
.se-footer p { font-size: 14px; line-height: 1.65; }
.se-footer__links { display: flex; flex-direction: column; gap: 10px; }
.se-footer__links a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; }
.se-footer__links a:hover { color: var(--yellow); }
.se-footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; text-align: center; }
