/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box
}

html, body {
  height: 100%
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  background: #ffffff;
  color: #141715
}

h1 {
  font-size: 48px;
  line-height: 130%;
  margin: 0 0 16px;
}

h2 {
  font-size: 40px;
  line-height: 130%;
  margin: 0 0 16px;
}

h3 {
  font-size: 32px;
  line-height: 130%;
  margin: 0 0 16px;
}

h4 {
  font-size: 28px;
  line-height: 130%;
  margin: 0 0 16px;
}

h5 {
  font-size: 20px;
  line-height: 130%;
}

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

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

button {
  font-family: inherit;
}

:root {
  --dark: #141715;
  --dark-2: #0f1211;
  --text: #F5F6F5;
  --muted: #8F9492;
  --accent: #C7A88F;
  --accent-2: #B7947A;
  --border: #D8C2AF;
  --container: 1260px;
  --radius: 18px;
  --shadow: 0 8px 32px rgba(0, 0, 0, .25);
}

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto
}

.section {
  padding: 72px 0
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 44px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  /*box-shadow: 0 6px 18px rgba(199, 168, 143, .35);*/
  width: fit-content;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  gap: 8px;
}

.pill:hover {
  filter: brightness(.95)
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(18 23 24);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.header__row {
  display: grid;
  grid-template-columns:1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: var(--text)
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand img {
  width: 120px
}

.brand__title {
  font-weight: 800;
  font-size: 28px;
  line-height: 1
}

.brand__sub {
  font-size: 12px;
  opacity: .7;
  margin-top: 2px
}

.nav .menu {
  display: flex;
  gap: 32px;
  justify-content: center;
  list-style-type: none;
}

.nav a {
  font-weight: 600;
  opacity: .95
}

.nav a:hover {
  opacity: 1
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: .9;
  cursor: pointer;
}

.call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 10px 18px;
  border-radius: 999px
}

.call .ico {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: 999px
}

/* ===== Mobile header ===== */
.burger {
  display: none
}

#nav-toggle {
  display: none
}

@media (max-width: 980px) {
  .header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .actions {
    margin-left: auto;
  }

  .nav {
    display: none
  }

  .burger {
    display: inline-flex;
    justify-self: center
  }

  #nav-toggle:checked ~ nav.nav {
    display: flex;
    position: fixed;
    inset: 64px 16px auto 16px;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 16px;
    flex-direction: column;
    gap: 8px
  }
}

/* ===== Hero with slider ===== */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--text)
}

.hero.hero--ai {
  position: relative;
  min-height: clamp(520px, 72vh, 720px);
  display: grid;
  align-items: center;
  isolation: isolate;
  background: #e9ecef; /* базовый фон */
}

.hero-ai__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero.hero--ai::before {
  /* мягкий градиент под текст слева, чтобы он читался на любом фоне */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(1200px 600px at 20% 50%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .4) 55%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}

.hero-ai__row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding-block: clamp(36px, 6vw, 72px);
}

.hero-ai__copy {
  max-width: 740px;
}

.hero-ai__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 5.5vw, 56px);
  line-height: 1.1;
  letter-spacing: .2px;
  color: #111;
  font-weight: 400;
}

.hero-ai__title p {
  margin: 0;
}

.hero-ai__title b, .hero-ai__title strong {
  color: #111;
  font-weight: 900;
}

.hero-ai__sub {
  margin: 0 0 48px;
  color: #4b4f4d;
  font-size: clamp(16px, 1.6vw, 20px);
}

.pill.pill--elev {
  display: flex;
  margin-left: 25%;
  place-items: center;
  padding: 16px 48px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
  border: 1px solid rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.pill.pill--elev:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .95);
}

.hero-ai__art {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: end;
}

.hero-ai__art img {
  width: min(560px, 100%);
  max-height: min(68vh, 680px);
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .18));
}

