/* Network & Service page — dark theme */
.page-network {
  background: #0a0c0f;
  color: #e8eaed;
}

.page-network .site-main-content {
  background: #0a0c0f;
}

.net-section {
  padding: 3.5rem 0;
}

.net-section--muted {
  background: #101318;
}

.net-section--hidden {
  display: none;
}

#network-check {
  padding-bottom: 1rem;
}

#network-check + .net-section--hidden + .net-section,
#network-check + .net-section:not(.net-section--hidden) {
  padding-top: 1rem;
}

.net-container {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.net-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffcc00;
  border: 1px solid rgba(255, 204, 0, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}

.net-title {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.net-title .accent {
  color: #ffcc00;
}

.net-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.net-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.net-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.25rem;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.net-btn-primary {
  background: #ffcc00;
  color: #1a1d22 !important;
  border: 1px solid #ffcc00;
}

.net-btn-primary:hover {
  background: #ffe066;
  border-color: #ffe066;
  color: #1a1d22 !important;
}

.net-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.net-btn-outline:hover {
  border-color: #ffcc00;
  color: #ffcc00 !important;
}

.net-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

@media (min-width: 576px) {
  .net-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.net-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.net-stat i {
  color: #ffcc00;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.net-stat strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.2;
}

.net-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

/* Hero map */
.net-hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #0d1015 0%, #0a0c0f 100%);
}

.net-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .net-hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
  }
}

