/* ==========================================================================
   TELEPORT.AZ — Точная копия оригинального дизайна (100% контролируемый CSS)
   Все пути к иконкам ведут в локальную папку ../images/icons/
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Reset & Переменные цветов Teleport.az
   -------------------------------------------------------------------------- */
:root {
  --tp-bg-light: #2c89a2;
  --tp-bg-dark: #175464;
  --tp-header-bg: #1b5e70;
  --tp-card-bg: #1e6273;
  --tp-green: #a6bf42;
  --tp-green-hover: #c0da5a;
  --tp-white: #ffffff;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  min-height: 100%;
  height: 100%;
}

body {
  font-size: 12px;
  font-family: 'Nunito', 'Quicksand', Helvetica, Arial, sans-serif;
  text-align: left;
  color: #000;
  background-color: var(--tp-bg-dark);
  background-image: -webkit-radial-gradient(center, ellipse cover, var(--tp-bg-light) 0%, var(--tp-bg-dark) 100%);
  background-image: radial-gradient(ellipse at center, var(--tp-bg-light) 0%, var(--tp-bg-dark) 100%);
  min-height: 100%;
  height: 100%;
  overflow-x: hidden;
}

input, button {
  outline: none;
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   2. Главная обёртка (.main_wrapper) и Шапка (header#header)
   -------------------------------------------------------------------------- */
.main_wrapper {
  min-height: 100%;
  padding: 0 0 120px;
  position: relative;
  background-image: -webkit-radial-gradient(center, ellipse cover, var(--tp-bg-light) 0%, var(--tp-bg-dark) 100%);
  background-image: radial-gradient(ellipse at center, var(--tp-bg-light) 0%, var(--tp-bg-dark) 100%);
}

.main_wrapper::before {
  content: "";
  display: block;
  width: 100%;
  height: 100px;
  background: var(--tp-header-bg);
  position: absolute;
  top: -100px;
  left: 0;
}

header#header {
  width: 100%;
  height: 102px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

header#header::before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  background: var(--tp-header-bg);
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.2s linear;
}

header#header.show_bg::before {
  height: 100%;
}

header#header > div {
  max-width: 1440px;
  height: 102px;
  margin: 0 auto;
  padding: 40px 40px 0;
  position: relative;
}

/* Логотип Teleport */
.logo {
  float: left;
}

.logo a {
  display: block;
  width: 167px;
  height: 62px;
  background: url(../images/icons/logo.svg) no-repeat 0 0;
  background-size: contain;
}

/* Переключатель языка (RU / AZ / EN) */
.lang {
  float: left;
  height: 26px;
  margin: 18px 0 0 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  transition: all 0.2s linear;
}

.lang > a {
  display: none;
  height: 26px;
  line-height: 26px;
  padding: 0 25px 0 12px;
  opacity: 0.85;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: url(../images/icons/lang_icon.svg) no-repeat calc(100% - 10px) 50%;
}

.lang > div {
  position: static;
  font-size: 0;
}

.lang > div a {
  display: inline-block;
  height: 26px;
  line-height: 26px;
  padding: 0 12px 0 12px;
  opacity: 0.6;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.lang > div a:first-child {
  box-shadow: 1px 0px 0px 0px rgba(255, 255, 255, 0.6);
}

.lang > div a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Кнопка "Онлайн оплата" в шапке */
.header_link {
  float: right;
  padding: 7px 93px 0 0;
}

.header_link a {
  display: inline-block;
  height: 49px;
  padding: 0 25px 0 55px;
  line-height: 49px;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(65deg, #27798e, #196274);
  box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.15);
  position: relative;
  border-radius: 6px;
  transition: all 0.15s linear;
}

.header_link a:hover {
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
}

.header_link a:active {
  transform: scale(0.98);
}

.header_link a::after {
  content: "";
  display: block;
  width: 16px;
  height: 14px;
  background: url(../images/icons/wallet_icon.svg) no-repeat 0 0;
  position: absolute;
  top: calc(50% - 7px);
  left: 25px;
}

/* --------------------------------------------------------------------------
   3. Круглая салатовая кнопка меню (a.toggler) и Боковое меню (aside#aside_nav)
   -------------------------------------------------------------------------- */
.toggle_wrap {
  height: 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
}

.toggle_wrap > div {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

a.toggler {
  display: block;
  width: 58px;
  height: 58px;
  background: var(--tp-green);
  position: absolute;
  top: 42px;
  right: 40px;
  z-index: 30;
  box-shadow: 0 20px 26px 0 rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transition: all 0.15s linear;
}

a.toggler:hover {
  box-shadow: none;
  background: var(--tp-green-hover);
}

a.toggler span {
  display: block;
  width: 22px;
  height: 12px;
  position: absolute;
  top: calc(50% - 6px);
  left: calc(50% - 11px);
  transition: all 0.15s linear;
}

a.toggler em {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tp-card-bg);
  position: absolute;
  left: 0;
  transition: all 0.15s linear;
}

a.toggler em:first-child {
  top: 0;
}

a.toggler em:nth-child(2) {
  top: 5px;
}

a.toggler em:nth-child(3) {
  top: 10px;
}

a.toggler.active em:first-child {
  width: 2px;
  left: 10px;
}

a.toggler.active em:nth-child(3) {
  width: 0;
}

a.toggler.active_second em:first-child {
  height: 22px;
  top: -5px;
}

a.toggler.active_last span {
  transform: rotate(135deg);
}

/* Выезжающее боковое меню */
aside#aside_nav {
  width: 436px;
  height: 100%;
  background: var(--tp-bg-dark);
  position: fixed;
  top: 0;
  right: -436px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 25;
  transition: all 0.3s linear;
  overflow-y: auto;
}

