/*!
Theme Name: Lubnet
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: by cavairs
Version: 2.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lubnet
*/

/* ===================== Design tokens ===================== */
:root {
  --pallete-gray-10: #f6f6fb;
  --pallete-gray-30: #e7f0fc;
  --pallete-gray-50: #f2f2f4;
  --pallete-gray-80: #cfd3d8;
  --pallete-gray: #565656;
  --pallete-black: #131316;
  --pallete-black-60: rgba(0, 0, 0, 0.6);
  --pallete-black-30: rgba(0, 0, 0, 0.3);
  --pallete-violet: #1b031e;
  --pallete-red: #ff0000;
  --pallete-white: #ffffff;
  --pallete-white-90: #fcfcff;
  --pallete-green: #20b15a;
  --g1: #E2549B;
  --g2: #ED7A30;
}

/* ===================== Base / Utilities ===================== */
* {
  font-family: 'Golos Text', sans-serif;
}

h1 {
  font-family: 'Golos Text', sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

h2 {
  font-family: 'Golos Text', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--pallete-white-90);
  font-size: 1.8em;
  font-family: 'Golos Text'
}



section {
  margin: 0;
  padding: 40px 0 0 0;
}

section:first-child {
  margin-top: 0;
}

/* .section_service_internet { margin-top: 134px;} */



button {
  border: 0;
}

.background--white {
  background-color: var(--pallete-white);
}

.background--black {
  background-color: var(--pallete-black);
}

.background--violet {
  background-color: var(--pallete-violet);
}

.background--red {
  background-color: var(--pallete-red);
}

.section-with-background {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.text--red {
  color: var(--pallete-red);
}

.text--black {
  color: var(--pallete-black);
}

.text--white {
  color: var(--pallete-white);
}

.text--gray {
  color: var(--pallete-gray);


}

.text--gray-80 {
  color: var(--pallete-gray-80);
}

.text--green {
  color: var(--pallete-green);
}

.table {
  overflow-x: auto;
}

.section-offset {
  margin-top: 9rem;
}

/* ===================== Fancy section dividers ===================== */
/* --- Gradient wave --- */
.section-divider {
  position: relative;
  height: 100px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -10%;
  width: 120%;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 51, 102, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 51, 102, 0.15) 0%, transparent 50%);
  filter: blur(40px);
  animation: waveFloat 8s ease-in-out infinite;
}

@keyframes waveFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

/* --- Particles --- */
.section-divider-particles {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(255, 51, 102, 0.6);
  border-radius: 50%;
  animation: floatParticle 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 12px;
  height: 12px;
  top: 60%;
  left: 25%;
  animation-delay: 1s;
  background: rgba(255, 107, 53, .5);
}

.particle:nth-child(3) {
  width: 6px;
  height: 6px;
  top: 40%;
  left: 50%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  width: 10px;
  height: 10px;
  top: 80%;
  left: 70%;
  animation-delay: 3s;
  background: rgba(255, 107, 53, .4);
}

.particle:nth-child(5) {
  width: 14px;
  height: 14px;
  top: 30%;
  left: 85%;
  animation-delay: 4s;
}

@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0);
    opacity: .7;
  }

  25% {
    transform: translate(10px, -20px);
    opacity: 1;
  }

  50% {
    transform: translate(-5px, -10px);
    opacity: .8;
  }

  75% {
    transform: translate(5px, -15px);
    opacity: .9;
  }
}

/* --- Dots grid --- */
.section-divider-dots {
  position: relative;
  height: 80px;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 51, 102, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.dots-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 51, 102, 0.3) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.2) 2px, transparent 2px);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: .6;
  animation: dotsMove 20s linear infinite;
}

@keyframes dotsMove {
  0% {
    background-position: 0 0, 30px 30px;
  }

  100% {
    background-position: 60px 60px, 90px 90px;
  }
}

/* --- Glow lines --- */
.section-divider-lines {
  position: relative;
  height: 5px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  overflow: hidden;
}

.lines-white {
  background: transparent;
  ;
}

.glow-line {
  position: absolute;
  height: 30px;
  background: linear-gradient(90deg, transparent, #ff3366, transparent);
  filter: blur(1px);
  animation: glowMove 4s ease-in-out infinite;
}

.glow-line:nth-child(1) {
  top: 25%;
  width: 40%;
  left: -40%;
  animation-delay: 0s;
}

.glow-line:nth-child(2) {
  top: 50%;
  width: 60%;
  right: -60%;
  animation-delay: 1s;
  background: linear-gradient(90deg, transparent, #ff6b35, transparent);
}

.glow-line:nth-child(3) {
  top: 75%;
  width: 30%;
  left: -30%;
  animation-delay: 2s;
}

@keyframes glowMove {
  0%, 100% {
    transform: translateX(0);
    opacity: 0;
  }

  50% {
    transform: translateX(100vw);
    opacity: 1;
  }
}

/* --- Simple gradient --- */
.section-divider-simple {
  position: relative;
  height: 60px;
  background:
    radial-gradient(ellipse at center, rgba(255, 51, 102, .15) 0%, rgba(255, 107, 53, .1) 30%, transparent 70%);
  backdrop-filter: blur(10px);
}



/* ===================== Menu ===================== */
@keyframes slide-up-300px {
  from {
    right: -300px;
  }

  to {
    right: 0;
  }
}

@keyframes slide-down-300px {
  from {
    right: 0;
  }

  to {
    right: -300px;
  }
}

@keyframes slide-up-100vw {
  from {
    right: -100vw;
  }

  to {
    right: 0;
  }
}

@keyframes slide-down-100vw {
  from {
    right: 0;
  }

  to {
    right: -100vw;
  }
}

.backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--pallete-black-60);
  z-index: 666;
}

.backdrop--hidden {
  display: none;
}

.menu {
  position: fixed;
  top: 80px;
  right: -300px;
  width: 300px;
  height: calc(100vh - 80px);
  text-align: center;
  border-left: 1px solid rgba(244, 244, 244, 1);
  z-index: 999;
  box-sizing: border-box;
  background: var(--pallete-gray-50);
  overflow-y: auto;
  padding: 0 1rem;
}

.menu hr {
  margin: 0 0 0 1rem;
  border-top: 1px solid var(--pallete-gray-80);
  width: calc(100% - 2rem);
}

.menu .call {
  width: 100%;
}

.menu .close {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 1rem 0;
  gap: 1rem;
}

@media (orientation: landscape) {
  .menu {
    height: 100vh;
    top: 0;
  }

  .backdrop {
    top: 0;
    height: 100vh;
  }

  .menu .close {
    display: none;
  }

  .lk {
    margin-top: 2rem;
  }
}

@media (min-width: 550px) {
  .from-header {
    margin-top: 2rem;
  }
}

@media (min-width: 1000px) {
  .lk, .from-header {
    margin-top: 2rem;
  }
}

.menu-slide-up {
  animation: slide-up-300px .2s ease-in-out;
  right: 0;
}

.menu-slide-down {
  animation: slide-down-300px .2s ease-in-out;
  right: -300px;
}

@media (orientation: portrait) {
  .menu {
    right: -100vw;
    width: 100%;
  }

  .menu-slide-up {
    animation: slide-up-100vw .2s ease-in-out;
    right: 0;
  }

  .menu-slide-down {
    animation: slide-down-100vw .2s ease-in-out;
    right: -100vw;
  }
}

.menu-links {
  background: var(--pallete-white);
  margin-bottom: 2rem;
  border-radius: 10px;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--pallete-black);
  font-size: 16px;
  padding: 1rem;
  text-decoration: none;
}

.menu-link:hover {
  color: var(--pallete-black);
  background: var(--pallete-gray-10);
  border-radius: 10px;
}

.menu-link:last-child {
  border-bottom: none;
}

.icon-return {
  background: url('../icons/return.svg') center/100% no-repeat;
  width: 20px;
  height: 20px;
}

.icon-lk {
  background: url('../icons/lk.svg') center/100% no-repeat;
  width: 20px;
  height: 20px;
}

.icon-payment {
  background: url('../icons/payment.svg') center/100% no-repeat;
  width: 20px;
  height: 20px;
}

.icon-zone {
  background: url('../icons/zone.svg') center/80% no-repeat;
  width: 20px;
  height: 20px;
}

.icon-docs {
  background: url('../icons/docs.svg') center/80% no-repeat;
  width: 20px;
  height: 20px;
}

.icon-company {
  background: url('../icons/company.svg') center/100% no-repeat;
  width: 20px;
  height: 20px;
}

.icon-contacts {
  background: url('../icons/contacts.svg') center/100% no-repeat;
  width: 20px;
  height: 20px;
}

.menu-hiden {
  display: none;
}

/* ===================== Header ===================== */
.header {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 777;
  align-items: center;
  box-sizing: border-box;
}

@media (orientation: portrait) {
  .header-active {
    background: var(--pallete-black);
  }
}

.header-row {
  position: relative;
  min-height: 80px;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.header-logo {
  position: absolute;
  top: calc(50% - 10px);
  left: 1.5rem;
  max-height: 46px;
  width: 150px;
}

.header-links {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  min-height: 46px;
}

.from-header {
  display: block;
}

@media (min-width:1200px) {
  .header-links {
    display: flex;
  }

  .from-header {
    display: none;
  }
}

.header-link {
  min-width: 80px;
  text-align: center;
  text-decoration: none;
  color: var(--pallete-white);
  padding: .5rem;
}

.dark .header-link {
  color: var(--pallete-black);
}

.header-link:hover {
  background: var(--pallete-white);
  color: var(--pallete-black);
  border-radius: 8px;
}

.dark .header-link:hover {
  background: var(--pallete-black);
  color: var(--pallete-white);
}

/* .menu-button {
  position: absolute;
  top: calc(50% - 22.5px);
  right: 1.5rem;
  width: 45px;
  height: 45px;
  padding: 0;
} */

.menu-button:hover {
  background: var(--pallete-black-30);
  border-radius: 5px;
}

.menu-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url('../icons/menu.svg') center/100% no-repeat;
}

.dark .menu-icon {
  background-image: url('../icons/menu-dark.svg');
}

/* Phones row under header */
.phone-section {
  position: absolute;
  top: 80px;
  width: 100%;
  z-index: 666;
  margin: 0;
}

.phone-section br {
  display: none;
}

