/* ======================================================================
   JM ELECTRIC LLC — MASTER STYLESHEET (LIGHT THEME)
   tobuku.github.io/electrician
   ====================================================================== */

:root {
  /* Backgrounds */
  --bg:          #ffffff;
  --bg-2:        #f0f7fd;
  --bg-3:        #e4eff8;
  --panel:       #ffffff;
  --panel-solid: #f8fbfe;

  /* Text */
  --text:        #0d1e2c;
  --muted:       #4a6a82;
  --dimmed:      #8aafc5;

  /* Brand — cobalt blue from logo */
  --brand:       #3461c1;
  --brand-2:     #2a52a8;

  /* Primary */
  --primary:     #3461c1;
  --primary-2:   #5a85e0;
  --glow:        rgba(52, 97, 193, 0.28);
  --glow-sm:     rgba(52, 97, 193, 0.12);

  /* Teal accent */
  --accent:      #0fb3ca;
  --accent-2:    rgba(15, 179, 202, 0.12);

  /* Status */
  --success:     #0a9b6e;
  --warning:     #d97706;
  --danger:      #dc2626;

  /* Borders */
  --line:        rgba(52, 97, 193, 0.16);
  --line-2:      rgba(52, 97, 193, 0.08);

  /* Layout */
  --max:         1200px;
  --r:           20px;
  --r-sm:        12px;
  --r-lg:        28px;

  /* Shadows — softer for light theme */
  --shadow:      0 4px 24px rgba(52, 97, 193, 0.1), 0 12px 40px rgba(13, 30, 44, 0.07);
  --shadow-sm:   0 2px 12px rgba(52, 97, 193, 0.08);
  --glow-shadow: 0 0 0 1px rgba(52,97,193,0.18), 0 8px 32px rgba(52, 97, 193, 0.14), 0 16px 48px rgba(13,30,44,0.08);

  /* Footer (stays dark) */
  --footer-bg:   #0d1e2c;
  --footer-text: rgba(255,255,255,0.75);
  --footer-line: rgba(255,255,255,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Very subtle circuit grid — barely visible on white */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 97, 193, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 97, 193, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Layout ───────────────────────────────────────────────────────── */
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section { padding: 90px 0; position: relative; }
.section.alt { background: var(--bg-2); }

/* ── Typography ───────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -0.03em; }
p  { color: var(--muted); line-height: 1.72; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(52, 97, 193, 0.07);
  border: 1px solid rgba(52, 97, 193, 0.18);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}
.section-head h2 { flex-shrink: 0; }
.section-head::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(52,97,193,0.2), transparent);
  margin-bottom: 8px;
}

/* ── Navigation ───────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(52, 97, 193, 0.07);
}
.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy strong { display: block; font-size: 0.98rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.brand-copy span   { display: block; font-size: 0.78rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--primary); background: rgba(52,97,193,0.06); }
.nav a.active {
  color: var(--primary);
  background: rgba(52, 97, 193, 0.1);
  border: 1px solid rgba(52, 97, 193, 0.2);
}

.cta-group { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(100%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }

.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px var(--glow);
  border-color: rgba(90, 133, 224, 0.3);
}
.btn.primary:hover { box-shadow: 0 10px 36px rgba(52,97,193,0.45); }

.btn.secondary {
  background: transparent;
  border-color: rgba(52, 97, 193, 0.28);
  color: var(--primary);
}
.btn.secondary:hover { background: rgba(52,97,193,0.06); border-color: var(--primary); }

.btn.lg { padding: 16px 34px; font-size: 1rem; }
.btn.sm { padding: 8px 16px; font-size: 0.82rem; }

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 999px;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 600;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #f0f7fd 0%, #ffffff 55%, #f0f7fd 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(52,97,193,0.07), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-text { max-width: 660px; }
.hero-text h1 { margin: 18px 0 22px; line-height: 0.95; }
.hero-text p  { font-size: 1.06rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; align-items: center; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.stat-pill {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.stat-pill:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-pill .num { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.05em; color: var(--primary); line-height: 1; }
.stat-pill .lbl { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 5px; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}
.hero-glow {
  position: absolute; inset: -50px;
  background: radial-gradient(circle at center, rgba(52,97,193,0.1), transparent 62%);
  animation: breathe 5s ease-in-out infinite;
}
.hero-logo-img {
  width: min(320px, 90%);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 60px rgba(52,97,193,0.08);
  position: relative;
  z-index: 2;
  background: #fff;
}
/* Transparent-bg logo variant (no box-shadow or bg needed) */
.hero-logo-img.transparent {
  background: transparent;
  border: none;
  box-shadow: 0 20px 60px rgba(52,97,193,0.15);
}
.orbit {
  position: absolute; inset: -65px;
  border-radius: 50%;
  border: 1px solid rgba(52, 97, 193, 0.15);
  pointer-events: none;
}
.orbit::after {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary), 0 0 24px var(--glow-sm);
}
.orbit-2 {
  inset: -120px;
  border-style: dashed;
  border-color: rgba(15, 179, 202, 0.18);
}
.orbit-2::after { background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.float-tag {
  position: absolute;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(52,97,193,0.1);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}
.float-tag .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.float-tag.t1 { top: 8%;  right: -10px; animation: float-a 4s ease-in-out infinite; }
.float-tag.t2 { bottom: 18%; left: -20px; animation: float-b 5.2s ease-in-out infinite; }
.float-tag.t3 { top: 52%; right: -30px; animation: float-a 3.8s ease-in-out infinite 0.6s; }

/* ── Page hero (inner pages) ──────────────────────────────────────── */
.page-hero {
  padding: 100px 0 50px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #f0f7fd 0%, #ffffff 60%);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(52,97,193,0.06), transparent 65%);
  pointer-events: none;
}
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.page-hero h1 { margin: 16px 0 18px; line-height: 0.96; }
.page-hero p  { font-size: 1.04rem; max-width: 50ch; }
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.page-hero-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.page-hero-img:hover img { transform: scale(1.04); }
.page-hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,30,44,0.3));
}

