:root {
  --lux-red: #f3132f;
  --lux-red-dark: #d90c25;
  --lux-ink: #202328;
  --lux-copy: #343a40;
  --lux-muted: #69727e;
  --lux-page: #f3f5f7;
  --lux-line: #e4e8ed;
  --lux-shadow: 0 12px 32px rgba(26, 33, 43, .09);
  --bs-danger: var(--lux-red);
  --bs-danger-rgb: 243, 19, 47;
  --bs-link-color: var(--lux-red);
  --bs-link-hover-color: var(--lux-red-dark);
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  min-height: 100vh;
  background: var(--lux-page);
  color: var(--lux-copy);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { padding-right: 0 !important; }

.navbar.fixed-top {
  min-height: 76px;
  background: var(--lux-ink) !important;
  box-shadow: 0 6px 22px rgba(20, 22, 25, .2);
}
.navbar .container-xxl {
  width: min(100% - 32px, 1180px);
  max-width: 1180px;
}
.navbar .navbar-nav { column-gap: .3rem; }
.navbar-brand { padding-top: .35rem; padding-bottom: .35rem; }
.navbar-brand img { width: auto; max-width: 190px; object-fit: contain; }
.navbar .nav-link {
  color: rgba(255,255,255,.76);
  font-weight: 600;
  padding: .7rem .55rem !important;
  white-space: nowrap;
  transition: color .18s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: #fff; }
.navbar .dropdown-menu {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .45rem;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.navbar .dropdown-item { border-radius: 7px; padding: .55rem .75rem; }
.navbar .navbar-toggler { border-color: rgba(255,255,255,.25); }

body > nav + .container {
  width: min(100% - 32px, 1180px);
  max-width: 1180px;
  padding-top: 96px;
  padding-bottom: 48px;
}
body > nav + .container > br { display: none; }
.navbar .container { width: auto; max-width: none; }

.alert {
  border: 1px solid var(--lux-line);
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(26,33,43,.06);
}
.alert-danger {
  color: #5d1e29;
  background: #fff0f2;
  border-color: rgba(243, 19, 47, .22);
}
.alert-success {
  color: #1d5a41;
  background: #eaf8f1;
  border-color: rgba(35, 163, 110, .25);
}
.alert-transparent {
  background: #fff;
  border-color: var(--lux-line);
}
.card-group + .alert-transparent {
  margin-top: .4rem;
  margin-bottom: .8rem;
}
.connection-conditions-title {
  margin-top: 2rem !important;
}
.btn-close { opacity: .62; }

.shadow-lg { box-shadow: var(--lux-shadow) !important; }
.bg-body.rounded.shadow-lg,
.shadow-lg.p-3.bg-body {
  border: 1px solid var(--lux-line);
  border-radius: 14px !important;
}
.fs-2 { line-height: 1.25; }
.text-danger { color: var(--lux-red) !important; }

.card-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 18px;
}
.card-group > .card,
.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lux-line) !important;
  border-radius: 15px !important;
  background: #fff;
  box-shadow: 0 7px 20px rgba(26,33,43,.055);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-group > .card:not(:first-child) { border-left: 1px solid var(--lux-line); }
.card-group > .card:not(:last-child) { border-right: 1px solid var(--lux-line); }
.card:hover {
  box-shadow: 0 13px 28px rgba(26,33,43,.1);
}
.card-body { padding: clamp(18px, 2.3vw, 28px); }
.card-title { line-height: 1.3; }
.card-text { color: var(--lux-copy); }
.promo-art {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border-radius: 12px;
  background: #f3f5f7;
}
.tariff-art {
  display: block;
  width: min(100%, 168px);
  height: 88px;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.omega-tv-logo { margin-bottom: 1rem; }
.omega-tv-tariffs-primary { margin-bottom: .75rem; }
.payment-methods { align-items: stretch; }
.payment-method-card { display: flex; flex-direction: column; justify-content: space-between; }
.payment-method-card .card-body {
  display: grid;
  min-height: 170px;
  place-items: center;
}
.payment-method-card .card-body > a,
.payment-method-card .card-body > button { display: grid; width: 100%; place-items: center; }
.payment-method-logo {
  display: block;
  width: min(100%, 240px);
  height: 126px;
  object-fit: contain;
  margin: auto;
}
.action-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 380px));
  justify-content: center;
  align-items: stretch;
}
.action-card { min-height: 320px; }
.action-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.action-art-link { display: grid; min-height: 150px; place-items: center; }
.action-art { display: block; width: 150px; height: 150px; object-fit: contain; }
.action-card-title {
  margin: .35rem 0 .55rem;
  color: var(--lux-red);
  font-size: 1.2rem;
  font-weight: 750;
}
.action-card .card-text { margin-bottom: 1rem; }
.action-card .btn { margin-top: auto; }
.contact-phone-list { display: grid; gap: .55rem; width: 100%; }
.contact-phone-list a {
  display: block;
  padding: .55rem .75rem;
  border: 1px solid var(--lux-line);
  border-radius: 9px;
  color: var(--lux-ink);
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
}
.contact-phone-list a:hover { border-color: var(--lux-red); color: var(--lux-red); }
.contact-hours { margin: 1rem 0 0; }
.connection-intro {
  margin: 0 auto 1.25rem;
  color: var(--lux-muted);
  font-size: 1.05rem;
  text-align: center;
}
.connection-page .action-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.connection-page .action-card {
  min-height: 375px;
  border-top: 4px solid var(--lux-red) !important;
}
.connection-page .action-card .card-body { padding: 26px; }
.connection-page .action-art-link {
  width: 100%;
  margin-bottom: .8rem;
  border-radius: 12px;
  background: var(--lux-page);
}
.connection-step {
  color: var(--lux-muted);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.connection-page .action-card .btn { width: 100%; }
.card-text h6,
.card-body h6 { color: #25845f; }

.btn {
  border-radius: 8px;
  font-weight: 700;
  padding: .65rem 1rem;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-danger,
.btn-primary {
  color: #fff;
  background-color: var(--lux-red);
  border-color: var(--lux-red);
}
.btn-danger:hover,
.btn-primary:hover {
  color: #fff;
  background-color: var(--lux-red-dark);
  border-color: var(--lux-red-dark);
  box-shadow: 0 6px 16px rgba(243,19,47,.2);
}
.btn-light { border: 1px solid var(--lux-line); }

.carousel { overflow: hidden; background: #171a1e; }
.carousel img { display: block; width: 100%; height: auto; }
.carousel-control-prev,
.carousel-control-next { width: 8%; opacity: .8; }
.carousel-control-prev:hover,
.carousel-control-next:hover { opacity: 1; }

body.home-page > nav + .container.home-shell {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  padding: 76px 0 0;
}
body.home-page .home-notice {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border-left: 0 !important;
  border-right: 0 !important;
}
body.home-page .home-banner-stage {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #171a1e;
}
body.home-page .carousel img {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 122px);
  object-fit: contain;
}
body.home-page:has(.home-notice) .carousel img {
  max-height: calc(100dvh - 180px);
}
@media (max-width: 991.98px) {
  body.home-page > nav + .container.home-shell {
    padding-top: 68px;
  }
  body.home-page .carousel img {
    max-height: calc(100dvh - 114px);
  }
  body.home-page:has(.home-notice) .carousel img {
    max-height: calc(100dvh - 170px);
  }
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--lux-line) !important;
  border-radius: 11px !important;
  margin-bottom: 10px;
}
.accordion-button { font-weight: 700; }
.accordion-button:not(.collapsed) { color: var(--lux-red); background: #fff5f6; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(243,19,47,.12); }
.accordion-body { background: #fff; }
.dual-isp-guide > p { margin-bottom: 1rem; }
.dual-isp-step-title {
  margin: 1.6rem 0 .65rem;
  color: var(--lux-red);
  font-size: 1.12rem;
  font-weight: 750;
}
.router-guide-figure {
  margin: 1rem auto 1.5rem;
  text-align: center;
}
.router-guide-figure img {
  max-width: 100%;
  max-height: 540px;
  border: 1px solid var(--lux-line);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(26,33,43,.07);
}
.router-guide-figure figcaption {
  margin-top: .45rem;
  color: var(--lux-muted);
  font-size: .9rem;
}
.dual-isp-scripts,
.dual-isp-optional {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border: 1px solid var(--lux-line);
  border-radius: 10px;
  background: #f8f9fb;
}
.dual-isp-scripts summary,
.dual-isp-optional summary { color: var(--lux-ink); font-weight: 750; cursor: pointer; }
.router-app-guide ol { padding-left: 1.35rem; }
.router-app-guide li { margin-bottom: .75rem; padding-left: .2rem; }
.router-app-guide li::marker { color: var(--lux-red); font-weight: 800; }
.app-guide-note {
  padding: .85rem 1rem;
  border: 1px solid rgba(35, 163, 110, .25);
  border-radius: 8px;
  background: #eaf8f1;
}
.router-guide-reference { color: var(--lux-muted); font-size: .92rem; }
.dual-isp-scripts pre {
  overflow-x: auto;
  margin: .5rem 0 1rem;
  padding: .9rem;
  border-radius: 8px;
  background: #202328;
  color: #eaf8f1;
  font-size: .88rem;
  line-height: 1.55;
  white-space: pre;
}

.service-section { margin-bottom: 14px !important; }
.service-section-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}
.service-art {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: contain;
}
.service-section-content { min-width: 0; }
.service-section-title {
  margin: 0 0 .35rem;
  color: var(--lux-red);
  font-size: 1.25rem;
  font-weight: 750;
}
.service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .35rem 1.25rem;
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
}
.service-list li { position: relative; margin: 0; padding-left: 1.2rem; }
.service-list li::before {
  position: absolute;
  left: .2rem;
  color: var(--lux-red);
  content: "•";
  font-weight: 800;
}

img.img-fluid { max-width: 100%; height: auto; }
.footer {
  margin-top: auto;
  padding: 12px 16px !important;
  background: var(--lux-ink) !important;
  color: rgba(255,255,255,.85) !important;
  font-size: 14px;
  line-height: 1.4;
}
.footer .p-1 { padding: 0 !important; }
a { text-underline-offset: 3px; }
a:not(.btn):hover { text-decoration-thickness: 2px; }

@media (min-width: 992px) and (max-width: 1149.98px) {
  .navbar-brand { margin-right: .6rem; }
  .navbar-brand img { max-height: 42px; }
  .navbar .navbar-nav { column-gap: 0; }
  .navbar .nav-link {
    font-size: .9rem;
    padding: .65rem .38rem !important;
  }
}
@media (max-width: 991.98px) {
  .navbar.fixed-top { min-height: 68px; }
  .navbar .container {
    flex: 0 0 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .navbar .navbar-collapse {
    margin-top: 8px;
    padding: 8px 4px 12px;
    border-top: 1px solid rgba(255,255,255,.12);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .navbar .nav-link { padding: .55rem .7rem !important; }
  body > nav + .container { padding-top: 88px; }
  .connection-page .action-cards { grid-template-columns: repeat(2, minmax(0, 360px)); }
}
@media (max-width: 575.98px) {
  body { font-size: 15px; }
  .navbar .container-xxl {
    width: min(100% - 24px, 1180px);
  }
  body > nav + .container {
    width: min(100% - 24px, 1180px);
    padding-top: 82px;
    padding-bottom: 30px;
  }
  .navbar-brand img { max-width: 160px; max-height: 46px; }
  .card-group { grid-template-columns: 1fr; gap: 12px; }
  .connection-page .action-cards { grid-template-columns: minmax(0, 420px); }
  .card-body { padding: 18px; }
  .fs-2 { font-size: 1.45rem !important; }
  .carousel-control-prev, .carousel-control-next { width: 12%; }
  .service-list { grid-template-columns: 1fr; gap: .25rem; }
  .service-section-body { grid-template-columns: 94px minmax(0, 1fr); gap: 14px; }
  .service-art { max-height: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
