* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html, body {
  width: 100%;
  overflow-x: hidden; 
}


img {
    display: block;
    max-width: 100%;
    height: auto
}

:root {
    --font-family: 'Unbounded', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    --container-max: 1920px;
    --pad: 28px;
    --gap: 18px;
    --radius: 14px;
    --text: #E6EEF8;
    --muted: #A6B0C2;
    --accent-1: #3B82F6;
    --accent-2: #6366F1;
    --gradient-accent: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    --card-bg: rgba(255, 255, 255, 0.02);
    --shadow: 0 12px 40px rgba(6, 11, 20, 0.6);
}

body {
  font-family: var(--font-family);
  background: linear-gradient(180deg, #060912 0%, #0b1222 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  font-size: 15px;
  padding-left: 15%;
  padding-right: 15%;
}

.container {
  margin: 0;
  padding: 0 28px;
  box-sizing: border-box;
  
}

a {
    color: inherit;
    text-decoration: none
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap
}

.site-header {
  position: fixed;
  height: auto;
  min-height: auto;
  width: 100%;
  overflow-x: clip; /* защита от лишней ширины */
  background: rgba(3,6,10,0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.container.site-header__inner {
  display: flex;
  align-items: left;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 20px); 
  /* Центровка и ограничение ширины */
  max-width: min(1600px, 100vw);
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  flex-wrap: nowrap;
}


@media (max-width: 720px) {
  .site-header__inner { gap: 8px; padding: 10px; }
  .container { padding: 0 12px; }
}

.site-header--hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 20px); /* адаптивный gap */
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 24px;
  box-sizing: border-box;
}

.site-header__brand,
.site-nav,
.site-header__meta {
  flex-shrink: 0;
  min-width: 0; /* предотвращает переполнение контентом */
}

.site-header__brand {
  display: flex;
  min-width: 0;
  align-items: center;
}

.brand--logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.6px;
  text-decoration: none;
}

.brand__img {
  width: 33px;
  height: 33px;
  object-fit: contain;
  display: block;
}

.brand__text {
  line-height: 1;
}

.site-nav__list {
    display: flex;
    gap: 12px;
    list-style: none
}

.site-nav__link {
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 400;
    transition: transform .24s, background .24s
}

.site-nav__link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-3px)
}

.site-nav__burger {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer
}

.burger__box {
    display: inline-block;
    width: 28px;
    height: 20px;
    position: relative
}

.burger__line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text);
    border-radius: 4px;
    transition: transform .3s, opacity .3s
}

.burger__line--1 {
    top: 0
}

.burger__line--2 {
    top: 9px
}

.burger__line--3 {
    top: 18px
}

.site-nav__burger[aria-expanded="true"] .burger__line--1 {
    transform: translateY(9px) rotate(45deg)
}

.site-nav__burger[aria-expanded="true"] .burger__line--2 {
    opacity: 0
}

.site-nav__burger[aria-expanded="true"] .burger__line--3 {
    transform: translateY(-9px) rotate(-45deg)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer
}

.btn--small {
    padding: 6px 10px;
    font-size: .85rem;
    border-radius: 8px
}

.btn--primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.12)
}

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text)
}

.btn--accent {
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.12), rgba(59, 130, 246, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.block {
    padding: 48px 0
}

.block__inner {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.block__title {
    font-size: 1.4rem;
    margin-bottom: 6px;
    font-weight: 800
}

.block__lead {
    color: var(--muted);
    margin-bottom: 18px
}

.bg-services {
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.6), rgba(7, 10, 18, 0.6))
}

.bg-matrix {
    background: linear-gradient(180deg, rgba(6, 9, 18, 0.45), rgba(8, 10, 20, 0.6))
}

.bg-tools {
    background: linear-gradient(135deg, rgba(8, 6, 22, 0.5), rgba(10, 16, 30, 0.6))
}

.bg-vps {
    background: linear-gradient(90deg, rgba(4, 8, 20, 0.5), rgba(7, 12, 28, 0.6))
}

.bg-servers {
    background: linear-gradient(180deg, rgba(5, 8, 15, 0.5), rgba(9, 12, 20, 0.6))
}

