/* ============================================================
   INSTANT — home: network map & service process
   ============================================================ */

/* Network ------------------------------------------------------------ */
.network {
  overflow: hidden;
}

.network__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(270px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.map-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #0d1522;
}

.map-tabs {
  display: flex;
  gap: 6px;
  padding: 13px;
  border-bottom: 1px solid var(--line-dark);
}

.map-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 122px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.42);
  text-align: left;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.map-tab span {
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.map-tab strong {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.map-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
}

.map-tab.is-active {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
}

.map-tab.is-active span {
  color: var(--amber);
}

.map-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0a0e16;
}

.map-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.map-stage.is-switching img {
  opacity: 0;
}

.map-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 80px 20px rgba(6, 10, 17, 0.55);
  pointer-events: none;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 18px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.1em;
    text-transform: uppercase;
}

.map-caption strong {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}

.network__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.network-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.network-stat {
  padding: 19px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
}

.network-stat strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.network-stat strong small {
  margin-left: 3px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.network-stat span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.network-aside {
  position: relative;
  overflow: hidden;
  flex: 1;
  padding: 24px;
  border: 1px solid rgba(255, 122, 60, 0.18);
  border-radius: var(--radius);
  background: #121a27;
}

.network-aside::after {
  content: "DIRECT";
  position: absolute;
  right: -8px;
  bottom: -16px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 74px;
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.network-aside__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 200, 120, 0.22);
  border-radius: 50%;
  color: var(--amber);
}

.network-aside__icon svg {
  width: 17px;
  height: 17px;
}

.network-aside h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.network-aside p {
  max-width: 250px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.8;
}

.network-aside .lane-link {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11.5px;
}

.network-aside .lane-link:hover {
  color: var(--amber);
}

.lane-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
}

.lane-chips span {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

/* Process ------------------------------------------------------------ */
.process__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 31px 26px 8px 0;
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--paper);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.step:hover::before {
  transform: scale(1.35);
  box-shadow: 0 0 0 6px rgba(255, 90, 31, 0.12);
}

.step__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.step__time {
  padding: 2px 8px;
  border: 1px solid rgba(255, 90, 31, 0.22);
  border-radius: 999px;
  background: rgba(255, 90, 31, 0.06);
  color: var(--orange-ink);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.step__num svg {
  width: 15px;
  height: 15px;
  color: var(--line-strong);
}

.step h3 {
  margin: 20px 0 9px;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.step p {
  max-width: 180px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.process__note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.process__note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.process__note svg {
  width: 13px;
  height: 13px;
  color: var(--orange);
}

@media (max-width: 1100px) {
  .network__grid {
    grid-template-columns: 1fr;
  }

  .network__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .network-aside {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .process__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    padding-bottom: 26px;
  }
}

@media (max-width: 720px) {
  .map-tabs {
    padding: 10px;
  }

  .map-tab {
    flex: 1;
    min-width: 0;
  }

  .map-stage {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .map-stage img {
    width: 760px;
    max-width: none;
    height: auto;
  }

  .map-caption {
    padding: 11px 14px;
    font-size: 8.5px;
  }

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

  .network-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .step {
    padding-right: 18px;
  }
}

@media (max-width: 560px) {
  .map-tabs {
    flex-direction: column;
  }

  .map-tab {
    width: 100%;
  }

  .network-aside {
    padding: 20px;
  }

  .process__grid {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .step {
    padding: 22px 0 22px 20px;
    border-top: 1px solid var(--line);
  }

  .step::before {
    top: 29px;
    left: 0;
  }

  .step h3 {
    margin-top: 8px;
  }

  .step__num svg {
    display: none;
  }
}