.net-map-card {
  position: relative;
  background: #12161d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.net-map-legend {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: rgba(10, 12, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

.net-map-legend span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.net-map-legend span:last-child {
  margin-bottom: 0;
}

.net-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.net-dot--green { background: #22c55e; }
.net-dot--blue { background: #3b82f6; }
.net-dot--orange { background: #f59e0b; }

.net-map-wrap {
  position: relative;
  aspect-ratio: 612 / 696;
  max-height: 420px;
  margin: 0 auto;
}

.net-map-wrap img,
.net-map-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.35;
  filter: brightness(0.85);
}

.net-map-markers {
  position: absolute;
  inset: 0;
}

.net-map-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.net-map-pin--recent { background: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.net-map-pin--upcoming { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
.net-map-pin--active { background: #22c55e; width: 12px; height: 12px; z-index: 2; }

.net-map-tooltip {
  position: absolute;
  left: 58%;
  top: 62%;
  z-index: 4;
  width: min(240px, 72%);
  background: #fff;
  color: #1e293b;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
}

.net-map-tooltip h3 {
  color: #16a34a;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.net-map-tooltip ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.net-map-tooltip li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  color: #475569;
  font-size: 0.78rem;
}

.net-map-tooltip li i {
  color: #22c55e;
  margin-top: 0.15rem;
}

.net-map-tooltip-pin {
  position: absolute;
  right: -6px;
  bottom: -8px;
  color: #ffcc00;
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Section heads */
.net-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.net-section-head h2 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.net-link {
  color: #ffcc00;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
}

.net-link:hover {
  color: #ffe066;
}

/* Recent cards */
.net-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .net-recent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .net-recent-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.net-recent-card {
  background: #151920;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
}

.net-recent-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.net-recent-card-body {
  padding: 0.85rem 0.9rem 0.95rem;
}

.net-recent-card h3 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.net-recent-location {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.net-recent-model {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.net-recent-empty {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  margin: 0;
  text-align: center;
  padding: 1.5rem 0;
}

.net-recent-when {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

/* Two column */
.net-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .net-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.net-panel {
  background: #151920;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  height: 100%;
}

.net-panel h2 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.net-coverage-map-wrap {
  margin-bottom: 0;
}

.net-coverage-map {
  width: 100%;
  height: clamp(520px, 72vh, 780px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #f5f7fa;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.net-coverage-map .leaflet-container {
  height: 100% !important;
  background: #f5f7fa !important;
  font-family: inherit;
}

.net-coverage-map .leaflet-interactive {
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.2));
}

.net-coverage-map .leaflet-popup-content {
  font-size: 0.875rem;
  color: #111827;
}

.net-coverage-map .leaflet-popup-content-wrapper {
  border-radius: 10px;
}

.net-map-city-tooltip.leaflet-tooltip {
  background: #111827;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.net-coverage-map .leaflet-control-zoom-out.leaflet-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.net-coverage-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.net-coverage-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.net-coverage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.net-coverage-dot--available { background: #22c55e; }
.net-coverage-dot--limited { background: #f59e0b; }

.net-live-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.net-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: net-pulse 2s infinite;
}

@keyframes net-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.net-live-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.net-live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.net-live-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.85rem;
  padding-top: 0.5rem;
}

.net-live-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(255, 204, 0, 0.45);
  border-radius: 10px;
  background: rgba(255, 204, 0, 0.04);
  font-size: 0.88rem;
}

.net-live-item--empty {
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}

.net-live-item-img-btn {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.net-live-item-img-btn:hover .net-live-item-img {
  opacity: 0.88;
}

.net-live-item-img-btn:focus {
  outline: 2px solid rgba(255, 204, 0, 0.6);
  outline-offset: 2px;
}

.net-live-item-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.net-live-item-main {
  flex: 1;
  min-width: 0;
}

.net-live-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.net-live-item-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.net-live-item-row > i {
  color: #ffcc00;
  font-size: 0.75rem;
  width: 0.75rem;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

.net-live-item-city,
.net-live-item-place {
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.net-live-item-variant {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  line-height: 1.3;
}

.net-live-time {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  white-space: nowrap;
}

.net-live-image-modal .modal-content {
  position: relative;
  background: #151920;
  border: 1px solid rgba(255, 204, 0, 0.45);
  border-radius: 12px;
  overflow: hidden;
}

.net-live-image-modal .modal-body {
  padding: 0;
}

.net-live-image-modal .modal-body img {
  width: 100%;
  height: auto;
  display: block;
}

.net-live-modal-close {
  position: absolute;
  top: 0.45rem;
  right: 0.65rem;
  z-index: 2;
  color: #fff;
  opacity: 0.85;
  text-shadow: none;
  font-size: 1.75rem;
  padding: 0;
  margin: 0;
}

.net-live-modal-close:hover {
  color: #ffcc00;
  opacity: 1;
}

/* Why choose */
.net-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .net-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .net-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.net-why-card {
  text-align: center;
  padding: 1.25rem 0.75rem;
}

.net-why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid rgba(255, 204, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffcc00;
  font-size: 1.25rem;
}

.net-why-card h3 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.net-why-title {
  text-align: center;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.net-why-asterisk {
  color: #ffcc00;
  font-size: 0.75em;
  font-weight: 700;
  margin-left: 0.1em;
}

.net-why-footnote {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  margin: 1.25rem 0 0;
  line-height: 1.4;
}

/* Availability checker */
.net-check-panel {
  background: #12161d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.net-check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .net-check-grid {
    grid-template-columns: 1fr 1.2fr 0.9fr;
    gap: 2rem;
    align-items: center;
  }
}

.net-check-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
}

.net-check-input-wrap {
  position: relative;
  flex: 1 1 180px;
  min-width: 0;
}

.net-check-input {
  width: 100%;
  background: #0a0c0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
}

.net-check-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
  background: #151920;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.net-check-suggest-item {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.net-check-suggest-item:hover,
.net-check-suggest-item:focus {
  background: rgba(255, 204, 0, 0.12);
  color: #fff;
  outline: none;
}

.net-check-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.net-check-input:focus {
  outline: none;
  border-color: rgba(255, 204, 0, 0.5);
}

.net-check-result {
  background: #151920;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.net-check-result-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.net-check-result h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.net-check-result-city {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  margin: 0 0 0.65rem;
}

.net-check-result--available h3 {
  color: #22c55e;
}

.net-check-result--limited h3 {
  color: #f59e0b;
}

.net-check-result--delivery h3 {
  color: rgba(255, 255, 255, 0.82);
}

.net-check-result li i {
  margin-right: 0.35rem;
}

.net-check-result--available li i {
  color: #22c55e;
}

.net-check-result--limited li i {
  color: #f59e0b;
}

.net-check-result--delivery li i {
  color: rgba(255, 255, 255, 0.45);
}

.net-check-result ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.net-check-result li {
  margin-bottom: 0.35rem;
}

.net-check-intro h2 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.net-check-intro p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin: 0;
}

.net-check-result.is-hidden {
  display: none;
}