.hero-ai__glow {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 6%;
  width: min(40vw, 520px);
  height: min(40vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-ai__bg {
    background-position: 58%;
    background-repeat: no-repeat;
  }

  .hero-ai__row {
    grid-template-columns:1fr;
    text-align: center;
  }

  .hero-ai__copy {
    margin: 0 auto;
  }

  .hero-ai__art {
    place-items: center;
  }

  .pill.pill--elev {
    justify-self: center;
  }

  .hero.hero--ai::before {
    background: radial-gradient(1100px 480px at 50% 20%, rgba(255, 255, 255, .96), rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, 0) 75%);
  }
}


.srv-hero .line {
  position: absolute;
  background-color: var(--border);
  will-change: transform, opacity;
}

/* Стартовое «свернутое» состояние задаём ТОЛЬКО, когда есть .will-draw на контейнере */
.srv-hero .line {
  opacity: 0;
  will-change: transform, opacity;
}

.srv-hero .line:first-child {
  height: 3px;
  top: 0;
  left: 0;
  width: 200px;
  background: var(--border);
}

.srv-hero .line:nth-child(2) {
  width: 3px;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--border);
}

.srv-hero .line:nth-child(3) {
  height: 3px;
  bottom: 0;
  left: 0;
  width: 475px;
  background: var(--border);
}

.srv-hero .line:nth-child(4) {
  width: 3px;
  height: 42px;
  bottom: 0;
  left: 475px;
  background: var(--border);
}

.srv-hero .line:nth-child(5) {
  width: 3px;
  height: 42px;
  top: 0;
  left: 200px;
  background: var(--border);
}


.srv-hero .panel.will-draw .line {
  opacity: 0;
}

@keyframes draw-x {
  0% {
    opacity: 1;
    transform: scaleX(0);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes draw-y {
  0% {
    opacity: 1;
    transform: scaleY(0);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Точки происхождения для каждой линии */
.srv-hero .line:nth-child(1) {
  transform-origin: right center;
}

.srv-hero .line:nth-child(2) {
  transform-origin: top center;
}

.srv-hero .line:nth-child(3) {
  transform-origin: left center;
}

.srv-hero .line:nth-child(4) {
  transform-origin: bottom center;
}

.srv-hero .line:nth-child(5) {
  transform-origin: bottom center;
}

/* СТАРТ: порядок 5 → 1 → 2 → 3 → 4 */

.srv-hero .panel.is-drawn .line:nth-child(5) {
  animation: draw-y .10s ease-out forwards; /* 0.30s → 0.10s */
  animation-delay: 0s;
}


.srv-hero .panel.is-drawn .line:nth-child(1) {
  animation: draw-x .15s ease-out forwards; /* 0.45s → 0.15s */
  animation-delay: .10s; /* 0.30s → 0.10s */
}


.srv-hero .panel.is-drawn .line:nth-child(2) {
  animation: draw-y .18s ease-out forwards; /* 0.55s → ~0.18s */
  animation-delay: .25s; /* 0.75s → 0.25s */
}


.srv-hero .panel.is-drawn .line:nth-child(3) {
  animation: draw-x .20s ease-out forwards; /* 0.60s → 0.20s */
  animation-delay: .43s; /* 1.30s → ~0.43s */
}


.srv-hero .panel.is-drawn .line:nth-child(4) {
  animation: draw-y .12s ease-out forwards; /* 0.35s → ~0.12s */
  animation-delay: .63s; /* 1.90s → ~0.63s */
}

/* На случай reduce-motion — показываем без анимации */
@media (prefers-reduced-motion: reduce) {
  .srv-hero .line {
    opacity: 1;
    transform: none !important;
    animation: none !important;
  }
}

/* Соц. и dots */

.dots {
  position: absolute;
  left: 160px;
  bottom: 22px;
  display: flex;
  gap: 10px
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35)
}

.dot[aria-current="true"] {
  background: var(--accent);
  width: 18px
}

/* Стрелки и звонок */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, .08)
}

.arrow.prev {
  left: 22px
}

.arrow.next {
  right: 22px
}

.call-float {
  position: fixed;
  right: 28px;
  bottom: 24px;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .2), rgba(0, 0, 0, 0)), var(--accent);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  border: 6px double #E5D6C9;
  z-index: 99;
}