.bg-team {
    background: linear-gradient(90deg, rgba(7, 5, 16, 0.5), rgba(10, 8, 24, 0.6))
}

.bg-news {
    background: linear-gradient(180deg, rgba(6, 9, 14, 0.45), rgba(3, 5, 10, 0.6))
}

.block--slider {
    background: linear-gradient(180deg, rgba(3, 8, 18, 0.2), transparent)
}

.block__row--cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    background: var(--card-bg);
    padding: 16px;
    border-radius: 12px;
    transition: transform .26s, box-shadow .26s
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow)
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px
}

.card__title {
    margin: 10px 0;
    font-weight: 700
}

.card__text {
    color: var(--muted);
    margin-bottom: 12px
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 760px;
    gap: 28px;
    align-items: center;
    padding-top: 10px
}

.hero__title {
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: 10px;
    font-weight: 800
}

.hero__lead {
    color: var(--muted);
    margin-bottom: 18px
}

.slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

.slider__viewport {
    overflow: hidden
}

.slider__track {
    display: flex;
    transition: transform .6s cubic-bezier(.22, .9, .32, 1)
}

.slider__slide {
    min-width: 100%;
    position: relative
}

.slider__slide img {
    width: 100%;
    height: 420px;
    object-fit: cover
}

.slider__caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: var(--text);
    text-shadow: 0 6px 22px rgba(2, 6, 12, 0.6)
}

.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 0;
    background: rgba(5, 8, 15, 0.5);
    color: var(--text);
    cursor: pointer
}

.slider__arrow--prev {
    left: 12px
}

.slider__arrow--next {
    right: 12px
}

.slider__dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    display: flex;
    gap: 8px
}

.slider__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.18)
}

.slider__dots button.is-active {
    background: var(--accent-1)
}

.block__row--matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.tariff {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 18px;
    border-radius: 12px
}

.tariff--highlighted {
    border: 2px solid rgba(59, 130, 246, 0.14);
    transform: translateY(-4px)
}

.tools__controls {
    display: flex;
    gap: 10px;
    margin-bottom: 18px
}

.tools__tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700
}

.tools__tab.is-active {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12)
}

.tools__panel {
    display: none
}

.tools__panel--active {
    display: block
}

.tool-card img {
    height: 180px;
    object-fit: cover;
    border-radius: 10px
}

.tool-list__items {
    list-style: disc;
    margin-left: 18px;
    color: var(--muted)
}

.block__row--servers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.server-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .26s, box-shadow .26s
}

.server-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

.server-card img {
    width: 100%;
    height: 220px;
    object-fit: cover
}

.server-card__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.server-card__price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin-top: 6px
}

.server-card__details {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
    display: none
}

.server-card__details.is-open {
    display: block;
    animation: fadeIn .26s ease-out
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.team__list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.team__member {
    background: var(--card-bg);
    padding: 14px;
    border-radius: 12px;
    text-align: center
}

.team__member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 10px
}

.news__list {
    display: grid;
    gap: 12px
}

.block__item {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .48s, transform .48s
}

.block__item.is-visible {
    opacity: 1;
    transform: translateY(0)
}

