:root {
  --bg: #050608;
  --panel: #0b0f14;
  --line: #1d2837;
  --text: #e8edf7;
  --muted: #a6b4ca;
  --blue: #0f86ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% -8%, rgba(22, 94, 255, 0.19), transparent 40%),
    radial-gradient(circle at 84% 8%, rgba(15, 123, 255, 0.13), transparent 30%),
    var(--bg);
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background:
    repeating-linear-gradient(to right,
      transparent 0,
      transparent 62px,
      rgba(255, 255, 255, 0.02) 63px,
      transparent 64px),
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 62px,
      rgba(255, 255, 255, 0.018) 63px,
      transparent 64px);
}

.services-wrap {
  width: min(1720px, calc(100% - 2rem));
  padding: 0;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(15, 123, 255, 0.12), transparent 46%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--panel);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.hero {
  min-height: clamp(220px, 34vw, 420px);
  display: grid;
  place-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 88%, rgba(15, 123, 255, 0.22), transparent 40%),
    repeating-linear-gradient(to right,
      transparent 0,
      transparent 62px,
      rgba(255, 255, 255, 0.02) 63px,
      transparent 64px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.08;
  position: relative;
  z-index: 1;
  background: linear-gradient(92deg, #f8fbff, #dce8ff 34%, #9bc9ff 66%, #f8fbff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.crumb {
  margin: 1rem 0 0;
  position: relative;
  z-index: 1;
  color: #a6b4c8;
}

.crumb a {
  color: var(--blue);
  text-decoration: none;
}

.services-intro {
  text-align: center;
  padding: 1.2rem 0 0.2rem;
}

.eyebrow {
  margin: 0;
  color: #7ebfff;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.eyebrow::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  border: 2px solid #1388ff;
}

.services-intro h2 {
  margin: 1rem auto 0;
  max-width: 980px;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.06;
  background: linear-gradient(96deg, #f8fbff, #dce8ff 36%, #8fa6c5 70%, #f8fbff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1720px;
  margin: 0 auto;
}

.service-card {
  padding: 1.2rem;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 700px;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(82, 160, 255, 0.58);
  box-shadow: 0 28px 48px rgba(3, 11, 25, 0.6);
}

.icon-box {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  border: 1px solid rgba(170, 90, 255, 0.36);
  box-shadow:
    inset 0 0 0 1px rgba(16, 127, 255, 0.2),
    0 10px 24px rgba(13, 18, 33, 0.5);
  background: linear-gradient(160deg, rgba(18, 21, 28, 0.95), rgba(8, 11, 16, 0.96));
  color: #0f88ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.4rem;
}

.icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.3;
}

.service-card h4 {
  margin: 0.25rem 0 0;
  color: #c4d2e6;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.42;
}

.service-card p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.card-btn {
  margin-top: auto;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(26, 137, 255, 0.55);
  background: linear-gradient(140deg, rgba(16, 54, 108, 0.88), rgba(10, 24, 46, 0.92));
  box-shadow: inset 0 0 0 1px rgba(120, 182, 255, 0.15);
  text-decoration: none;
  color: #e9f2ff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.card-btn .arrow {
  font-size: 1.2rem;
  line-height: 1;
}

.card-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(85, 174, 255, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(133, 194, 255, 0.24),
    0 10px 22px rgba(9, 39, 82, 0.35);
}

@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card {
    min-height: 650px;
  }
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 600px;
  }
}