.phone-section .row {
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

.phone-section .row .phone {
  margin-left: 2.5rem;
  font-size: 1.4rem;
}

.phone-section .row .phone:first-child {
  margin: 0;
}

@media (orientation: portrait), (max-width: 800px) {
  .phone-section .row .phone {
    margin-left: 2.5rem;
    font-size: 1rem;
  }

  .phone-section br {
    display: block;
  }
}

@media (max-width: 800px) and (orientation: landscape) {
  .phone-section {
    top: 4px;
  }

  .phone-section br {
    display: none;
  }
}

/* ===================== Main / hero ===================== */
.main {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(89.98deg, rgba(0, 0, 0, .8) .02%, rgba(0, 0, 0, .722) 25.72%, rgba(0, 0, 0, 0) 91.96%);
  opacity: .8;
}

.for-home {
  box-sizing: border-box;
}

.for-home-image, .for-business-image {
  width: 100%;
}

.for-cybersport {
  padding: 5rem 0;
  box-sizing: border-box;
}

.for-cybersport-image {
  max-height: 500px;
  width: 95%;
}

@media (orientation: portrait) {
  .for-cybersport-image {
    max-height: 262px;
  }
}

.background--red.connect:hover {
  color: #000;
}

.background--white.connect:hover {
  color: #f00;
}

/* New technology horizontal cards */
.new-technology .cards {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding: 2rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.new-technology .cards::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.new-technology .cards>.card {
  min-width: calc(308px - 4rem);
  min-height: 338px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  border-radius: 3px;
  padding: 2rem;
}

.card__icon {
  text-align: center;
  max-height: 14rem;
  margin: 1rem 0;
}

.card__title, .card__text {
  text-align: center;
}

/* ===================== Cards grid ===================== */
.cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.cards .card {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  border-radius: 3px;
  padding: 2.5rem;
  box-sizing: border-box;
}

.cards .card.card-no-background {
  background: none;
  box-shadow: none;
  padding: 0;
}

@media (min-width: 550px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ===================== Office net scroll ===================== */
.office-net, .office-net .cards {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.office-net .cards {
  padding: 2rem;
}

.office-net .cards::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.office-net .cards>.card {
  min-width: calc(308px - 4rem);
  min-height: 255px;
  display: flex;
}

/* ===================== Address popup (simple) ===================== */
.address {
  background: #fff;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  padding: 2rem;
  border-radius: 3px;
}

.address-popup {
  position: fixed;
  z-index: 888;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  background: #fff;
  border-radius: 5px;
  box-sizing: border-box;
  width: min(500px, 100vmin);
  height: min(400px, 70vmin);
  top: calc(50% - min(400px, 70vmin)/2);
  left: calc(50% - min(500px, 100vmin)/2);
}

.address-popup--hidden {
  display: none;
}

@media (orientation: portrait) {
  .address-popup {
    width: 90vmin;
    height: 50vh;
    top: calc(50% - 25vh);
    left: calc(50% - 45vmin);
  }
}

@media (min-width: 1000px) {
  .address-popup {
    width: 75vmin;
    height: 50vmin;
    top: calc(50% - 25vmin);
    left: calc(50% - 37.5vmin);
  }
}

.address-popup .card__title {
  position: relative;
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--pallete-gray-80);
  margin: 0;
}

.address-popup .card__text {
  flex: 1;
  overflow-y: auto;
  width: 100%;
  padding: 0 1.5rem;
  margin: 1.5rem 0;
}

.address-popup .card__text p:last-child {
  margin-bottom: 0;
}

.popup-address-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0;
}

/* ===================== Service features ===================== */
.service-feature {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-feature:last-child {
  margin-bottom: 0;
}

.service-feature b {
  font-size: 1.7rem;
  font-weight: 900;
}

.service-feature-icon {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 20px;
  height: 20px;
}

.speed-inet-icon {
  background-image: url('../icons/net-speed.svg');
}

.free-rent-icon {
  background-image: url('../icons/free-rent.svg');
}

.price-rub-icon {
  background-image: url('../icons/price-rub.svg');
}

.tv-chanels-icon {
  background-image: url('../icons/tv-chanels.svg');
}

.smart-home-icon {
  background-image: url('../icons/smart-home.svg');
}

/* ===================== Services wrappers on mobile ===================== */
@media (orientation: portrait) {
  .services-phone, .services-video {
    background: #fff;
    box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
    padding: 2.5rem;
    border-radius: 5px;
  }
}

/* ===================== Home company cards ===================== */
.home-company-card {
  min-height: min(50vh, 50vw, 264px);
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin-bottom: 2.5rem;
}

.home-company-card>span {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

@media (orientation: portrait) {
  .home-company-card>span {
    font-size: 2rem;
  }
}

/* ===================== Shop items ===================== */
.shop-items {
  display: block;
}

.shop-item {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  border-radius: 5px;
  padding: 3rem;
  margin-bottom: 2.5rem;
  box-sizing: border-box;
}

.item-description {
  flex: 1;
}

.item-about {
  max-height: 25vh;
  overflow-y: auto;
}

.item-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.shop-item p {
  max-width: 80%;
  line-height: 2rem;
}

.shop-item img {
  max-width: min(40%, 350px);
  object-fit: cover;
  flex: 1;
}

.shop-item button {
  margin: 0;
  max-width: 208px;
}

.shop-item .one-half.column:first-child {
  text-align: center;
}

.item-cost {
  display: flex;
  align-items: center;
  min-height: 42px;
  font-size: 3rem;
  margin: 0;
}

@media (orientation: landscape) {
  .shop-item p {
    max-width: min(50vw, 100%);
  }

  .item-about {
    max-height: 40vh;
  }
}

@media (orientation: portrait) {
  .shop-item {
    flex-direction: column;
  }

  .item-footer {
    flex-direction: column;
  }

  .shop-item img {
    max-width: 100%;
  }

  .shop-item button {
    width: 100%;
    max-width: none;
  }

  .shop-item p {
    max-width: 100%;
  }
}

/* ===================== Specs toggle ===================== */
.spec-li {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  height: 16px;
  margin-bottom: 1.5rem;
}

.icon-arrow-down {
  background: url('../icons/arrow-down.svg') no-repeat;
  width: 15px;
  height: 8px;
  background-size: 100%;
}

.icon-arrow-down--close {
  rotate: 180deg;
}

.spec--hidden {
  display: none;
}

.spec table td {
  padding: .1rem .5rem;
}

/* ===================== Requisites ===================== */
.li-pay {
  text-decoration: none;
}

.card-types-img {
  max-width: 268px;
  max-height: 58px;
}

.requisites {
  background: #fff;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  padding: 1rem;
}

.requisites table {
  margin-bottom: 0;
}

.requisites table td {
  border: 0;
  padding: 12px 15px;
}

@media (orientation: portrait) {
  .requisites {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    overflow-x: auto;
  }

  .requisites table td {
    padding: 12px 0;
  }
}

/* ===================== News ===================== */
.search-text {
  margin-bottom: 0;
}

.news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 750px) {
  .news {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .news {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.news-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  border-radius: 5px;
}

.news-item-img {
  width: 100%;
  max-height: min(200px, 40vmin);
  object-fit: cover;
  display: block;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.news-item-body {
  padding: 1.5rem;
  flex: 1;
}

.news-item-link {
  padding: 0 2rem 2rem;
}

.news-navigation {
  margin: 0;
}

.news-navigation h6 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.navigation-filter {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

@media (orientation: portrait) {
  .news-navigation {
    display: none;
  }
}

.news-row {
  display: inline-grid;
  gap: 2rem;
}

.news-row-landscape {
  grid-template-columns: 80% 20%;
}

.news-row-portrait {
  grid-template-columns: 100%;
}

.news-header {
  position: relative;
  min-height: min(200px, 40vmin);
  background: var(--pallete-violet);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.news-title {
  position: absolute;
  left: 2rem;
  bottom: 0;
}

.news-detail {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  border-radius: 5px;
}

.news-image {
  width: 100%;
  min-height: 180px;
  max-height: 200px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.news-content {
  box-sizing: border-box;
  padding: 2rem;
  flex: 1;
  max-height: min(150px, 40vmin);
  overflow: hidden;
}

.news-detail .news-content {
  max-height: 100%;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.news-item-date {
  margin-bottom: 0;
}

/* News filters (mobile) */
.tag-filter-popup, .category-filter-popup {
  display: none;
}

.filters {
  display: none;
  gap: 2rem;
  padding: 0 1.5rem;
}

.filters-li {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  height: 16px;
}

@media (orientation: portrait) {
  .filters {
    display: flex;
  }

  .tag-filter-popup, .category-filter-popup {
    position: fixed;
    z-index: 888;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90vmin;
    top: 30%;
    left: calc(50% - 45vmin);
    box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
    background: #fff;
    border-radius: 5px;
  }

  .tag-filter-popup--hidden, .category-filter-popup--hidden {
    display: none;
  }

  .tag-filter-popup .card__title, .category-filter-popup .card__title {
    position: relative;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--pallete-gray-80);
    margin: 0;
  }

  .tag-filter-popup .card__text, .category-filter-popup .card__text {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    padding: 0 1.5rem;
    margin: 1.5rem 0;
  }

  .tag-filter-popup .card__text p:last-child, .category-filter-popup .card__text p:last-child {
    margin-bottom: 0;
  }

  .tag-filter-popup-close, .category-filter-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0;
  }
}

/* ===================== License / Docs ===================== */
.license {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
}

.license-image {
  max-width: clamp(200px, 30%, 340px);
  object-fit: cover;
  display: block;
}

@media (orientation: portrait) {
  .license-image {
    max-width: 40%;
  }
}

.docs-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.docs-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .3rem;
  background: #fff;
  color: var(--pallete-black);
  padding: 2rem;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  cursor: pointer;
}

.docs-link:hover {
  background: var(--pallete-gray-10);
}

.docs-link:active {
  background: #fafafd;
}

.docs-link p {
  margin: 0;
  max-width: 90%;
}

.docs-link .arrow {
  background: url('../icons/arrow.svg') no-repeat;
  width: 25px;
  height: 16px;
  background-size: 100%;
}

.docs-requisites .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.docs-requisites-column {
  background: #fff;
  border-radius: 5px;
  padding: 2rem;
  min-height: 110px;
  width: 100%;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  margin-bottom: 1rem;
  box-sizing: border-box;
}

@media (orientation: portrait) {
  .docs-requisites .row {
    grid-template-columns: 1fr;
  }

  .docs-requisites-column {
    min-height: auto;
  }
}

.docs-requisites-column p:last-child {
  margin-bottom: 0;
}

/* ===================== About / diagrams ===================== */
.cards.about {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 550px) {
  .cards.about {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1150px) {
  .cards.about {
    grid-template-columns: 1fr 1fr;
  }
}

.diagrams {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  justify-items: center;
}

@media (min-width: 550px) {
  .diagrams {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1150px) {
  .diagrams {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* Circular progress (used by progressView) */
.diagram {
  width: 224px;
  height: 224px;
  border-radius: 50%;
  background: var(--pallete-green);
  position: relative;
  overflow: hidden;
}

.diagram::before {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: var(--pallete-white-90);
  z-index: 3;
}

.diagram .piece {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.diagram .piece::before {
  content: '';
  position: absolute;
  width: 50%;
  height: 100%;
}

.diagram .piece.left {
  transform: rotate(0);
  z-index: 2;
  border-radius: 50%;
}

.diagram.over_50 .piece.left {
  transform: rotate(180deg);
}

.diagram .piece.right {
  transform: rotate(180deg);
  z-index: 1;
  border-radius: 50%;
}

.diagram.over_50 .piece.right {
  transform: rotate(360deg);
}

.diagram .left::before {
  background: var(--pallete-gray-30);
}

.diagram.over_50 .left::before {
  background: var(--pallete-green);
}

.diagram .right::before {
  background: var(--pallete-gray-30);
}

.diagram .text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.diagram .text b {
  font-size: 6rem;
}

.diagram .text span {
  font-size: 1.3rem;
  display: block;
}

/* ===================== Contact / forms ===================== */
.form-popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.form-popup--hidden {
  display: none;
}

.form-popup>.call_form {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(280px, 48vmin);
  padding: 5rem;
  background: var(--pallete-gray-10);
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  overflow: hidden;
  z-index: 9;
}

.form-popup>.call_form>.form__group {
  box-shadow: 10px 20px 50px rgba(0, 0, 0, .15);
}

.form-popup>.call_form>.close {
  position: absolute;
  right: 2.5rem;
  top: 2.5rem;
  width: 30px;
  height: 30px;
  padding: 0;
}

/* .icon-close { display:inline-block; width:30px; height:30px; background:url('../icons/close.svg') center/100% no-repeat; } */
@media (orientation: landscape) {
  .form-popup>.call_form {
    width: min(588px, 100vw);
    margin: 0 auto;
  }
}

.form-popup>.call_form::before {
  content: '';
  position: absolute;
  z-index: -1;
  border-bottom: 15rem solid var(--pallete-red);
  border-right: 42rem solid transparent;
  inset: 0 auto auto 0;
  width: 0;
}

.call_form {
  position: relative;
  height: 15rem;
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
  background: var(--pallete-gray-10);
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  z-index: 9;
  overflow: hidden;
}

.call_form::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-top: 19rem solid var(--pallete-red);
  border-left: 19rem solid transparent;
  top: 0;
  right: 0;
  width: 30%;
}

.form__text {
  display: flex;
  flex-direction: column;
}

.form__text h5 {
  margin-bottom: 0;
  text-align: center;
}

.form__group {
  background: #fff;
  border-radius: 5px;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 10px 20px 50px rgba(0, 0, 0, .15);
}

.form__group div[role='form'] {
  display: flex;
  width: 100%;
}

.form__group form {
  width: 100%;
  margin: 0;
}

.form__group form p {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.form__input {
  flex: 2;
  width: 100%;
  min-height: 5rem;
  box-sizing: border-box;
  border: 0;
  outline: 0;
  margin: 0;
  font-size: 1.5rem;
  border-radius: 5px;
}

.form__action {
  margin: 0;
  flex: 1;
}

@media (orientation: portrait) {
  .call_form {
    padding: 2rem;
    height: auto;
    flex-direction: column;
  }

  .form__group, .form-popup>.call_form>.form__group {
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .form__group p {
    flex-direction: column;
  }

  .call_form::before, .call_form::after {
    display: none;
  }

  .form__input {
    text-align: center;
    box-shadow: 10px 20px 50px rgba(0, 0, 0, .15);
    margin-bottom: 1.5rem;
  }
}

.wpcf7-response-output {
  padding-top: 1rem;
  font-size: 1.2rem;
  display: none;
}

@media (min-width: 1000px) {
  .wpcf7-form-control-wrap {
    flex: 2;
  }
}

.wpcf7-submit {
  flex: 1;
}

.screen-reader-response {
  display: none;
}

/* Notifications */
.notification-popup {
  position: fixed;
  left: 50px;
  bottom: max(50px, env(safe-area-inset-bottom, 50px));
  width: 50vmin;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--pallete-gray-80);
  color: var(--pallete-gray);
  border-radius: 5px;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
  z-index: 1000;
}

.notification-popup--hidden {
  display: none;
}

@media (orientation: portrait) {
  .notification-popup {
    width: 100vmin;
    left: 0;
    border-radius: 0;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
  }
}

.notification-text {
  padding: 1rem;
  text-align: center;
}

/* ===================== Header TV dropdown ===================== */
/* Разрешаем выпадашке выходить за контейнеры */
.header, .container, .header-row, .header-links, .header-tv-dropdown {
  overflow: visible !important;
}

.tv-submenu {
  position: absolute;
  top: 100%;
  margin-top: -23px;
  background: #fff;
  min-width: 250px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .15);
  z-index: 888;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.header-tv-dropdown:hover .tv-submenu {
  opacity: 1;
  visibility: visible;
}

.tv-submenu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.4;
}

.tv-submenu a:hover {
  background: #f8f8f8;
  color: #000;
}

.tv-submenu a:last-child {
  border-bottom: none;
}

/* ===================== TV hero / carousel ===================== */
.tv-hero {
  position: relative;
  overflow: hidden;
}

.tv-carousel {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.call-button_lk {
  display: inline-block;
  padding: 16px 48px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  text-align: center;
  margin-top: 15px;
}

.call-button_lk:hover {
  color: #000 !important;
  text-decoration: none;
}

/* ===================== Advantages ===================== */
.advantages-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  text-align: center;
  padding: 40px 25px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  opacity: 0;
  transition: opacity .3s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ff3366, #ff6b35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.advantage-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.advantage-text {
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantage-card {
    padding: 30px 20px;
  }
}

/* ===================== TV packages ===================== */
.tv-packages {
  background: #f8f9fa;
}

.package-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
	margin-bottom: 40px;
}

.package-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.package-card-featured {
  border-color: #ff3366;
  background: linear-gradient(135deg, #fff 0%, #fef0f5 100%);
}

.package-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff0000;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.package-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.package-channels {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.package-price {
  font-size: 32px;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 20px;
  min-height: 60px;
}



.package-button {
  background: linear-gradient(135deg, #ff3366, #ff6b35);
  color: #fff;
  border: 0;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s ease;
  width: 100%;
  margin-top: auto;
}

.package-button:hover {
  background: #e62e5c;
}

.package-button.featured {
  background: #333;
}

.package-button.featured:hover {
  background: #555;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-top: 10px;
}

/* ===================== Channels modal ===================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .7);
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: modalAppear .3s ease-out;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  color: #999;
}

.modal-close:hover {
  color: #333;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.channel-item {
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #ff3366;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===================== Internet tariffs (cards + speed meter) ===================== */
/* Tabs */
.tariff-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 20px;
}

.tariff-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  color: var(--pallete-black);
  background: #fff;
  transition: all .25s ease;
  font-size: 16px;
  font-family: 'Golos Text';
}

.tariff-tab:hover {
  transform: translateY(-1px);
  border-color: #ff3366;
  color: #ff3366;
}

.tariff-tab.active {
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255, 51, 102, .25);
}

/* .tab-panel[hidden] {
  display: none !important;
} */




.tab-panel {
  display: none;
  /* По умолчанию все панели скрыты */
}

.tab-panel.active-panel {
  display: block;
  /* Показываем только активную панель */
}

/* .tab-panel[hidden] {
  display: none !important;
 
} */




/* Card grid (don't stretch single card full-width) */
.internet-tariffs-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.internet-tariffs-cards .internet-tariff-card {
  flex: 1 1 300px;
  max-width: 360px;
  min-width: 260px;
}

.internet-tariffs-cards:has(.internet-tariff-card:only-child) {
  justify-content: left;
}

.internet-tariffs-cards:has(.internet-tariff-card:only-child) .internet-tariff-card {
  flex: 0 1 360px;
  max-width: 360px;
}

@media (max-width: 768px) {
  .internet-tariff-card {
    min-height: 350px;
    padding: 25px 20px;
  }
}

/* Card */
.internet-tariff-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.internet-tariff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.internet-tariff-featured {
  border-color: #ff3366;
  background: linear-gradient(135deg, #fff 0%, #fef0f5 100%);
}

.tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .5px;
}

.tariff-name {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.tariff-type {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.tariff-features {
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Speed meter */
@property --p {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

.feature-item.feature-speed {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.speed-meter {
  --p: 0;
  --size: 120px;
  --track: #f2f2f4;
  --grad1: #ff3366;
  --grad2: #ff6b35;
  width: var(--size);
  height: var(--size);
  position: relative;
  transition: --p 1.2s ease;
  will-change: transform;
}

.speed-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--grad1) calc(var(--p) * 1%), var(--track) 0);
  display: grid;
  place-items: center;
  transition: filter .3s ease;
  box-shadow: 0 6px 24px rgba(255, 51, 102, .08);
}

.speed-center {
  width: calc(var(--size) - 20px);
  height: calc(var(--size) - 20px);
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  box-shadow: inset 0 0 0 1px #f0f0f0;
}

.speed-value {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.2;
}

.speed-label {
  font-size: 11px;
  color: #888;
}

.speed-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .35;
  pointer-events: none;
  transition: opacity .3s ease;
}

.internet-tariff-card:hover .speed-ring {
  filter: saturate(1.05);
}

.internet-tariff-card:hover .speed-ring::after {
  opacity: .5;
}



/* ===== Tariff card: price + button — в фирменном стиле ==================== */

.tariff-price {
  margin: 10px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.price-amount {
  font-size: clamp(22px, 2.2vw, 25px);
  font-weight: 600;
  color: #000;
  letter-spacing: .2px;
  line-height: 1.2;
}

.price-period {
  font-size: 15px;
  color: #999;
  margin-top: 4px;
  font-weight:400;
}

/* ==== основная кнопка тарифа ==== */
.tariff-button {
  --g1: #ff3b5c;
  --g2: #ffa14e;
  display: inline-block;
  width: 100%;
  padding: 14px 20px;
  margin-top: 16px;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .2px;
  text-transform: none;
  text-align: center;
  cursor: pointer;

  color: #0b0f14;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  box-shadow:
    0 12px 28px rgba(255, 85, 85, .28),
    0 2px 8px rgba(0, 0, 0, .25);
  transition:
    transform .16s ease,
    filter .16s ease,
    box-shadow .16s ease;
}

.tariff-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 16px 36px rgba(255, 85, 85, .35),
    0 3px 10px rgba(0, 0, 0, .28);
}

.tariff-button:active {
  transform: translateY(0);
  filter: brightness(.97);
}

/* ===== популярный тариф (featured) ===== */
.featured-button {
  --g1: #4ec7ff;
  --g2: #68ffa7;
  color: #0b0f14;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  box-shadow: 0 10px 24px rgba(78, 199, 255, .3);
}

.featured-button:hover {
  filter: brightness(1.05);
  box-shadow: 0 16px 36px rgba(78, 199, 255, .35);
}

/* ===== подпись под кнопкой (annotation) ===== */
.annotation {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  margin-top: 10px;
  text-align: center;
  line-height: 1.4;
}

/* ===== адаптив ===== */
@media (max-width: 480px) {
  .tariff-button {
    padding: 13px 16px;
    font-size: 14px;
  }

  .price-amount {
    font-size: 20px;
  }

  .price-period {
    font-size: 13px;
  }
}







/* ===================== Connection steps ===================== */
.connection-steps-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.connection-steps-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff3366, transparent);
}

.connection-steps-section h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
}

.connection-steps-section .section-subtitle {
  text-align: center;
  color: #ccc;
  font-size: 18px;
  margin-bottom: 60px;
}

.connection-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 80px;
}

.connection-timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, #ff3366, #ff6b35, #ff3366);
  z-index: 1;
}

.timeline-step {
  position: relative;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #000, #ff3366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #1a1a1a;
  box-shadow: 0 0 0 3px #ff3366;
  transition: all .3s ease;
  position: relative;
  z-index: 3;
}

.timeline-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px #ff3366, 0 0 20px rgba(255, 51, 102, .5);
}

.step-content h3 {
  color: #ff3366;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}

.step-content p {
  color: #ccc;
  line-height: 1.6;
  font-size: 14px;
}

.step-arrow {
  position: absolute;
  top: 30px;
  right: -10px;
  color: #ff3366;
  font-size: 24px;
  font-weight: 700;
  z-index: 2;
}

.connection-cta {
  background: linear-gradient(135deg, #000, #2a2a2a);
  border: 2px solid #ff3366;
  border-radius: 20px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 10px 40px rgba(255, 51, 102, .2);
}

.cta-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #fff;
}

.cta-content p {
  color: #ccc;
  margin-bottom: 25px;
  font-size: 16px;
}

.cta-button {
  background: linear-gradient(135deg, #ff3366, #ff6b35);
  color: #fff;
  border: 0;
  padding: 18px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ff6b35, #ff3366);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 51, 102, .4);
}

.cta-badge {
  background: linear-gradient(135deg, #ff3366, #ff0000);
  color: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 10px 30px rgba(255, 51, 102, .3);
  animation: pulse 2s infinite;
}

.cta-badge span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-badge strong {
  font-size: 32px;
  font-weight: 700;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .connection-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .connection-timeline::before, .step-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .connection-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .connection-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .cta-badge {
    margin-top: 25px;
  }

  .connection-steps-section {
    padding: 60px 0;
  }
}

/* ===================== Digital TV feature cards ===================== */
.digital-tv-features {
  /*   background: linear-gradient(30deg, #FFF 20%, #E2549B 60%, #ED7A30); */
  color: #000;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.digital-tv-features::before {
  content: '';
  position: absolute;
  inset: 0;
  /*   background:
    radial-gradient(circle at 20% 80%, rgba(255,51,102,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,107,53,.1) 0%, transparent 50%); */
  pointer-events: none;
}

.digital-tv-features h2 {
  color: #000;
  text-align: left;
  margin-bottom: 15px;
}

.digital-tv-features .section-subtitle {
  text-align: left;
  color: #000;
  font-size: 18px;
  margin-bottom: 60px;
}

/* Grid */
.tv-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  perspective: 1000px;
  padding: 0 20px;
}

/* Card (flip) */
.tv-feature-card {
  position: relative;
  height: 280px;
  cursor: pointer;
  transform-origin: center;
  margin: 10px;
  transform-style: preserve-3d;
  animation: cardAppear .6s ease forwards;
  will-change: transform;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tv-feature-card:hover .card-inner, .tv-feature-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  backface-visibility: hidden;
  box-sizing: border-box;
}

.card-front {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.card-back {
  background: linear-gradient(135deg, #ff3366 0%, #ff6b35 100%);
  transform: rotateY(180deg);
  color: #fff;
  justify-content: space-between;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  transition: transform .3s ease;
}

.tv-feature-card:hover .feature-icon img, .tv-feature-card.flipped .feature-icon img {
  transform: scale(1.1);
}

.feature-title {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
}

.feature-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
}

.feature-badge {
  --g1: #E2549B;
  --g2: #ED7A30;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 10px;
}

.card-back p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  background: rgba(255, 255, 255, .2);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .3);
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff3366, #ff6b35);
  opacity: 0;
  filter: blur(20px);
  transition: opacity .3s ease;
  z-index: -1;
}

.tv-feature-card:hover .card-glow, .tv-feature-card.flipped .card-glow {
  opacity: .6;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(-10deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: .6;
  }

  50% {
    opacity: .8;
  }
}

@media (max-width: 768px) {
  .tv-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tv-feature-card {
    height: 250px;
    margin: 5px;
  }

  .card-front, .card-back {
    padding: 25px 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .feature-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .tv-features-grid {
    gap: 20px;
    padding: 0 10px;
  }

  .tv-feature-card {
    height: 220px;
  }

  .card-front, .card-back {
    padding: 20px 15px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature-badge {
    font-size: 10px;
    padding: 4px 10px;
  }

  .card-back p {
    font-size: 12px;
  }

  .stat {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* Accessibility / performance hints */
.tv-feature-card * {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* .tv-feature-card:focus { outline: 2px solid #ff3366; outline-offset: 2px; } */
.tv-feature-card:focus {
  outline: none;
  outline-offset: 2px;
}

/* Disabled buttons (shared) */
.tariff-button:disabled, .package-button:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

.tariff-button:disabled:hover, .package-button:disabled:hover {
  background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(0, 0, 0, .61) 100%);
  transform: none;
}

/* ===================== SBP (Popup + QR) ===================== */
/* Overlay (включается через jQuery .fadeIn) */
.popup-fade {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 10, 15, .55);
  backdrop-filter: blur(4px);
  display: none;
  /* будет display:flex в JS */
  align-items: center;
  justify-content: center;

  /* Скрываем скроллбары внутри оверлея */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.popup-fade::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Карточка модалки */
.sbp-modal {
  width: min(92vw, 720px);
  max-width: 720px;
  margin: 5vh auto;
  background: rgba(20, 22, 28, .72);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .04);
  animation: sbp-pop 260ms ease-out;

  /* Скрываем полосы прокрутки внутри карточки */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sbp-modal::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@keyframes sbp-pop {
  0% {
    transform: translateY(6px) scale(.98);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Кнопка закрытия */
.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  z-index: 2;
}

.popup-close:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
}

/* Контентная обёртка */
.sbp-card {
  position: relative;
  padding: clamp(18px, 3.5vw, 28px);
  isolation: isolate;

  /* Скрываем скроллбары в обёртке (на всякий случай) */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sbp-card::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Декоративные свечения */
.sbp-blob {
  position: absolute;
  filter: blur(40px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

.sbp-blob-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
  background: radial-gradient(45% 45% at 50% 50%, #ff3b5c 0%, rgba(255, 59, 92, 0) 70%);
}

.sbp-blob-2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(45% 45% at 50% 50%, #4ec7ff 0%, rgba(78, 199, 255, 0) 70%);
}

/* Заголовок */
.sbp-title {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  color: #fff;
  letter-spacing: .3px;
}

/* Форма */
.sbp-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.sbp-field {
  display: grid;
  gap: 8px;
}

.sbp-field label {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
}

.sbp-field input[type="number"], .sbp-field input[type="text"] {
  appearance: textfield;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.sbp-field input::placeholder {
  color: rgba(255, 255, 255, .45);
}

.sbp-field input:focus {
  border-color: rgba(78, 199, 255, .7);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 4px rgba(78, 199, 255, .15);
}

.sbp-disclaimer {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}

/* ==== Статичная кнопка «Показать QR-код» (без «прыжков») ==== */
.sbp-btn-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  min-width: 220px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(90deg, #ff3b5c, #ffa14e);
  box-shadow: 0 0 12px rgba(255, 100, 0, .3);
  cursor: pointer;
  outline: none;
  transition: box-shadow .15s ease, filter .15s ease;
  /* без transform => нет сдвига */
}

.sbp-btn-form:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 20px rgba(255, 120, 0, .5);
}

.sbp-btn-form:active {
  filter: brightness(.98);
  box-shadow: 0 0 10px rgba(255, 100, 0, .3);
}

.sbp-btn-form[disabled] {
  cursor: wait;
  opacity: .8;
  position: relative;
}

.sbp-btn-form[disabled]::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid rgba(11, 15, 20, .25);
  border-top-color: rgba(11, 15, 20, .85);
  animation: sbp-spin .8s linear infinite;
}

@keyframes sbp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Область под QR — всегда центр */
.sbp-qr {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: clamp(12px, 2vw, 16px);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .03);
  min-height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;

  /* Скрываем полосы прокрутки в зоне QR */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sbp-qr::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Плейсхолдер до появления QR — по центру, столбиком */
.sbp-qr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: rgba(255, 255, 255, .75);
}

.sbp-qr-empty strong {
  color: #fff;
  font-weight: 700;
}

.sbp-qr-empty span {
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}

/* Маленькая иконка рамки */
.sbp-qr-illustration {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .02) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  position: relative;
}

.sbp-qr-illustration::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 3px solid rgba(255, 255, 255, .5);
  border-radius: 4px;
}

/* Прячем плейсхолдер, когда в контейнер пришёл <img> */
.sbp-qr:has(#qr-code-container.has-qr) .sbp-qr-empty {
  display: none;
}

#qr-code-container.has-qr+.sbp-qr-empty {
  display: none;
}

/* на случай, если placeholder следует сразу после контейнера */

/* Контейнер с QR — центрируем, без скроллов */
#qr-code-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

#qr-code-container::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Размытый фон в контейнере */
#qr-code-container .background-blur {
  position: absolute;
  inset: 0;
  background-image: url(http://formula-smart.ru/wp-content/themes/formula/images/qrcode.png);
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(5px);
  z-index: 0;
}

/* Гарантируем, что кнопка не позиционируется абсолютно (старые стили) */
#qr-code-container .sbp-btn-form {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 1;
}

/* Сам QR */
.sbp-qr img {
  width: min(240px, 70vw);
  height: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

/* Мобильные правки */
@media (max-width: 860px) {
  .sbp-form {
    grid-template-columns: 1fr;
  }

  .sbp-disclaimer {
    margin-top: 2px;
  }
}

@media (max-width: 520px) {
  .sbp-modal {
    width: min(94vw, 720px);
    margin: 4vh auto;
  }

  .popup-close {
    top: 10px;
    right: 10px;
  }

  .sbp-qr {
    min-height: 150px;
  }
}

/* Наследие .popup — нейтральная совместимость */
.popup {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  max-height: 100vh;
  overflow: auto;
}

.popup.sbp-modal {
  position: static;
  transform: none;
  inset: auto;
  width: min(92vw, 720px);
  height: auto;
  margin: 5vh auto;
  border: 0;
  text-align: left;
  padding: 0;
}

/* ===================== Footer (new style) ===================== */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  margin: 0;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  color: var(--g1);
}

.contact-link, .contact-text {
  color: #ccc;
  text-decoration: none;
  transition: color .3s ease;
  font-size: 14px;
}

.contact-link:hover {
  color: #ff3366;
}

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

.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: all .3s ease;
  font-size: 14px;
  padding: 4px 0;
}

.footer-link:hover {
  color: #ff3366;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.vk {
  padding-top: 6px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  border: 1px solid transparent;
}

.social-link:hover {
  background: rgba(255, 51, 102, .2);
  border-color: #ff3366;
  transform: translateY(-2px);
}

.social-link svg {
  color: #fff;
}

.app-downloads {
  margin-top: 10px;
}

.apps-title {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 12px;
}

.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-button {
  display: inline-block;
  transition: transform .3s ease;
}

.app-button:hover {
  transform: scale(1.05);
}

.app-button img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.footer-bottom {
  background: rgba(0, 0, 0, .3);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.copyright p {
  color: #999;
  font-size: 13px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-link {
  color: #999;
  text-decoration: none;
  font-size: 13px;
  transition: color .3s ease;
}

.footer-bottom-link:hover {
  color: #ff3366;
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-item {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-links {
    justify-content: center;
  }

  .app-buttons {
    align-items: center;
  }
}

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

  .social-links {
    gap: 10px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}

/* ===================== Misc small helpers ===================== */
.sbpbtn {
  display: flex;
  align-items: center;
  background: #1C1244;
  color: #fff;
  width: 100%;
	justify-content:center;
}

.sbpbtn-too {
  width: auto;
}

.sbpbtn:hover {
  color: red;
}

.sbpbtn:active {
  color: #fff;
}

#account {
  width: 300px;
}

#paysumm {
  max-width: 300px;
}




/* === SBP close button: gradient "X" =================================== */

/* общие стили + мобильная позиция (внутри попапа) */
.popup-close {
  /* визуал */
  --g1: #E2549B;
  --g2: #ED7A30;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  box-shadow: 0 12px 28px rgba(255, 85, 85, .28), 0 2px 8px rgba(0, 0, 0, .25);
  backdrop-filter: none;
  /* расположение по умолчанию — внутри карточки */
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

/* рисуем "крестик" без иконок */
.popup-close::before,
.popup-close::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.popup-close::before {
  transform: rotate(45deg);
}

.popup-close::after {
  transform: rotate(-45deg);
}

.popup-close:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.04);
  box-shadow: 0 16px 36px rgba(255, 85, 85, .35), 0 3px 10px rgba(0, 0, 0, .28);
}

.popup-close:active {
  transform: translateY(0) scale(0.99);
  filter: brightness(.98);
}

/* доступность */
.popup-close:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .25),
    0 0 0 6px rgba(255, 59, 92, .35),
    0 10px 24px rgba(255, 85, 85, .28);
}

/* десктоп: выносим кнопку наружу сверху-справа, даём выйти за пределы карточки */
@media (min-width: 861px) {
  .sbp-modal {
    overflow: visible;
  }

  /* чтобы кнопка могла «вылезти» за края */
  .popup-close {
    top: 10%;
    /* над карточкой */
    right: 25%;
    /* вправо от карточки */
    box-shadow:
      0 14px 34px rgba(255, 80, 80, .35),
      0 0 0 6px rgba(255, 255, 255, .12);
  }
}

/* ===== Call form popup — glass/gradient style ================================= */

/* Оверлей */
.form-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  /* покажете через JS, убрав модификатор */
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 15, .55);
  backdrop-filter: blur(4px);
}

.form-popup:not(.form-popup--hidden) {
  display: flex;
}

.form-popup--hidden {
  display: none !important;
}

/* Карточка */
.form-popup .call_form {
  position: relative;
  width: min(92vw, 720px);
  max-height: calc(100vh - 10vh);
  overflow: hidden;
  /* без внешних скроллов */
  margin: 5vh auto;
  padding: clamp(22px, 3.5vw, 30px);
  border-radius: 20px;
  background: rgba(20, 22, 28, .72);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, .35),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
  color: #fff;
  isolation: isolate;
  overflow-y: auto;
  /* если контент длинный — скролл внутри, без сдвигов */
  scrollbar-width: none;
  /* скрыть скролл Firefox */
}

.form-popup .call_form::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Декоративные мягкие «блики» */
.form-popup .call_form::before,
.form-popup .call_form::after {
  content: "";
  position: absolute;
  filter: blur(40px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

.form-popup .call_form::before {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
  background: radial-gradient(45% 45% at 50% 50%, #ff3b5c 0%, rgba(255, 59, 92, 0) 70%);
}

.form-popup .call_form::after {
  width: 360px;
  height: 360px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(45% 45% at 50% 50%, #4ec7ff 0%, rgba(78, 199, 255, 0) 70%);
}

/* Заголовок и описание */
.form-popup .form__text {
  position: relative;
  z-index: 1;
  margin: 0 0 14px 0;
  text-align: center;
}

.form-popup .form__text h3 {
  margin: 0 0 20px 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  color: #fff;
  letter-spacing: .3px;
}

.form-popup .form__text p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
}

/* Обёртка CF7 */
.form-popup .form__group {
  position: relative;
  z-index: 1;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* Спрятанные вариации форм */
.contact-form-7-wrapper.contact-form-7--hidden {
  display: none !important;
}

/* ===== CF7 поля/кнопки в едином стиле ======================================= */
.form-popup .wpcf7 form {
  margin: 0;
}

.form-popup .wpcf7 form p {
  margin: 0 0 12px 0;
}

.form-popup .wpcf7 input[type="text"],
.form-popup .wpcf7 input[type="tel"],
.form-popup .wpcf7 input[type="email"],
.form-popup .wpcf7 input[type="number"],
.form-popup .wpcf7 textarea,
.form-popup .wpcf7 select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  appearance: none;
  margin-bottom: 10px;
}

.form-popup .wpcf7 textarea {
  min-height: 110px;
  resize: vertical;
}

.form-popup .wpcf7 input::placeholder,
.form-popup .wpcf7 textarea::placeholder {
  color: rgba(255, 255, 255, .45);
}

.form-popup .wpcf7 input:focus,
.form-popup .wpcf7 textarea:focus,
.form-popup .wpcf7 select:focus {
  border-color: rgba(78, 199, 255, .7);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 4px rgba(78, 199, 255, .14);
}

/* Ошибки CF7 */
.form-popup .wpcf7-not-valid {
  border-color: #ff3b5c !important;
}

.form-popup .wpcf7-not-valid-tip {
  color: #ff9aa8;
  font-size: 12px;
  margin-top: 6px;
}

.form-popup .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
}

/* Кнопка отправки — градиент, как у «Показать QR» */
.form-popup .wpcf7-submit {
  display: inline-block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 0;
  color: #0b0f14;
  background: linear-gradient(90deg, #ff3b5c, #ffa14e);
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
  box-shadow: 0 10px 24px rgba(255, 80, 80, .25);
}

.form-popup .wpcf7-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.form-popup .wpcf7-submit:active {
  transform: translateY(0);
}

/* ===== Кнопка закрытия (иконка-крестик) ===================================== */
/* Базово — внутри карточки (мобайл) */
#popup-close-button.close {
  --g1: #E2549B;
  --g2: #ED7A30;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
  box-shadow: 0 12px 28px rgba(255, 85, 85, .28), 0 2px 8px rgba(0, 0, 0, .25);
}

/* рисуем «X» без внешних svg */
#popup-close-button.close .icon-close {
  position: relative;
  width: 22px;
  height: 22px;
  display: block;
}

#popup-close-button.close .icon-close::before,
#popup-close-button.close .icon-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
}

#popup-close-button.close .icon-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#popup-close-button.close .icon-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#popup-close-button.close:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.04);
  box-shadow: 0 16px 36px rgba(255, 85, 85, .35), 0 3px 10px rgba(0, 0, 0, .28);
}

#popup-close-button.close:active {
  transform: translateY(0) scale(.99);
}