.site-footer {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, #05070d, #0a1225);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-family: 'Unbounded', sans-serif;
  font-size: 0.95rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  align-items: start;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__title {
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__list a {
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
  transition: color 0.25s;
}

.site-footer__list a:hover {
  color: var(--accent, #4db8ff);
}

.site-footer__contact a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s;
}

.site-footer__contact a:hover {
  color: var(--accent, #4db8ff);
}

.social__links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social__links a img {
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.social__links a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.rating__list {
  margin: 6px 0;
  color: gold;
}

.rating__list a {
  color: var(--text);
  text-decoration: underline;
}

.site-footer__copy {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

@media (max-width: 768px) {
  .site-footer {
    text-align: center;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .social__links {
    justify-content: center;
  }
}


/* ===== NEWS BLOCK ===== */
.bg-news {
  background: linear-gradient(180deg, rgba(10,14,26,1) 0%, rgba(6,9,20,0.95) 100%);
  padding-bottom: 100px;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.news-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(59,130,246,0.35);
  background: rgba(255, 255, 255, 0.06);
}

.news-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  opacity: 0.75;
  color: var(--muted);
  margin-bottom: 10px;
}

.news-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-card__title a {
  color: var(--text);
  text-decoration: none;
}

.news-card__title a:hover {
  color: var(--accent);
}

.news-card__excerpt {
  flex-grow: 1;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.news-card__btn {
  align-self: flex-start;
  font-size: 0.9rem;
}

.news-card--highlight {
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(30,41,59,0.9));
  border: 1px solid rgba(59,130,246,0.4);
}

@media (max-width: 768px) {
  .news__grid {
    gap: 20px;
  }
  .news-card__body {
    padding: 18px;
  }
  .news-card__title {
    font-size: 1.1rem;
  }
}

/* ===== DOMAINS BLOCK ===== */
.bg-domains {
  background: linear-gradient(180deg, rgba(5,8,15,1) 0%, rgba(10,14,26,1) 100%);
  padding-bottom: 100px;
}

.domain__form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.domain__input-wrap {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.domain__input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.domain__btn {
  border-radius: 0;
  font-weight: 700;
  padding: 0 24px;
}

.domain__captcha {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.domain__captcha-input {
  width: 80px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  text-align: center;
}


.domain__results {
  margin-top: 30px;
  max-width: 700px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.domain__result-list {
  list-style: none;
  padding: 0;
  margin: 25px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.domain__result-item {
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 480px;
  transition: background .3s ease, transform .3s ease;
}

.domain__result-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.domain__zone {
  color: var(--accent);
  font-weight: 700;
  flex: 1;
  text-align: left;
}

.domain__status {
  flex: 0 0 auto;
  font-weight: 600;
  text-align: right;
}

.domain__price {
  flex: 0 0 auto;
  min-width: 70px;
  text-align: right;
  opacity: 0.8;
  font-size: 0.9rem;
}

.domain__status--free { color: #4ade80; }
.domain__status--taken { color: #f87171; }

/* .domain__results {
  margin-top: 30px;
  max-width: 700px;
  text-align: center;
}

.domain__hint {
  color: var(--muted);
  font-size: 0.95rem;
}

.domain__result-list {
  list-style: none;
  padding: 0;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.domain__result-item {
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .3s;
}

.domain__result-item:hover {
  background: rgba(255,255,255,0.1);
}

.domain__zone {
  color: var(--accent);
  font-weight: 700;
}
.domain__status--free { color: #4ade80; }
.domain__status--taken { color: #f87171; } */


/* ===== Locations block ===== */
.bg-locations {
  background: linear-gradient(180deg, rgba(7,10,18,0.6), rgba(5,8,15,0.8));
}

.block--locations .block__title {
  text-align: center;
}

.locations__toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 30px;
}

.locations__tab {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s;
}

.locations__tab.is-active {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(59,130,246,0.2);
}

.locations__content {
  position: relative;
}

.locations__panel {
  display: none;
  animation: fadeIn .4s ease;
}

.locations__panel.is-active {
  display: block;
}

.locations__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.locations__heading {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.locations__text {
  color: var(--muted);
  margin-bottom: 12px;
}

.locations__features {
  list-style: disc;
  margin-left: 20px;
  color: var(--text);
}

.locations__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* ===== Modern Matrix (cards style) ===== */
.bg-matrix {
  background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.1), rgba(10,14,24,0.9));
}

.matrix__panel { display: none; }
.matrix__panel.is-active { display: block; }


.matrix__filter {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 32px;
}

.matrix__filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.matrix__filter label {
  font-weight: 700;
  color: var(--text);
}

.matrix__filter input[type="range"] {
  width: 100%;
  cursor: pointer;
  accent-color: var(--accent-1);
}

.matrix__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.tariff-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 24px;
  transition: transform .3s, box-shadow .3s;
  text-align: center;
  position: relative;
}

.tariff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.tariff-card--highlight {
  border: 2px solid rgba(59,130,246,0.3);
  background: linear-gradient(180deg, rgba(59,130,246,0.08), rgba(255,255,255,0.02));
}

.tariff-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tariff-card__desc {
  color: var(--muted);
  margin-bottom: 14px;
}

.tariff-card__features {
  list-style: none;
  color: var(--text);
  margin-bottom: 14px;
}

.tariff-card__features li {
  padding: 4px 0;
}

.tariff-card__price {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.tariff-card.recommended {
  border: 2px solid var(--accent-1);
  box-shadow: 0 0 20px rgba(59,130,246,0.2);
}

.matrix__result {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

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

.matrix__tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.matrix__tab {
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: all .3s;
}
.matrix__tab.is-active {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(59,130,246,0.3);
}

/* Калькулятор */
.matrix__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}
.matrix__filter-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
}
.matrix__filter-group input[type="range"] {
  accent-color: var(--accent-1);
}

/* Детали тарифа */
.tariff-card__details {
  display: none;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 10px;
  color: var(--muted);
}
.tariff-card__details.is-open {
  display: block;
}

/* Рекомендованный тариф */
.tariff-card.recommended {
  outline: 2px solid var(--accent-1);
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}



/*===== Tariff details expand =====*/
.tariff-card__details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.tariff-card__details h4 {
  font-size: 1rem;
  margin: 12px 0 6px;
  color: var(--text);
}

.tariff-card__details ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--muted);
  text-align: left;
  margin-bottom: 10px;
}

.tariff-card__details.is-open {
  opacity: 1;
  max-height: 240px; 
  margin-top: 12px;
}

.tariff-card__btn {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
  transition: all 0.3s;
}

.tariff-card__btn:hover {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
}

/* ===== Team + Support ===== */
.bg-team {
  background: linear-gradient(180deg, rgba(6,9,18,0.9), rgba(15,20,36,1));
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.team__member {
  text-align: center;
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 20px;
  transition: all .3s;
}

.team__member:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(59,130,246,0.2);
}

.team__photo {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 10px;
}

.support__actions {
  text-align: center;
  margin: 40px 0 20px;
}

.support__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.team__socials {
  text-align: center;
  margin-top: 30px;
}

.social__links a img {
  width: 36px;
  height: 36px;
  margin: 0 6px;
  opacity: 0.8;
  transition: opacity .3s;
}

.social__links a:hover img {
  opacity: 1;
}

.team__ratings {
  margin-top: 16px;
  color: var(--muted);
}

.rating__list span {
  margin-left: 6px;
  margin-right: 12px;
}

/* ===== FAQ Slider (Tabs) ===== */
.bg-faq {
  background: linear-gradient(180deg, rgba(10,14,26,1), rgba(15,20,40,0.95));
}

.faq__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.faq__tab {
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  border: none;
  transition: all .3s;
}

.faq__tab.is-active {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(59,130,246,0.3);
}

.faq__panel {
  display: none;
  animation: fadeIn .4s ease;
}

.faq__panel.is-active {
  display: block;
}

.faq__item {
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  margin-bottom: 10px;
}

.faq__item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  position: relative;
}

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 16px;
  font-weight: 700;
  transition: transform .3s;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  padding: 0 20px 16px;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes fadeIn {
  from {opacity:0; transform: translateY(10px);}
  to {opacity:1; transform: translateY(0);}
}

/* ===== Servers block ===== */
.bg-servers {
  background: linear-gradient(180deg, rgba(10,14,26,1), rgba(5,8,15,0.9));
  padding-bottom: 80px;
}

.servers__panel {
  display: none;
}
.servers__panel.is-active {
  display: block;
}


.servers__tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.servers__tab {
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: all .3s ease;
}

.servers__tab.is-active {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(59,130,246,0.3);
}

.servers__panel {
  display: none;
  animation: fadeIn .5s ease;
}
.servers__panel.is-active {
  display: block;
}

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

.server__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr auto;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 14px 20px;
  transition: background .3s, transform .3s;
}

.server__row:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.server__name {
  font-weight: 700;
  color: var(--text);
}

.server__param {
  color: var(--muted);
}

.btn--order {
  font-weight: 800;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 10px;
  transition: all .3s ease;
}

.btn--order:hover {
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(59,130,246,0.4);
}

@media (max-width: 1100px) {
  .server__row {
    grid-template-columns: 1fr 1fr;
    text-align: center;
    row-gap: 8px;
  }
  .server__action {
    grid-column: 1 / -1;
  }
}


/* ===== Servers block =====
.bg-servers {
  background: linear-gradient(180deg, rgba(8,10,18,0.9), rgba(12,14,24,0.95));
  padding-bottom: 80px;
}

.servers__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.servers__freq {
  font-size: 2rem;
  font-weight: 900;
  color: #000;
  background: #FFD74A;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(255,215,74,0.4);
}

.servers__subtitle {
  font-weight: 800;
  margin-bottom: 12px;
}

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

.server__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 1fr auto;
  align-items: center;
  background: #fff;
  color: #0A0A0A;
  padding: 14px 20px;
  border-radius: 12px;
  transition: transform .3s, box-shadow .3s;
}

.server__row:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.server__name {
  font-weight: 800;
  font-size: 1.1rem;
}

.server__param strong {
  color: #000;
  font-weight: 700;
}

.server__param span {
  color: #666;
  font-size: 0.9rem;
  margin-left: 4px;
}

.btn--order {
  background: #FFD74A;
  color: #0A0A0A;
  font-weight: 800;
  border-radius: 8px;
  padding: 8px 18px;
  text-transform: uppercase;
  transition: all .3s;
  display: inline-block;
}

.btn--order:hover {
  background: #F0C800;
  box-shadow: 0 4px 10px rgba(255,215,74,0.5);
} */

/* ===== Guide block ===== */
.bg-guide {
  background: linear-gradient(180deg, rgba(15,20,40,0.95), rgba(6,9,18,0.9));
  padding-bottom: 80px;
}

.guide__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.guide__text {
  color: var(--text);
}

.guide__list {
  margin: 16px 0 24px;
  list-style: disc;
  padding-left: 20px;
  color: var(--muted);
}

.guide__list li {
  margin-bottom: 6px;
}

.guide__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: transform .4s ease;
}

.guide__image img:hover {
  transform: scale(1.03);
}

/* Mobile */
@media (max-width: 900px) {
  .guide__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .guide__image img {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* === Language Switcher === */
.lang-switch {
  margin-right: 6px;
  opacity: 0.6;
  transition: opacity .3s, transform .2s;
}

.lang-switch:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-switch.is-active {
  opacity: 1;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

/* === Модальное окно входа (в стиле DARKHOST) === */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-family: 'Unbounded', sans-serif;
}

.modal.is-active {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(6px);
}

.modal__content {
  position: relative;
  background: rgba(25, 25, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem 2.2rem;
  width: 90%;
  max-width: 420px;
  color: #fff;
  z-index: 1001;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: modalFade 0.3s ease;
}

.modal__content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(100, 100, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.modal__title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.modal__field {
  margin-bottom: 1rem;
}

.modal__field label {
  display: block;
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 0.3rem;
}

.modal__field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.8rem;
  color: #fff;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s, background 0.2s;
}

.modal__field input:focus {
  border-color: var(--accent, #5b8aff);
  background: rgba(255, 255, 255, 0.1);
}

.modal__submit {
  width: 100%;
  margin-top: 0.8rem;
  font-weight: 600;
  background: var(--accent, #5b8aff);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 1rem;
  transition: background 0.25s, transform 0.1s;
}

.modal__submit:hover {
  background: #729dff;
  transform: translateY(-1px);
}

.modal__close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-size: 1.4rem;
  color: #999;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.modal__close:hover {
  color: #fff;
}

.modal__links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.modal__link {
  color: var(--accent, #5b8aff);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.modal__link:hover {
  opacity: 1;
  color: #8ab1ff;
}

.modal__link--forgot {
  font-size: 0.85rem;
  color: #aaa;
}

.modal__link--forgot:hover {
  color: #fff;
}


@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* === Калькулятор тарифа === */
.calc__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calc__group {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  text-align: left;
  transition: all 0.3s ease;
}

.calc__group:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.calc__group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.calc__group input[type="number"],
.calc__group select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  outline: none;
  width: 100%;
  transition: all 0.2s ease;
}

.calc__group input:focus,
.calc__group select:focus {
  border-color: var(--accent, #00baff);
  box-shadow: 0 0 0 2px rgba(0,186,255,0.25);
}

.calc__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc__checkboxes label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.calc__actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.calc__btn {
  background: var(--accent, #00baff);
  color: #fff;
  font-weight: 600;
  font-family: 'Unbounded', sans-serif;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.calc__btn:hover {
  background: var(--accent-hover, #0091cc);
  transform: translateY(-2px);
}

.calc__result {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.calc__result.show {
  opacity: 1;
  transform: translateY(0);
}
.calc__result strong {
  color: var(--accent, #00baff);
  font-size: 1.4rem;
}

/* 📱 Адаптив */
@media (max-width: 900px) {
  .calc__grid {
    flex-direction: column;
    align-items: stretch;
  }
  .calc__btn {
    width: 100%;
  }
}

/* Скрываем стандартный select */
.calc__select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}



/* Контейнер кастомного select */
.custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
  background: #111827;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s;
}



.custom-select:focus {
  outline: none;
  border-color: #60a5fa;
}

.custom-select__value {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Выпадающее меню */
.custom-select__list {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #1e293b;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  display: none;
  z-index: 10;
}

.custom-select.open .custom-select__list {
  display: block;
  animation: fadeIn 0.15s ease;
}

.custom-select__list li {
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-select__list li:hover {
  background: #2563eb;
}

/* Анимация */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}




/* ===== Article Page ===== */
.article {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, rgba(10,14,26,1), rgba(5,8,15,0.9));
  color: var(--text);
}

.guide-article {
  max-width: 900px;
  margin: 0 auto;
}

.guide-article h1 {
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 10px;
}

.guide-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.guide-cover {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.guide-article h2 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.guide-article p, .guide-article ul, blockquote {
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}

.guide-article ul {
  list-style: disc;
  padding-left: 20px;
}

blockquote {
  border-left: 4px solid var(--accent-1);
  padding-left: 16px;
  color: var(--text);
  font-style: italic;
  margin: 20px 0;
}

.guide-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
}




/* Responsive */
@media (max-width: 1100px) {
  .server__row {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 8px;
  }
  .server__param, .server__action {
    text-align: center;
  }
  .servers__freq {
    margin-top: 12px;
  }
}

.meta__controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

/* Зазоры между всеми элементами, кроме языковых переключателей */
.meta__controls > *:not(.lang-switch):not(:has(+ .lang-switch)) {
  margin-left: 0.75rem;
}

/* RU/EN — идут вплотную */
.meta__controls .lang-switch + .lang-switch {
  margin-left: 0; /* без зазора */
}

/* Кнопки */
.meta__controls .btn {
  min-width: 70px;
  font-size: 0.9rem;
  border-radius: 12px;
  transition: all 0.2s ease;
}

/* Эффект наведения */
.meta__controls .btn:hover {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}

/* Ссылка "Корзина" */
.meta__controls a.meta__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #e5e7eb;
  transition: color 0.2s ease;
}

.meta__controls a.meta__cart:hover {
  color: #60a5fa;
}

/* Адаптив */
@media (max-width: 768px) {
  .meta__controls {
    justify-content: center;
    gap: 0.5rem;
  }
  .meta__controls .btn,
  .meta__controls a.meta__cart {
    font-size: 0.85rem;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .locations__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .locations__image img {
    max-width: 360px;
    margin: 0 auto;
  }
}


@media(max-width:1200px) {
    .hero__inner {
        grid-template-columns: 1fr
    }

    .block__row--cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .block__row--matrix {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:900px) {
    .site-nav__list {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 64px;
        background: linear-gradient(180deg, rgba(2, 4, 8, 0.95), rgba(3, 6, 10, 0.98));
        padding: 24px;
        flex-direction: column;
        gap: 12px;
        z-index: 70;
        border-top: 1px solid rgba(255, 255, 255, 0.03)
    }

    .site-nav__burger {
        display: block
    }

    .block__row--cards {
        grid-template-columns: 1fr
    }

    .team__list {
        flex-direction: column
    }
}

@media(max-width:600px) {
    :root {
        --pad: 18px
    }

    .slider__slide img {
        height: 260px
    }

    .site-footer__inner {
        flex-direction: column;
        gap: 18px
    }
}