aside#aside_nav.show_me {
  right: 0;
  box-shadow: -30px 0 40px 0 rgba(0, 0, 0, 0.25);
}

aside#aside_nav nav {
  width: 100%;
  padding: 90px 0 40px;
}

aside#aside_nav nav ul li {
  padding: 0 0 1px;
}

aside#aside_nav nav ul li a {
  display: block;
  height: 58px;
  padding: 0 20px 0 120px;
  line-height: 58px;
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background-color: var(--tp-card-bg);
  position: relative;
  transition: background-color 0.15s ease;
}

aside#aside_nav nav ul li a:hover {
  background-color: #257386;
}

aside#aside_nav nav ul li a.person {
  background: var(--tp-card-bg) url(../images/icons/menu_account.svg?v=15) no-repeat 62px 50% / 26px 26px;
}
aside#aside_nav nav ul li a.wallet {
  background: var(--tp-card-bg) url(../images/icons/menu_pay.svg?v=15) no-repeat 62px 50% / 26px 26px;
}
aside#aside_nav nav ul li a.internet {
  background: var(--tp-card-bg) url(../images/icons/internet_white_icon.svg?v=15) no-repeat 62px 50% / 26px 26px;
}
aside#aside_nav nav ul li a.tv {
  background: var(--tp-card-bg) url(../images/icons/tvbox_white_icon.svg?v=15) no-repeat 62px 50% / 26px 26px;
}
aside#aside_nav nav ul li a.tv_app {
  background: var(--tp-card-bg) url(../images/icons/tvapp_white_icon.svg?v=15) no-repeat 62px 50% / 26px 26px;
}
aside#aside_nav nav ul li a.telefoniya {
  background: var(--tp-card-bg) url(../images/icons/menu_sip.svg?v=15) no-repeat 62px 50% / 26px 26px;
}
aside#aside_nav nav ul li a.biznes {
  background: var(--tp-card-bg) url(../images/icons/menu_business.svg?v=15) no-repeat 62px 50% / 26px 26px;
}
aside#aside_nav nav ul li a.contact {
  background: var(--tp-card-bg) url(../images/icons/menu_contact.svg?v=15) no-repeat 62px 50% / 26px 26px;
}
aside#aside_nav nav ul li a.shop {
  background: var(--tp-card-bg) url(../images/icons/menu_shop.svg?v=15) no-repeat 62px 50% / 26px 26px;
}

aside#aside_nav nav ul li a span {
  opacity: 0.85;
}

aside#aside_nav nav ul li a:hover span {
  opacity: 1;
}

.aside_darkness {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: #003948;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s linear;
}

.aside_darkness.show_me {
  visibility: visible;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   4. Подвал сайта (footer#footer)
   -------------------------------------------------------------------------- */
footer#footer {
  width: 100%;
  height: 71px;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 5;
  transition: all 0.3s linear;
}

footer#footer.hide_me {
  opacity: 0;
  pointer-events: none;
}

footer#footer > div {
  max-width: 1440px;
  height: 51px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.copyight {
  display: block;
  float: left;
  opacity: 0.35;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding-top: 22px;
}

.footer_ring {
  width: 340px;
  position: absolute;
  top: 18px;
  left: calc(50% - 170px);
  text-align: center;
}

.footer_ring p {
  display: inline-block;
  padding: 0 25px 0 0;
  opacity: 0.35;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: #fff;
  vertical-align: top;
}

.footer_ring a {
  display: inline-block;
  opacity: 0.65;
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
  color: #f9feff;
  text-decoration: none;
  vertical-align: top;
  position: relative;
  transition: opacity 0.15s ease;
}

.footer_ring a:hover {
  opacity: 1;
}

.footer_ring a::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: url(../images/icons/phone_icon.svg) no-repeat 0 0;
  position: absolute;
  left: -20px;
  top: 4px;
}

.footer_ring a.wapp_link {
  width: 24px;
  height: 24px;
  margin: 0 0 0 12px;
  opacity: 0.85;
  background: url(../images/icons/wapp_icon.svg) no-repeat 0 0;
  transition: transform 0.15s linear;
}

.footer_ring a.wapp_link:hover {
  transform: scale(1.1);
  opacity: 1;
}

.footer_ring a.wapp_link::before {
  display: none;
}

/* Центральный кино-баннер Teleport Cinema Club (Вариант 3 — Telegram) в подвале */
footer#footer.has_cinema_club {
  height: 108px;
}

footer#footer.has_cinema_club > div {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 40px 10px;
}

footer#footer.has_cinema_club .copyight {
  float: none;
  padding: 0;
  width: 250px;
}

footer#footer.has_cinema_club .footer_ring {
  position: static;
  width: 250px;
  text-align: right;
  padding: 0;
}

@keyframes tpCinemaPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(166, 191, 66, 0.45), 0 12px 28px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(166, 191, 66, 0), 0 14px 32px rgba(166, 191, 66, 0.35);
  }
}

.footer_cinema_banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 615px;
  width: 100%;
  padding: 12px 19px 12px 14px;
  background: linear-gradient(100deg, #0f3944 0%, #1d6477 52%, #113e4b 100%);
  border: 1.5px solid rgba(166, 191, 66, 0.75);
  border-radius: 18px;
  text-decoration: none;
  animation: tpCinemaPulse 2.8s infinite;
  transition: transform 0.2s ease, border-color 0.2s ease;
  z-index: 6;
}

.footer_cinema_banner:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--tp-green-hover);
}

