/* ===== Electrix Electrical — Electric Premium theme ===== */
:root {
  --bg-primary: #0a0e14;
  --bg-secondary: #121821;
  --bg-tertiary: #1a2332;
  --accent-electric: #00b4d8;
  --accent-electric-bright: #00d4ff;
  --accent-electric-dim: #0077a6;
  --text-primary: #f0f4f8;
  --text-secondary: #a0b4c8;
  --text-muted: #6b7d92;
  --border-glass: rgba(255,255,255,0.08);
  --glass-bg: rgba(255,255,255,0.05);
  --glass-blur: 12px;
  --success: #10b981;
  --warning: #f59e0b;

  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

/* Skip to content link (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--accent-electric); color: #0a0e14;
  padding: 0.7rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #0a0e14; }

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; font-weight: 500; }

p { margin: 0 0 1em; color: var(--text-secondary); }
a { color: var(--accent-electric); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-electric-bright); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); width: 100%; }
.section { padding: var(--space-2xl) 0; position: relative; }
.section-alt { background: var(--bg-secondary); }

/* ===== Eyebrow / section heading ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-electric);
  margin-bottom: 0.6rem;
}
.eyebrow-electric { background: linear-gradient(90deg, var(--accent-electric), var(--accent-electric-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--space-lg); }
.section-head h2 { margin: 0 0 0.4em; }
.section-sub { color: var(--text-secondary); font-size: 1.125rem; margin: 0; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-electric), var(--accent-electric-bright));
  color: #0a0e14;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.5);
  transform: translateY(-2px);
  color: #0a0e14;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1.0625rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--accent-electric);
  background: rgba(0, 180, 216, 0.1);
  color: var(--text-primary);
}
.btn-block { width: 100%; }
.btn-pulse { animation: pulseGlow 2.5s ease-in-out infinite; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 180, 216, 0.3); }
  50% { box-shadow: 0 0 35px rgba(0, 180, 216, 0.55); }
}

/* ===== Glass Cards ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all 0.3s ease;
}
.glass-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  background: rgba(0, 180, 216, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.1);
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(10, 14, 20, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 20, 0.92);
  border-bottom-color: var(--border-glass);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem var(--space-md);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo img { width: auto; height: 60px; display: block; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent-electric); transition: width 0.25s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--accent-electric); font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
}
.nav-phone:hover { color: var(--accent-electric-bright); }
.nav-cta { padding: 0.7rem 1.4rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--text-primary);
  transition: all 0.3s; border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 119, 166, 0.14), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 212, 255, 0.10), transparent 60%);
  animation: meshShift 20s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
@keyframes meshShift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
  100% { background-position: 30% 20%, 70% 30%, 60% 80%; }
}

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-glass);
  color: var(--accent-electric);
  font-size: 0.85rem; font-weight: 500;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(0,212,255,0.15) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  pointer-events: none;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-electric-bright);
  box-shadow: 0 0 10px var(--accent-electric-bright);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

.hero h1 {
  text-shadow: 0 2px 30px rgba(0, 180, 216, 0.25);
  margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.4rem;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2.5s ease-in-out infinite;
  display: inline-flex;
}
.hero-scroll:hover { color: var(--accent-electric); }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ===== Stats ===== */
.stats {
  background: var(--bg-secondary);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 1rem;
  position: relative;
}
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border-glass);
}
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  color: var(--accent-electric);
  text-shadow: 0 0 30px rgba(0, 180, 216, 0.4);
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card { display: flex; flex-direction: column; }
.service-icon {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 216, 0.08);
  color: var(--accent-electric);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 180, 216, 0.15);
  transition: all 0.3s;
}
.glass-card:hover .service-icon {
  background: rgba(0, 180, 216, 0.15);
  box-shadow: 0 0 25px rgba(0, 180, 216, 0.25);
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { flex: 1; margin-bottom: 1rem; font-size: 0.98rem; }
.service-link {
  color: var(--accent-electric); font-weight: 500; font-size: 0.9rem;
  text-decoration: none; transition: gap 0.2s, color 0.2s;
}
.service-link span { transition: transform 0.2s; display: inline-block; }
.service-link:hover { color: var(--accent-electric-bright); }
.service-link:hover span { transform: translateX(4px); }

.service-featured {
  border-color: rgba(0, 180, 216, 0.4);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.08), var(--glass-bg));
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.12);
}
.service-featured::after {
  content: 'PREMIUM';
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.65rem; letter-spacing: 0.12em; font-weight: 600;
  color: var(--accent-electric-bright);
  background: rgba(0, 180, 216, 0.15);
  padding: 0.25rem 0.6rem; border-radius: 999px;
  border: 1px solid rgba(0, 180, 216, 0.3);
}
.service-card { position: relative; }