/* Доступность */
#popup-close-button.close:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .25),
    0 0 0 6px rgba(255, 59, 92, .35),
    0 10px 24px rgba(255, 85, 85, .28);
}

/* Десктоп: «вынести» кнопку наружу сверху-справа */
@media (min-width: 1024px) {
  .form-popup .call_form {
    overflow: visible;
  }

  /* позволяем кнопке «вылезти» */
  #popup-close-button.close {
    top: -18px;
    right: -18px;
    box-shadow:
      0 14px 34px rgba(255, 80, 80, .35),
      0 0 0 6px rgba(255, 255, 255, .12);
  }
}

/* ===== Мелкие уточнения ====================================================== */
/* ссылки/текст в подсказках */
.form-popup a {
  color: #ffa14e;
}

.form-popup a:hover {
  color: #ffcf9c;
  text-decoration: none;
}

/* чтобы ничего не «плясало» при hover у кнопок */
.form-popup .wpcf7-submit,
.form-popup .wpcf7-submit:hover,
.form-popup .wpcf7-submit:active {
  line-height: 1.2;
}

/* На очень маленьких экранах — плотнее отступы */
@media (max-width: 520px) {
  .form-popup .call_form {
    margin: 4vh auto;
    padding: 18px;
  }

  #popup-close-button.close {
    top: 10px;
    right: 10px;
  }
}