.footer_cinema_banner .cinema_banner_left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.footer_cinema_banner img {
  display: block;
  width: 115px;
  height: 115px;
  margin: -22px 0;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 17px;
  border: 2px solid var(--tp-green);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease;
}

.footer_cinema_banner:hover img {
  transform: scale(1.07) rotate(-1.5deg);
}

.footer_cinema_banner .cinema_banner_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer_cinema_banner .cinema_banner_text strong {
  font-family: 'Quicksand', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.footer_cinema_banner .cinema_banner_text span {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.3;
}

.footer_cinema_banner .cinema_banner_btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 17px;
  border-radius: 10px;
  background: var(--tp-green);
  color: var(--tp-bg-dark);
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.footer_cinema_banner:hover .cinema_banner_btn {
  background: var(--tp-green-hover);
}

.footer_cinema_banner .cinema_banner_btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer_cinema_banner .cinema_banner_btn em {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   5. Главная сетка блоков-карточек (.content_blocks & .index_swiper)
   -------------------------------------------------------------------------- */
.content_blocks {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  transition: all 0.2s linear;
}

.content_blocks.inner {
  height: calc(100vh - 210px);
  top: 120px;
}

.content_blocks.inner > div {
  max-height: 100500px;
  height: calc(100vh - 210px);
  position: relative;
}

.content_blocks > div {
  width: 100%;
  max-width: 1440px;
  padding: 0 40px;
  margin: 0 auto;
  height: 100vh;
  position: relative;
  overflow: hidden;
  transition: all 0.2s linear;
}

.content_blocks.opened.inner > div {
  overflow: visible;
}

.index_swiper {
  top: 0;
  position: relative;
  transition: all 0.35s ease;
}

.up_me .index_swiper {
  top: calc(220px - 100vh);
}

.content_blocks.opened .index_swiper {
  top: 0;
}

/* Навигационные точки / стрелки переключения ряда карточек на ПК */
.row_switcher {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row_switcher button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.row_switcher button.active {
  background: var(--tp-green);
  border-color: var(--tp-green);
  transform: scale(1.25);
}

.content_blocks.opened ~ .row_switcher {
  display: none;
}

/* Карточка продукта (article) */
.content_blocks article {
  display: inline-block;
  vertical-align: top;
  width: calc(33.333% - 22px);
  height: calc(100vh - 260px);
  max-height: 580px;
  margin: 0 0 24px 32px;
  text-align: left;
  overflow: hidden;
  position: relative;
  background-color: var(--tp-card-bg);
  box-shadow: 0 40px 40px 0 rgba(0, 0, 0, 0.3);
  user-select: none;
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.3s linear;
}

.content_blocks article:nth-child(3n-2) {
  margin-left: 0;
}

.content_blocks article.absolute_pos {
  position: absolute;
}

.content_blocks article.hide_me {
  opacity: 0;
  visibility: hidden;
}

.content_blocks article.hide_second {
  display: none;
}

.content_blocks article::after {
  content: "";
  display: block;
  width: calc(100% + 1px);
  height: 370px;
  background-image: linear-gradient(rgba(25, 92, 108, 0), rgba(26, 104, 123, 0.56) 41%, #1b7187);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: all 0.3s linear;
}

@media (min-width: 1025px) and (hover: hover) {
  .content_blocks article:hover {
    box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.3);
  }

  .content_blocks article:hover::after {
    height: 120%;
  }

  .content_blocks article:hover .first_info {
    transform: translate(0, -180px);
  }

  .content_blocks article:hover .second_info {
    transform: translate(0, -180px);
  }
}

.content_blocks article .big_link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.content_blocks article .big_link a {
  display: block;
  width: 100%;
  height: 100%;
}

.content_blocks article .image {
  position: relative;
  height: 100%;
}

/* Зелёный бейдж цены на карточке (скрыт, как в оригинале teleport.az) */
.content_blocks article .image .price {
  display: none;
}

.content_blocks article .image .price::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  background: url(../images/icons/azn_icon.svg) no-repeat 0 0;
  background-size: 100%;
  position: absolute;
  top: 16px;
  left: 12px;
}

.content_blocks article .image .price sup {
  font-size: 12px;
}

.content_blocks article .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  transition: all 0.2s linear;
}

.content_blocks article .first_info {
  width: 100%;
  padding: 0 30px 50px;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  transition: all 0.3s linear;
}

.content_blocks article .first_info h2 {
  padding: 0 0 16px;
  font-size: 36px;
  font-weight: bold;
  line-height: 1.25;
}

.content_blocks article .first_info p {
  max-width: 320px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0.92;
}

.content_blocks article .second_info {
  width: 100%;
  height: 180px;
  padding: 0 30px;
  position: absolute;
  left: 0;
  bottom: -180px;
  z-index: 2;
  transition: all 0.3s linear;
}

.content_blocks article .second_info .link {
  padding: 0 0 36px;
}

.content_blocks article .second_info .link a {
  display: inline-block;
  height: 58px;
  padding: 0 40px;
  line-height: 58px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: var(--tp-bg-dark);
  background: var(--tp-green);
  border-radius: 5px;
  transition: all 0.1s linear;
}

.content_blocks article .second_info .link a:hover {
  background: var(--tp-green-hover);
}

.content_blocks article .second_info .more a {
  display: inline-block;
  opacity: 0.85;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.content_blocks article .second_info .more a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. Состояние открытой карточки (article.inner + .content_inner)
   -------------------------------------------------------------------------- */
article.inner {
  display: block;
  width: 480px;
  height: calc(100vh - 210px);
  max-height: 100500px;
  float: left;
  margin: 0 !important;
  background: var(--tp-card-bg);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: none !important;
  cursor: auto;
  border-radius: 16px 0 0 16px;
  z-index: 3;
}

.content_blocks.opened article.inner {
  left: 0;
}

/* Высота открытой карточки = высоте белой панели (иначе снизу видна белая полоса на невысоких экранах) */
@media (min-width: 1025px) {
  .content_blocks article.inner {
    height: calc(100vh - 210px);
    max-height: none;
  }
}

article.inner::after {
  opacity: 0;
}

article.inner .image img {
  width: 100%;
  opacity: 0.45;
}

article.inner .first_info {
  transform: translate(0, 0) !important;
  padding: 0 50px 50px;
}

article.inner .second_info {
  transform: translate(0, 0) !important;
  padding: 0 50px;
}

/* Ссылка «Вернуться / Geri / Back» в левом верхнем углу открытой карточки */
.content_blocks article .inner_back {
  display: none;
}

.content_blocks article.inner .inner_back {
  display: inline-block;
  position: absolute;
  top: 32px;
  left: 50px;
  z-index: 5;
  padding: 6px 0 6px 34px;
  font-family: 'Quicksand', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.content_blocks article.inner .inner_back::before {
  content: "";
  display: block;
  width: 24px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/icons/back_icon.svg) no-repeat 0 50%;
  transition: transform 0.15s linear;
}

.content_blocks article.inner .inner_back span {
  opacity: 0.85;
}

.content_blocks article.inner .inner_back:hover::before {
  transform: translateX(-5px);
}

.content_blocks article.inner .inner_back:hover span {
  opacity: 1;
}

/* Белая выезжающая панель с подробностями (.content_inner) */
.content_inner {
  width: 100%;
  height: calc(100vh - 210px);
  padding: 0 0 0 480px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 40px 40px 0 rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s linear;
}

.content_inner.hide_me {
  width: 480px;
  box-shadow: none;
}

.content_inner > div {
  height: calc(100vh - 210px);
  width: 100%;
  top: 0;
  overflow-y: auto;
  position: relative;
  border-radius: 0 0 16px 0;
  transition: all 0.2s linear;
}

.content_inner > div.hide_me {
  opacity: 0;
}

/* Кнопка закрытия (крестик) */
a.inner_close {
  display: block;
  width: 32px;
  height: 32px;
  background: #000;
  position: absolute;
  top: 20px;
  right: 24px;
  opacity: 0.35;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.15s linear;
}

a.inner_close:hover {
  opacity: 0.75;
}

a.inner_close::after,
a.inner_close::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 15px;
  left: 8px;
}

a.inner_close::after {
  transform: rotate(45deg);
}

a.inner_close::before {
  transform: rotate(-45deg);
}

/* Внутренние блоки продукта (.product_article) */
.product_article {
  padding: 0 30px 40px 60px;
}

.product_article:first-child {
  padding: 50px 30px 40px 60px;
}

.product_article header {
  padding: 0 30px 40px 0;
}

.product_article header h2 {
  padding: 0 0 16px;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.23;
  color: var(--tp-bg-dark);
}

.product_article header p {
  opacity: 0.55;
  font-family: 'Quicksand', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: #000;
}

/* Табы скорости 100 Mb/s | 200 Mb/s */
.mb_tabs {
  padding: 0 0 24px;
  font-size: 0;
  display: inline-flex;
}

.mb_tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 24px;
  line-height: 1;
  white-space: nowrap;
  font-family: 'Quicksand', sans-serif;
  font-size: 21px;
  font-weight: bold;
  color: #7ea0a9;
  text-decoration: none;
  background: #e6edef;
  transition: all 0.15s ease;
}

