:root {
  --blue: #0aa3ff;
  --mint: #6fead6;
  --dark: #0b0b2b;
  --bg: #ffffff;
  --container-padding: 80px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}


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

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--container-padding);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  z-index: 60;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

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

/* Десктопная навигация */
.desktop-nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.desktop-nav a:hover {
  color: var(--blue);
}

/* Кнопка бургер-меню */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Мобильное меню */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  padding: 20px var(--container-padding);
}

.mobile-nav-content a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.mobile-nav-content a:last-child {
  border-bottom: none;
}

.mobile-nav-content a:hover {
  color: var(--blue);
  transform: translateX(8px);
}

/* Активное состояние меню */
.mobile-nav.active {
  display: block;
  animation: slideDown 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* === Мобильная адаптация === */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  header {
    height: var(--header-height);
    flex-direction: row;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  header {
    padding: 8px 16px;
  }

  .mobile-nav-content {
    padding: 15px 16px;
  }

  .mobile-nav-content a {
    padding: 12px 0;
    font-size: 0.95rem;
  }
}

/* hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(90deg, #ffffff 0%, #ebfbf9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding-top: var(--header-height);
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-right {
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 660px;
  max-width: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 10;
}

.hero-left {
  position: absolute;
  left: calc(55% - 330px - 400px - 15px);
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  max-width: 400px;
  height: 70vh;
  min-height: 480px;
  max-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: 24px;
  overflow: hidden;
  pointer-events: auto;
  z-index: 5;
}

.hero-card {
  background: #fff;
  border-radius: 24px;
  padding: 50px 70px;
  box-shadow: 0 20px 60px rgba(2, 103, 179, 0.1);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 163, 255, 0.1);
  width: 100%;
  height: fit-content;
}

.hero-logo {
  max-width: 425px;
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 12px rgba(0, 163, 255, 0.15));
}

.hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 32px;
}

.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #00a8ff, #6fead6);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.hero-btn:hover::before { left: 100%; }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 168, 255, 0.55); }
.hero-btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(0, 168, 255, 0.35); }

.canvas-wrapper {
  position: relative;
  width: 100%;
  height: 85%;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
}

#canvas3d {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (max-width: 992px) {
  .hero-left {
    width: 100%;
    max-width: 500px;
    height: 60vh;
    min-height: 400px;
    left: 50%;
    top: 15%;
    transform: translateX(-50%);
  }

  .hero-right {
    width: 100%;
    max-width: 600px;
    top: 60%;
  }

  .hero-card {
    padding: 40px 50px;
  }

  .hero-logo {
    max-width: 300px;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero-left,
  .canvas-wrapper,
  #canvas3d {
    display: none !important;
  }

  .hero-right {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    padding: 0 20px;
  }

  .hero-card {
    padding: 35px 30px;
    border-radius: 20px;
  }

  .hero-logo {
    max-width: 260px;
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 28px;
  }

  .hero-btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--header-height) + 20px);
  }

  .hero-right {
    width: 95%;
    max-width: 400px;
  }

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

  .hero-logo {
    max-width: 220px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* about */
.about {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 160px var(--container-padding);
  background: linear-gradient(90deg, #ffffff 0%, #f5fbff 100%);
  position: relative;
  margin-top: -100px;
  z-index: 10;
}

.about::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

/* Верхняя часть: текст + картинка */
.about-top {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-top-text {
  flex: 1;
  max-width: 600px;
}

.about-top-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.about-top-text p {
  line-height: 1.7;
  color: rgba(11, 11, 43, 0.8);
}

.about-top-visual {
flex: 1;
  max-width: 520px; /* Ограничиваем ширину изображения */
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-top-visual img {
width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(2, 103, 179, 0.08);
  transition: transform 0.6s ease;
}

.about-top-visual img:hover {
  transform: scale(1.03);
}

/* Нижняя часть: текст на всю ширину */
.about-bottom {
  max-width: 100%;
}

.about-bottom p {
  line-height: 1.7;
  color: rgba(11, 11, 43, 0.8);
  margin: 0;
}

.about-toggle-wrapper {
  text-align: center;
  margin: 20px 0;
}

.about-toggle-btn {
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.about-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-bottom {
  transition: opacity 0.4s ease, max-height 0.4s ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

.about-bottom.show {
  display: block !important;
  max-height: 2000px;
  opacity: 1;
}

/* адаптив */
@media (max-width: 900px) {
  .about {
    margin-top: -40px;
    padding: 100px 24px;
    gap: 40px;
  }

  .about-top {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .about-top-text {
    max-width: 100%;
  }

  .about-bottom {
    text-align: center;
  }
}

/* === SERVICES SECTION === */
.services {
  padding: 100px var(--container-padding);
  background: linear-gradient(180deg, #f9fefe 0%, #ffffff 100%);
  text-align: center;
}

.services h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 60px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 20px;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 8px 30px rgba(0, 163, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 163, 255, 0.12);
}

.service-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 6px 18px rgba(0, 163, 255, 0.2);
  color: #fff;
}

.service-icon svg {
  width: 15px !important;
  height: 15px !important;
  stroke: #fff !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.service-card p {
  margin: 0;
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
}

/* Анимация для иконок */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Адаптив */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* === SERVICES SECTION === */
.services {
  padding: 100px var(--container-padding);
  background: linear-gradient(180deg, #f9fefe 0%, #ffffff 100%);
  text-align: center;
}

.services h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 60px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 20px;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 8px 30px rgba(0, 163, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 163, 255, 0.12);
}

.service-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 6px 18px rgba(0, 163, 255, 0.2);
  color: #fff;
}

.service-icon svg {
  width: 15px !important;
  height: 15px !important;
  stroke: #fff !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.service-card p {
  margin: 0;
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
}

/* Анимация для иконок */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Адаптив */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Адаптив: мобильные устройства — одна колонка */
@media (max-width: 768px) {
  .services {
    padding: 80px var(--container-padding);
  }
  .services h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .services-grid {
    grid-template-columns: 1fr; /* Одна колонка */
    gap: 20px;
    max-width: 320px; /* Ограничиваем ширину для центрирования */
    justify-items: center;
  }
  .service-card {
    padding: 30px 15px;
    max-width: 280px;
    width: 100%;
  }
  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
  }
  .service-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 60px var(--container-padding);
  }
  .services h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .services-grid {
    grid-template-columns: 1fr; /* Одна колонка */
    gap: 16px;
    max-width: 300px;
  }
  .service-card {
    padding: 28px 14px;
    border-radius: 14px;
    max-width: 260px;
  }
  .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }
  .service-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .services-grid {
    gap: 12px;
    max-width: 280px;
  }
  .service-card {
    padding: 24px 12px;
    max-width: 240px;
  }
  .service-card p {
    font-size: 0.85rem;
  }
}

/* блок "Наши услуги" */
.features {
  padding: 140px var(--container-padding);
  background: linear-gradient(180deg, #f9fefe 0%, #ffffff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#three-container.three-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(2.5px) brightness(0.95);
  opacity: 0.85;
}

.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(0, 0, 0, 0.18) 100%);
  z-index: 0;
}

.features h2 {
  position: relative;
  z-index: 1;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 80px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.features-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Колонки */
.features-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 0 1 auto;
  min-width: 280px;
  text-align: left;
}

/* Карточка услуги */
.feature-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 22px 28px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 163, 255, 0.12);
  box-shadow: 0 8px 25px rgba(0, 163, 255, 0.08);
  transition: all 0.35s ease;
  cursor: default;
  width: 280px;
  min-height: 80px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Градиентная полоска сбоку */
.feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--blue), var(--mint));
  border-radius: 6px 0 0 6px;
  opacity: 0.8;
}

/* Мягкое свечение при наведении */
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(0, 163, 255, 0.15);
  border-color: rgba(0, 163, 255, 0.25);
}

/* Эффект «блика» при наведении */
.feature-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 80%);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
  pointer-events: none;
}

.feature-item:hover::after {
  left: 125%;
}

/* Центр изображений */
.features-image {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.features-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 40px rgba(0, 163, 255, 0.18));
  border-radius: 28px;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.features-image img:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 35px 55px rgba(0, 163, 255, 0.25));
}

/* Адаптив */
@media (max-width: 1024px) {
  .features-content {
    flex-direction: column;
    gap: 50px;
    align-items: center;
    width: 100%;
  }

  .features-column {
    text-align: center;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .feature-item {
    width: 280px;
    max-width: none;
  }

  .features-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .features {
    padding-right: 0;
    padding-left: 0;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .features h2 {
    font-size: 32px;
    margin-bottom: 50px;
  }

  .features-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .features-column {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .feature-item {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
    max-width: calc(50% - 8px);
    min-width: 0;
    padding: 18px 14px;
    font-size: 0.93rem;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .feature-item::before {
    left: 50%;
    top: 0;
    width: 80%;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 0 0 6px 6px;
  }
}



/* блок "Партнёры" */
.partners {
  background: linear-gradient(90deg, #ebfbf9, #f5fdff);
  padding: 100px var(--container-padding);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.partners h2 {
  font-size: 36px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Контейнер ленты */
.partners-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Дорожка с логотипами */
.partners-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  transform: translateX(0);
  will-change: transform;
  /* убираем прежнюю анимацию */
  animation: none !important;
}

/* Логотипы */
.partners-track img {
  height: 50px;
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.4s ease;
  filter: drop-shadow(0 8px 20px rgba(0, 163, 255, 0.1));
}

.partners-track img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Адаптив */
@media (max-width: 768px) {
  .partners {
    padding: 80px 24px;
  }

  .partners-track {
    gap: 50px;
  }

  .partners-track img {
    height: 40px;
  }
}

/* === CONVERSION SECTION === */
.conversion {
  padding: 140px var(--container-padding);
  background: linear-gradient(90deg, #ffffff 0%, #f8fcff 100%);
  position: relative;
}

.conversion-content {
display: flex;
  align-items: center;
  justify-content: center; /* Центрируем содержимое */
  gap: 80px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.conversion-text {
  flex: 1;
  max-width: 520px;
}

.conversion-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.conversion-text p {
  color: rgba(11, 11, 43, 0.8);
  line-height: 1.7;
  font-size: 1.05rem;
}

.conversion-visual {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.conversion-illustration img {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 40px rgba(0, 163, 255, 0.1));
}

.conversion-stats {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 340px;
}

.conversion-item {
  text-align: left;
}

.percent {
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(90deg, #007bff, #009fff);
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.percent.mint {
  background: linear-gradient(90deg, var(--mint), #00d7c3);
  -webkit-background-clip: text;
  color: transparent;
}


.conversion-item p {
  color: rgba(11, 11, 43, 0.75);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* адаптив */
@media (max-width: 1024px) {
  .conversion-content {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .conversion-text,
  .conversion-stats {
    max-width: 100%;
  }

  .conversion-item {
    text-align: center;
  }
}

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

/* === FOOTER === */
.footer {
  background: linear-gradient(90deg, #0aa3ff, #6fead6);
  color: #ffffff;
  padding: 40px var(--container-padding);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  text-align: left;
}

.footer-logo {
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 6px;
}

.footer-left p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

.footer-links {
  display: grid;
  align-items: center;
  gap: 15px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-btn {
  background: #ffffff;
  color: var(--dark);
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-btn:hover {
  transform: translateY(-2px);
  background: #f4f4f4;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-details {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}


/* === FOOTER — МОБИЛЬНАЯ ВЕРСИЯ === */
@media (max-width: 768px) {
  .footer {
    padding: 40px var(--container-padding);
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }

  /* Логотип */
  .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
  }

  .footer-logo-img {
    height: 28px;
    width: auto;
    display: block;
  }

  /* Текст: копирайт + детали */
  .footer-left {
    text-align: center;
    width: 100%;
  }

  .footer-left p {
    margin: 0 0 6px;
    font-size: 0.95rem;
  }

  .footer-details {
    margin-top: 12px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
  }

  .footer-details p {
    margin: 4px 0;
  }

  /* Кнопка */
  .footer-links {
    display: grid;
    justify-content: center;
    width: 100%;
    grid-template-columns: 1fr;
    grid-gap: inherit;
  }

  .footer-btn {
    padding: 12px 28px;
    font-size: 1rem;
    min-width: 200px;
  }
}

/* === Documents Preview Section === */
.documents-preview {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f9fefe 0%, #ffffff 100%);
}

.documents-preview-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.documents-preview h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.documents-subtitle {
  font-size: 1.1rem;
  color: rgba(11, 11, 43, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* === Сетка документов (2 строки, 4 колонки на десктопе) === */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* === Карточки === */
.document-preview-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 25px rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  height: 100%;
}

.document-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 163, 255, 0.15);
  border-color: rgba(0, 163, 255, 0.25);
}

.document-preview-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.document-preview-info p {
  font-size: 0.92rem;
  color: rgba(11, 11, 43, 0.7);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.document-preview-btn {
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border: none;
  color: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.document-preview-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.document-preview-link {
  text-decoration: none;
  margin-top: auto;
  display: block;
}

/* === Мобильная версия: 1 колонка === */
@media (max-width: 768px) {
  .documents-preview {
    padding: 60px 15px;
  }

  .documents-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .document-preview-card {
    padding: 20px 18px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 163, 255, 0.1);
  }

  .document-preview-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .document-preview-info p {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .document-preview-btn {
    padding: 10px 16px;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .document-preview-card {
    padding: 18px 16px;
  }

  .document-preview-info h3 {
    font-size: 1.05rem;
  }

  .document-preview-info p {
    font-size: 0.88rem;
  }
}

/* Анимация появления логотипа */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

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

/* Анимация появления слогана */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Лёгкое колебание логотипа */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Применяем анимацию появления */
.animate-logo {
  animation: fadeInDown 1s ease-out forwards;
}

/* Применяем анимацию появления для слогана с задержкой */
.animate-subtitle {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

/* Применяем плавное колебание */
.floating-logo {
  animation: float 3s ease-in-out infinite;
}


/* Модальное окно в стилистике сайта */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(11, 11, 43, 0.6);
  /* чуть темнее для контраста */
  animation: fadeIn 0.3s;
}

.modal-content {
  background: linear-gradient(180deg, #ffffff 0%, #f9fefe 100%);
  margin: 8% auto;
  padding: 30px 25px;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 18px 50px rgba(2, 103, 179, 0.08);
  animation: slideIn 0.3s;
  border: 1px solid rgba(0, 163, 255, 0.12);
}

.modal-content h2 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 25px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
}

.modal-content input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 1rem;
}

.modal-content input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 10px rgba(10, 163, 255, 0.3);
}

.modal-content button[type="submit"] {
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-content button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 163, 255, 0.3);
}

/* Анимации появления */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

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

/* Мобильная адаптация */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px 15px;
    border-radius: 16px;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .modal-content input {
    padding: 10px;
  }

  .modal-content button[type="submit"] {
    padding: 10px 0;
  }
}







/* === СТРАНИЦА СЕРВИСА: ИНТЕРНЕТ-ЭКВАЙРИНГ === */
/* === СЕКЦИЯ: ИНТЕРНЕТ-ЭКВАЙРИНГ — ГЕРОЙ === */
.acquiring-hero {
  display: flex;
  align-items: center;
  justify-content: center; /* Центрируем содержимое */
  gap: 60px;
  padding: calc(140px + var(--header-height)) var(--container-padding) 100px;
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, #ffffff 0%, #f5fbff 100%);
  max-width: 1800px;
  margin: 0 auto;
}

.acquiring-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, #ffffff, transparent);
  pointer-events: none;
  z-index: 1;
}

.acquiring-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left; /* Выравнивание по левому краю, а не по центру */
}

.acquiring-text h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.acquiring-text p {
  line-height: 1.7;
  color: rgba(11, 11, 43, 0.8);
  margin-bottom: 18px;
}

.acquiring-text .highlight {
  font-weight: 700;
  color: var(--blue);
  font-size: 1.1rem;
  margin-top: 24px;
  display: block;
}

.acquiring-visual {
  flex: 1;
  min-width: 300px;
  max-width: 600px; /* Ключевое ограничение */
  display: flex;
  justify-content: center;
  align-items: center;
}

.acquiring-visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(2, 103, 179, 0.08);
  transition: transform 0.6s ease;
}

.acquiring-visual img:hover {
  transform: scale(1.03);
}

/* === СЕКЦИЯ: УНИВЕРСАЛЬНЫЙ СЕРВИС === */
.universal-service {
  padding: 100px var(--container-padding);
  text-align: center;
  background: linear-gradient(180deg, #f9fefe 0%, #ffffff 100%);
}

.universal-service h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.universal-service p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  color: rgba(11, 11, 43, 0.8);
  font-size: 1.1rem;
}

/* === СЕКЦИЯ: КАРТОЧКИ С РАСКРЫТИЕМ === */
.features-section {
  padding: 100px var(--container-padding);
  background: #f9fefe;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0, 163, 255, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 163, 255, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 120px;
  position: relative;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.feature-card .content {
  color: rgba(11, 11, 43, 0.8);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
  flex-grow: 0;
}

.feature-card.active .content {
  max-height: 400px;
  padding-top: 16px;
}

.feature-card .toggle-arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
  color: var(--blue);
}

.feature-card.active .toggle-arrow {
  transform: rotate(180deg);
}

.feature-card .icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.feature-card .icon svg {
  width: 18px;
  height: 18px;
}

/* === СЕКЦИЯ: ОНЛАЙН-КАССЫ И ФИСКАЛЬНЫЕ ЧЕКИ === */
.fiscal-section {
  position: relative;
  padding: 120px var(--container-padding);
  background: #ffffff;
  overflow: hidden;
  text-align: center;
}

.fiscal-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.fiscal-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.fiscal-subtitle {
  font-size: 1.1rem;
  color: rgba(11, 11, 43, 0.7);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.fiscal-price {
  font-size: 1.4rem;
  color: rgba(11, 11, 43, 0.8);
  margin-bottom: 60px;
}

.price-gradient {
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(90deg, #00d4ff, #00ff9d);
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
  margin: 0 8px;
}

.price-suffix {
  font-size: 1.2rem;
  color: rgba(11, 11, 43, 0.6);
}

.fiscal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.fiscal-card {
  background: #f8fdff;
  border-radius: 18px;
  padding: 28px 20px;
  box-shadow: 0 8px 25px rgba(0, 163, 255, 0.06);
  border: 1px solid rgba(0, 163, 255, 0.1);
  transition: all 0.3s ease;
}

.fiscal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 163, 255, 0.12);
  border-color: rgba(0, 163, 255, 0.25);
}

.fiscal-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.fiscal-card p {
  font-size: 0.95rem;
  color: rgba(11, 11, 43, 0.75);
  line-height: 1.5;
}

.fiscal-footer {
  font-size: 0.95rem;
  color: rgba(11, 11, 43, 0.7);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.cloud-left,
.cloud-right {
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.cloud-left {
  top: 80px;
  left: -60px;
  transform: rotate(20deg);
}

.cloud-right {
  bottom: 100px;
  right: -50px;
  transform: rotate(-30deg) scaleX(-1);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

@keyframes float-right {

  0%,
  100% {
    transform: translateY(0) scaleX(-1);
  }

  50% {
    transform: translateY(-15px) scaleX(-1);
  }
}

.cloud-right {
  animation: float-right 7s ease-in-out infinite;
}

/* === СЕКЦИЯ: ВЫСОКАЯ КОНВЕРСИЯ === */
.conversion-section {
  position: relative;
  padding: 120px var(--container-padding);
  background: #ffffff;
  color: var(--dark);
  overflow: hidden;
  text-align: center;
}

.conversion-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.conversion-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.conversion-subtitle {
  font-size: 1.1rem;
  color: rgba(11, 11, 43, 0.7);
  margin-bottom: 60px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.conversion-card {
  background: #f8fdff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 163, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 163, 255, 0.08);
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(8px);
}

.conversion-card::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 0;
  width: 40px;
  height: 4px;
  background: #FFD700;
  border-radius: 2px;
}

.conversion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 163, 255, 0.15);
  border-color: rgba(0, 163, 255, 0.3);
}

.conversion-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  margin-left: 56px;
}

.conversion-card p {
  font-size: 0.98rem;
  color: rgba(11, 11, 43, 0.8);
  line-height: 1.7;
  margin-left: 56px;
}

.dots-left {
  position: absolute;
  top: 100px;
  left: -40px;
  width: 120px;
  height: 120px;
  opacity: 0.6;
  animation: float-dots 8s ease-in-out infinite;
}

.spiral-right {
  position: absolute;
  bottom: -50px;
  right: -80px;
  width: 380px;
  height: 380px;
  opacity: 0.25;
}

.spiral-right path {
  stroke: var(--blue);
  stroke-width: 1.5;
}

@keyframes float-dots {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* === СЕКЦИЯ: ЗАЩИТА И ПОДДЕРЖКА === */
.security-section {
  position: relative;
  padding: 120px var(--container-padding);
  background: #ffffff;
  color: var(--dark);
  overflow: hidden;
  text-align: center;
}

.security-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.security-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 60px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.security-grid>.security-card:nth-child(4),
.security-grid>.security-card:nth-child(5) {
  grid-column: span 1;
}

.security-grid::after {
  content: '';
  grid-column: 2;
}

.security-card {
  background: #f8fdff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(0, 163, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 163, 255, 0.08);
  transition: all 0.4s ease;
}

.security-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 163, 255, 0.14);
  border-color: rgba(0, 163, 255, 0.3);
}

.security-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.security-card p {
  font-size: 0.98rem;
  color: rgba(11, 11, 43, 0.8);
  line-height: 1.7;
}

.dots-right {
  position: absolute;
  top: 80px;
  right: -40px;
  width: 140px;
  height: 220px;
  opacity: 0.6;
  animation: float-dots 9s ease-in-out infinite;
}

/* === СЕКЦИЯ: ВАШ ЛИЧНЫЙ КАБИНЕТ === */
.cabinet-section {
  position: relative;
  padding: 120px var(--container-padding);
  background: #ffffff;
  overflow: hidden;
  text-align: center;
}

.cabinet-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.cabinet-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0b0b2b;
}

.cabinet-subtitle {
  font-size: 1.1rem;
  color: rgba(11, 11, 43, 0.7);
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cabinet-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.cabinet-item {
  display: flex;
  align-items: center;
  gap: 60px;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease-out;
}

.cabinet-item.animate-left {
  transform: translateX(-40px);
}

.cabinet-item.animate-right {
  flex-direction: row-reverse;
  transform: translateX(40px);
}

.cabinet-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.cabinet-image {
  flex: 1;
  max-width: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 163, 255, 0.15);
}

.cabinet-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.cabinet-image:hover img {
  transform: scale(1.03);
}

.cabinet-content {
  flex: 1;
  text-align: left;
}

.cabinet-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b0b2b;
  margin-bottom: 16px;
}

.cabinet-content p {
  font-size: 1rem;
  color: rgba(11, 11, 43, 0.8);
  line-height: 1.7;
}

.wave-left {
  position: absolute;
  left: -80px;
  top: 0;
  width: 200px;
  height: 600px;
  opacity: 0.15;
  z-index: 1;
}

.dots-right {
  position: absolute;
  right: -40px;
  top: 100px;
  width: 140px;
  height: 600px;
  opacity: 0.6;
  animation: float-dots 10s ease-in-out infinite;
}

/* === СЕКЦИЯ: БУДЕМ РАДЫ ОТВЕТИТЬ === */
.contact-section {
  position: relative;
  padding: 120px var(--container-padding);
  background: #ffffff;
  overflow: hidden;
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.contact-left {
  flex: 1;
}

.contact-title {
  font-size: 48px;
  font-weight: 800;
  color: #0b0b2b;
  margin: 0 0 32px 0;
  line-height: 1.1;
  max-width: 480px;
}

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

.write-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #19d4cd;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
  width: fit-content;
}

.write-btn:hover {
  background: #00e68a;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 255, 157, 0.4);
}

.write-btn svg {
  transition: transform 0.3s ease;
}

.write-btn:hover svg {
  transform: translateX(4px);
}

.contact-email {
  color: #00d4ff;
  font-size: 1rem;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: #00b8e6;
}

.download-bubble {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #00d4ff;
  color: white;
  padding: 24px 36px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
  z-index: 3;
  margin-right: -80px;
}

.download-bubble:hover {
  background: #00b8e6;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
}

.download-bubble svg {
  flex-shrink: 0;
}

.bubble-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.bubble-text span:first-child {
  font-weight: 600;
}

.bubble-size {
  font-size: 0.85rem;
  opacity: 0.9;
}

.wave-bg {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}

.dots-decoration {
  position: absolute;
  top: 60px;
  right: 20px;
  width: 150px;
  height: 150px;
  z-index: 2;
  opacity: 0.8;
  animation: float-dots 8s ease-in-out infinite;
}

/* === АДАПТИВ: ОБЩИЕ ПРАВИЛА === */
@media (max-width: 1024px) {

  .features-grid,
  .fiscal-grid,
  .conversion-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid>.security-card:nth-child(4),
  .security-grid>.security-card:nth-child(5) {
    grid-column: auto;
  }

  .security-grid::after {
    display: none;
  }

  .cabinet-item {
    flex-direction: column !important;
    text-align: center;
    gap: 32px;
  }

  .cabinet-content {
    text-align: center;
  }

  .cabinet-image {
    max-width: 100%;
  }

  .contact-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .contact-left {
    text-align: center;
  }

  .contact-title {
    font-size: 40px;
    max-width: 100%;
  }

  .contact-actions {
    align-items: center;
  }

  .wave-bg {
    width: 500px;
    height: 160px;
    right: -50px;
  }
}

@media (max-width: 900px) {
  .acquiring-hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 24px 80px;
    gap: 40px;
  }

  .acquiring-visual {
    display: none;
  }

  .acquiring-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .universal-service,
  .features-section,
  .fiscal-section,
  .conversion-section,
  .security-section,
  .cabinet-section,
  .contact-section {
    padding: 80px 0;
    /* Убираем боковые отступы у секции */
  }

  .conversion-container {
    max-width: 100%;
    padding: 0 16px;
    /* Минимальные отступы внутри */
  }

  .conversion-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 100%;
    margin: 0;
  }

  .conversion-card {
    padding: 28px 24px;
    margin: 0;
    border-radius: 18px;
  }

  .conversion-card h3,
  .conversion-card p {
    margin-left: 48px;
  }

  .conversion-card::before {
    width: 32px;
  }

  /* Остальные секции — оставляем как было */
  .features-grid,
  .fiscal-grid,
  .security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-grid {
    padding: 0;
  }

  .feature-card {
    padding: 24px;
  }

  .cloud-left,
  .cloud-right {
    width: 160px;
    height: 160px;
  }

  .cloud-left {
    top: 40px;
    left: -40px;
  }

  .cloud-right {
    bottom: 60px;
    right: -30px;
  }

  .dots-left {
    width: 90px;
    height: 90px;
    left: -20px;
    top: 60px;
  }

  .spiral-right {
    width: 280px;
    height: 280px;
    right: -60px;
    bottom: -30px;
  }

  .dots-right {
    width: 100px;
    height: 160px;
    right: -20px;
    top: 60px;
  }

  .wave-left {
    width: 120px;
    left: -40px;
  }

  .dots-right {
    width: 100px;
    right: -20px;
    top: 80px;
  }

  .contact-title {
    font-size: 34px;
  }

  .write-btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .download-bubble {
    padding: 20px 30px;
    font-size: 1rem;
    margin-right: 0;
  }

  .wave-bg {
    width: 400px;
    height: 130px;
    right: -30px;
  }

  .dots-decoration {
    width: 120px;
    height: 120px;
    top: 40px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .acquiring-hero {
    padding: 80px 16px 60px;
  }

  .acquiring-text h1 {
    font-size: 28px;
  }

  .universal-service,
  .features-section,
  .fiscal-section,
  .conversion-section,
  .security-section,
  .cabinet-section,
  .contact-section {
    padding: 60px 0;
  }

  .conversion-container {
    padding: 0 12px;
  }

  .conversion-card {
    padding: 24px 20px;
  }

  .conversion-card h3,
  .conversion-card p {
    margin-left: 44px;
  }

  .conversion-card::before {
    width: 28px;
  }

  .universal-service h2,
  .fiscal-title,
  .conversion-title,
  .security-title,
  .cabinet-title,
  .contact-title {
    font-size: 28px;
  }

  .price-gradient {
    font-size: 44px;
  }

  .fiscal-subtitle,
  .fiscal-footer,
  .conversion-subtitle,
  .cabinet-subtitle {
    font-size: 0.9rem;
  }

  .write-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .download-bubble {
    padding: 18px 26px;
    font-size: 0.95rem;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .bubble-text {
    align-items: center;
  }

  .wave-bg {
    width: 300px;
    height: 100px;
    right: -20px;
  }
}

/* Анимация появления логотипа */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Анимация появления слогана */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Лёгкое колебание логотипа */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Применяем анимацию появления */
.animate-logo {
  animation: fadeInDown 1s ease-out forwards;
}

/* Применяем анимацию появления для слогана с задержкой */
.animate-subtitle {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

/* Применяем плавное колебание */
.floating-logo {
  animation: float 3s ease-in-out infinite;
}


/* Модальное окно в стилистике сайта */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(11, 11, 43, 0.6); /* чуть темнее для контраста */
  animation: fadeIn 0.3s;
}

.modal-content {
  background: linear-gradient(180deg, #ffffff 0%, #f9fefe 100%);
  margin: 8% auto;
  padding: 30px 25px;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 18px 50px rgba(2, 103, 179, 0.08);
  animation: slideIn 0.3s;
  border: 1px solid rgba(0, 163, 255, 0.12);
}

.modal-content h2 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 25px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  color: transparent;
}

.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
}

.modal-content input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 1rem;
}

.modal-content input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 10px rgba(10, 163, 255, 0.3);
}

.modal-content button[type="submit"] {
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-content button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 163, 255, 0.3);
}

/* Анимации появления */
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
@keyframes slideIn { from {transform: translateY(-50px); opacity:0;} to {transform: translateY(0); opacity:1;} }

/* Мобильная адаптация */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px 15px;
    border-radius: 16px;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .modal-content input {
    padding: 10px;
  }

  .modal-content button[type="submit"] {
    padding: 10px 0;
  }
}