/* === Новости (в фирменном стиле) === */
.news-swiper-section {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.news-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.news-swiper .swiper-wrapper {
  display: flex;
}

.news-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.news-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #EFEFEF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

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

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

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

.news-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card__title {
  font-size: 18px;
  font-weight: 400;
  color: #181818;
  margin: 0;
  line-height: 1.25;
}

.news-card__title a {
  color: inherit;
  text-decoration: none;
}

.news-card__title a:hover {
  color: #ff3366;
}

.news-card__meta {
  font-size: 12px;
  color: #9A9A9A;
  margin: 0;
}

.news-card__excerpt {
  font-size: 14px;
  color: #5C5C5C;
  line-height: 1.55;
  margin: 0 0 6px 0;
}

/* Кнопка в бренд-стиле — используем общий .tariff-button */
.news-card__btn {
  margin-top: auto;
  width: 100%;
  display: inline-block;
  text-align: center;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  padding: 12px 18px;
  background: linear-gradient(90deg, #ff3366 0%, #ff6b35 100%);
  color: #fff !important;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}

.news-card__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

/* === Навигация и пагинация (аккуратно и в цветах бренда) === */
.news-swiper-pagination {
  margin-top: 20px;
  text-align: center;
}

.news-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #D7D7D7;
  opacity: 1;
  transition: transform .2s ease, background .2s ease;
}

.news-swiper-pagination .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  transform: scale(1.2);
}

/* Кнопки навигации — компактные, с тем же градиентом и стрелками */
.news-swiper-nav {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}

.news-swiper-prev, .news-swiper-next {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  position: absolute;
  top: -58px;
  transition: transform .16s ease, filter .16s ease;
}

.news-swiper-prev {
  right: 56px;
}

.news-swiper-next {
  right: 8px;
}

.news-swiper-prev::before, .news-swiper-next::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 25 16" xmlns="http://www.w3.org/2000/svg"><path fill="%23000" d="M0 8h21M14 1l7 7-7 7"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 25 16" xmlns="http://www.w3.org/2000/svg"><path fill="%23000" d="M0 8h21M14 1l7 7-7 7"/></svg>') center/contain no-repeat;
}