.mb_tabs a:first-child {
  border-radius: 5px 0 0 5px;
}

.mb_tabs a:last-child {
  border-radius: 0 5px 5px 0;
}

.mb_tabs a.active {
  color: #fff;
  background: var(--tp-bg-dark);
}

.mb_services {
  padding: 0 0 20px;
}

.mb_services > div {
  display: none;
}

.mb_services > div.show_me {
  display: block;
}

.mb_services .items {
  padding: 0 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.mb_services .plus {
  width: 60px;
  font-family: 'Quicksand', sans-serif;
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  color: var(--tp-card-bg);
}

.mb_services .item {
  width: 175px;
  padding: 15px 15px 25px;
  text-align: center;
  border-radius: 8px;
}

.mb_services .item.allotted {
  background: #f5f5f5;
  box-shadow: 0px 0px 0px 1px rgba(23, 84, 100, 0.2);
}

.mb_services .item .icon {
  height: 75px;
  position: relative;
}

.mb_services .item .icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 55px;
}

.mb_services .item strong {
  display: block;
  padding: 0 0 6px;
  font-family: 'Quicksand', sans-serif;
  font-size: 21px;
  font-weight: bold;
  color: var(--tp-card-bg);
}

.mb_services .item span {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-card-bg);
}

/* Мини-иконки преимуществ в ТВ (.sm_services) */
.sm_services {
  padding: 0 0 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.sm_services .item {
  min-width: 130px;
  text-align: center;
}

.sm_services .item .icon {
  height: 75px;
  position: relative;
}

.sm_services .item .icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 52px;
}

.sm_services .item strong {
  display: block;
  padding: 0 0 6px;
  font-size: 21px;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  color: var(--tp-card-bg);
}

.sm_services .item span {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-card-bg);
}

/* Серая полоса с кнопкой "Подключить" и ценой (.get_service) */
.get_service {
  padding: 26px 30px 26px 60px;
  margin: 0 -30px 0 -60px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.get_service .link a {
  display: inline-block;
  height: 58px;
  padding: 0 38px;
  line-height: 58px;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--tp-bg-dark);
  text-decoration: none;
  background: var(--tp-green);
  border-radius: 5px;
  transition: all 0.1s linear;
}

