/* Homepage carousel and sections. Dark SNET. Staging only. */
#hero.snet-home,
#hero.snet-home.snet-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100% !important;
  padding-bottom: 18px !important;
}
.snet-home-intro,
.snet-home-tools,
.snet-home-block .container {
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.snet-is-home .snet-gagbar {
  justify-content: center;
}
body.snet-is-home #hero.snet-home,
body.snet-is-home.snet-has-greeting #hero.snet-home,
body.snet-is-home.snet-has-news-push #hero.snet-home {
  padding-top: calc(var(--snet-header-h, 108px) + 2px) !important;
}
.snet-banner-outer {
  align-self: center;
}
#hero.snet-home h1 {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem) !important;
  line-height: 1.12 !important;
  margin: 0 0 4px !important;
}
#hero.snet-home .snet-hero-lead {
  font-size: 1rem !important;
  max-width: 40rem;
  margin: 0 auto 0 !important;
}
.snet-home-intro {
  margin: 0 auto 4px;
}
.snet-home .snet-hero-actions,
.snet-home .snet-hero-cta,
.snet-home .snet-address__row {
  justify-content: center;
}
.snet-home .snet-address {
  margin-left: auto;
  margin-right: auto;
}
.snet-home .snet-address__kicker,
.snet-home .snet-address__hint,
.snet-home .snet-address__label {
  text-align: center;
}
.snet-home-intro {
  margin: 0 auto 4px;
}
.snet-banner-outer {
  width: 100%;
  margin: 0 auto 8px;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}
.snet-banner {
  width: min(1480px, 100%, calc((100vh - 250px) * var(--snet-banner-w, 3840) / var(--snet-banner-h, 2143)));
}
.snet-banner__viewport {
  position: relative;
  width: 100%;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: var(--snet-banner-w, 3840) / var(--snet-banner-h, 2143);
  max-height: none;
  border: 1px solid rgba(0, 180, 255, 0.28);
}
.snet-banner__slide {
  position: absolute;
  inset: 0;
  display: block;
  background: transparent;
}
.snet-banner__slide[hidden] {
  display: none !important;
}
.snet-banner__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
.snet-banner__spot {
  position: absolute;
  z-index: 3;
  display: block;
  background: transparent;
  text-decoration: none;
}
.snet-banner__spot--mobile { display: none; }
@media (max-width: 767.98px) {
  .snet-banner.has-mobile .snet-banner__spot--desktop { display: none; }
  .snet-banner.has-mobile .snet-banner__spot--mobile { display: block; }
}
.snet-banner__slide picture,
.snet-banner__hit {
  display: block;
  width: 100%;
  height: 100%;
}
.snet-banner__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.snet-banner__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.7);
  background: rgba(6, 20, 40, 0.82);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0, 180, 255, 0.35);
}
.snet-banner__nav--prev { left: 8px; }
.snet-banner__nav--next { right: 8px; }
.snet-banner__nav:focus-visible {
  outline: 2px solid #00b4ff;
  outline-offset: 2px;
}
.snet-banner__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.snet-banner__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.snet-banner__dot[aria-current="true"] {
  background: #00b4ff;
}
@media (max-width: 991.98px) {
  body.snet-is-home .snet-cfab {
    --snet-cfab-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  body.snet-is-home.snet-dock-visible .snet-cfab {
    --snet-cfab-bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 767.98px) {
  .snet-banner-outer {
    width: 100%;
    padding: 0 10px;
  }
  .snet-banner.has-mobile {
    width: min(340px, 100%, calc((100vh - var(--snet-header-h, 108px) - 128px) * var(--snet-banner-mw, 720) / var(--snet-banner-mh, 1280)));
  }
  .snet-banner.has-mobile .snet-banner__viewport {
    aspect-ratio: var(--snet-banner-mw, 720) / var(--snet-banner-mh, 1280);
    max-height: none;
  }
  .snet-banner.has-mobile .snet-banner__cta {
    left: 14.7%;
    top: 73.67%;
    width: 70.83%;
    height: 11.25%;
    border-radius: 14px;
    font-size: clamp(15px, 4.4vw, 22px);
  }
  .snet-banner.has-mobile .snet-banner__nav {
    display: none;
  }
}
.snet-home-tools {
  margin-top: 8px;
}
.snet-home-block {
  padding: 8px 0 18px;
}
.snet-home-block .section-title,
.snet-home-block .section-title h2,
.snet-home-block .section-title p {
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}
.snet-home-block .section-title h2 {
  font-size: 1.45rem;
}
.snet-tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
#main .snet-home-block .snet-jobs-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
#main .snet-home-block .snet-jobs-grid > .snet-fly,
#main .snet-home-block .snet-jobs-grid > a.snet-job {
  flex: 1 1 200px;
  max-width: 260px;
}
.snet-tariff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 148px;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background: rgba(6, 20, 40, 0.78);
  border: 1px solid rgba(0, 180, 255, 0.28);
}
.snet-tariff-card:hover {
  color: #fff;
  border-color: #00b4ff;
}
.snet-tariff-card__cat {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}
.snet-tariff-card__speed {
  color: #9ad8ff;
}
.snet-tariff-card__price {
  margin-top: auto;
  font-size: 1.35rem;
  font-weight: 700;
}
.snet-home-more {
  display: inline-block;
  margin-top: 12px;
}
.snet-home-news {
  display: grid;
  gap: 10px;
}
.snet-home-news {
  width: min(760px, 100%);
}
.snet-home-news a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background: rgba(6, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.snet-home-news time {
  display: block;
  color: #9ad8ff;
  font-size: 0.85rem;
  margin-bottom: 4px;
}
@media (max-width: 1100px) {
  .snet-tariff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .snet-tariff-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .snet-banner__slide { transition: none; }
}

.snet-banner__cta {
  position: absolute;
  z-index: 5;
  left: 52.5%;
  top: 55.06%;
  width: 32.03%;
  height: 15.59%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffc85a 0%, #ff8c1a 46%, #f25500 100%);
  color: #fff;
  font-family: "Unbounded", "Onest", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 1.65vw, 32px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(80, 20, 0, 0.25);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.snet-banner__cta:hover,
.snet-banner__cta:focus-visible {
  filter: brightness(1.06);
  color: #fff;
}
.snet-banner__nav {
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Promo caption overlay (banner #1) — prod, 2026-10-14 */
.snet-banner__caption {
  position: absolute;
  z-index: 5;
  left: 15.4%;
  top: 73.2%;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 1.05em;
  border-radius: 999px;
  border: 2px solid rgba(70, 226, 255, 0.9);
  background: rgba(5, 16, 38, 0.74);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.45), inset 0 0 12px rgba(0, 210, 255, 0.16);
  color: #fff;
  font-family: "Onest", "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.25vw, 23px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.snet-banner__caption-ico { font-size: 1.05em; line-height: 1; }
.snet-banner__caption-sep { color: #46e2ff; font-weight: 800; }
.snet-banner__caption b {
  font-family: "Unbounded", "Onest", system-ui, sans-serif;
  font-weight: 800;
  color: #ff8a1f;
  text-shadow: 0 0 10px rgba(255, 120, 20, 0.35);
}
@media (max-width: 767.98px) {
  .snet-banner.has-mobile .snet-banner__caption {
    left: 50%;
    top: 87.4%;
    transform: translateX(-50%);
    max-width: 90%;
    padding: 0.42em 0.8em;
    gap: 0.35em;
    border-width: 1.5px;
    font-size: clamp(9px, 2.85vw, 12.5px);
    white-space: nowrap;
  }
}