.service-emergency {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.8rem;
  align-items: center;
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), var(--glass-bg));
}
.service-emergency .service-icon {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  width: 80px; height: 80px;
}
.service-emergency .service-body h3 { margin-bottom: 0.4rem; }
.service-emergency .service-body p { margin: 0 0 0.8rem; }
.service-emergency-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--warning); font-weight: 500;
}
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 10px var(--warning);
  animation: pulseWarn 1.5s ease-in-out infinite;
}
@keyframes pulseWarn {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}
.service-icon-warning { color: var(--warning) !important; }

/* ===== EV Spotlight ===== */
.ev-spotlight {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}
.ev-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(0, 180, 216, 0.12), transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(0, 119, 166, 0.08), transparent 60%);
  pointer-events: none;
}
.ev-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ev-zappi-card {
  background: #ffffff;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 30px rgba(0, 180, 216, 0.15);
}
.ev-zappi-card img { display: block; object-fit: contain; }
.ev-left h2 { margin-bottom: 0.8rem; }
.ev-lead { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.6rem; }
.ev-benefits { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.ev-benefits li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  color: var(--text-secondary); font-size: 0.98rem;
}
.ev-check {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-electric), var(--accent-electric-bright));
  color: #0a0e14;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.ev-benefits strong { color: var(--text-primary); }
.ev-cta { margin-top: 0.5rem; }

.ev-info-card { padding: 2rem; }
.ev-info-card h3 { margin-bottom: 1.4rem; color: var(--accent-electric-bright); }
.ev-points { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 1.6rem; }
.ev-point { display: flex; gap: 1rem; align-items: flex-start; }
.ev-point-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-electric);
  border: 1px solid rgba(0, 180, 216, 0.2);
}
.ev-point strong { color: var(--text-primary); display: block; margin-bottom: 0.2rem; }
.ev-point p { margin: 0; font-size: 0.92rem; }
.ev-grant-note {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 1rem; border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.15);
  color: var(--text-secondary); font-size: 0.9rem;
}
.ev-grant-note svg { color: var(--accent-electric); flex-shrink: 0; margin-top: 2px; }

/* ===== Portfolio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-item {
  padding: 0; overflow: hidden; cursor: pointer;
  margin: 0;
}
.portfolio-item img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item figcaption {
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.95rem; color: var(--text-primary); font-weight: 500;
}
.portfolio-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-electric);
  background: rgba(0, 180, 216, 0.12);
  padding: 0.25rem 0.6rem; border-radius: 999px;
  flex-shrink: 0;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 14, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: 80vw; max-height: 80vh;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  cursor: default;
}
.lightbox-figure img {
  max-width: 80vw; max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 60px rgba(0, 180, 216, 0.25);
  border: 1px solid var(--border-glass);
}
.lightbox-figure figcaption {
  color: var(--text-primary);
  text-align: center;
  font-size: 1.05rem;
  max-width: 600px;
}
.lightbox-figure figcaption strong { color: var(--accent-electric); display: block; margin-bottom: 0.3rem; font-family: var(--font-heading); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 2rem; line-height: 1;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.lightbox-close:hover { background: rgba(0, 180, 216, 0.2); border-color: var(--accent-electric); transform: rotate(90deg); }

/* Lightbox prev/next */
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 2;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-nav:hover { background: rgba(0, 180, 216, 0.2); border-color: var(--accent-electric); color: var(--accent-electric-bright); }
.lightbox-nav:disabled { opacity: 0.3; cursor: default; }

.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; }
.lightbox-figure img { transition: opacity 0.22s ease, transform 0.22s ease; }
.lightbox-figure.is-swapping img { opacity: 0; }
.lightbox-figure.slide-next img { transform: translateX(24px); }
.lightbox-figure.slide-prev img { transform: translateX(-24px); }