.services {
  background: #fff;
  color: #141715;
  scroll-margin-top: 80px;
}

.title-center {
  text-align: center;
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
}

.subtitle-center {
  text-align: center;
  color: #5b5f5d;
  margin: 0 0 28px;
}

.srv-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr; /* список — карта */
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.srv-list {
  display: grid;
  row-gap: clamp(22px, 3.2vw, 40px);
}

/* Пункт + стрелка справа */
.srv-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 18px);
  padding: 6px 0;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: .1px;
  text-decoration: none;
  color: #141715;
  position: relative;
  transition: color .2s ease, transform .2s ease;
  border-bottom: 3px solid #E7D9CB22;
  padding-bottom: clamp(12px, 1.8vw, 16px);
}

.srv-item::after {
  content: "";
  background-image: url("../images/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: clamp(28px, 3.6vw, 44px);
  height: clamp(28px, 3.6vw, 44px);
  transition: all 0.4s ease;
}

.srv-item:hover {
  color: #7b5b43;
  transform: translateX(2px);
}

.srv-item:hover::after {
  transform: translateX(3px) rotate(-45deg);
}

.srv-map {
  justify-self: end;
}

.map {
  width: min(100%, 560px);
  height: auto;
  max-width: 100%;
  filter: grayscale(100%) contrast(105%);
}

/* Активный пункт (если используешь автоподсветку JS) */
.srv-item.is-active {
  color: #7b5b43;
}

.srv-item.is-active::after {
  opacity: 1;
}

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

  .srv-map {
    justify-self: center;
  }

  .map {
    width: min(92%, 600px);
  }
}

/* ===== About split (картинка + тёмный текстовый блок с рамкой) ===== */
.about {
  position: relative;
  /*color: var(--text);*/
  /*background-color: #000;*/
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 560px
}

.about .container {
  position: relative;
  z-index: 1
}

.about__wrap {
  display: flex;
  justify-content: flex-end
}

.about .robot {
  position: absolute;
  bottom: 0;
  left: 40%;
  transform: translateX(-50%);
  max-width: 350px;
}

.about__panel {
  position: relative;
  padding: 50px 26px 36px 50px;
  border-radius: 14px;
  max-width: 560px;
  margin: 40px 0;
  z-index: 1;
}

.about__panel h2 {
  font-size: 35px;
}

@media (max-width: 720px) {
  .about__panel h2 {
    font-size: 32px;
  }
}

.about__badge {
  position: absolute;
  left: -5px;
  top: 57px;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 40px;
}

.about__badge img {
  width: 30px;
}

.about__panel .line:first-child {
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  background-color: var(--border);
}

.about__panel .line:nth-child(2) {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  background-color: var(--border);
}

.about__panel .line:nth-child(3) {
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 475px;
  background-color: var(--border);
}

.about__panel .line:nth-child(4) {
  height: 42px;
  position: absolute;
  bottom: 0;
  left: 475px;
  width: 3px;
  background-color: var(--border);
}

.about__panel .line:nth-child(5) {
  height: 42px;
  position: absolute;
  top: 0;
  left: 200px;
  width: 3px;
  background-color: var(--border);
}


/* ===== Why us ===== */
.why {
  background: #ffffff;
  padding-bottom: 0;
}

.why-grid {
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-top: 32px;
}

.why .icon-wrap {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px
}

.why .icon-wrap img {
  width: 100%;
}

.why h3 {
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--accent-2);
  font-size: 20px;
  margin: 0 0 8px
}

.why p {
  color: #5b5f5d;
  margin: 0
}