.news-swiper-prev::before {
  transform: rotate(180deg);
}

.news-swiper-prev:hover, .news-swiper-next:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}


/* --- фиксы высоты/перекрытий --- */
.news-swiper {
  overflow: visible;
}

/* тени не обрезаются */
.news-swiper .swiper-wrapper {
  align-items: stretch;
}

/* все слайды равной высоты */
.news-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card__image {
  flex: 0 0 auto;
}

.news-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* обрежем слишком длинный заголовок/анонс, чтобы не раздували карточку */
.news-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* максимум 2 строки заголовка */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* максимум 3 строки анонса */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* на очень узких экранах можно сделать анонс покороче */
@media (max-width: 480px) {
  .news-card__excerpt {
    -webkit-line-clamp: 2;
  }
}


/* Адаптивы/мелкие правки */
@media (max-width: 1024px) {
  .news-swiper-prev, .news-swiper-next {
    top: -52px;
  }
}

@media (max-width: 768px) {
  .news-swiper-nav {
    display: none;
  }

  /* на мобилках оставим только пагинацию */
  .news-card {
    max-width: 100%;
  }
}


/* 1) Не даём слайдеру выпирать за контейнер */
.news-swiper-section,
.news-swiper-wrapper,
.news-swiper {
  overflow: hidden;
  /* было visible — отключаем */
}

/* 2) Кнопки навигации — внутри видимой области */
.news-swiper-nav {
  position: absolute;
  inset: 0;
  /* растягиваем по слайдеру */
  pointer-events: none;
}

.news-swiper-prev,
.news-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

/* убираем отрицательные отступы! */
.news-swiper-prev {
  left: 12px;
  right: auto;
}

.news-swiper-next {
  right: 12px;
  left: auto;
}

@media (min-width: 1024px) {
  .news-swiper-prev {
    left: 16px;
  }

  .news-swiper-next {
    right: 16px;
  }
}

/* 3) На всякий случай: слайд не должен расширять ленту */
.news-swiper .swiper-slide {
  min-width: 0;
  box-sizing: border-box;
}

/* 4) Карточка растягивается по высоте слайда (как раньше) */
.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* 5) Ограничение длинных заголовков/анонсов (чтобы не пёрло) */
.news-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Убираем стрелки полностью === */
.news-swiper-nav,
.news-swiper-prev,
.news-swiper-next {
  display: none !important;
}

/* === Центрируем и улучшаем пагинацию === */
.news-swiper-pagination {
  margin-top: 28px;
  text-align: center;
}

.news-swiper-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 6px;
  background: #d9d9d9;
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease;
}

.news-swiper-pagination .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 51, 102, 0.4);
}



/* === Новые технологии — в стиле сайта (светлые карточки) === */
.new-technology {
  padding: 70px 0;
  /*   background: linear-gradient(180deg, #fafafa 0%, #fff 100%); */
  text-align: left;
}

.new-technology .section-title {
  /* если используешь */
  font-size: 32px;
  font-weight: 800;
  color: var(--pallete-black);
  margin: 0 0 8px;
}

.new-technology .section-subtitle {
  max-width: 680px;
  margin: 0 0 40px;
  font-size: 16px;
  color: #FFF;
}

/* Сетка карточек */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Карточка */
.tech-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  /* тонкий градиентный акцент сверху, как у твоих карточек ТВ */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  opacity: .9;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
  border-color: #ececec;
}

/* Иконка в градиентном круге */
.tech-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ff3366, #ff6b35);
  box-shadow: 0 8px 20px rgba(255, 51, 102, .18);
}

.tech-card__icon img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

/* Текст */
.tech-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #181818;
  margin: 6px 0 8px;
  line-height: 1.25;
}

.tech-card__text {
  font-size: 14px;
  color: #5C5C5C;
  line-height: 1.55;
  margin: 0;
}

/* Адаптив */
@media (max-width: 768px) {
  .new-technology {
    padding: 56px 0;
  }

  .tech-card {
    border-radius: 16px;
  }

  .tech-card__icon {
    width: 64px;
    height: 64px;
  }

  .tech-card__icon img {
    width: 32px;
    height: 32px;
  }
}


/* === News card: gradient header with pulsing SVG === */
.news-card__image {
  position: relative;
  width: 100%;
  height: 220px;
  /* подгони при желании */
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: linear-gradient(90deg, #ff3366 0%, #ff6b35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .25);
}

.news-card__icon {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  /* диаметр «подложки» под SVG */
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 25px rgba(255, 255, 255, .18), inset 0 0 10px rgba(255, 255, 255, .12);
  animation: pulseIcon 1.1s ease-in-out infinite;
}

/* сам SVG — белый, резиновый */
.news-card__svg {
  width: 72px;
  /* подгон размера самого SVG */
  height: 72px;
  fill: #fff;
}

/* мягкая пульсация контейнера (без вращения) */
@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(255, 255, 255, .18), inset 0 0 10px rgba(255, 255, 255, .12);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 45px rgba(255, 255, 255, .28), inset 0 0 14px rgba(255, 255, 255, .18);
  }
}

@media (max-width: 768px) {
  .news-card__image {
    height: 180px;
  }

  .news-card__icon {
    width: 78px;
    height: 78px;
  }

  .news-card__svg {
    width: 46px;
    height: 46px;
  }
}

/* Герой видео */
.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-video__el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Заполняет весь контейнер */
  object-position: center;
  /* Центрирует видео */
  z-index: 2;
}

.hero-video__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Точно такой же размер как у видео */
  background-position: center;
  /* Точно такая же позиция как у видео */
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-video__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .65) 100%);
}

.hero-video .container {
  position: relative;
  z-index: 4;
}


.hero-video__el,
.hero-video__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

/* Гарантируем одинаковое соотношение сторон */
.hero-video::before {
  content: '';
  display: block;
  padding-top: 56.25%;
  /* 16:9 соотношение */
}

.hero-video__el,
.hero-video__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-video__el {
    display: none;
  }
}

/* ===================== Full Width Service Cards Stack ===================== */
.services-cards-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.services-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card-full {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, .08),
    0 2px 8px rgba(255, 51, 102, .05);
  border: 1px solid #f0f0f0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Эффект свечения и тени при наведении */
.service-card-full::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #ff3366, #ff6b35, #ff3366);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card-full::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 51, 102, .03), rgba(255, 107, 53, .02));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card-full:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, .12),
    0 6px 20px rgba(255, 51, 102, .15),
    0 0 0 1px rgba(255, 51, 102, .1);
}

.service-card-full:hover::before {
  opacity: 1;
}

.service-card-full:hover::after {
  opacity: 1;
}

.service-card-full__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 400px;
  position: relative;
  z-index: 2;
}

.service-card-full__text {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.service-card-full__text h2 {
  font-size: 32px;
  color: var(--pallete-black);
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
}

.service-card-full__text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  border-radius: 2px;
}

.service-card-full__text p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 16px;
  color: var(--pallete-gray);
}

.service-card-full__text .tariff-button {
  margin-top: 25px;
  width: auto;
  min-width: 200px;
  text-align: center;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(100deg, #E2549B 15%, #ED7A30);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.service-card-full__text .tariff-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.service-card-full__text .tariff-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .4),
    0 4px 15px rgba(255, 107, 53, .3);
}

.service-card-full__text .tariff-button:hover::before {
  left: 100%;
}

.service-card-full__image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

/* Эффект мягкого свечения для изображения */
.service-card-full__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 51, 102, .1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card-full:hover .service-card-full__image::before {
  opacity: 1;
}

/* Чередование сторон для визуального интереса */
.service-card-full:nth-child(even) .service-card-full__content {
  direction: rtl;
}

.service-card-full:nth-child(even) .service-card-full__text {
  direction: ltr;
}

.service-card-full:nth-child(even) .service-card-full__text h2::after {

  right: 0;
}

/* ===================== Service Card Video Styles ===================== */
.service-card-video,
.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 24px 24px 0;
}

/* .service-card-full:nth-child(even) .service-card-video,
.service-card-full:nth-child(even) .service-card-bg {
  border-radius: 24px 0 0 24px;
} */

.service-card-video {
  opacity: 0;
  z-index: 2;
}

.service-card-bg {
  opacity: 1;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .service-card-full__content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-card-full__text {
    padding: 40px 30px;
    order: 2;
  }

  .service-card-full__image {
    min-height: 300px;
    order: 1;
    border-radius: 24px 24px 0 0 !important;
  }

  .service-card-full:nth-child(even) .service-card-full__content {
    direction: ltr;
  }

  .service-card-video,
  .service-card-bg {
    border-radius: 24px 24px 0 0 !important;
  }
}