.get_service .link a:hover {
  color: #fff;
  background: var(--tp-bg-dark);
}

.price strong {
  display: inline-block;
  padding: 4px 0 8px 18px;
  font-size: 24px;
  font-weight: 800;
  color: var(--tp-bg-dark);
  position: relative;
}

.price strong::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: url(../images/icons/azn_icon.svg) no-repeat 0 0;
  background-size: 100%;
  position: absolute;
  top: 6px;
  left: 0;
}

.price strong sup {
  font-size: 15px;
  margin-left: 4px;
}

.price span {
  display: block;
  font-size: 13px;
  font-style: italic;
  color: #888;
}

.app_links {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.app_links a img {
  height: 40px;
  border-radius: 4px;
}

/* Блок с картинкой роутера/приставки (.product_block) */
.product_block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product_block .left_side .price {
  margin: 0 0 24px;
}

.product_block .left_side .price strong {
  font-size: 34px;
}

.product_block .left_side .link a {
  display: inline-block;
  height: 58px;
  padding: 0 38px;
  line-height: 58px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--tp-bg-dark);
  background: var(--tp-green);
  border-radius: 5px;
  transition: all 0.1s linear;
}

.product_block .left_side .link a:hover {
  color: #fff;
  background: var(--tp-bg-dark);
}

.product_block .image img {
  max-width: 440px;
  width: 100%;
}

/* ТВ-слайдер категорий (.similar_article & .tv_slider) */
.similar_article {
  padding: 20px 30px 50px 30px;
}

.similar_article header {
  padding: 0 0 30px;
  text-align: center;
}

.similar_article header h2 {
  padding: 0 0 12px;
  font-size: 34px;
  font-weight: bold;
  line-height: 1.3;
  color: #000;
}

.similar_article header p {
  opacity: 0.55;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

.tv_slider {
  position: relative;
  margin: 0 0 40px;
}

.tv_slider .tabs {
  padding: 0 0 30px;
  text-align: center;
}

.tv_slider .tabs > div {
  display: inline-block;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.tv_slider .tabs > div a {
  display: inline-block;
  padding: 9px 0;
  margin: 0 20px;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #979797;
  text-decoration: none;
  position: relative;
}

.tv_slider .tabs > div a.active {
  color: #000;
}

.tv_slider .tabs > div a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  position: absolute;
  left: 0;
  bottom: -2px;
}

.tv_slider .image_slide {
  width: 560px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
}

.tv_slider .image_slide .image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.similar_article footer {
  text-align: center;
}

.similar_article footer p {
  padding: 0 0 24px;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--tp-bg-dark);
}

.similar_article footer .gray {
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
}

.similar_article footer .gray > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.similar_article footer .link a {
  display: inline-block;
  height: 56px;
  padding: 0 38px;
  line-height: 56px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--tp-bg-dark);
  background: var(--tp-green);
  border-radius: 5px;
}

/* Постеры фильмов (.film_carousel) */
.film_carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 30px;
  margin-bottom: 30px;
}

.film_carousel figure {
  flex: 0 0 155px;
}

.film_carousel figure img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.tablet_slider img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* Телефон с Teleport TV App в блоке «Качественное видео доступное в любом месте» */
.tvapp_phone {
  display: flex;
  justify-content: center;
  padding: 10px 0 50px;
}

.tvapp_phone .phone_frame {
  width: 260px;
  padding: 11px;
  background: #0b1d23;
  border-radius: 42px;
  transform: rotate(5deg);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.06),
    0 30px 50px rgba(0, 0, 0, 0.3);
}

.tvapp_phone .phone_frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

@media (max-width: 767px) {
  .tvapp_phone .phone_frame {
    width: 210px;
    border-radius: 36px;
  }
  .tvapp_phone .phone_frame img {
    border-radius: 27px;
  }
}

/* --------------------------------------------------------------------------
   7. Тёмно-бирюзовая панель заказа (.order_block)
   -------------------------------------------------------------------------- */
.order_block {
  width: 0;
  height: calc(100vh - 210px);
  background: var(--tp-bg-dark);
  position: absolute;
  top: 0;
  left: 520px;
  overflow: hidden;
  border-radius: 0 16px 16px 0;
  z-index: 6;
  transition: all 0.25s linear;
}

.order_block.show_me {
  width: calc(100% - 560px);
  box-shadow: 0 40px 40px 0 rgba(0, 0, 0, 0.45);
}

.order_block > div {
  height: calc(100vh - 210px);
  width: 100%;
  padding: 36px 50px 40px;
  overflow-y: auto;
  position: absolute;
  top: 0;
  opacity: 0;
  transition: all 0.2s linear;
}

.order_block > div.show_me {
  opacity: 1;
}

/* Телефон с Teleport TV App в правом нижнем углу панели заказа TV App */
.order_block .phone_mockup {
  position: absolute;
  right: 0;
  top: 270px;               /* ниже полей формы, чтобы не перекрывать их */
  bottom: 0;
  width: 440px;
  overflow: hidden;           /* нижняя часть телефона «уходит» за край панели */
  pointer-events: none;
}

.order_block .phone_frame {
  width: 200px;
  margin: 30px 160px 0 auto;
  padding: 9px;
  background: #0b1d23;
  border-radius: 34px;
  transform: rotate(5deg);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 30px 50px rgba(0, 0, 0, 0.45);
}

.order_block .phone_frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