.stats {
  margin-top: 48px;
  padding: 60px 0;
  background: linear-gradient(#FAF6F2, #FFFFFF);
}

.stats-wrapper {
  display: grid;
  grid-template-columns:repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.stat .num {
  font-size: 40px;
  font-weight: 800;
  color: #7f7f7f
}

.stat .label {
  color: #6d716f
}

/* ===== Video ===== */
.video {
  padding-top: 0;
}

.video h2 {
  margin-bottom: 30px;
}

.video .frame {
  position: relative;
  overflow: hidden;
}

.video .frame.is-embed::after {
  display: none;
}

.video .embed {
  width: 70%;
  aspect-ratio: 16/9;
  background: #000;
  margin: 0 auto;
}

.video .embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== Trust / Reviews ===== */
.trust {
  /*background: var(--dark-2);*/
  /*color: var(--text);*/
  position: relative;
  margin: 40px 0;
}

.logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.logos-wrapper h2 {
  text-align: left;
}

.logos-wrapper .logo:first-child img {
  max-width: 200px;
}

.logos-wrapper .logo:nth-of-type(2) {
  margin: -20px 0;
}

.logos-wrapper .logo:nth-of-type(2) img {
  max-width: 450px;
}

@media (max-width: 991px) {
  .trust {
    padding-top: 20px;
  }

  .logos-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .logos-wrapper .logo:nth-of-type(2) img {
    max-width: 100%;
  }
}

.reviews {
  background: #fff
}

.reviews .em {
  /*color: var(--accent);*/
}

.reviews .reviews-swiper {
  margin-top: 60px;
}

.reviews .reviews-swiper .swiper-slide {
  height: auto;
}

.review-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eae5de;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  height: 100%;
}

.review-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 400px;
}

.reviews .swiper-pagination {
  position: relative;
  z-index: 9;
  margin-top: 30px;
  width: auto;
  display: flex;
  justify-content: center;
}

.reviews .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  border: 1px solid #eae5de;
  opacity: 1
}

.reviews .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 18px;
  border-radius: 999px
}


/* ===== FAQ base ===== */
.faq {
  position: relative;
  background: #0b1011;
  color: #F1F2F1;
  overflow: hidden;
}

.faq h2 {
  text-align: center;
  margin: 0 0 24px;
}

.faq__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.faq__bg img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 43%;
  /*max-height: 90%;*/
  user-select: none;
  opacity: .95;
  object-fit: contain;
  object-position: left bottom;
}