@media (max-width: 760px) {
  .services-wrap {
    width: calc(100% - 0.55rem);
    padding: 0;
    gap: 0.72rem;
  }

  .panel {
    border-radius: 16px;
  }

  .services-intro {
    padding-top: 0.75rem;
  }

  .services-intro h2 {
    font-size: clamp(1.9rem, 10vw, 2.9rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .service-card {
    padding: 0.9rem;
    min-height: auto;
  }

  .icon-box {
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  .card-btn {
    min-height: 40px;
    padding: 0.56rem 0.8rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .services-wrap {
    width: calc(100% - 0.35rem);
    gap: 0.62rem;
  }

  .panel {
    border-radius: 14px;
  }

  .hero {
    min-height: 190px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .services-intro h2 {
    font-size: clamp(1.7rem, 9vw, 2.7rem);
  }

  .service-card h3 {
    font-size: 1.22rem;
  }

  .service-card h4 {
    font-size: 0.98rem;
  }

  .service-card p {
    font-size: 0.92rem;
    line-height: 1.48;
  }
}

@media (max-width: 420px) {
  .services-wrap {
    width: calc(100% - 0.25rem);
  }

  .panel {
    border-radius: 12px;
  }

  .hero {
    min-height: 165px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8.4vw, 1.95rem);
  }

  .service-card {
    padding: 0.75rem;
  }

  .icon-box {
    width: 74px;
    height: 74px;
    border-radius: 16px;
  }
}

/* ──────────────────────────────────────────────
   Full Service Map — Professional Section
   ────────────────────────────────────────────── */

.service-map {
  padding: 3.5rem 2.2rem 2.5rem;
  text-align: center;
  position: relative;
}

.service-map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 134, 255, 0.45), transparent);
}

.map-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #7ebfff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.map-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f86ff;
  box-shadow: 0 0 10px rgba(15, 134, 255, 0.6);
}

.service-map h2 {
  margin: 0 auto 0.5rem;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  background: linear-gradient(96deg, #f8fbff, #dce8ff 36%, #8fa6c5 70%, #f8fbff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-map .map-subtitle {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* ── Category Grid ── */

.map-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: left;
}

.map-category {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    var(--panel);
  padding: 1.6rem 1.3rem 1.4rem;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
  overflow: hidden;
}

.map-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #0f86ff, #6c5ce7, #0f86ff);
  opacity: 0.75;
  transition: opacity 300ms ease;
}

.map-category:hover {
  transform: translateY(-5px);
  border-color: rgba(82, 160, 255, 0.45);
  box-shadow: 0 20px 40px rgba(3, 11, 25, 0.55);
}

.map-category:hover::before {
  opacity: 1;
}

/* ── Category Badge ── */

.map-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 134, 255, 0.3);
  background: linear-gradient(150deg, rgba(15, 70, 140, 0.5), rgba(8, 16, 32, 0.7));
  color: #7ebfff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

/* ── Category Heading ── */

.map-category h3 {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 700;
  line-height: 1.3;
}

.map-category h3 a {
  text-decoration: none;
  background: linear-gradient(96deg, #e0ecff, #9bc9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 200ms ease;
}

.map-category h3 a:hover {
  opacity: 0.8;
}

/* ── Service Links List ── */

.map-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.map-category li {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.map-category li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.map-category li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.62rem 0.3rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 200ms ease, background 200ms ease, padding-left 200ms ease;
}

.map-category li a::after {
  content: "→";
  font-size: 0.82rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 200ms ease, transform 200ms ease;
  color: #0f86ff;
  flex-shrink: 0;
}

.map-category li a:hover {
  color: #e8edf7;
  background: rgba(15, 134, 255, 0.08);
  padding-left: 0.6rem;
}

.map-category li a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ── Service Count Tag ── */

.map-count {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  background: rgba(15, 134, 255, 0.1);
  border: 1px solid rgba(15, 134, 255, 0.2);
  color: #7ebfff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── CTA Banner ── */

.map-cta {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 100%, rgba(15, 134, 255, 0.1), transparent 60%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)),
    var(--panel);
  text-align: center;
}

.map-cta p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.6;
}

.map-cta p strong {
  color: var(--text);
}

.map-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 134, 255, 0.55);
  background: linear-gradient(140deg, rgba(16, 62, 128, 0.9), rgba(10, 24, 46, 0.95));
  box-shadow: inset 0 0 0 1px rgba(120, 182, 255, 0.15), 0 8px 24px rgba(3, 11, 25, 0.4);
  color: #e9f2ff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.map-cta-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 174, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(133, 194, 255, 0.24), 0 12px 28px rgba(9, 39, 82, 0.4);
}

/* ── Responsive: Service Map ── */

@media (max-width: 1180px) {
  .map-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .map-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-map {
    padding: 2.5rem 1.5rem 2rem;
  }
}

@media (max-width: 760px) {
  .map-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .service-map {
    padding: 2rem 1rem 1.5rem;
  }

  .map-category {
    padding: 1.3rem 1.1rem 1.2rem;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .service-map h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .map-category {
    padding: 1.1rem 0.9rem 1rem;
  }
}