/* После отправки формы телефон скрываем, чтобы не мешал сообщению «Спасибо» */
.order_block.show_success .phone_mockup {
  display: none;
}

@media (max-height: 760px) and (min-width: 1025px) {
  .order_block .phone_mockup {
    top: 250px;
  }
  .order_block .phone_frame {
    width: 160px;
    border-radius: 28px;
  }
  .order_block .phone_frame img {
    border-radius: 21px;
  }
}

/* На планшетах и смартфонах — телефон по центру под формой */
@media (max-width: 1024px) {
  .order_block .phone_mockup {
    position: relative;
    right: auto;
    width: 100%;
    height: 300px;
    margin: 30px 0 -40px;
  }
  .order_block .phone_frame {
    width: 180px;
    margin: 20px auto 0;
  }
}

.order_block header {
  padding: 0 0 28px;
}

.order_block header .back {
  padding: 0 0 24px;
}

.order_block header .back a {
  display: inline-block;
  padding: 0 0 0 34px;
  font-family: 'Quicksand', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  position: relative;
}

.order_block header .back a::before {
  content: "";
  display: block;
  width: 34px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/icons/back_icon.svg) no-repeat 0 50%;
  transition: transform 0.15s linear;
}

.order_block header .back a:hover::before {
  transform: translateX(-5px);
}

.order_block header .back a span {
  opacity: 0.65;
}

.order_block header h2 {
  padding: 0 0 10px;
  font-size: 36px;
  font-weight: bold;
  line-height: 1.24;
  color: #fff;
}

.order_block header p {
  opacity: 0.65;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

.order_price {
  padding: 0 0 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}

.order_price .mb_tabs {
  padding: 0;
}

.order_price .mb_tabs a {
  color: var(--tp-bg-dark);
  background: #2e6573;
}

.order_price .mb_tabs a.active {
  background: var(--tp-green);
  color: var(--tp-bg-dark);
}

.order_price .price strong {
  color: var(--tp-green);
  font-size: 34px;
}

.order_price .price strong::before {
  background: url(../images/icons/azn_icon_green.svg) no-repeat 0 0;
  background-size: 100%;
}

.order_price .price span {
  opacity: 0.55;
  font-size: 13px;
  color: #fff;
}

.order_form::after {
  content: "";
  display: block;
  clear: both;
}

.order_form .input {
  width: calc(50% - 10px);
  float: left;
  padding: 0 0 22px;
  position: relative;
}

.order_form .input:nth-child(2n) {
  float: right;
}

.order_form .input.full_width {
  width: 100%;
  float: none;
  clear: both;
}

.order_form .input input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 24px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  transition: border-color 0.15s linear;
}

.order_form .input input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.order_form .input input:focus {
  border-color: #fff;
}

.order_form .submit {
  padding: 10px 0 0;
  clear: both;
}

.order_form .submit button {
  display: inline-block;
  height: 60px;
  padding: 0 40px;
  border: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--tp-bg-dark);
  background: var(--tp-green);
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.15s linear;
}

.order_form .submit button:hover {
  background: var(--tp-green-hover);
}

/* Ползунок выбора скорости для Бизнеса (200 - 1000 Mb/s) — точная копия оригинала */
.slider {
  height: 140px;
}

.slider_wrap {
  width: calc(100% - 200px);
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  top: 50px;
}

.slider_wrap > span {
  display: block;
  width: 11px;
  height: 11px;
  background: #fff;
  position: absolute;
  top: -4px;
  left: 0;
  border-radius: 50%;
  margin: 0 0 0 -6px;
}

.slider_wrap > span + span {
  left: 25%;
}

.slider_wrap > span + span + span {
  left: 50%;
}

.slider_wrap > span + span + span + span {
  left: 75%;
}

.slider_wrap > span + span + span + span + span {
  left: 100%;
}

.select_speed {
  width: 100%;
  height: 3px;
  position: relative;
}

.ui-slider-handle {
  display: block;
  position: absolute;
  top: -14px;
  left: 0%;
  margin: 0 0 0 -15px;
  width: 30px;
  height: 30px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  background-color: var(--tp-green);
  border-radius: 50%;
  transition: left 0.1s ease-out;
  z-index: 2;
}

.ui-slider-handle::before {
  content: "";
  display: block;
  width: 2px;
  height: 8px;
  background: #175464;
  position: absolute;
  top: 11px;
  left: 11px;
}

.ui-slider-handle::after {
  content: "";
  display: block;
  width: 2px;
  height: 8px;
  background: #175464;
  position: absolute;
  top: 11px;
  left: 17px;
}

.speed_range_input {
  width: calc(100% + 30px);
  height: 36px;
  opacity: 0;
  position: absolute;
  top: -16px;
  left: -15px;
  margin: 0;
  cursor: pointer;
  z-index: 4;
}

.speed_result {
  width: 200px;
  font-family: 'Quicksand', sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: var(--tp-green);
  position: absolute;
  top: -15px;
  left: calc(100% + 25px);
}

/* Радио-кнопки подписки на ТВ */
.radio-container {
  margin-bottom: 24px;
}

.radio-container h2 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin-bottom: 14px;
}

.radio-container ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  cursor: pointer;
}