/* ===== Glass panel with blur ===== */
.faq-panel {
  position: relative;
  margin-left: auto;
  max-width: 820px;
  padding: 28px 32px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.faq-panel::before {
  content: "";
  position: absolute;
  left: -80px;
  top: 40px;
  width: 240px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
  filter: blur(18px);
  opacity: .45;
  pointer-events: none;
}

.faq .accordion {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ===== Accordion rows ===== */
.acc-item {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.acc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
}

/* круглая «стрелка» */
.acc-head .tri {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  display: grid;
  place-items: center;
  transition: transform .25s ease, border-color .25s ease;
}

.acc-head .tri::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent, #D7C1AD);
  border-bottom: 2px solid var(--accent, #D7C1AD);
  transform: rotate(-45deg); /* вправо */
  transition: transform .25s ease;
}

.acc-item.is-open .acc-head .tri {
  border-color: rgba(255, 255, 255, .5);
}

.acc-item.is-open .acc-head .tri::after {
  transform: rotate(45deg);
}

/* вниз */

.acc-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
}

.acc-body > div {
  padding: 0 0 16px 44px;
  color: #cbd5e1;
}

/* адаптив */
@media (max-width: 991px) {
  .faq__bg img {
    display: none;
  }

  .faq-panel {
    max-width: 100%;
  }
}

/* ===== Contact + Footer ===== */
.contact {
  background: #fff
}

.contact h2 {
  text-align: center;
  margin: 0 0 8px
}

.contact h2 .em {
  color: var(--accent-2)
}
.contact .description {
  text-align: center;
  margin: 4px 0 8px;
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form .pill {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
  box-shadow: 0px 5px 33px 5px rgba(34, 60, 80, 0.16);
  padding: 20px;
}

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

.contact-row:nth-of-type(2) {
  grid-template-columns:repeat(1, 1fr);
}

.field-group {
  margin-bottom: 40px;
}

.field-group .label {
  display: block;
  margin: 4px 0 10px;
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 22px);
  color: #1b1b1b;
}

.options {
  display: grid;
  grid-template-columns:repeat(1, minmax(260px, 1fr));
  gap: 12px 28px;
  align-items: start;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input {
  border: none;
  border-bottom: 2px solid #D1BDAA;
  background: #F9F7F5;
  padding: 14px 12px;
  border-radius: 6px;
  width: 100%;
}

.wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5b5f5d
}

.submit {
  text-align: center;
  margin-top: 8px
}

.footer {
  background: var(--dark);
  color: var(--text);
  position: relative;
  z-index: 2;
  padding-top: 64px;
  /*border-top: 12px solid var(--accent)*/
}

.footer .split {
  display: grid;
  grid-template-columns:1fr 1fr 1fr;
  gap: 20px;
  padding: 36px 0;
}

.footer .social {
  display: flex;
  gap: 10px;
  align-items: center
}

.footer .social img {
  width: 24px;
}

.footer .split > div:first-child a, .footer .split > div:first-child p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.footer .split > div:first-child a img, .footer .split > div:first-child p img {
  width: 20px;
}

.footer .medal {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 0;
  background: #fff;
  border: 10px solid var(--accent);
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 40px;
}

.footer .medal img {
  width: 30px;
}

.footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 14px 0;
  color: #cbd5e1;
  font-size: 14px
}

.footer .bottom-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.footer .bottom-wrapper::before {
  content: "";
  height: 100%;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, .28);
  position: absolute;
  top: 0;
}

.footer .bottom-wrapper div:first-child {
  width: 300px;
  text-align: right;
}
.footer h4 {
  position: relative;
}
.footer h4::after {
  content: "";
  background-image: url("../images/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 28px;
  height: 28px;
  transition: all 0.4s ease;
  position: absolute;
  left: -34px;
  top: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns:1fr
  }

  .srv-grid {
    grid-template-columns:1fr
  }

  .about-grid {
    grid-template-columns:1fr
  }

  .review-grid {
    grid-template-columns:1fr 1fr
  }

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

.hero__stage {
  /*background-color: #000;*/
  /*background-size: cover;*/
  /*background-repeat: no-repeat;*/
}

.hero__stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 23, 21, .78) 0%, rgba(20, 23, 21, .58) 35%, rgba(20, 23, 21, .18) 70%, rgba(20, 23, 21, 0) 100%);
  z-index: 0
}

.t-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform .6s ease
}

.t-slide {
  display: grid;
  gap: 12px
}

.t-slide h1 span {
  font-weight: 400;
  display: block;
}

/* Swiper styling in hero */
.hero [data-swiper="hero"] {
  width: 100%
}

.hero .swiper-wrapper {
  align-items: start
}

.hero .swiper-slide {
  display: grid;
  gap: 12px
}

.hero .swiper-button-prev, .hero .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: var(--shadow)
}

.hero .swiper-button-prev {
  left: 22px
}

.hero .swiper-button-next {
  right: 22px
}

.hero .swiper-button-prev::after, .hero .swiper-button-next::after {
  content: ""
}

.hero .swiper-pagination {
  position: relative;
  z-index: 9;
  margin-top: 20px;
  text-align: left;
  width: auto;
  margin-left: 30px;
}

.hero .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  opacity: 1
}

.hero .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 18px;
  border-radius: 999px
}

.testimonials .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.6;
}

.testimonials .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 18px;
  border-radius: 999px;
  opacity: 1;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5b5f5d;
  line-height: 1.5
}