@media (max-width: 768px) {
  .services-cards-section {
    padding: 60px 0;
  }

  .services-cards-stack {
    gap: 30px;
  }

  .service-card-full__text {
    padding: 30px 25px;
  }

  .service-card-full__text h2 {
    font-size: 28px;
  }

  .service-card-full__image {
    min-height: 250px;
  }

  /* На мобильных отключаем видео при наведении */
  .service-card-video {
    display: none;
  }
}

@media (max-width: 480px) {
  .services-cards-section {
    padding: 40px 0;
  }

  .services-cards-stack {
    gap: 25px;
  }

  .service-card-full__text {
    padding: 25px 20px;
  }

  .service-card-full__text h2 {
    font-size: 24px;
  }

  .service-card-full__text p {
    font-size: 14px;
  }

  .service-card-full__text .tariff-button {
    width: 100%;
    min-width: auto;
  }

  .service-card-full__image {
    min-height: 200px;
  }

  .service-card-full {
    box-shadow:
      0 2px 15px rgba(0, 0, 0, .06),
      0 1px 5px rgba(255, 51, 102, .04);
  }

  .service-card-full:hover {
    box-shadow:
      0 6px 25px rgba(0, 0, 0, .1),
      0 3px 12px rgba(255, 51, 102, .12);
  }
}

/* ===================== Service Card Video Styles ===================== */
.service-card-full__image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.service-card-video,
.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 24px 24px 0;
  /* Гарантируем одинаковые размеры */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Для карточек с чередованием */
/* .service-card-full:nth-child(even) .service-card-video,
.service-card-full:nth-child(even) .service-card-bg {
  border-radius: 24px 0 0 24px;
} */

.service-card-video {
  opacity: 0;
  z-index: 2;
  /* Видео должно точно повторять размеры постера */
  width: 100% !important;
  height: 100% !important;
}

.service-card-bg {
  opacity: 1;
  z-index: 1;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .service-card-full__content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-card-full__text {
    padding: 40px 30px;
    order: 2;
  }

  .service-card-full__image {
    min-height: 300px;
    order: 1;
    border-radius: 24px 24px 0 0 !important;
  }

  .service-card-full:nth-child(even) .service-card-full__content {
    direction: ltr;
  }

  .service-card-video,
  .service-card-bg {
    border-radius: 24px 24px 0 0 !important;
  }
}

/* Дополнительные стили для плавного перехода */
.service-card-video,
.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 24px 24px 0;
  transition: opacity 0.5s ease-in-out;
}

.service-card-video {
  opacity: 0;
  z-index: 2;
}

.service-card-bg {
  opacity: 1;
  z-index: 1;
}

/* Плавный crossfade вместо резкой смены */
.service-card-full.video-active .service-card-video {
  opacity: 1;
}

.service-card-full.video-active .service-card-bg {
  opacity: 0;
}

/* ===== Основная кнопка тарифа (обновленная) ==================== */
.tariff-button {
  --g1: #ff3b5c;
  --g2: #ffa14e;
  display: inline-block;
  width: 100%;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .2px;
  text-transform: none;
  text-align: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);
}

.tariff-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.tariff-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
}

.tariff-button:hover::before {
  left: 100%;
}

.tariff-button:active {
  transform: translateY(0);
  filter: brightness(.97);
}

/* ===== Кнопка в пакетах ТВ ==================== */
.package-button {
  background: linear-gradient(90deg, #ff3366, #ff6b35) !important;
  color: #fff;
  border: 0;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);
}

.package-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.package-button:hover {
  background: linear-gradient(90deg, #ff3366, #ff6b35) !important;
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
}

.package-button:hover::before {
  left: 100%;
}

.package-button.featured {
  background: linear-gradient(90deg, #4ec7ff, #68ffa7) !important;
  box-shadow:
    0 8px 25px rgba(78, 199, 255, .35),
    0 4px 15px rgba(104, 255, 167, .3);
}

.package-button.featured:hover {
  background: linear-gradient(90deg, #4ec7ff, #68ffa7) !important;
  box-shadow:
    0 12px 35px rgba(78, 199, 255, .45),
    0 6px 20px rgba(104, 255, 167, .35);
}

/* ===== Кнопка CTA в Connection Steps ==================== */
.cta-button {
  background: linear-gradient(90deg, #ff3366, #ff6b35) !important;
  color: #fff;
  border: 0;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: .2px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover {
  background: linear-gradient(90deg, #ff3366, #ff6b35) !important;
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
}

.cta-button:hover::before {
  left: 100%;
}

/* ===== Кнопка в новостях ==================== */
.news-card__btn {
  margin-top: auto;
  width: 100%;
  display: inline-block;
  text-align: center;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  padding: 16px 32px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  color: #fff !important;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);
}

.news-card__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.news-card__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
  color: #fff !important;
  text-decoration: none;
}

.news-card__btn:hover::before {
  left: 100%;
}

/* ===== Кнопка Call Button LK ==================== */
.call-button_lk {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1rem;
  letter-spacing: .2px;
  text-transform: none;
  border: 0;
  cursor: pointer;
  text-align: center;
  margin-top: 15px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  color: #fff !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);
}

.call-button_lk::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.call-button_lk:hover {
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
}

.call-button_lk:hover::before {
  left: 100%;
}

/* ===== Кнопка в форме (CF7) ==================== */
.form-popup .wpcf7-submit {
  display: inline-block;
  width: 100%;
  padding: 16px 32px;
  border-radius: 12px;
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #ff3b5c, #ffa14e);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);
}

.form-popup .wpcf7-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.form-popup .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
}

.form-popup .wpcf7-submit:hover::before {
  left: 100%;
}

.form-popup .wpcf7-submit:active {
  transform: translateY(0);
}

/* ===== Кнопка SBP ==================== */
.sbp-btn-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  min-width: 220px;
  padding: 16px 32px;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(90deg, #ff3b5c, #ffa14e);
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);
}

.sbp-btn-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.sbp-btn-form:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
}

.sbp-btn-form:hover::before {
  left: 100%;
}

.sbp-btn-form:active {
  transform: translateY(0);
  filter: brightness(.98);
}

/* ===== Адаптивность для кнопок ===== */
@media (max-width: 480px) {

  .tariff-button,
  .package-button,
  .cta-button,
  .news-card__btn,
  .call-button_lk,
  .form-popup .wpcf7-submit,
  .sbp-btn-form {
    padding: 14px 24px;
    font-size: 15px;
  }

  .cta-button {
    padding: 16px 32px;
    font-size: 16px;
  }
}

/* ===== Отключенные кнопки ===== */
.tariff-button:disabled,
.package-button:disabled,
.sbp-btn-form[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
}

.tariff-button:disabled:hover,
.package-button:disabled:hover,
.sbp-btn-form[disabled]:hover {
  transform: none !important;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3) !important;
  filter: none !important;
}


/* ===== Кнопка Call Button (обновленная) ==================== */
.call-button {
  display: inline-block;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .2px;
  text-transform: none;
  text-align: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);
}

.call-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.call-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
  color: #fff !important;
  background: linear-gradient(90deg, #ff3366, #ff6b35) !important;
}

.call-button:hover::before {
  left: 100%;
}

.call-button:active {
  transform: translateY(0);
  filter: brightness(.97);
}

/* Убираем старые стили background--red и text--white для этой кнопки */
.call-button.background--red {
  background: linear-gradient(100deg, #E2549B 15%, #ED7A30) !important;
}

.call-button.text--white {
  color: #fff !important;
}

/* Адаптивность */
@media (max-width: 480px) {
  .call-button {
    padding: 14px 24px;
    font-size: 15px;
  }
}



/* ===== Кнопка Call Button ghcjn ryjgrf (обновленная) ==================== */
.call-button-lubnet {
  display: inline-block;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .2px;
  text-transform: none;
  text-align: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(255, 51, 102, .35),
    0 4px 15px rgba(255, 107, 53, .3);

}

.call-button-lubnet::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.call-button-lubnet:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(255, 51, 102, .45),
    0 6px 20px rgba(255, 107, 53, .35);
  filter: brightness(1.05);
  color: #fff !important;
  background: linear-gradient(90deg, #ff3366, #ff6b35) !important;
}

.call-button-lubnet:hover::before {
  left: 100%;
}

.call-button-lubnet:active {
  transform: translateY(0);
  filter: brightness(.97);
}

/* Убираем старые стили background--red и text--white для этой кнопки */
.call-button-lubnet.background--red {
  background: linear-gradient(100deg, #E2549B 15%, #ED7A30) !important;
}

.call-button-lubnet.text--white {
  color: #fff !important;
}

/* Адаптивность */
@media (max-width: 480px) {
  .call-button-lubnet {
    padding: 14px 24px;
    font-size: 15px;
  }
}


/* ===================== Исправленный Header ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 777;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.header-container {
  margin: 0 auto;

}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  position: relative;
  width: 100%;
}

/* Логотип - фиксируем слева */
.header-logo {
  flex-shrink: 0;
  max-height: 46px;
  width: 150px;
  transition: transform 0.2s ease;
  z-index: 10;
}

.header-logo:hover {
  transform: scale(1.05);
}

.logo {
  max-width: 100%;
  height: auto;
}

.logo-main {
  max-width: 25%;
  height: auto;
}



/* Центральное меню */
.header-links {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 1200px) {
  .header-links {
    display: flex;
  }
}

.header-link {
  min-width: 80px;
  text-align: center;
  text-decoration: none;
  color: var(--pallete-white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.header-link::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: left 0.5s ease;
}

.header-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

.header-link:hover::before {
  left: 100%;
}

/* Dropdown для ТВ */
.header-tv-dropdown {
  position: relative;
}

.tv-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: rgba(30, 30, 30, .95);
  backdrop-filter: blur(20px);
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 888;
}

.header-tv-dropdown:hover .tv-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tv-submenu a {
  display: block;
  padding: 12px 20px;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.tv-submenu a:last-child {
  border-bottom: none;
}

.tv-submenu a:hover {
  color: #fff;
  background: rgba(255, 51, 102, .2);
  padding-left: 25px;
}

/* Кнопка меню - фиксируем справа */
.menu-button {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  padding: 0;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.menu-button:hover {
  background: rgba(255, 255, 255, .2);
  transform: scale(1.05);
}

.menu-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('../icons/menu.svg') center/100% no-repeat;
  filter: brightness(0) invert(1);
}

/* Секция с телефонами - УБРАН БЛУР И ФОН */
.phone-section {
  position: absolute;
  width: 100%;
  z-index: 666;
  padding: 15px 0;
}

.phone-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.phone-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.phone-section .phone {
  margin-left: 0;
  font-size: 1.5rem;
  color: #ccc;
  transition: color 0.3s ease;
}

.phone-section .phone:hover {
  color: #fff;
}

.phone-section .phone b {
  color: #fff;
  font-weight: 600;
}

/* Кнопка СБП */
.sbpbtn-too {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.sbpbtn-too:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 51, 102, .4);
  color: #fff;
}

/* Адаптивность */
@media (max-width: 1199px) {
  .header-links {
    display: none;
  }

  .header-container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .header-logo {
    width: 120px;
    max-height: 36px;
  }

  .phone-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .phone-section br {
    display: block;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .header-logo {
    width: 100px;
  }

  .header-container {
    padding: 0 10px;
  }
}

/* Защита контента от наезжающего хедера */
main, .content, #content {
  padding-top: 160px;
}

@media (max-width: 800px) {
  main, .content, #content {
    padding-top: 140px;
  }
}

/* Light header вариант */
.header:not(.dark) {
  /*   background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%); */
  background: linear-gradient(135deg, #15172D 10%, #E2549B, #ED7A30);

}

.header:not(.dark) .header-link {
  color: #fff;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  /* центрирование без transform */
  z-index: 777;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  backdrop-filter: blur(10px);
  /*     border-bottom: 1px solid rgba(255, 255, 255, .1); */
  border-radius: 0 0 10px 10px;
  padding-top: 10px;
}

.header:not(.dark) .phone-section .phone {
  color: #ccc;
}

.header:not(.dark) .phone-section .phone b {
  color: #fff;
}

/* Анимации */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* анимация хедера */
/* .header {
  animation: fadeInDown 0.5s ease;
} */

.phone-section {
  animation: fadeInDown 0.5s ease 0.1s both;
}

/* Убираем старые стили, которые вызывали проблемы */
.header-row {
  /* Убираем старый padding который мог вызывать проблемы */
  padding: 0;
}

/* Убираем абсолютное позиционирование у логотипа из старых стилей */
.header-logo {
  position: static;
  transform: none;
}

.header-logo:hover {
  transform: scale(1.05);
}

/* Альтернатива - меню занимает доступное пространство */
.header-links {
  display: none;
  justify-content: center;
  align-items: center;
  /*   gap: 2.5rem; */
  flex: 1;
  min-width: 0;
  /* Разрешаем сжатие */
  padding: 0 20px;
}

@media (min-width: 1200px) {
  .header-links {
    display: flex;
  }
}

.header-link {
  flex-shrink: 1;
  /* Разрешаем сжатие пунктов */
  min-width: 0;
  text-align: center;
  text-decoration: none;
  color: var(--pallete-white);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Для очень длинных названий пунктов */
@media (max-width: 1300px) {
  .header-link {
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (max-width: 1150px) {
  .header-links {
    gap: 1rem;
  }

  .header-link {
    padding: 6px 8px;
    font-size: 12px;
  }
}


.connection-steps-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.connection-steps-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff3366, transparent);
}

.connection-steps-section h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
  font-size: 3rem;
  font-weight: 400;
}

.connection-steps-section .section-subtitle {
  text-align: center;
  color: #ccc;
  font-size: 1.5rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.connection-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 80px;
}

.connection-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, #ff3366, #ff6b35, #ff3366);
  z-index: 1;
}

.timeline-step {
  position: relative;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #000, #ff3366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #1a1a1a;
  box-shadow: 0 0 0 3px #ff3366;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.timeline-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px #ff3366, 0 0 20px rgba(255, 51, 102, .5);
}

.step-content h3 {
  color: #ff3366;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.step-content p {
  color: #ccc;
  line-height: 1.6;
  font-size: 1.5rem;
}

.step-arrow {
  position: absolute;
  top: 40px;
  right: -10px;
  color: #ff3366;
  font-size: 28px;
  font-weight: 700;
  z-index: 2;
}

.connection-cta {
  background: linear-gradient(135deg, #000, #2a2a2a);
  border: 2px solid #ff3366;
  border-radius: 24px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 10px 40px rgba(255, 51, 102, .2);
  max-width: 1000px;
  margin: 0 auto;
}

.cta-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 800;
}

.cta-content p {
  color: #ccc;
  margin-bottom: 25px;
  font-size: 1.1rem;
  max-width: 500px;
}

.cta-button {
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  color: #fff;
  border: 0;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 51, 102, .35);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover {
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 51, 102, .45);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-badge {
  background: linear-gradient(135deg, #ff3366, #ff0000);
  color: #fff;
  padding: 25px 20px;
  border-radius: 16px;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 10px 30px rgba(255, 51, 102, .3);
  animation: pulse 2s infinite;
}

.cta-badge span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-badge strong {
  font-size: 32px;
  font-weight: 800;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Адаптивность */
@media (max-width: 1024px) {
  .connection-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .connection-timeline::before,
  .step-arrow {
    display: none;
  }

  .connection-cta {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }

  .cta-badge {
    margin-top: 25px;
  }
}

@media (max-width: 768px) {
  .connection-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .connection-steps-section {
    padding: 60px 0;
  }

  .connection-steps-section h2 {
    font-size: 2.3rem;
        margin-top: 15px;
  }

  .cta-content h3 {
    font-size: 1.7rem;
  }

  .step-number {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .connection-steps-section {
    padding: 40px 0;
  }

/*   .connection-steps-section h2 {
    font-size: 2rem;
  }
 */
  .connection-cta {
    padding: 30px 20px;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .step-content h3 {
    font-size: 1.2rem;
  }

  .step-content p {
    font-size: 0.9rem;
  }
}

.annotatinons {
  animation: pulse-fast 1s infinite ease-in-out;
}

@keyframes pulse-fast {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}


/* ===================== Tariff Annotation Block ===================== */
.tariff-annotation-block {
  /*   padding: 60px 0 30px; */
  /*   background: linear-gradient(180deg, #fafafa 0%, #fff 100%); */
}

.tariff-annotation {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pallete-gray);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;

  max-width: 800px;
}

.tariff-annotation:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, .09);
  border-color: #e6e6e6;
}

.tariff-annotation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff3366, #ff6b35);
  opacity: 0.7;
}

.annotation-star {
  display: inline-block;
  margin-right: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--pallete-red);
  animation: pulse-fast 1s infinite ease-in-out;
  position: relative;
  top: 1px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .tariff-annotation {
    padding: 18px 22px;
    font-size: 14px;
    border-radius: 14px;
  }

  .annotation-star {
    font-size: 16px;
    margin-right: 6px;
  }
}