/* ── Cards ────────────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(52,97,193,0.3); box-shadow: var(--glow-shadow); }
.card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(52,97,193,0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }
.card .glow-blob {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(52,97,193,0.08), transparent 68%);
  pointer-events: none;
}

/* Feature card */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--glow-shadow); }
.feature-card .fc-img { position: relative; overflow: hidden; }
.feature-card .fc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.feature-card:hover .fc-img img { transform: scale(1.06); }
.feature-card .fc-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,30,44,0.2), transparent);
}
.feature-card .fc-body {
  padding: 34px;
  display: flex; flex-direction: column; justify-content: center;
}
.feature-card .fc-body h3 { font-size: 1.3rem; margin: 10px 0 14px; }
.feature-card .fc-body p  { margin-bottom: 14px; }
.feature-card .fc-body ul { list-style: none; }
.feature-card .fc-body ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
}
.feature-card .fc-body ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

/* Service card */
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(52,97,193,0.35); box-shadow: var(--glow-shadow); }
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card .svc-num {
  font-size: 2.8rem; font-weight: 800;
  color: rgba(52,97,193,0.1); letter-spacing: -0.06em; line-height: 1;
}
.service-card h3 { font-size: 1.18rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.svc-tag {
  padding: 4px 11px;
  background: rgba(52, 97, 193, 0.07);
  border: 1px solid rgba(52, 97, 193, 0.18);
  border-radius: 999px;
  font-size: 0.76rem; color: var(--primary);
}

/* Gallery card */
.gallery-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--bg-3);
  break-inside: avoid;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.gallery-card img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,30,44,0.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; opacity: 0; transition: opacity 0.32s ease;
}
.gallery-card:hover .overlay { opacity: 1; }
.gallery-card .overlay h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.gallery-card .overlay p  { font-size: 0.78rem; color: rgba(255,255,255,0.75); line-height: 1.4; margin: 0; }