.wpcf7-list-item label input {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid var(--accent-2);
  background: #fff;
  display: inline-grid;
  place-items: center;
  margin-top: 2px;
  flex: 0 0 20px
}

.wpcf7-list-item label input::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1b1b1b;
  transform: scale(0);
  transition: transform .15s ease
}

.wpcf7-list-item label input:checked::after {
  transform: scale(1)
}

.wpcf7-list-item label input:focus-visible {
  box-shadow: 0 0 0 3px rgba(199, 168, 143, .35)
}

.wpcf7-list-item label a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-2)
}

.wpcf7-list-item label a:hover {
  filter: brightness(.95)
}

body .wpcf7-response-output {
  text-align: center;
  border: none;
}

.bottom-info {
  opacity: .8;
  margin-top: 30px;
}

.layout {
  display: grid;
  grid-template-columns:3fr 1.1fr;
  gap: 32px;
  position: relative;
}

.sidebar {
  background: linear-gradient(#D8C2AF, #CAB39F);
  padding: 22px 18px;
  border-radius: 10px;
  color: #1b1b1b;
  position: sticky;
  height: fit-content;
  top: 120px;
}

.widget {
  background: #f8f5f2;
  border: 1px solid #e9ded4;
  border-radius: 10px;
  padding: 14px 14px;
  margin-bottom: 14px
}

.widget-title {
  font-weight: 800;
  margin: 0 0 10px;
  color: #1b1b1b
}

.widget .btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #1b1b1b;
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700
}

.widget .social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.widget .social-btn {
  width: 60px;
  height: 60px;
  background: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget .btn + .btn {
  margin-top: 8px
}

.widget-list {
  list-style-type: disc;
  margin: 0;
  padding: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;

}

.widget-list li {
  gap: 8px
}

.widget-list a {
  color: #1b1b1b
}

/* Archive grid */
.term-block {
  margin: 20px 0 34px
}

.term-title {
  text-align: center;
  font-weight: 800;
  margin: 0 0 16px
}

.posts-row {
  display: grid;
  grid-template-columns:repeat(4, 1fr);
  gap: 18px
}

.post-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eae5de;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05)
}

.post-thumb {
  aspect-ratio: 1/1;
  background: #1b1b1b
}

.post-card .meta {
  padding: 10px 12px
}

.post-card .title {
  font-weight: 700;
  margin: 0 0 4px
}

.post-card .read {
  color: #6b6f6d;
  margin-top: 20px;
}

/* Single post */
.single-header {
  margin-bottom: 16px
}

.single-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px
}

.single-meta {
  color: #6b6f6d
}

.single-thumb {
  aspect-ratio: 16/9;
  background: #d1c6f5;
  border-radius: 10px;
  margin: 10px 0 14px
}

.entry-content p {
  margin: 0 0 14px;
  color: #141715
}

.entry-content a {
  color: var(--accent-2);
  font-weight: 700
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px
}

.post-nav a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: #1b1b1b;
  color: #fff
}

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

  .posts-row {
    grid-template-columns:repeat(2, 1fr)
  }
}

@media (max-width: 640px) {
  .posts-row {
    grid-template-columns:1fr
  }
}

@media (max-width: 720px) {
  .contact-row {
    grid-template-columns:1fr
  }

  .why-grid {
    grid-template-columns:1fr
  }

  .hero__stage {
    height: 620px
  }

  .v-social {
    left: 12px
  }

  .dots {
    left: 120px
  }

  .map {
    max-width: 100%;
  }

  .footer .split {
    grid-template-columns:1fr
  }

  .call {
    display: none;
  }

  .hero .swiper-slide {
    width: 100% !important;
  }

  .hero__text {
    max-width: calc(100vw - 40px);
    margin: 0 auto;
  }

  .hero__grid {
    width: 100%;
    max-width: 100vw;
  }

  .pill {
    font-size: 14px;
    padding: 12px 18px;
  }

  .hero [data-swiper="hero"] {
    padding-left: 20px;
  }

  .about__badge {
    top: 60px;
    background: transparent;
  }

  h2 {
    font-size: 32px;
  }
}