.radio-container input[type="radio"] {
  accent-color: var(--tp-green);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Экран успешного заказа (.success_order) */
.success_order {
  width: 100%;
  height: 0;
  background: var(--tp-bg-dark);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  transition: height 0.35s ease;
}

.order_block.show_success .success_order {
  height: 100%;
}

.success_order > div {
  max-width: 480px;
  padding: 0 20px;
}

.success_order .icon {
  padding: 0 0 30px;
}

.success_order h3 {
  padding: 0 0 16px;
  font-family: 'Quicksand', sans-serif;
  font-size: 28px;
  font-weight: bold;
  color: var(--tp-green);
}

.success_order p {
  padding: 0 0 40px;
  opacity: 0.85;
  font-family: 'Quicksand', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
}

.success_back a {
  display: inline-block;
  padding: 12px 32px;
  background: var(--tp-green);
  color: var(--tp-bg-dark);
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   8. Внутренние страницы: Онлайн оплата, Контакты, Личный кабинет (.full_block)
   -------------------------------------------------------------------------- */
.full_block {
  width: 100%;
  min-height: calc(100vh - 180px);
  padding: 130px 20px 90px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.full_block > div {
  width: 100%;
  max-width: 1160px;
}

/* Онлайн оплата */
.payment_intro h2,
.contacts_block h2,
.sign_block h2 {
  padding: 0 0 45px;
  font-size: 42px;
  font-weight: bold;
  line-height: 1.23;
  text-align: center;
  color: #fff;
}

.payment_intro .tabs {
  padding: 0 0 45px;
  text-align: center;
  font-size: 0;
}

.payment_intro .tabs a {
  display: inline-block;
  min-width: 300px;
  height: 76px;
  padding: 0 20px;
  line-height: 76px;
  font-family: 'Quicksand', sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background: #428395;
  transition: all 0.1s linear;
}

.payment_intro .tabs a:first-child {
  border-radius: 7px 0 0 7px;
}

.payment_intro .tabs a:last-child {
  border-radius: 0 7px 7px 0;
}

.payment_intro .tabs a.active {
  background: var(--tp-bg-dark);
}

.payment_intro .tabs a span {
  display: inline-block;
  height: 76px;
  padding: 0 0 0 50px;
  opacity: 0.7;
}

.payment_intro .tabs a.active span {
  opacity: 1;
}

.payment_intro .tabs a.card span {
  background: url(../images/icons/card_icon.svg) no-repeat 0 50%;
}

.payment_intro .tabs a.cash span {
  background: url(../images/icons/cash_icon.svg) no-repeat 0 50%;
}

.payments_list.hide_me {
  display: none;
}

.payments_list > div {
  display: none;
}

.payments_list > div.show_me {
  display: block;
}

.payments_list h3,
.sub_payments h3 {
  padding: 0 0 40px;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.payments_list .grid,
.sub_payments .grid {
  text-align: center;
}

.payments_list .grid a,
.sub_payments .grid a {
  display: inline-block;
  width: 200px;
  height: 200px;
  margin: 0 16px 32px;
  color: #fff;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  vertical-align: top;
}

.payments_list .grid a::before,
.sub_payments .grid a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--tp-card-bg);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 7px;
  transition: all 0.15s linear;
}

.payments_list .grid a:hover::before,
.sub_payments .grid a:hover::before {
  background: #06576b;
  transform: scale(1.05);
}

.payments_list .grid a img,
.sub_payments .grid a img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 170px;
  max-height: 170px;
  border-radius: 6px;
}

.payments_list .grid a span,
.sub_payments .grid a span {
  width: 100%;
  padding: 0 20px;
  font-size: 21px;
  line-height: 28px;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sub_payments {
  max-width: 680px;
  margin: 0 auto;
}

.sub_payments > div {
  display: none;
  position: relative;
}

.sub_payments > div.show_me {
  display: block;
}

.sub_payments a.back {
  display: inline-block;
  padding: 0 0 0 36px;
  font-family: 'Quicksand', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  background: url(../images/icons/back_icon.svg) no-repeat 0 3px;
  margin-bottom: 20px;
}

.form_block {
  max-width: 430px;
  margin: 0 auto;
}

.form_block p {
  padding: 0 0 30px;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
  color: #fff;
}

.form_block .input,
.sign_form .input {
  padding: 0 0 20px;
}

.form_block .input input,
.sign_form .input input {
  display: block;
  width: 100%;
  height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #fff;
  border-radius: 4px;
}

.form_block .input input::placeholder,
.sign_form .input input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form_block .submit button,
.sign_form .submit button {
  display: block;
  width: 100%;
  height: 64px;
  border: none;
  color: var(--tp-bg-dark);
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: bold;
  background: var(--tp-green);
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.15s linear;
}

.form_block .submit button:hover,
.sign_form .submit button:hover {
  color: #fff;
  background: var(--tp-bg-dark);
}

/* Контакты (.contacts_block) */
.contacts_block .table {
  display: flex;
  justify-content: center;
}

.contacts_block .info {
  width: 100%;
  max-width: 540px;
  padding: 45px 65px;
  background: var(--tp-bg-dark);
  border-radius: 8px;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
}

.contacts_block ul li {
  padding: 0 0 24px;
}

.contacts_block ul li:last-child {
  padding: 0;
}

.contacts_block ul li a {
  display: inline-block;
  padding: 4px 0 4px 38px;
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}

.contacts_block ul li a.phone {
  background: url(../images/icons/contact_phone.svg) no-repeat 0 50%;
}
.contacts_block ul li a.email {
  background: url(../images/icons/contact_mail.svg) no-repeat 0 50%;
}
.contacts_block ul li a.whatsapp {
  background: url(../images/icons/contact_wapp.svg) no-repeat 0 50%;
}

.sign_block {
  max-width: 450px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   9. Адаптивность для смартфонов и планшетов (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .row_switcher {
    display: none;
  }

  .content_blocks {
    display: block;
    height: auto;
    position: static;
  }

  .content_blocks > div {
    height: auto;
    padding: 115px 24px 40px;
    overflow: visible;
  }

  .index_swiper {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .content_blocks article {
    width: 100% !important;
    margin: 0 !important;
    height: 440px;
  }

  /* На планшетах и смартфонах сразу показываем кнопку "Подключить" и "Подробнее" без задержки на :hover */
  .content_blocks article .first_info,
  .content_blocks article:hover .first_info {
    transform: translate(0, -145px);
    padding: 0 24px 20px;
  }

  .content_blocks article .second_info,
  .content_blocks article:hover .second_info {
    transform: translate(0, -155px);
    padding: 0 24px;
  }

  /* Внутреннее окно на планшетах и смартфонах */
  article.inner {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 280px !important;
    border-radius: 16px 16px 0 0 !important;
    float: none;
  }

  article.inner .first_info {
    transform: translate(0, 0) !important;
    padding: 0 24px 24px;
  }

  article.inner .second_info {
    display: none;
  }

  .content_blocks article.inner .inner_back {
    top: 20px;
    left: 24px;
  }

  .content_inner {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 0 0 16px 16px;
  }

  .content_inner > div {
    height: auto !important;
    overflow: visible;
  }

  .order_block,
  .order_block.show_me {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-radius: 0 0 16px 16px;
  }

  /* На планшетах и смартфонах при открытии формы заказа скрываем белую простыню сверху */
  .content_blocks.order_open .content_inner,
  .content_blocks.order_open article.inner {
    display: none !important;
  }

  .content_blocks.order_open .order_block,
  .content_blocks.order_open .order_block.show_me {
    border-radius: 16px;
  }

  .order_block > div {
    position: relative;
    height: auto;
    padding: 30px 24px 40px;
  }

  footer#footer,
  footer#footer.has_cinema_club {
    position: relative;
    height: auto;
    padding: 20px 0 30px;
  }

  footer#footer.has_cinema_club > div {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
  }

  .footer_cinema_banner {
    order: -1;
    max-width: 480px;
    padding: 10px 14px 10px 10px;
    gap: 12px;
  }

  .footer_cinema_banner img {
    width: 106px;
    height: 106px;
    margin: -10px 0;
  }

  .copyight,
  .footer_ring,
  footer#footer.has_cinema_club .copyight,
  footer#footer.has_cinema_club .footer_ring {
    position: static;
    float: none;
    width: 100%;
    text-align: center;
    padding: 4px 0;
  }
}

@media (max-width: 767px) {
  header#header {
    height: 82px;
  }

  header#header > div {
    padding: 20px 20px 0;
    height: 82px;
  }

  .logo a {
    width: 121px;
    height: 45px;
  }

  .lang {
    margin: 8px 0 0 16px;
  }

  .header_link {
    padding: 0 58px 0 0;
  }

  .header_link a {
    width: 45px;
    height: 45px;
    padding: 0;
    text-indent: -9999px;
    border-radius: 50%;
  }

  .header_link a::after {
    left: calc(50% - 8px);
  }

  a.toggler {
    width: 45px;
    height: 45px;
    top: 20px;
    right: 20px;
    position: fixed;
  }

  aside#aside_nav {
    width: 100%;
    right: -100%;
  }

  .index_swiper {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .content_blocks article {
    height: 420px;
  }

  /* На смартфоне сразу показываем кнопку "Подключить" и "Подробнее" на карточке */
  .content_blocks article .first_info {
    transform: translate(0, -145px);
    padding: 0 24px 20px;
  }

  .content_blocks article .second_info {
    transform: translate(0, -155px);
    padding: 0 24px;
  }

  .content_blocks article .first_info h2 {
    font-size: 30px;
  }

  .content_blocks article .first_info p {
    font-size: 15px;
  }

  .product_article,
  .product_article:first-child {
    padding: 28px 20px 35px !important;
  }

  .product_article header h2,
  .order_block header h2,
  .similar_article header h2 {
    font-size: 26px;
  }

  .order_price {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .mb_tabs,
  .order_price .mb_tabs {
    display: flex;
    width: 100%;
  }

  .mb_tabs a {
    flex: 1;
    width: 50%;
    text-align: center;
    padding: 0 10px;
    font-size: 18px;
    white-space: nowrap;
  }

  .mb_services .items {
    flex-direction: column;
  }

  .mb_services .plus {
    line-height: 40px;
  }

  .get_service {
    margin: 0 -20px;
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
  }

  .app_links {
    margin: 0 auto;
  }

  .product_block {
    flex-direction: column-reverse;
    text-align: center;
  }

  /* Исправление ТВ-слайдера на мобильных (вкладки в 1 ряд + минимальный отступ под ТВ) */
  .similar_article {
    padding: 20px 16px 32px;
  }

  .tv_slider {
    margin: 0 0 12px;
  }

  .tv_slider .tabs {
    padding: 0 0 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tv_slider .tabs > div {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: min-content;
  }

  .tv_slider .tabs > div a {
    margin: 0 8px;
    font-size: 14px;
    white-space: nowrap;
  }

  .tv_slider .image_slide {
    height: auto;
  }

  .tv_slider .image_slide .image img {
    height: auto;
  }

  .order_form .input {
    width: 100%;
    float: none;
  }

  .order_form .submit button {
    width: 100%;
  }

  .slider_wrap {
    width: 100%;
  }

  .speed_result {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 24px;
  }

  .payment_intro .tabs a {
    min-width: 0;
    width: 50%;
    height: 64px;
    line-height: 64px;
    font-size: 18px;
  }

  .payment_intro .tabs a span {
    padding: 0;
    background: none !important;
  }

  .contacts_block .info {
    padding: 32px 24px;
  }
}
