/* ============================================
   БАЗОВЫЕ СТИЛИ - Чистый минималистичный дизайн
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.6;
  padding-top: 80px; /* Для fixed header */
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
  box-sizing: border-box;
}

/* ============================================
   ТИПОГРАФИКА - Четкая иерархия
   ============================================ */

h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #000000;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #000000;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #1a1a1a;
}

p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
  color: #4a4a4a;
}

/* ============================================
   HEADER С ЭФФЕКТАМИ
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

/* ============================================
   ЛОГОТИП
   ============================================ */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 0;
  justify-content: center;
}

.logo-name {
  font-weight: 700;
  font-size: 18px;
  color: #000000;
  line-height: 1.2;
  display: block;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.logo-tagline {
  font-size: 11px;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.3;
  display: block;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.logo-location {
  font-size: 11px;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.3;
  display: block;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

/* ============================================
   ШАПКА - Минималистичная
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 24px;
}

/* <nav> в конце .header-inner: на десктопе визуально снова «лого | меню | CTA | бургер» */
@media (min-width: 1001px) {
  .header-inner > .logo {
    order: 1;
  }

  .header-inner > .main-nav {
    order: 2;
  }

  .header-inner > .header-cta {
    order: 3;
  }

  .header-inner > .burger {
    order: 4;
  }
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link,
.nav-button {
  border: none;
  background: none;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.2s ease;
}

.nav-link:hover,
.nav-button:hover {
  background: #f3f4f6;
}

.nav-hidden {
  display: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/*
  Десктоп: шапка в одну строку; при узком окне меню прокручивается внутри своей зоны (горизонтальный скролл).
*/
@media (min-width: 1001px) {
  body {
    padding-top: 96px;
  }

  .site-header {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-inner {
    min-width: 0;
    gap: clamp(8px, 1.8vw, 32px);
    padding-inline: clamp(16px, 2.5vw, 24px);
  }

  .header-inner > .logo {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  /*
    Горизонтальный скролл в nav — иначе пункты наезжают на блок кнопок.
    Выпадашки на десктопе выводятся через position: fixed в script.js.
  */
  .header-inner > .main-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    position: relative;
    z-index: 0;
    overscroll-behavior-x: contain;
  }

  .main-nav::-webkit-scrollbar {
    height: 5px;
  }

  .main-nav::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
  }

  .main-nav ul {
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: flex-start;
    width: max-content;
    gap: clamp(4px, 0.6vw, 8px);
  }

  .header-inner > .header-cta {
    flex: 0 0 auto;
    min-width: 0;
    gap: clamp(6px, 1vw, 12px);
    position: relative;
    z-index: 2;
  }

  .header-cta .btn {
    white-space: nowrap;
    padding-inline: clamp(10px, 1.2vw, 24px);
    font-size: clamp(13px, 1.1vw, 15px);
  }

  .nav-link,
  .nav-button {
    font-size: clamp(13px, 1.05vw, 15px);
    padding-inline: clamp(8px, 1vw, 16px);
    flex-shrink: 0;
  }
}

/* ============================================
   КНОПКИ - Простые и понятные
   ============================================ */

.btn {
  border-radius: 10px;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: #000000;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f3f4f6;
  color: #1a1a1a;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* ============================================
   HERO СЕКЦИЯ - С динамичной подложкой
   ============================================ */

.hero {
  position: relative;
  padding: 20px 0 22px;
  background: #ffffff;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: 0;
  left: 50%;
  width: 110%;
  height: 60%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
  z-index: 0;
  transform: translateX(-50%) skewY(-2deg);
  transform-origin: top left;
  margin-top: -5%;
}

.hero-bg-accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
}

/* Та же горизонтальная подложка, что у .header-inner — левый край текста hero = левому краю логотипа */
@media (min-width: 1001px) {
  main .hero .container.hero-inner {
    padding-inline: clamp(16px, 2.5vw, 24px);
  }
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: #4a4a4a;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* Полоса на всю ширину экрана под hero-сеткой */
.hero-marquee-bleed {
  width: 100%;
  max-width: 100vw;
  margin-top: 16px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.hero-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(135deg, #22c55e, #0ea5e9) border-box;
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}

.hero-marquee-bleed .hero-marquee {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: 0 2px 18px rgba(34, 197, 94, 0.12);
}

.marquee-track {
  display: inline-flex;
  gap: 56px;
  padding-inline: 28px;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.hero-marquee-bleed .marquee-track {
  padding-inline: 40px;
  gap: 64px;
  animation-duration: 28s;
  will-change: transform;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(14, 165, 233, 0.1));
  border-radius: 8px;
  position: relative;
}

.marquee-track span::before {
  content: "✨";
  margin-right: 8px;
  font-size: 14px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ai-orb {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.25);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ============================================
   ДЕКОРАТИВНАЯ ДУГА
   ============================================ */

.hero-arc {
  position: relative;
  /* 100vw + calc(50% - 50vw) даёт горизонтальный вылет и полосу прокрутки в Safari */
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  height: 72px;
  margin-top: -36px;
  margin-bottom: 8px;
  overflow: hidden;
  z-index: 0;
}

.hero-arc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
  border: 1px solid rgba(34, 197, 94, 0.1);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.05);
}

/* Меньше зазор после бегущей строки / дуги до первого контентного блока */
.hero-arc + .section {
  padding-top: 48px;
}

/* ============================================
   СЕКЦИИ - Больше воздуха
   ============================================ */

.section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.section-alt {
  background: #f9fafb;
}

.section-animated {
  overflow: hidden;
  position: relative;
}

.section-animated::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.03) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Эффект параллакса для блока "Мы не настраиваем рекламу..." */
.section-parallax {
  position: relative;
}

.section-parallax .animated-content {
  position: relative;
  z-index: 1;
  transform-origin: center;
  overflow: visible;
}

.section-parallax .animated-content .content-inner {
  position: relative;
  will-change: transform;
  /* transition убран для предотвращения конфликтов с JavaScript */
}

.section-parallax .animated-content.parallax-start {
  opacity: 0.7;
  filter: blur(2px);
  transition: opacity 0.6s ease-out, filter 0.6s ease-out;
}

.section-parallax .animated-content.parallax-active {
  opacity: 1;
  filter: blur(0);
  transition: opacity 0.6s ease-out, filter 0.6s ease-out;
}

/* Параллакс эффект для карточек */
.cards-parallax {
  position: relative;
  transform-origin: center;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out, filter 0.1s ease-out;
}

.cards-parallax.parallax-start {
  transform: scale(0.85) translateZ(0);
  opacity: 0.7;
  filter: blur(2px);
}

.cards-parallax.parallax-active {
  transform: scale(1) translateZ(0);
  opacity: 1;
  filter: blur(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s ease-out,
              filter 0.6s ease-out;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.animate-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.3s;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  color: #6b7280;
}

.two-column {
  display: grid;
  gap: 60px;
}

@media (min-width: 900px) {
  .two-column {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

/* ============================================
   КАРТОЧКИ - Простые и читаемые
   ============================================ */

.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cards-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: #22c55e;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12);
  transform: translateY(-4px);
}

.solutions-grid .card {
  display: flex;
  flex-direction: column;
}

.solutions-grid .card > p {
  margin-bottom: 0;
  flex: 1;
}

.solutions-grid .card-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.solutions-grid .card-actions .btn {
  white-space: nowrap;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  position: relative;
  height: 28px;
  overflow: hidden;
}

.card h3::before {
  display: none;
}

.card-title-main,
.card-title-hover {
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.card-title-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(100%);
  opacity: 0;
  color: #22c55e;
  font-weight: 600;
}

.card-interactive:hover .card-title-main {
  transform: translateY(-100%);
  opacity: 0;
}

.card-interactive:hover .card-title-hover {
  transform: translateY(0);
  opacity: 1;
}

.card p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
  transition: color 0.3s ease;
}

.card-interactive:hover p {
  color: #1a1a1a;
}

.case-card p {
  font-size: 15px;
  margin-bottom: 12px;
}

.case-card p:last-child {
  margin-bottom: 0;
}

/* ============================================
   ОТРАСЛЕВЫЕ КАРТОЧКИ - Горизонтальные
   ============================================ */

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

.industry-card-horizontal {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(20px);
}

.industry-card-horizontal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.industry-card-horizontal:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.industry-icon {
  font-size: 40px;
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.industry-content {
  flex: 1;
  min-width: 0;
}

.industry-card-horizontal h3 {
  font-size: 22px;
  margin: 0 0 12px;
  color: #000000;
  font-weight: 600;
}

.industry-card-horizontal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.6;
  display: grid;
  gap: 6px;
}

.industry-card-horizontal li {
  display: flex;
  align-items: flex-start;
}

.industry-card-horizontal li::before {
  content: "—";
  color: #9ca3af;
  margin-right: 10px;
  font-weight: 400;
}

.industry-card-horizontal .card-link {
  font-size: 15px;
  font-weight: 500;
  color: #0ea5e9;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.industry-card-horizontal .card-link:hover {
  color: #0284c7;
  text-decoration: underline;
}

/* Делаем карточку кликабельной */
.industry-card-horizontal {
  position: relative;
  cursor: pointer;
}

.industry-card-horizontal a,
a.industry-card-horizontal {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  text-decoration: none;
  color: inherit;
  display: flex;
}

a.industry-card-horizontal:hover {
  text-decoration: none;
  color: inherit;
}

.industry-card-horizontal .badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-weight: 500;
}

/* ============================================
   ЭТАПЫ
   ============================================ */

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

.step {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
}

/* ============================================
   ПРЕИМУЩЕСТВА
   ============================================ */

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.advantage {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e5e7eb;
}

.advantage h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.advantage h3::before {
  display: none;
}

.advantage p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
}

/* ============================================
   ФОРМЫ - Чистые и простые
   ============================================ */

.cta-section {
  border-top: 1px solid #e5e7eb;
}

.cta-inner {
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .cta-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.form {
  display: grid;
  gap: 20px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
}

.form-row label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

/* Заголовок поля в одну строку (напр. «Телефон *») — без переноса звёздочки */
.form-row label > .label-title {
  display: block;
  line-height: 1.35;
}

.form-row label > .label-title .required {
  white-space: nowrap;
}

/* Согласие на обработку ПДн: галочка слева, текст справа (как на главной) */
.form-row label.form-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: #4b5563;
}

.form-consent input[type='checkbox'] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  align-self: flex-start;
}

.form-consent-text {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  margin: 0;
  font-size: clamp(11px, 2.5vw, 13px);
  line-height: 1.35;
}

.form-consent-text .required {
  display: inline;
}

@media (max-width: 480px) {
  .form-consent-text {
    font-size: 11px;
  }
}

/* Мобилка: текст согласия по вертикали по центру чекбокса */
@media (max-width: 1000px) {
  .form-row label.form-consent {
    align-items: center;
  }

  .form-consent input[type='checkbox'] {
    align-self: center;
    margin: 0;
  }
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1.5px solid #d1d5db;
  padding: 12px 16px;
  background: #ffffff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

textarea {
  border-radius: 12px;
  min-height: 100px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #000000;
}

.required {
  color: #ef4444;
}

/* ============================================
   ФУТЕР
   ============================================ */

.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-description {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

.footer-menu,
.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: #4a4a4a;
  display: grid;
  gap: 8px;
}

.footer-menu a:hover,
.footer-contacts a:hover {
  color: #000000;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 24px 24px 32px;
  font-size: 14px;
  color: #6b7280;
  text-align: center;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100% - 32px);
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-dialog h2 {
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: none;
  color: #6b7280;
  font-size: 28px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #000000;
}

@media (max-width: 600px) {
  .modal-dialog {
    width: min(100vw - 20px, 480px);
    padding: 22px 14px;
    max-height: min(92dvh, calc(100vh - 16px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-dialog .form {
    padding: 20px 14px;
  }
}

/* ============================================
   БУРГЕР МЕНЮ
   ============================================ */

.burger {
  display: none;
  width: 32px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.2s ease;
}

@media (max-width: 1000px) {
  :root {
    /* Лишний отступ под адресную строку убран; сверху только safe-area под вырез */
    --header-pad-extra: 0px;
    /* Внутренняя высота строки (padding inner + min-height + запас под 600px) */
    --header-inner-stack: 92px;
    --header-offset: calc(
      env(safe-area-inset-top, 0px) + var(--header-pad-extra) + var(--header-inner-stack)
    );
  }

  body {
    padding-top: var(--header-offset);
  }

  .site-header {
    z-index: 1000;
    overflow: visible;
    /* backdrop-filter создаёт контекст наложения: fixed-меню «привязывается» к шапке и может наезжать на лого */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
    /* Подложка на всю зарезервированную высоту — лого и текст не «висят» над белой полосой */
    min-height: var(--header-offset);
    display: flex;
    flex-direction: column;
    /* center давал пустую белую полосу между системной зоной и логотипом */
    justify-content: flex-start;
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-pad-extra));
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    transition: background 0.25s ease, box-shadow 0.25s ease;
  }

  /* Глобальный .site-header.scrolled { padding: 10px 0 } ломает мобилу — сохраняем safe-area и запас */
  .site-header.scrolled {
    min-height: var(--header-offset);
    background: #ffffff;
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-pad-extra));
    padding-bottom: 8px;
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  .header-inner {
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 56px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: visible;
    width: 100%;
  }

  .header-inner > .logo {
    order: 1;
  }

  .header-inner > .burger {
    order: 2;
  }

  .header-inner > .header-cta {
    order: 3;
  }

  .header-inner > .main-nav {
    order: 5;
  }

  /* Маркер вставки меню в DOM: не участвует в flex-ряду (иначе order:0 = первый слева, «стрелка»/полоска) */
  #main-nav-slot {
    display: none !important;
    order: 99;
    flex: 0 0 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 60px);
    align-items: center;
    overflow: visible;
  }

  /* scale(1.05) у pulse может давать визуальное «подрезание» у края шапки на тач-экранах */
  .logo-mark {
    animation: none;
  }

  .logo-text {
    min-width: 0;
  }

  .logo-name,
  .logo-tagline,
  .logo-location {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .burger {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 1002;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 11px 10px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  .burger span {
    width: 22px;
    height: 2px;
    flex-shrink: 0;
  }

  .burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: var(--header-offset);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    max-height: min(72vh, calc(100dvh - var(--header-offset)));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    z-index: 1;
  }

  /* Закрыто: уводим панель и делаем невидимой (процент от высоты на части устройств оставлял ссылку «Контакты» на экране) */
  .main-nav:not(.is-open) {
    transform: translate3d(0, calc(-100vh - 24px), 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.3s ease,
      opacity 0.2s ease,
      visibility 0s linear 0.35s;
  }

  .main-nav.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1001;
    transition:
      transform 0.3s ease,
      opacity 0.2s ease,
      visibility 0s linear 0s;
  }

  .main-nav ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
    white-space: normal;
    width: 100%;
    max-width: 100%;
    list-style: none;
    list-style-type: none;
    padding-inline-start: 16px;
    margin-inline-start: 0;
  }

  .main-nav li::marker {
    content: none;
    font-size: 0;
  }

  .main-nav .nav-item {
    width: 100%;
    max-width: 100%;
    transform: none !important;
  }

  .main-nav .nav-link,
  .main-nav .nav-button {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
    box-sizing: border-box;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 14px;
    padding-right: 14px;
    transform: none !important;
    margin-inline: 0;
  }

  .main-nav .nav-dropdown .nav-button {
    padding-right: 42px;
  }

  .main-nav .nav-item:not(.nav-dropdown) {
    border-bottom: 1px solid #f3f4f6;
  }

  .main-nav .nav-item:not(.nav-dropdown) .nav-link {
    padding: 12px 14px;
    font-weight: 600;
  }

  .nav-hidden {
    display: none;
  }

  .header-cta {
    display: none;
  }

  /* Убираем «искры» ✨ у бегущей строки hero на мобиле (визуально как «кристаллики») */
  .marquee-track span::before {
    content: none;
    margin: 0;
  }

  /* Подчёркивание у простых ссылок меню — не нужно на мобиле */
  .main-nav .nav-item:not(.nav-dropdown) > .nav-link::after {
    display: none !important;
    width: 0 !important;
    content: none !important;
  }

  /* Убираем любые декоративные ::before у пунктов меню (на части ОС визуально как «кристаллики») */
  .main-nav .nav-link::before,
  .main-nav .nav-button::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

@media (max-width: 900px) {
  /* На мобиле отключаем параллакс/трансформации, чтобы блоки не наезжали друг на друга */
  .section-parallax .animated-content,
  .section-parallax .animated-content.parallax-start,
  .section-parallax .animated-content.parallax-active,
  .section-parallax .animated-content .content-inner,
  .cards-parallax,
  .cards-parallax.parallax-start,
  .cards-parallax.parallax-active,
  .animate-on-scroll,
  .animate-on-scroll.animated {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* ============================================
   ДРОПДАУНЫ
   ============================================ */

.nav-dropdown {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 520px;
  padding: 12px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: none;
  margin-top: 0;
}

.nav-dropdown:hover > .dropdown-menu {
  display: grid;
}

@media (min-width: 1001px) {
  .nav-dropdown.is-open > .dropdown-menu {
    display: grid;
  }

  /*
    В .main-nav на десктопе выпадашки показываются только через JS (портал в body + fixed).
    Иначе они остаются внутри .site-header с backdrop-filter и выглядят полупрозрачными / мигают.
  */
  .main-nav .nav-dropdown:hover > .dropdown-menu,
  .main-nav .nav-dropdown.is-open > .dropdown-menu {
    display: none !important;
  }

  /* Панель после переноса в document.body */
  .dropdown-menu[data-header-dropdown-portal] {
    z-index: 200000 !important;
    background: #ffffff !important;
    opacity: 1 !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    isolation: isolate;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .dropdown-menu[data-header-dropdown-portal]::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }
}

.dropdown-menu a {
  display: block;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #1a1a1a;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.dropdown-menu .dropdown-label {
  display: block;
  margin: 8px 10px 4px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b7280;
  text-transform: uppercase;
}

.dropdown-menu a:hover {
  background: #f9fafb;
}

.dropdown-mega {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dropdown-mega h3 {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 6px;
  padding: 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dropdown-mega .dropdown-column > a {
  padding: 8px 10px;
}

.dropdown-column {
  min-width: 220px;
}

@media (max-width: 1000px) {
  .dropdown-menu,
  .dropdown-mega {
    position: static;
    box-shadow: none;
    border: none;
    padding: 8px 0 4px;
    margin-top: 0;
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .dropdown-mega.dropdown-mega-2,
  .dropdown-mega.dropdown-mega-3 {
    grid-template-columns: 1fr;
  }

  .dropdown-menu a {
    padding-left: 24px;
    white-space: normal;
  }

  .dropdown-mega .dropdown-column > h3 {
    padding-left: 24px;
    padding-right: 16px;
  }

  .dropdown-mega .dropdown-column > a {
    padding-left: 24px;
  }

  .dropdown-solutions-col a {
    padding-left: 24px;
  }

  .dropdown-solutions-cols {
    grid-template-columns: 1fr;
  }

  .nav-dropdown:hover > .dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open > .dropdown-mega {
    display: grid;
  }

  .main-nav .nav-dropdown.is-open > .dropdown-mega {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    width: 100%;
    min-width: 0 !important;
  }

  .nav-dropdown.is-open > .dropdown-menu:not(.dropdown-mega) {
    display: block;
  }

  /* Мобильное меню: одна колонка, без «узких» сеток */
  .main-nav .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #f3f4f6;
  }

  .main-nav .nav-dropdown .nav-button {
    position: relative;
    padding-right: 42px;
    font-weight: 600;
  }

  .main-nav .nav-dropdown .nav-button::after {
    content: '';
    display: block !important;
    position: absolute;
    right: 14px;
    top: 50%;
    bottom: auto;
    left: auto;
    width: 9px;
    height: 9px;
    margin-top: -5px;
    background: none;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    pointer-events: none;
  }

  .main-nav .nav-dropdown.is-open .nav-button::after {
    transform: rotate(225deg);
    margin-top: -5px;
  }

  .main-nav .dropdown-mega .dropdown-column {
    min-width: 0;
  }

  .main-nav .dropdown-solutions-cols {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .main-nav .dropdown-solutions-col {
    width: 100%;
  }

  .main-nav .dropdown-menu a,
  .main-nav .dropdown-mega .dropdown-column > a,
  .main-nav .dropdown-solutions-col a {
    padding-left: 16px;
    padding-right: 16px;
  }

  .main-nav .dropdown-mega .dropdown-column > h3,
  .main-nav .dropdown-column--solutions-wide > h3 {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 1001px) {
  .dropdown-mega.dropdown-mega-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: min(640px, 96vw);
    gap: 12px;
  }

  .dropdown-mega.dropdown-mega-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: min(860px, 96vw);
    align-items: start;
    gap: 12px;
  }

  .dropdown-mega.dropdown-mega-2.dropdown-mega--all-solutions {
    grid-template-columns: 1fr;
    min-width: min(820px, 96vw);
  }

  .dropdown-solutions-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
  }
}

.dropdown-column--solutions-wide {
  min-width: 0;
}

.dropdown-solutions-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dropdown-solutions-col a {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 8px;
  color: #1a1a1a;
  white-space: normal;
  transition: background-color 0.2s ease;
}

.dropdown-solutions-col a:hover {
  background: #f9fafb;
}

.dropdown-column--solutions {
  max-height: 320px;
  overflow-y: auto;
  font-size: 13px;
}

.dropdown-column--solutions a {
  white-space: normal;
  line-height: 1.35;
  padding: 6px 10px;
}

/* ============================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ============================================ */

.page-hero {
  padding: 60px 0 40px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 700px;
  font-size: 18px;
  color: #6b7280;
}

.page-layout {
  padding: 60px 0 80px;
}

.page-grid {
  display: grid;
  gap: 40px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
  font-weight: 500;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: #4a4a4a;
  display: grid;
  gap: 10px;
}

.list-check li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 600;
  margin-right: 10px;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 20px 24px;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
  margin: 0;
  color: #4a4a4a;
}

/* ============================================
   СТРАНИЦА СПАСИБО
   ============================================ */

.thankyou {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.thankyou-inner {
  max-width: 600px;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.thankyou-robot {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  position: relative;
}

.robot-body {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  border: 2px solid #e5e7eb;
  overflow: hidden;
}

.robot-face {
  position: absolute;
  inset: 20px 18px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.robot-eye {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: blink 4s infinite;
}

.robot-eye:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes blink {
  0%, 90%, 100% {
    transform: scaleY(1);
  }
  92%, 98% {
    transform: scaleY(0.1);
  }
}

.robot-base {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.3);
}

.thankyou-text h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

.thankyou-text p {
  font-size: 17px;
  color: #4a4a4a;
  line-height: 1.7;
}

.thankyou-meta {
  margin-top: 16px;
  font-size: 14px;
  color: #9ca3af;
}

/* ============================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ
   ============================================ */

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1000px) {
  .hero-inner {
    max-width: 100%;
  }

  .hero-arc {
    display: none;
  }

  .hero {
    padding: 8px 0 40px;
  }

  .hero-bg-accent {
    display: none;
  }

  .hero-content {
    min-width: 0;
    max-width: 100%;
  }

  .hero h1,
  .hero-content h1 {
    font-size: clamp(22px, 5.8vw, 34px);
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    max-width: 100%;
  }

  .hero-checklist {
    max-width: none;
  }

  .hero-checklist li {
    font-size: clamp(14px, 3.6vw, 17px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .section {
    padding: 80px 0;
  }

  .industry-list {
    grid-template-columns: 1fr;
  }

  .industry-card-horizontal {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .industry-icon {
    width: 56px;
    height: 56px;
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 12px 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cards-grid-2,
  .cards-grid-3,
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .industry-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ПРОДВИНУТЫЕ АНИМАЦИИ И ЭФФЕКТЫ
   ============================================ */

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

/* Анимация появления секций */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.hero-bg-accent {
  position: absolute;
  top: 0;
  left: 50%;
  width: 120vw;
  height: 65%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  transform: translateX(-50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  background: linear-gradient(135deg, #000000 0%, #22c55e 50%, #0ea5e9 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

/* Интерактивные карточки с 3D эффектом */
.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Исключаем 3D эффект для карточек с формой и FAQ */
.card form,
.faq .card,
.faq-item,
.card:has(form),
aside .card {
  transform: none !important;
  pointer-events: auto;
}

.card form:hover,
.faq .card:hover,
.faq-item:hover,
.card:has(form):hover,
aside .card:hover {
  transform: none !important;
}

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

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-interactive {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-interactive:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: 0 25px 50px rgba(34, 197, 94, 0.15);
}

/* Эффект ripple для кнопок */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1a9d4f 0%, #0b8bc4 100%);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.btn-outline:hover {
  background: rgba(34, 197, 94, 0.05);
  border-color: #22c55e;
  color: #22c55e;
}

/* Анимация для логотипа */
.logo {
  transition: transform 0.3s ease;
}

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

.logo-mark {
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
  .logo:hover .logo-mark {
    transform: rotate(360deg);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  }
}

/* Эффекты для навигации */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

/* Кнопки дропдауна — не подчёркивание снизу (у них своё оформление / шеврон на мобиле) */
.nav-link.nav-button::after {
  display: none !important;
}

.nav-link:hover {
  color: #22c55e;
}

/* Анимация для карточек индустрий */
.industry-card-horizontal {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.industry-card-horizontal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-card-horizontal:hover::before {
  opacity: 1;
}

.industry-card-horizontal:hover {
  transform: translateX(10px) translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.industry-icon {
  transition: all 0.3s ease;
}

.industry-card-horizontal:hover .industry-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Анимация для marquee */
.marquee-track {
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-track span {
  display: inline-block;
  padding: 0 30px;
  transition: transform 0.3s ease;
}

.marquee-track:hover span {
  transform: scale(1.1);
}

/* Эффекты для секций */
.section {
  position: relative;
  transition: opacity 0.6s ease;
}

.section-header {
  animation: fadeInUp 0.8s ease-out;
}

/* Параллакс эффекты */
.parallax-element {
  transition: transform 0.1s ease-out;
}

/* Анимация для дуги */
.hero-arc {
  animation: float 6s ease-in-out infinite;
}

/* Эффекты для форм */
input, textarea, select {
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Эффекты для модальных окон */
.modal {
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Эффекты для badge */
.badge {
  animation: pulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.badge:hover {
  transform: scale(1.1);
}

/* Эффекты для иконок в карточках */
.industry-icon {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

/* Плавное появление элементов при скролле */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Эффект для заголовков */
h2, h3 {
  position: relative;
  display: inline-block;
}

h2::after, h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transition: width 0.5s ease;
}

.scroll-reveal.revealed h2::after,
.scroll-reveal.revealed h3::after {
  width: 100%;
}

/* Эффекты для футера */
footer {
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #22c55e, #0ea5e9, transparent);
  animation: shimmer 3s linear infinite;
}

/* Эффекты для карточек продуктов */
.cards-grid .card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.cards-grid .card:nth-child(1) { animation-delay: 0.1s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.2s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.3s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.4s; }
.cards-grid .card:nth-child(5) { animation-delay: 0.5s; }
.cards-grid .card:nth-child(6) { animation-delay: 0.6s; }

/* Эффекты для шагов процесса */
.step {
  transition: all 0.3s ease;
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid transparent;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover::before {
  opacity: 1;
  border-color: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

.step:hover {
  transform: translateY(-5px);
}

/* Эффекты для кейсов */
.case-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.case-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(14, 165, 233, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-card:hover::after {
  opacity: 1;
}

.case-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Эффекты для преимуществ */
.advantage {
  transition: all 0.3s ease;
}

.advantage:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #22c55e;
}

/* Плавные переходы для всех интерактивных элементов */
a, button {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Эффекты для изображений */
img {
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.05);
}

/* Эффекты для списков */
ul li {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

ul:hover li {
  opacity: 0.7;
}

ul li:hover {
  opacity: 1;
  transform: translateX(5px);
}

/* Эффекты для заголовков секций */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 40px;
  background: linear-gradient(180deg, #22c55e, #0ea5e9);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section-header--plate {
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.22);
  margin-bottom: 8px;
}

.section-header--plate h2 {
  display: block;
  margin-bottom: 10px;
}

.section-header--plate p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.55;
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  max-width: 600px;
}

.hero-checklist li {
  margin-bottom: 14px;
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.55;
  color: #4a4a4a;
}

.hero-checklist li:last-child {
  margin-bottom: 0;
}

.cta-text-block p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: #374151;
}

.cta-text-block p:last-child {
  margin-bottom: 0;
}

.cta-text-block .cta-line-accent {
  font-weight: 600;
  color: #111827;
}

.nav-link.nav-link--contacts,
.nav-link.nav-link--contacts:hover,
.nav-link.nav-link--contacts:focus {
  color: #16a34a !important;
  font-weight: 600;
}

.nav-link.nav-link--contacts:hover,
.nav-link.nav-link--contacts:focus {
  background: rgba(34, 197, 94, 0.08);
}

.scroll-reveal.revealed .section-header h2::before {
  opacity: 1;
  animation: slideInLeft 0.5s ease-out;
}

/* ——— Правки по PDF (бренд, формы, футер, блог, отрасли) ——— */

.brand-utug {
  font-weight: 800;
  background: linear-gradient(135deg, #16a34a, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.list-cross {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.list-cross li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.list-cross li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #dc2626;
  font-weight: 700;
  font-size: 14px;
}

.text-highlight-plate {
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #1f2937;
  line-height: 1.65;
}

.breadcrumbs {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs a:hover {
  color: #115e59;
}

.bc-sep {
  margin: 0 8px;
  opacity: 0.5;
}

.phone-input-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.phone-input-group select {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  background: #fff;
}

.phone-input-group input[type='tel'] {
  flex: 1 1 180px;
  min-width: 0;
}

.form-hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  margin-top: 4px;
}

.footer-menu a.is-active {
  color: #16a34a;
  font-weight: 600;
}

.footer-dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-dropdown-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 6px 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.footer-dropdown-toggle::after {
  content: '▾';
  font-size: 12px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.footer-dropdown.is-open .footer-dropdown-toggle::after {
  transform: rotate(-180deg);
}

.footer-submenu {
  list-style: none;
  margin: 4px 0 8px 12px;
  padding: 0;
  display: none;
}

.footer-dropdown.is-open .footer-submenu {
  display: block;
}

.footer-submenu a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: #6b7280;
}

.footer-logo-link {
  text-decoration: none;
  color: inherit;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .footer-socials {
    flex-wrap: nowrap;
  }
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0;
  border: none;
  transition: transform 0.2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  transform: scale(1.08);
}

.footer-socials a:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

.footer-socials .soc-tg {
  background: #229ed9;
}

.footer-socials .soc-tc {
  background: #ff6a00;
}

.footer-socials .soc-in {
  background: #0a66c2;
}

.footer-socials .soc-ig {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.footer-socials img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
}

.footer-socials img,
.footer-socials img:hover {
  transform: none;
}

.legal-block {
  margin-top: 10px;
}

.legal-block summary {
  cursor: pointer;
  font-weight: 600;
  color: #374151;
  padding: 8px 0;
}

.legal-block .legal-inner {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  padding: 8px 0 12px;
}

.legal-block a {
  color: #0f766e;
}

.legal-requisites-intro {
  margin: 0 0 14px;
}

.requisites-detail p {
  margin: 0 0 8px;
}

.requisites-bank-heading {
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #374151;
}

.requisites-detail .requisites-bank-heading:first-of-type {
  margin-top: 4px;
}

.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.steps-vertical .step {
  position: relative;
  padding-left: 28px;
  border-left: 3px solid #e5e7eb;
  margin-left: 18px;
  padding-bottom: 28px;
  border-radius: 0;
  background: transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
}

.steps-vertical .step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps-vertical .step-number {
  position: absolute;
  left: -21px;
  top: 0;
  margin-bottom: 0;
}

.thankyou-text h1 .emoji-after::after {
  content: ' ✨';
}

.thankyou-lines p {
  margin: 0 0 12px;
  line-height: 1.55;
}

.telegram-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.15), rgba(14, 165, 233, 0.12));
  border: 2px solid rgba(34, 158, 217, 0.45);
  font-weight: 600;
}

.telegram-pill a {
  color: #0369a1;
  text-decoration: none;
}

.telegram-pill a:hover {
  text-decoration: underline;
}

.thankyou-meta-lines {
  margin-top: 20px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.who-we-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 900px) {
  .who-we-intro {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
  }

  .who-we-intro p {
    flex: 1;
    margin: 0;
  }
}

/* Блог: соцсети в шапке — как в футере (ряд иконок) */
.blog-hero-socials {
  margin-top: 20px;
}

@media (max-width: 600px) {
  .blog-hero-socials.footer-socials {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
}

.blog-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.blog-stats span {
  color: #6b7280;
  font-weight: 500;
  font-size: 14px;
  display: block;
}

.blog-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: #f3f4f6;
  border-radius: 12px;
  margin-bottom: 24px;
}

.blog-tabs button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  color: #6b7280;
}

.blog-tabs button.is-active {
  background: #fff;
  color: #111827;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.blog-filter-chip {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #4b5563;
}

.blog-filter-chip.is-active {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
  font-weight: 600;
}

.blog-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.blog-carousel .blog-card,
.blog-carousel .blog-card-video {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
}

.blog-card,
.blog-card-video {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.blog-card h3,
.blog-card-video h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.blog-card .meta,
.blog-card-video .meta {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.blog-more-block {
  display: none;
  margin-top: 20px;
}

.blog-more-block.is-expanded {
  display: block;
}

.case-lines {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.case-lines li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-lines li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.faq-accordion details {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.faq-accordion details:hover {
  border-color: #c7d2fe;
  background: #f8fbff;
}

.faq-accordion details[open] {
  border-color: #93c5fd;
  background: #f0f9ff;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.faq-accordion summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 26px;
  color: #111827;
  transition: color 0.2s ease;
}

.faq-accordion details:hover > summary {
  color: #1d4ed8;
}

.faq-accordion details[open] > summary {
  color: #1e40af;
}

.faq-accordion summary::after {
  content: '▼';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: #111827;
  font-size: 15px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-accordion details:hover > summary::after {
  color: #1d4ed8;
}

.faq-accordion details[open] > summary::after {
  transform: translateY(-50%) rotate(180deg);
  color: #111827;
}

.faq-accordion details p {
  margin: 10px 0 2px;
  color: #4b5563;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.service-pains {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

@media (min-width: 768px) {
  .service-pains {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-pain {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
}

.advantage-icon-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.advantage-icon-title .adv-ico {
  font-size: 22px;
  line-height: 1.2;
}