@media (max-width: 980px) {
  .header .nav {
    display: none;
  }
  .footer h4::after {
    display: none;
  }

  .header .nav.is-open {
    display: flex;
    position: fixed;
    inset: 64px 16px auto 16px;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #141715;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    z-index: 80;
  }

  body.no-scroll {
    overflow: hidden;
  }

  .hero__stage::before {
    z-index: 1;
    background: linear-gradient(90deg, rgba(20, 23, 21, .78) 0%, rgba(20, 23, 21, .58) 35%, rgba(20, 23, 21, .38) 70%, rgba(20, 23, 21, 0) 100%);
  }

  .hero__content {
    z-index: 1;
  }

  .about {
    padding-bottom: 150px;
    padding-top: 50px;
    background-position: bottom;
    background-color: #f0f0f0;
    background-size: contain;
  }
  .about__panel{
    padding-top: 0;
  }
  .ai-impact__bg{
    top: -5%;
  }

  .about .robot {
    max-width: 200px;
    left: 50%;
  }

  .about__panel .line:nth-child(3) {
    width: 100%;
  }

  .about__panel .line:nth-child(4) {
    left: 100%;
  }

  .hero__text .line:nth-child(1) {
    left: 8px;
    width: 192px;
  }

  .hero__text .line:nth-child(2) {
    left: 8px;
  }

  .hero__text .line:nth-child(3) {
    width: calc(100% - 8px);
    left: 8px;
  }

  .hero__text .line:nth-child(4) {
    left: 100%;
  }

  .hero .pill {
    margin-left: 0;
  }

  .stats-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .video .embed {
    width: 100%;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .checkbox {
    display: inline-block;
  }

  .footer .bottom-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .footer .bottom-wrapper:before {
    display: none;
  }

  .footer .bottom-wrapper > div:first-child {
    text-align: center;
    width: auto;
  }
}

.header .lang__menu a:hover {
  background: rgba(255, 255, 255, .06);
}

.header .nav .menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header .nav .menu li {
  list-style: none;
}

.header .nav .menu a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  opacity: .95;
}

.header .nav .menu a:hover {
  opacity: 1;
}

/* Бургер по умолчанию скрыт, чекбокс не показываем */
#nav-toggle {
  display: none;
}

.header .burger {
  display: none;
  cursor: pointer;
}

/* ========== Language dropdown (Polylang) ========== */
.actions .lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.actions .lang:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(199, 168, 143, .35);
  border-radius: 8px;
}

/* скрытый по умолчанию список */
.actions .lang__menu[hidden] {
  display: none !important;
}

.actions .lang__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--dark, #141715);
  color: var(--text, #fff);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  min-width: 50px;
  padding: 6px;
  z-index: 210;
  list-style: none;
}

.actions .lang__menu li {
  margin: 0;
}

.actions .lang__menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.actions .lang__menu li[aria-selected="true"] a {
  background: rgba(255, 255, 255, .08);
}

.actions .lang__menu a:hover {
  background: rgba(255, 255, 255, .06);
}

/* ========== Mobile styles (≤980px) ========== */
@media (max-width: 980px) {
  .header .burger {
    display: inline-flex;
    justify-self: end;
  }

  .header .nav {
    display: none;
  }

  /* открытое мобильное меню поверх контента */
  .header .nav.is-open {
    display: flex;
    position: fixed;
    inset: 64px 16px auto 16px;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--dark, #141715);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    animation: navIn .18s ease both;
  }

  @keyframes navIn {
    from {
      transform: translateY(-6px);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }

  .header .nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .header .nav .menu a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .header .nav .menu a:hover {
    background: rgba(255, 255, 255, .06);
  }

  body.no-scroll {
    overflow: hidden;
  }
}

.marquee-hero {
  --height: clamp(320px, 42vw, 620px);
  --top-line: clamp(8px, 2vw, 24px);
  --bottom-line: 36%;
  position: relative;
  height: var(--height);
  background: #d8b293;
  overflow: hidden;
}

.marquee-hero__img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .18));
}