@media (max-width: 480px) {
  .tariff-annotation {
    padding: 16px 20px;
    font-size: 13px;
    border-radius: 12px;
  }

  .tariff-annotation-block {
    /*     padding: 40px 0 20px; */
  }
}

/* Телефон в хедере для мобильных */
/* .header-phone-mobile {
  position: absolute;
  left: 85px;

  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
} */

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.phone-icon {
  flex-shrink: 0;
}

.phone-text {
  text-align: left;
  line-height: 1.2;
}

.phone-label {
  font-size: 14px;
  opacity: 1;
}

.phone-number {
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
}

/* Адаптив для очень маленьких экранов */
@media (max-width: 380px) {
  .header-phone-mobile {
    left: 120px;
  }

  .phone-number {
    font-size: 13px;
  }

  .phone-icon {
    width: 16px;
    height: 16px;
  }
}

/* Сдвигаем лого, чтобы освободить место */
.header-logo {
  position: relative;
  left: 0;
}

/* Сдвигаем кнопку меню, если нужно */
.menu-button {
  right: 15px;
}


/* ===================== Animated SBP Button ===================== */
.sbpbtn-too {
  --color1: #15172D;
  /* Основной темный */
  --color2: #E2549B;
  /* Розовый */
  --color3: #ED7A30;
  /* Оранжевый */

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 11px 17px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Начальная тень */
  box-shadow:
    0 6px 20px rgba(21, 23, 45, 0.25),
    0 3px 10px rgba(226, 84, 155, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}



/* Основной анимированный градиент */
.sbpbtn-too::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: linear-gradient(135deg,
      var(--color1) 0%,
      var(--color2) 25%,
      var(--color3) 50%,
      var(--color2) 75%,
      var(--color1) 100%);
  background-size: 300% 300%;
  animation: sbpGradientFlow 8s ease infinite;
  z-index: -1;
  transition: all 0.2s ease;
}

/* Блестящий эффект поверх */
.sbpbtn-too::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transform: skewX(-15deg);
  transition: left 0.7s ease;
  z-index: 0;
}