.lightbox-counter {
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}
.lightbox-dots { display: flex; gap: 0.5rem; }
.lightbox-dot {
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.lightbox-dot:hover { border-color: var(--accent-electric); }
.lightbox-dot[aria-selected="true"] { background: var(--accent-electric); border-color: var(--accent-electric); transform: scale(1.25); }

@media (hover: none) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}
@media (max-width: 720px) {
  .lightbox { padding: 1rem; }
  .lightbox-figure img { max-width: 92vw; max-height: 58vh; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-figure figcaption { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox-figure img { transition: none; }
  .lightbox-figure.slide-next img, .lightbox-figure.slide-prev img { transform: none; }
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 880px; margin: 0 auto;
}
.team-card { text-align: center; padding: 2.4rem 2rem; }
.team-avatar {
  width: 120px; height: 120px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 2.6rem;
  color: var(--accent-electric);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(0, 180, 216, 0.04));
  border: 2px solid rgba(0, 180, 216, 0.4);
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.2);
  text-shadow: 0 0 20px rgba(0, 180, 216, 0.4);
}
.team-role { color: var(--accent-electric); font-size: 0.95rem; font-weight: 500; margin-bottom: 1rem; }
.team-card p { font-size: 0.98rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.2rem; }
.team-tag {
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  padding: 0.3rem 0.8rem; border-radius: 999px;
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.review-card { display: flex; flex-direction: column; }
.review-stars {
  color: var(--accent-electric);
  font-size: 1.1rem; letter-spacing: 2px;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}
.review-text {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.98rem; line-height: 1.6;
  margin-bottom: 1.2rem;
  font-style: italic;
}
.review-meta { display: flex; flex-direction: column; gap: 0.3rem; }
.review-meta strong { color: var(--text-primary); font-family: var(--font-heading); }
.review-tag {
  font-size: 0.78rem; color: var(--accent-electric); font-weight: 500;
}

.trust-row {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin-bottom: 2rem;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-glass);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 0.92rem; font-weight: 500;
}
.trust-badge svg { color: var(--accent-electric); }

.accreditations {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.acc-card {
  background: rgba(255,255,255,0.95);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.acc-card:hover { transform: translateY(-3px); }
.acc-card img { width: 120px; height: auto; max-height: 60px; object-fit: contain; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.contact-info h3, .contact-form-wrap h3 { margin-bottom: 1.4rem; color: var(--accent-electric-bright); }
.contact-list { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.08);
  color: var(--accent-electric);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0, 180, 216, 0.15);
}
.contact-label {
  display: block; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.1rem;
}
.contact-list a { color: var(--text-primary); font-weight: 500; }
.contact-list a:hover { color: var(--accent-electric); }
.contact-list li > div { color: var(--text-secondary); font-size: 0.98rem; }

.contact-form-wrap { padding: 2.4rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.req { color: var(--accent-electric); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-muted); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent-electric);
  background: rgba(0, 180, 216, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}
.form-row input[aria-invalid="true"] {
  border-color: #f85149;
  background: rgba(248,81,73,0.08);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-row select option { background: var(--bg-secondary); color: var(--text-primary); }
.form-foot { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; margin-bottom: 0; }

.honeypot { position: absolute; left: -9999px; }

.success-banner {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--success);
  color: #6ee7b7;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
.error-banner {
  background: rgba(248,81,73,0.18);
  border: 1px solid #f85149;
  color: #ffa198;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
  padding: var(--space-xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: var(--space-lg);
}
.footer-col h3 { color: var(--text-primary); font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col p { font-size: 0.95rem; line-height: 1.7; }
.footer-company { color: var(--text-muted); font-size: 0.85rem; margin-top: 1rem; }
.footer-company strong { color: var(--text-secondary); }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a, .footer-links li { color: var(--text-secondary); font-size: 0.95rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent-electric); }
.footer-logo-card {
  display: inline-block;
  background: #ffffff;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-top: 1.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.footer-logo-card img { width: 170px; height: auto; display: block; }

.footer-bar {
  border-top: 1px solid var(--border-glass);
  padding: 1.4rem 0;
}
.footer-bar-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.85rem; color: var(--text-muted);
}
.footer-bar a { color: var(--accent-electric); font-weight: 500; }

/* ===== Mobile sticky call bar ===== */
.mobile-call-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 0.6rem;
  background: rgba(10, 14, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-glass);
  display: none;
}
.mobile-call-btn { width: 100%; }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Focus ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-electric);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.btn-primary:focus-visible, .btn-secondary:focus-visible { outline-offset: 3px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .services-grid, .portfolio-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .stat:nth-child(3)::before { display: none; }
  .ev-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .service-emergency { grid-template-columns: auto 1fr; }
  .service-emergency .btn-primary { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(10, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: inline-flex; }
  .nav-phone span { display: none; }
  .nav-cta { display: none; }
  .nav-logo img { height: 48px; }
  .section { padding: var(--space-xl) 0; }
  .hero { padding-top: 6rem; }
  .services-grid, .portfolio-grid, .reviews-grid, .team-grid { grid-template-columns: 1fr; }
  .team-grid { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bar-inner { justify-content: center; text-align: center; }
  .service-emergency { grid-template-columns: 1fr; text-align: left; gap: 1.2rem; }
  .service-emergency .service-icon { width: 64px; height: 64px; }
  .contact-form-wrap, .team-card { padding: 1.8rem 1.4rem; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 70px; }
  .stat + .stat::before { display: none; }
  .stats-grid { gap: 1.5rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-ctas { flex-direction: column; gap: 0.8rem; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-badge { font-size: 0.72rem; padding: 0.5rem 1rem; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { animation: none; }
  .btn-pulse { animation: none; }
  .reveal { opacity: 1; transform: none; }
}