.marquee {
  position: absolute;
  left: 0;
  right: 0;
  white-space: nowrap;
  overflow: hidden;
  will-change: transform;
  padding-block: clamp(6px, 1.2vw, 14px);
}

.marquee--top {
  top: var(--top-line);
  z-index: 3;
}

.marquee--bottom {
  top: var(--bottom-line);
  z-index: 1;
}

.marquee__track {
  display: inline-flex;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.marquee__seed {
  display: inline-block;
  white-space: nowrap;
}

.marquee__track span {
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  line-height: 1;
  font-size: clamp(34px, 9.5vw, 140px);
  padding-right: clamp(18px, 3vw, 40px);
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    transform: none !important;
  }
}

@media (max-width: 700px) {
  .marquee-hero {
    --bottom-line: 20%;
  }

  .marquee-hero__img {
    position: absolute;
    bottom: 0;
    left: 50%;
    top: unset;
    height: 80%;
    width: auto;
    transform: translateX(-50%);
    object-fit: cover;
  }
}

.ai-impact {
  position: relative;
  background: linear-gradient(180deg, #141718, #0f1112);
  color: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 60px;
}

.ai-impact__bg {
  position: absolute;
  right: 0;
  bottom: -8%;
  width: min(50%, 350px);
  z-index: 0;
}

.ai-impact__bg img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35));
  user-select: none;
  pointer-events: none;
}

.ai-lead {
  display: inline-block;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0 0 10px;
  font-size: 14px;
  max-width: 900px;
}

.ai-title {
  margin: 0 0 50px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  max-width: 850px;
}

.ai-title b {
  /*color: #c7a88f;*/
}

.ai-cards {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  grid-template-columns:repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .ai-cards {
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .ai-cards {
    grid-template-columns:1fr;
  }
}

.ai-card {
  --edge: rgba(255, 255, 255, .08);
  --bg-top: #505356;
  --bg-bot: #252627;
  position: relative;
  padding: 22px 18px 16px;
  border-radius: 20px;
  min-height: 220px;
  background: radial-gradient(110% 80% at 50% -10%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 52%),
  linear-gradient(180deg, var(--bg-top), var(--bg-bot));
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05),
  0 16px 28px rgba(0, 0, 0, .35);
}

.ai-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
  pointer-events: none;
}

.ai-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 35%, transparent 65%, rgba(0, 0, 0, .25));
  mix-blend-mode: overlay;
  opacity: .35;
  pointer-events: none;
}

.ai-pin {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
  user-select: none;
  pointer-events: none;
}

.ai-card__pre {
  margin-top: 18px;
  text-transform: lowercase;
  font-weight: 800;
  letter-spacing: .02em;
  color: #e3e8ec;
  opacity: .9;
}

.ai-card__num {
  margin: 6px 0 8px;
  font-size: clamp(34px, 4.6vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .15), 0 8px 24px rgba(0, 0, 0, .25);
}

.ai-card__desc {
  color: #cfd8df;
  font-size: 14px;
  line-height: 1.4;
  min-height: 40px;
}

.ai-card__note {
  margin-top: 14px;
  position: relative;
  background: linear-gradient(#ffffff, #f1f3f6);
  color: #1f2328;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.ai-card__note::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 16px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: linear-gradient(#ffffff, #f1f3f6);
  border-left: 1px solid rgba(0, 0, 0, .08);
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-top-left-radius: 2px;
}

/* hover-эффект аккуратно поднимает карточку */
@media (hover: hover) {
  .ai-card {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  }

  .ai-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px rgba(0, 0, 0, .45);
  }
}

.entry-content {
  margin-bottom: 60px;
}

.entry-content p {
  margin-bottom: 20px;
}