/* Иконка или текст внутри кнопки */
.sbpbtn-too .sbp-icon {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.sbpbtn-too .sbp-text {
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Эффект при наведении */
.sbpbtn-too:hover {
  transform: translateY(-3px) scale(1.02);
  color: #fff !important;
  box-shadow:
    0 12px 32px rgba(21, 23, 45, 0.35),
    0 6px 20px rgba(226, 84, 155, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 30px rgba(226, 84, 155, 0.25);
}

.sbpbtn-too:hover::before {
  animation-duration: 4s;
  filter: brightness(1.15) saturate(1.3);
}

.sbpbtn-too:hover::after {
  left: 150%;
}

.sbpbtn-too:hover .sbp-icon {
  transform: translateX(3px) scale(1.1);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.sbpbtn-too:hover .sbp-text {
  letter-spacing: 0.8px;
}

/* Активное состояние (нажатие) */
.sbpbtn-too:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 4px 15px rgba(21, 23, 45, 0.25),
    0 2px 8px rgba(226, 84, 155, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sbpbtn-too:active::before {
  animation-play-state: paused;
  filter: brightness(0.95);
}

/* Анимация градиента */
@keyframes sbpGradientFlow {
  0%, 100% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }

  25% {
    background-position: 100% 50%;
    filter: hue-rotate(15deg);
  }

  50% {
    background-position: 50% 100%;
    filter: hue-rotate(30deg);
  }

  75% {
    background-position: 50% 0%;
    filter: hue-rotate(15deg);
  }
}

/* Дополнительная анимация - свечение */
@keyframes sbpPulseGlow {
  0%, 100% {
    box-shadow:
      0 6px 20px rgba(21, 23, 45, 0.25),
      0 3px 10px rgba(226, 84, 155, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.1);
  }

  50% {
    box-shadow:
      0 6px 25px rgba(21, 23, 45, 0.35),
      0 3px 15px rgba(226, 84, 155, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 1px rgba(255, 255, 255, 0.15),
      0 0 25px rgba(226, 84, 155, 0.2);
  }
}

/* Модификатор для пульсирующей кнопки */
.sbpbtn-too.pulse {
  animation: sbpPulseGlow 2.5s ease-in-out infinite;
}

/* Модификатор для большой кнопки */
.sbpbtn-too.large {
  padding: 20px 40px;
  font-size: 18px;
  border-radius: 14px;
}

.sbpbtn-too.large .sbp-icon {
  width: 28px;
  height: 28px;
}

/* Модификатор для маленькой кнопки */
.sbpbtn-too.small {
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 10px;
}

.sbpbtn-too.small .sbp-icon {
  width: 20px;
  height: 20px;
}

/* Модификатор для outline варианта */
.sbpbtn-too.outline {
  background: transparent;
  border: 2px solid transparent;
}

.sbpbtn-too.outline::before {
  background: linear-gradient(135deg,
      var(--color1) 0%,
      var(--color2) 25%,
      var(--color3) 50%,
      var(--color2) 75%,
      var(--color1) 100%);
  background-size: 300% 300%;
  animation: sbpGradientFlow 8s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}

.sbpbtn-too.outline::after {
  display: none;
}

/* Модификатор для disabled состояния */
.sbpbtn-too:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  animation: none !important;
}

.sbpbtn-too:disabled::before {
  animation-play-state: paused;
  filter: grayscale(0.5) brightness(0.7);
}

.sbpbtn-too:disabled:hover {
  transform: none !important;
  box-shadow:
    0 6px 20px rgba(21, 23, 45, 0.25),
    0 3px 10px rgba(226, 84, 155, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .sbpbtn-too {
    padding: 14px 28px;
    font-size: 15px;
  }

  .sbpbtn-too .sbp-icon {
    width: 22px;
    height: 22px;
  }

  .sbpbtn-too.large {
    padding: 18px 36px;
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .sbpbtn-too {
    padding: 12px 24px;
    font-size: 14px;
    gap: 10px;
  }

  .sbpbtn-too .sbp-icon {
    width: 20px;
    height: 20px;
  }

  .sbpbtn-too.large {
    padding: 16px 32px;
  }

  .sbpbtn-too.small {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Доступность */
@media (prefers-reduced-motion: reduce) {
  .sbpbtn-too::before {
    animation: none;
    background: linear-gradient(135deg, #E2549B 0%, #ED7A30 100%);
  }

  .sbpbtn-too.pulse {
    animation: none;
  }

  .sbpbtn-too:hover {
    transform: translateY(-2px);
  }

  .sbpbtn-too:hover::after {
    transition: none;
    left: -100%;
  }
}

/* Подсветка фокуса для клавиатурной навигации */
.sbpbtn-too:focus-visible {
  outline: 3px solid rgba(226, 84, 155, 0.5);
  outline-offset: 3px;
  box-shadow:
    0 0 0 3px rgba(226, 84, 155, 0.3),
    0 6px 20px rgba(21, 23, 45, 0.25),
    0 3px 10px rgba(226, 84, 155, 0.2);
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
  .sbpbtn-too {
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.4),
      0 3px 10px rgba(226, 84, 155, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .sbpbtn-too:hover {
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.5),
      0 6px 20px rgba(226, 84, 155, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 30px rgba(226, 84, 155, 0.3);
  }
}

/* ===================== Пример HTML использования ===================== */
/*
<!-- Базовая кнопка -->
<a href="#" class="sbpbtn-too">
  <svg class="sbp-icon" viewBox="0 0 24 24" fill="none">
    <path d="..." fill="currentColor"/>
  </svg>
  <span class="sbp-text">Оплатить через СБП</span>
</a>

<!-- С пульсацией -->
<button class="sbpbtn-too pulse">
  <span class="sbp-text">Специальное предложение</span>
</button>

<!-- Большая кнопка -->
<button class="sbpbtn-too large">
  <span class="sbp-text">Быстрая оплата</span>
</button>

<!-- Outline вариант -->
<button class="sbpbtn-too outline">
  <span class="sbp-text">Альтернативная оплата</span>
</button>
*/

/* ===================== Дополнительные эффекты ===================== */

/* Эффект частиц при клике (нужен JavaScript) */
.sbpbtn-too.clicked::before {
  animation: sbpExplosion 0.6s ease-out;
}

@keyframes sbpExplosion {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Эффект волны (ripple) */
.sbpbtn-too .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
  z-index: 0;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Прогресс бар внутри кнопки (для загрузки) */
.sbpbtn-too.loading::before {
  animation: none;
  background: linear-gradient(90deg,
      #15172D 0%,
      #15172D var(--progress, 0%),
      #E2549B var(--progress, 0%),
      #ED7A30 100%);
  background-size: auto;
}

.sbpbtn-too.loading .sbp-text::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===================== Вариант с иконкой банка ===================== */
.sbpbtn-too.bank {
  background: linear-gradient(135deg,
      rgba(21, 23, 45, 0.9) 0%,
      rgba(226, 84, 155, 0.9) 50%,
      rgba(237, 122, 48, 0.9) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.sbpbtn-too.bank::before {
  background: linear-gradient(45deg,
      transparent 25%,
      rgba(255, 255, 255, 0.1) 25%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 50%,
      transparent 75%,
      rgba(255, 255, 255, 0.1) 75%,
      rgba(255, 255, 255, 0.1));
  background-size: 20px 20px;
  animation: bankPattern 20s linear infinite;
  opacity: 0.3;
}

@keyframes bankPattern {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 40px 40px;
  }
}

/* Градиентная обводка */
.sbpbtn-too.border-glow {
  position: relative;
  background: transparent;
  border: none;
}

.sbpbtn-too.border-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 14px;
  background: linear-gradient(45deg,
      #15172D,
      #E2549B,
      #ED7A30,
      #E2549B,
      #15172D);
  background-size: 400% 400%;
  animation: sbpGradientFlow 5s ease infinite;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.7;
}

.sbpbtn-too.border-glow .inner {
  position: relative;
  display: block;
  padding: 16px 32px;
  background: var(--color1);
  border-radius: 12px;
  z-index: 1;
}


.phone-content {
  display: flex;
  align-items: center;
  gap: 30px;
  /* Расстояние между элементами */
  width: 100%;
  flex-wrap: wrap;
  /* Для адаптивности */
}

/* Первые два телефона будут рядом */
.phone-content .phone {
  display: inline-block;
}

/* Кнопка СБП автоматически уедет в конец */
.phone-content .sbpbtn-too {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  /* Чтобы текст не переносился */
}

/* Для адаптивности */
@media (max-width: 768px) {
  .phone-content {
    justify-content: space-between;
    gap: 15px;
  }

  .phone-content .sbpbtn-too {
    margin-left: 0;
    order: -1;
    /* Можно поставить кнопку первой на мобильных */
    width: 100%;
    justify-content: center;
  }

  .phone-content .phone {
    flex: 1;
    min-width: 140px;
    text-align: center;
  }
}

/* Additional styles for KTV page */
.hero-video {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-video p {
  font-size: 1.9rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Technical specs cards */
.tech-specs-card {
  background: var(--pallete-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-base);
  height: 100%;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--pallete-gray-30);
}

.spec-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.spec-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.spec-content strong {
  display: block;
  color: var(--pallete-black);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.spec-content p {
  color: var(--pallete-gray);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Channel tables */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.channel-item {
  background: var(--pallete-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
/*   border-left: 4px solid var(--pallete-red); */
  box-shadow: var(--shadow-base);
  transition: transform var(--transition-base);
}

.channel-item:hover {
  transform: translateY(-2px);
}

.channel-name {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.channel-frequency {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Step check options */
.step-check-options {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.step-check-options p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

/* Package cards adjustments */
.package-card {
  min-height: 320px;
}

.package-price {
  min-height: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-video {
    min-height: 100vh;
  }

  .hero-video h1 {
    font-size: 2.5rem;
  }

  .channels-grid {
    grid-template-columns: 1fr 1fr;
  }

  .connection-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-check-options {
    padding: 0.75rem;
  }
}

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

  .hero-video h1 {
    font-size: 2rem;
  }

  .package-card {
    min-height: 300px;
  }
}





.autorize {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ===================== FIX для иконки ЛК в хедере ===================== */
.header-actions .sbpbtn-too {
  width: 45px !important;
  height: 45px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  transform: none !important;
  animation: none !important;
  transition: all 0.3s ease !important;
  overflow: hidden;
}

/* Убираем все анимации градиента для этой кнопки */
.header-actions .sbpbtn-too::before,
.header-actions .sbpbtn-too::after {
  display: none !important;
}

/* Иконка внутри */
.header-actions .sbpbtn-too svg {
  width: 20px !important;
  height: 20px !important;
  color: #fff !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

/* Hover эффект */
.header-actions .sbpbtn-too:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.05) !important;
  box-shadow: none !important;
}

/* Убираем текст если есть */
.header-actions .sbpbtn-too .sbp-text {
  display: none !important;
}

/* Контейнер autorize */
.autorize {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 100px;
  /* Гарантируем место для двух кнопок */
}

/* Кнопка меню */
.menu-button {
  width: 45px;
  height: 45px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Для мобильных */
@media (max-width: 768px) {

  .header-actions .sbpbtn-too,
  .menu-button {
    width: 45px !important;
    height: 45px !important;
    align-items: center;
    justify-content: center;

  }

  .header-actions .sbpbtn-too svg {
    width: 18px !important;
    height: 18px !important;
  }

  .autorize {
    align-items: center;
    gap: 10px;
  }
}





/* ===================== Header Dropdowns ===================== */
/* .header-dropdown {
    position: relative;
}

.header-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 10px;
    background: rgba(30,30,30,.95);
    backdrop-filter: blur(20px);
    min-width: 220px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 888;
}

.header-dropdown:hover .header-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-submenu a {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.header-submenu a:last-child {
    border-bottom: none;
}

.header-submenu a:hover {
    color: #fff;
    background: rgba(255,51,102,.2);
    padding-left: 25px;
}
 */


/* Если виджет оборачивает контент в несколько слоев */
#widget-reviews .content,
div[id="widget-reviews"] .content,
.rocketdata-widget .content {
  padding: 0 !important;
}

/* ===================== Header Dropdowns ===================== */

.header-dropdown {
  position: relative;
}

/* НЕВИДИМЫЙ МОСТ между триггером и подменю - ЭТО КЛЮЧЕВОЙ ЭЛЕМЕНТ! */
.header-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 15px;
  /* Высота "моста" */
  background: transparent;

}

.header-submenu {
  position: absolute;
  top: calc(100% + 15px);
  /* Начинается сразу после "моста" */
  left: 0;
  background: rgba(30, 30, 30, .95);
  backdrop-filter: blur(20px);
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  padding: 12px 0;
  /* УБЕРИТЕ padding-top: 10px отсюда! */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  /* Начальное положение чуть выше */
  transition: all 0.3s ease;

}

/* Показываем при hover на родительском элементе ИЛИ на самом подменю */
.header-dropdown:hover .header-submenu,
.header-submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  /* Возвращаем на место */
}

/* Стрелка для подменю */
.header-submenu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 20px;
  border: 8px solid transparent;
  border-bottom-color: rgba(30, 30, 30, .95);
  filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));

}

.header-submenu a {
  display: block;
  padding: 12px 20px;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  text-align: left;
}

.header-submenu a:last-child {
  border-bottom: none;
}

.header-submenu a:hover {
  color: #fff;
  background: rgba(255, 51, 102, .2);
  padding-left: 25px;
}

/* Стрелочка для dropdown */
.header-dropdown>.header-link>.arrow-drop {
  position: relative;
  padding-right: 20px;
}

.header-dropdown>.header-link>.arrow-drop::after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(255, 255, 255, .7);
  transition: transform 0.3s ease;
}

.header-dropdown:hover>.header-link>.arrow-drop::after {
  transform: translateY(-50%) rotate(180deg);
}



/* Для span триггера тоже делаем hover эффект */
.dropdown-trigger:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}


/* Показываем при hover на родительском элементе ИЛИ на самом подменю */
.header-dropdown:hover .header-submenu,
.header-submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Стрелка для подменю (опционально) */
.header-submenu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 20px;
  border: 8px solid transparent;
  border-bottom-color: rgba(30, 30, 30, .95);
  filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));
}


/* Стрелочка для dropdown (опционально) */
.header-dropdown>.header-link>.arrow-drop {
  position: relative;
  padding-right: 20px;
}

.header-dropdown>.header-link>.arrow-drop::after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(255, 255, 255, .7);
  transition: transform 0.3s ease;
}

.header-dropdown:hover>.header-link>.arrow-drop::after {
  transform: translateY(-50%) rotate(180deg);
}


/* Стиль для триггера dropdown (не кликабельный) */
.dropdown-trigger {
  cursor: pointer;
  min-width: 80px;
  text-align: center;
  color: var(--pallete-white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
}


.swiper-container {
  width: 100%;
/*   height: 400px; */
  /* ФИКСИРОВАННАЯ высота */
  overflow: hidden;
  margin: 0 auto;
  border-radius: 10px
}

.swiper-slide {
  width: 100%;
  height: 100%;
  /* 100% от 600px */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Стили для верхней полосы header */

.header-top-content {
  display: flex;
  justify-content: space-between;
  /* Это распределит элементы по краям */
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  gap: 20px;
}

.header-phones {
  display: flex;
  gap: 30px;
  flex: 1;
  /* Занимает доступное пространство */
}

.header-actions-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Выравниваем содержимое по правому краю */
  min-width: 200px;
  /* Минимальная ширина для кнопки */
  gap: 15px;
}

.header-phones .phone {
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
	color:#FFF;
  /* Предотвращаем перенос текста */
}

/* Для мобильных - скрываем верхнюю полосу */
@media (max-width: 768px) {
  .header-top {
    display: none;
  }

  .header-bottom {
    padding: 10px 0;
  }
}

/* Дополнительные стили для лучшего отображения */
@media (min-width: 769px) and (max-width: 1100px) {
  .header-phones {
    gap: 15px;
    flex-wrap: wrap;
    /* Разрешаем перенос при нехватке места */
  }

  .header-phones .phone {
    font-size: 13px;
  }
}



.header-top+.header-bottom::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      #E3559C 25%,
      transparent 100%);
  background-size: 400% 100%;
  animation:
    lineFlow 6s ease-in-out infinite,
    linePulse 6s ease-in-out infinite;
  width: 50%;

  position: relative;
  z-index: 50;
  opacity: 0.8;
}

@keyframes lineFlow {
  0% {
    background-position: 150% 0;
  }

  50% {
    background-position: -50% 0;
  }

  100% {
    background-position: 150% 0;
  }
}

@keyframes linePulse {
  0%, 100% {
    opacity: 0.8;
    transform: scaleX(1);
  }

  25%, 75% {
    opacity: 1;
    transform: scaleX(1.05);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.1);
  }
}



/* ===================== Responsive Design ===================== */


@media (max-width: 768px) {
  .header {
    position: relative;
    border: none;
    border-radius: 0;
  }
}

.header::before {
  display: none;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {

  .main,
  .hero-video {
    min-height: -webkit-fill-available;
  }
}


.smart-hero__image img {
  max-width: 75%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(226, 84, 155, 0.15);
  transition: all 0.4s ease;
}

.smart-hero__image img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(226, 84, 155, 0.25);
}


/* ===================== Form Box Styles ===================== */
/* .form-box {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
} */

/* Сами инпуты занимают 100% своей обертки */
/* .form-box .form__input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: #2a2a2a;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin: 0;
} */
/* 
.form-box .form__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-box .form__input:focus {
  outline: none;
  border-color: rgba(78, 199, 255, 0.7);
  background: #3a3a3a;
  box-shadow: 0 0 0 4px rgba(78, 199, 255, 0.14);
} */

/* Кнопка отправки */
/* .form-box .form__submit,
.form-box .wpcf7-submit {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff3b5c, #ffa14e);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.35);
} */

/* .form-box .form__submit:hover,
.form-box .wpcf7-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 35px rgba(255, 51, 102, 0.45);
} */

/* Для попапа */
/* #pum-3069 .form-box {
  margin: 0;
} */

/* #pum-3069 .pum-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
} */

/* Стили для form-group-too - основные */
/* .form-group-too p {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
} */

/* Убираем лишние br */
/* .wpcf7-form .form-group-too br {
  display: none;
} */

/* Обертки полей */
/* .form-group-too .wpcf7-form-control-wrap,
.form-group-one .wpcf7-form-control-wrap,
.form-group-three .wpcf7-form-control-wrap {
  display: block;
  flex: 1;
  min-width: 100px;
} */

/* Фиксированная ширина для полей в form-group-too */
/* .form-group-too .form__input {
  width: 150px;
} */

/* Опционально: для мобильных устройств */
/* @media (max-width: 480px) {
  .form-group-too p {
    flex-direction: column;
  }

  .form-group-too .form__input {
    width: 100%;
  }
} */