/* ==========================================
   WrenchUp — Service Area Page
   ========================================== */

.topbar-link,
.topbar-cta {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: #9ca3af;
  transition: color 0.2s;
}
.topbar-link:hover { color: #f5f4f0; }
.topbar-cta {
  color: #0c0c14;
  background: #f59e0b;
  border-radius: 8px;
  padding: 7px 16px;
  font-weight: 600;
}
.topbar-cta:hover { opacity: 0.88; }

/* ---- HERO ---- */
.area-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 80px;
  background: var(--bg-dark);
}

.area-hero-inner {
  padding: 72px 56px 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.area-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #f59e0b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.area-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #f5f4f0;
}

.area-headline em {
  font-style: normal;
  color: #f59e0b;
}

.area-headline em::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #f59e0b;
  border-radius: 2px;
  margin-top: 6px;
}

.area-subtext {
  font-size: 17px;
  color: #6b6b7a;
  line-height: 1.65;
  max-width: 440px;
}

/* ---- ZIP CHECKER ---- */
.zip-checker {
  margin-top: 8px;
}

.zip-input-wrap {
  display: flex;
  gap: 10px;
  max-width: 420px;
}

.zip-input-wrap input {
  flex: 1;
  background: #13131f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #f5f4f0;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.zip-input-wrap input::placeholder { color: #6b6b7a; }
.zip-input-wrap input:focus { border-color: rgba(245,158,11,0.5); }

#zip-btn {
  background: #f59e0b;
  color: #0c0c14;
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
#zip-btn:hover { opacity: 0.88; }
#zip-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.zip-result {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
  line-height: 1.5;
  max-width: 420px;
}

.zip-result.success {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #4ade80;
}
.zip-result.not-covered {
  display: block;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  color: #f59e0b;
}
.zip-result.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
}

.zip-hint {
  font-size: 13px;
  color: #6b6b7a;
  margin-top: 4px;
}
.zip-hint a { color: #f59e0b; text-decoration: none; }
.zip-hint a:hover { text-decoration: underline; }

/* ---- MAP GRAPHIC ---- */
.area-map-graphic {
  background: #0d0d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.area-map-graphic::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.map-region {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/3;
  position: relative;
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a16;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-markers {
  position: absolute;
  inset: 0;
  padding: 30px;
}

.marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245,158,11,0.5);
  position: relative;
  z-index: 2;
}

.marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
  animation: markerPulse 2.5s ease-out infinite;
  z-index: 1;
}

@keyframes markerPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.marker span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(245,158,11,0.8);
  white-space: nowrap;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.03em;
  background: rgba(10,10,20,0.7);
  padding: 2px 7px;
  border-radius: 4px;
}

.m1 { top: 45%; left: 42%; }
.m2 { top: 30%; left: 68%; }
.m3 { top: 55%; left: 28%; }
.m4 { top: 70%; left: 58%; }
.m5 { top: 55%; left: 62%; }

.map-overlay-text {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(245,158,11,0.4);
  letter-spacing: 0.08em;
  font-family: 'Sora', sans-serif;
}

/* ---- AREAS COVERED ---- */
.areas-covered {
  background: #f5f4f0;
  padding: 80px 40px;
}

.areas-inner { max-width: 1100px; margin: 0 auto; }

.areas-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 32px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.area-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}
.area-card.highlight {
  border-color: rgba(245,158,11,0.4);
  background: #fffdf7;
}

.area-city {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0c0c14;
  margin-bottom: 4px;
}

.area-zips {
  font-size: 12px;
  color: #6b6b7a;
  font-family: 'DM Mono', 'SFMono-Regular', monospace;
}

.area-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: #f59e0b;
  color: #0c0c14;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 3px 10px;
  font-family: 'Sora', sans-serif;
}

/* ---- NOT COVERED ---- */
.not-covered {
  background: var(--bg-dark);
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}

.not-covered-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.nc-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.nc-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f5f4f0;
  margin-bottom: 14px;
}

.nc-body {
  font-size: 16px;
  color: #6b6b7a;
  line-height: 1.65;
  margin-bottom: 36px;
}

.notify-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.notify-form input {
  background: #13131f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #f5f4f0;
  outline: none;
  transition: border-color 0.2s;
  min-width: 160px;
}

.notify-form input::placeholder { color: #6b6b7a; }
.notify-form input:focus { border-color: rgba(245,158,11,0.5); }

.notify-form button {
  background: #f59e0b;
  color: #0c0c14;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.notify-form button:hover { opacity: 0.88; }

.notify-msg {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.notify-msg.success {
  display: block;
  color: #4ade80;
}
.notify-msg.error {
  display: block;
  color: #f87171;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .area-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .area-hero-inner {
    padding: 100px 20px 48px;
  }

  .area-map-graphic { padding: 48px 20px; }

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

  .areas-covered,
  .not-covered {
    padding: 60px 20px;
  }

  .notify-form { flex-direction: column; align-items: stretch; }
  .notify-form input { min-width: unset; width: 100%; }
}