/* ==========================================================================
   INFLUX ELECTRO INC. — Dark & High-Voltage Modern Design System
   CA License #1108132 (C-10) | Los Angeles & Glendale Electrical Contractor
   ========================================================================== */

:root {
  /* Core Palette - Dark Slate & Obsidian Navy */
  --bg-deep: #060913;
  --bg-primary: #0a0f1e;
  --bg-elevated: #10182d;
  --bg-card: rgba(17, 25, 46, 0.78);
  --bg-card-hover: rgba(23, 35, 64, 0.92);
  --bg-glass: rgba(10, 15, 30, 0.82);

  /* Accents - Electric Cyan & High-Voltage Gold */
  --cyan: #00e5ff;
  --cyan-mid: #06b6d4;
  --cyan-glow: rgba(0, 229, 255, 0.22);
  --cyan-subtle: rgba(0, 229, 255, 0.08);

  --gold: #ffb800;
  --gold-bright: #ffd000;
  --gold-glow: rgba(255, 184, 0, 0.25);
  --gold-subtle: rgba(255, 184, 0, 0.1);

  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --danger: #f43f5e;

  /* Typography Colors */
  --text-white: #f8fafc;
  --text-light: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Borders & Shadows */
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-cyan: rgba(0, 229, 255, 0.35);
  --border-gold: rgba(255, 184, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-cyan: 0 0 30px rgba(0, 229, 255, 0.18);
  --shadow-gold: 0 0 30px rgba(255, 184, 0, 0.2);

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(0, 229, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(255, 184, 0, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle circuit grid overlay */
.bg-grid {
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP TRUST & EMERGENCY BAR
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #04070f 0%, #0d162c 50%, #04070f 100%);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 100;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar__badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 600;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-light);
}

.topbar__contact a:hover {
  color: var(--cyan);
}

/* ==========================================================================
   STICKY NAVIGATION HEADER
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(6, 9, 19, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(230, 20, 43, 0.25));
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-white);
  line-height: 1.1;
}

.brand__name span {
  color: var(--cyan);
}

.brand__sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 0.35rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0284c7 100%);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.32);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
  filter: brightness(1.06);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, #f59e0b 100%);
  color: #030712;
  box-shadow: 0 4px 22px rgba(255, 184, 0, 0.35);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 184, 0, 0.52);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-cyan);
  color: var(--text-white);
}

.btn--outline:hover {
  background: var(--cyan-subtle);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--cyan-subtle);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-tag--gold {
  background: var(--gold-subtle);
  border-color: var(--border-gold);
  color: var(--gold);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.08;
}

.text-gradient-cyan {
  background: linear-gradient(90deg, var(--cyan) 0%, #67e8f9 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.trust-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

.trust-item__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero__visual {
  position: relative;
}

.hero__image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
  background: var(--bg-elevated);
}

.hero__image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 19, 0.05) 0%, rgba(6, 9, 19, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.hero__floating-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(6, 9, 19, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   AUTHORITY METRICS STRIP
   ========================================================================== */
.metrics-strip {
  padding: 2.25rem 0;
  background: rgba(16, 24, 45, 0.65);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-card {
  text-align: center;
  padding: 0.75rem;
  border-right: 1px solid var(--border-subtle);
}

.metric-card:last-child {
  border-right: none;
}

.metric-card__val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
}

.metric-card__val span {
  color: var(--gold);
}

.metric-card__label {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section--alt {
  background: rgba(12, 18, 34, 0.7);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.08rem;
}

/* Filter Tabs */
.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--border-cyan);
  color: var(--text-white);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(255, 184, 0, 0.12));
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

/* Service Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cyan-subtle);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card__list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-card__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.service-card__list li svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.92rem;
}

.service-card__link:hover {
  gap: 0.7rem;
  color: var(--gold);
}

/* ==========================================================================
   INTERACTIVE ESTIMATE & LOAD CALCULATOR
   ========================================================================== */
.estimator-box {
  background: linear-gradient(145deg, rgba(16, 24, 45, 0.92), rgba(8, 13, 26, 0.95));
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.control-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.option-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
}

.option-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.option-pill:hover {
  border-color: var(--border-cyan);
}

.option-pill.active {
  background: var(--cyan-subtle);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.15);
}

.estimator-result {
  background: rgba(6, 9, 19, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.estimator-result__range {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0.5rem 0;
}

.estimator-result__meta {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   LOCAL SEO SERVICE AREAS HUB
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.area-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}

.area-card:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan);
}

.area-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.area-card__title {
  font-size: 1.35rem;
  color: var(--text-white);
}

.area-card__utility {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--gold-subtle);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.city-tag {
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
}

.city-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ==========================================================================
   PROJECTS SHOWCASE
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-lg);
}

.project-card__img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #0c1428;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__img img {
  transform: scale(1.06);
}

.project-card__loc {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.project-card__body {
  padding: 1.6rem;
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.9rem;
}

.review-card__quote {
  color: var(--text-light);
  font-size: 0.96rem;
  font-style: italic;
  margin-bottom: 1.4rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.6rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cyan-subtle);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--cyan);
  color: #030712;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content__inner {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-light);
  font-size: 0.96rem;
}

/* ==========================================================================
   CONTACT & QUOTE FORM SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(6, 9, 19, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.info-box__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-subtle);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER & MOBILE CALL BAR
   ========================================================================== */
.footer {
  background: #03060c;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__title {
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
  color: var(--text-white);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Sticky Mobile Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(6, 9, 19, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-cyan);
  padding: 0.65rem 1rem;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid,
  .estimator-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .projects-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar__contact {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: rgba(6, 9, 19, 0.98);
    border-bottom: 1px solid var(--border-cyan);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .metrics-grid,
  .services-grid,
  .areas-grid,
  .projects-grid,
  .reviews-grid,
  .hero__trust-grid,
  .form-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body {
    padding-bottom: 70px;
  }
}