/* Filter tabs */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-tab {
  padding: 8px 18px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--muted); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.22s;
  box-shadow: var(--shadow-sm);
}
.filter-tab:hover { color: var(--primary); border-color: var(--primary); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 16px var(--glow); }

/* Gallery masonry grid */
.gallery-grid { columns: 3; column-gap: 16px; }

/* Contact card */
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px;
  display: flex; align-items: flex-start; gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(52, 97, 193, 0.08);
  border: 1px solid rgba(52, 97, 193, 0.18);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-info .label { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.contact-info strong { display: block; font-size: 1.08rem; font-weight: 700; color: var(--text); }
.contact-info a { color: var(--primary); font-size: 0.9rem; }
.contact-info a:hover { color: var(--brand-2); }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 28px; position: relative; padding-bottom: 40px; }
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute; left: 39px; top: 40px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--primary), transparent);
  opacity: 0.4;
}
.timeline-node {
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(52, 97, 193, 0.07);
  border: 2px solid rgba(52, 97, 193, 0.25);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.82rem; color: var(--primary);
  letter-spacing: 0.02em; flex-shrink: 0;
}
.timeline-body { padding-top: 10px; }
.timeline-body h3 { font-size: 1.08rem; margin-bottom: 8px; }

/* ── Grids ────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Stats band (solid blue) ──────────────────────────────────────── */
.stats-band {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4ba8 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}
.stats-band .band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-block { text-align: center; }
.stat-block .num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; letter-spacing: -0.06em; line-height: 1;
  color: #ffffff;
}
.stat-block .lbl { display: block; font-size: 0.87rem; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ── Service area strip ───────────────────────────────────────────── */
.area-strip {
  background: rgba(52, 97, 193, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 30px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.area-label { font-size: 0.82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.area-pill {
  padding: 5px 13px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 0.8rem; color: var(--primary);
  font-weight: 500; box-shadow: var(--shadow-sm);
}

/* ── Trust badges ─────────────────────────────────────────────────── */
.trust-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 0.82rem; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.trust-badge .check { color: var(--success); font-size: 1rem; font-weight: 700; }
.trust-badge strong { color: var(--text); }

/* ── CTA banner ───────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4ba8 100%);
  border-radius: var(--r-lg); padding: 64px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 55%);
}
.cta-banner h2 { color: #fff; margin: 12px 0 18px; }
.cta-banner p  { max-width: 50ch; margin: 0 auto 30px; color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.cta-banner .eyebrow { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); color: #fff; }
.cta-banner .eyebrow::before { background: #fff; box-shadow: 0 0 6px #fff; }
.cta-banner .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn.primary {
  background: #fff; color: var(--primary);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.5);
}
.cta-banner .btn.primary:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.2); }
.cta-banner .btn.secondary {
  background: rgba(255,255,255,0.1); color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.cta-banner .btn.secondary:hover { background: rgba(255,255,255,0.2); }

/* ── Map ──────────────────────────────────────────────────────────── */
.map-box {
  min-height: 380px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #e8f2fb, #d4e8f5);
  position: relative; box-shadow: var(--shadow);
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(52,97,193,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,97,193,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}
.map-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.map-glow-1 { top: 28%; left: 22%; width: 42%; height: 42%; background: radial-gradient(circle, rgba(52,97,193,0.2), transparent 68%); animation: breathe 4.5s ease-in-out infinite; }
.map-glow-2 { top: 42%; left: 60%; width: 28%; height: 28%; background: radial-gradient(circle, rgba(15,179,202,0.18), transparent 68%); animation: breathe 5.5s ease-in-out infinite 1.2s; }
.map-pin {
  position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(52,97,193,0.15), 0 0 22px var(--glow);
  animation: pin-pulse 2.8s ease-in-out infinite;
}
.map-pin.main { width: 20px; height: 20px; left: 25%; top: 53%; }
.map-pin.p2   { width: 13px; height: 13px; left: 43%; top: 37%; animation-delay: 0.5s; }
.map-pin.p3   { width: 13px; height: 13px; left: 56%; top: 48%; animation-delay: 1s; }
.map-pin.p4   { width: 13px; height: 13px; left: 70%; top: 33%; animation-delay: 1.5s; }
.map-pin.p5   { width: 11px; height: 11px; left: 36%; top: 66%; animation-delay: 0.8s; }
.map-lbl {
  position: absolute; background: rgba(255,255,255,0.92);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 5px 11px; font-size: 0.76rem; font-weight: 600; color: var(--text);
  white-space: nowrap; backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}
.map-lbl.l1 { left: 17%; top: 62%; }
.map-lbl.l2 { left: 39%; top: 26%; }
.map-lbl.l3 { left: 52%; top: 56%; }
.map-lbl.l4 { left: 65%; top: 23%; }
.map-title {
  position: absolute; top: 18px; left: 18px;
  font-size: 0.82rem; font-weight: 700; color: var(--primary);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ── Form ─────────────────────────────────────────────────────────── */
.form-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.79rem; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.field input,
.field textarea,
.field select {
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text); padding: 13px 16px;
  font: inherit; font-size: 0.94rem; width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s; outline: none;
  -webkit-appearance: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52,97,193,0.1);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select option { background: #fff; color: var(--text); }

/* ── Footer (dark — stays dark) ───────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 36px;
  position: relative;
}
.footer p, .footer span, .footer a { color: var(--footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-logo {
  width: 72px; height: 72px; margin-bottom: 16px;
  background: transparent; border: none;
}
.footer-brand .brand-logo img { object-fit: contain; }
.footer-brand strong { display: block; font-size: 1rem; margin-bottom: 6px; color: #fff; }
.footer-brand p { font-size: 0.86rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h5 {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.45); margin-bottom: 18px;
}
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.88rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 52px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.35); font-size: 0.8rem;
}

/* ── Keyframes ────────────────────────────────────────────────────── */
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes breathe   { 0%,100% { opacity: 0.65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes float-a   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-b   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(15,179,202,0.5); } 50% { box-shadow: 0 0 0 7px rgba(15,179,202,0); } }
@keyframes pin-pulse { 0%,100% { box-shadow: 0 0 0 6px rgba(52,97,193,0.15), 0 0 22px var(--glow); } 50% { box-shadow: 0 0 0 12px rgba(52,97,193,0.05), 0 0 34px rgba(52,97,193,0.3); } }
@keyframes sweep     { 0% { transform: translateX(-150%); } 55% { transform: translateX(150%); } 100% { transform: translateX(150%); } }

/* GSAP init states */
.reveal       { opacity: 0; transform: translateY(30px); }
.reveal-left  { opacity: 0; transform: translateX(-30px); }
.reveal-right { opacity: 0; transform: translateX(30px); }
.reveal-scale { opacity: 0; transform: scale(0.93); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-img { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band .band-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .fc-img { min-height: 200px; }
}
@media (max-width: 768px) {
  .topbar .inner { flex-wrap: wrap; padding: 8px 0; gap: 10px; min-height: auto; }
  .nav { display: none; flex-direction: column; width: 100%; padding: 8px 0; gap: 2px; order: 10; }
  .nav.open { display: flex; }
  .nav a { border-radius: var(--r-sm); }
  .hamburger { display: flex; }
  .cta-group .btn.secondary { display: none; }
  h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero { min-height: auto; padding: 56px 0 36px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .gallery-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-banner { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 22px; }
  .area-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head::after { display: none; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-grid { columns: 1; }
  .grid-4 { grid-template-columns: 1fr; }
}
