/* Stem webfonts (assets/fonts). CSS везде пишет 350 → Stem Light (как Light в Figma). */
@font-face {
  font-family: 'Stem';
  src: url('../fonts/Stem-Thin.woff2') format('woff2'),
       url('../fonts/Stem-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Stem';
  src: url('../fonts/Stem-ExtraLight.woff2') format('woff2'),
       url('../fonts/Stem-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Stem';
  src: url('../fonts/Stem-Light.woff2') format('woff2'),
       url('../fonts/Stem-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Stem';
  src: url('../fonts/Stem-Light.woff2') format('woff2'),
       url('../fonts/Stem-Light.woff') format('woff');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Stem';
  src: url('../fonts/Stem-Regular.woff2') format('woff2'),
       url('../fonts/Stem-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Stem';
  src: url('../fonts/Stem-Medium.woff2') format('woff2'),
       url('../fonts/Stem-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Stem';
  src: url('../fonts/Stem-Bold.woff2') format('woff2'),
       url('../fonts/Stem-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f8f8fb;
  --violet: #6160ff;
  --violet-light: rgba(97, 96, 255, 0.3);
  --black: #000000;
  --white: #ffffff;
  --grey: #898989;
  --grey-light: #b0b0b0;
  --yellow: #FFCC4D;
  --text-dark: #222222;
  --section-bg: rgba(242, 240, 255, 0.6);
  --border-light: #e0e0e0;
  --font-stem: 'Stem', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-sedan: 'Sedan', 'Georgia', serif;
  --side-padding: max(20px, calc(50vw - 530px));
  --container-width: min(1060px, 100% - 40px);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stem);
  background: var(--bg);
  color: var(--text-dark);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

p { font-weight: 400; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  backdrop-filter: blur(12.5px);
  -webkit-backdrop-filter: blur(12.5px);
  background: rgb(255 255 255 / 0%);
  z-index: 200;
  display: flex;
  align-items: center;
  padding: 0 var(--side-padding);
  gap: 55px;
}

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

.header-logo .site-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(280px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.header-nav {
  display: flex;
  gap: 45px;
  font-size: 16px;
  font-weight: 350;
  color: var(--grey);
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.header-nav a {
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--violet);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 40px;
  background: #6160FF;
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-stem);
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
  box-shadow: 0 4px 17px rgba(97, 96, 255, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-primary:hover {
  background: #2DABE7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 171, 231, 0.4);
}

.btn-primary:active {
  background: #6160FF;
  transform: translateY(0);
  box-shadow: 0 4px 17px rgba(97, 96, 255, 0.35);
}

.nav-cta {
  display: none;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 200;
  flex-shrink: 0;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

.burger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  padding-top: clamp(100px, 15vw, 190px);
  padding-bottom: 60px;
  overflow: clip;
  overflow-y: visible;
  text-align: center;
}

.hero-bg-figure {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* подстраховка от субпиксельных щелей по краям */
  box-sizing: border-box;
}

.hero-bg-figure .circle {
  position: absolute;
  border-radius: 0 0 200px 200px;
  height: 90%;
}

.hero-bg-figure::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='discrete' tableValues='1'/%3E%3CfeFuncG type='discrete' tableValues='1'/%3E%3CfeFuncB type='discrete' tableValues='1'/%3E%3CfeFuncA type='table' tableValues='0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  opacity: 0.35;
  z-index: 6;
  pointer-events: none;
}

.hero-bg-figure .circle-1 {
  width: 66.56%; aspect-ratio: 1;
  top: 0px; 
  left: 50%;
  transform: translateX(-50%);
  background: white;
  filter: blur(20px);
}

.hero-bg-figure .circle-2 {
  width: 72.19%; aspect-ratio: 1;
  top: 0px; left: 50%;
  transform: translateX(-55%);
  background: #2DABE7;
  filter: blur(40px);
}

.hero-bg-figure .circle-3 {
  width: 72.19%; aspect-ratio: 1;
  top: 0px; left: 50%;
  transform: translateX(-40%);
  background: #5B5AFF;
  filter: blur(40px);
}

.hero-bg-figure .circle-4 {
  width: 71.15%; aspect-ratio: 1;
  top: 0px; left: 50%;
  transform: translateX(-48%);
  background: white;
  filter: blur(30px);
}

.hero-bg-figure .circle-5 {
  width: 71.15%; aspect-ratio: 1;
  top: 0px; left: 50%;
  transform: translateX(-48%);
  background: rgba(255, 255, 255, 0.15);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--container-width);
  max-width: 100%;
  margin-bottom: 12px;
}

.hero-logo-heading {
  margin: 0;
  font-size: 0;
  line-height: 0;
  width: 100%;
}

.hero-logo .site-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-subtitle {
  font-size: clamp(14px, 1.75vw, 24px);
  font-weight: 350;
  color: var(--grey);
  margin-top: 20px;
  line-height: 1.5;
  letter-spacing: clamp(0.5px, 0.15vw, 2px);
  text-transform: uppercase;
  padding: 0 20px;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  gap: 4px;
}

.hero-scroll .line {
  width: 1px;
  height: 76px;
  background: linear-gradient(180deg, rgba(45, 171, 231, 0) 0%, #b7b7b7 100%);
}

.hero-scroll .label {
  font-size: 14px;
  font-weight: 350;
  color: #b7b7b7;
}

/* ========== ABOUT CARDS (stacking inside hero) ========== */
.about-cards {
  position: relative;
  width: var(--container-width);
  margin: 30px auto 0;
}

.about-card {
  width: 100%;
  padding: clamp(24px, 4vw, 50px) clamp(20px, 3vw, 40px) clamp(30px, 5vw, 60px);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--white);
  border: 1px solid #d8d8e2;
  border-radius: 30px;
  text-align: left;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}

.about-text {
  width: 100%;
  font-size: 20px;
  font-weight: 350;
  line-height: 1.3;
  color: var(--text-dark);
}

.about-text p {
  margin-bottom: 16px;
  font-weight: 350;
}

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

.about-text strong {
  font-weight: 700;
}

.highlight-blue {
  padding: 2px 6px;
  border-radius: 10px;
  background: linear-gradient(90deg, #A9E3FF, #A09FFF);
  box-shadow: 0 0 10px rgba(160, 159, 255, 0.35);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.75;
}

.highlight-yellow {
  padding: 2px 6px;
  border-radius: 10px;
  background: #FFCC4D;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.75;
}

.about-arrows {
  position: absolute;
  bottom: 30px;
  right: 40px;
  width: 85px;
  height: 40px;
  cursor: pointer;
}

.about-arrows img {
  width: 100%;
  height: 100%;
}

/* ========== CLIENTS ========== */
.clients {
  padding: 60px 0 0;
}

.clients-title {
  font-size: 24px;
  font-weight: 350;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.clients-marquee {
  overflow: hidden;
  width: 100%;
  margin-bottom: 48px;
}

.clients-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.client-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  margin-right: 30px;
  background: var(--white);
  border: 1px solid #d8d8e2;
  border-radius: 16px;
  height: 80px;
  flex-shrink: 0;
  white-space: nowrap;
}

.client-item img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
}

.client-item span {
  font-size: 16px;
  font-weight: 350;
  color: var(--text-dark);
  white-space: nowrap;
}

/* ========== GLASS DIVIDER ========== */
.glass-divider {
  width: 100%;
  height: 578px;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.glass-divider-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 96px);
  grid-template-rows: repeat(6, 96px);
  gap: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max(100%, 1920px);
}

.glass-cell {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  background: linear-gradient(162deg, rgba(255,255,255,0.49) 14%, rgba(255,255,255,0.2) 89%);
  border: 1px solid rgba(255,255,255,0.3);
}

.decorative-words {
  position: absolute;
  font-family: 'Sedan', Georgia, serif;
  font-style: italic;
  font-size: 32px;
  color: rgba(97, 96, 255, 0.12);
  pointer-events: none;
}

.decorative-circles-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1414px;
  height: 376px;
  pointer-events: none;
}

.dec-circle {
  position: absolute;
  border-radius: 50%;
}

.dec-circle-1 {
  width: 410px; height: 410px;
  left: -300px; top: -20px;
  background: radial-gradient(circle, rgba(0,180,255,0.15) 0%, transparent 70%);
}

.dec-circle-2 {
  width: 302px; height: 302px;
  left: 0; top: 0;
  background: radial-gradient(circle, rgba(97,96,255,0.12) 0%, transparent 70%);
}

.dec-circle-3 {
  width: 291px; height: 291px;
  left: 402px; top: 84px;
  background: radial-gradient(circle, rgba(150,50,255,0.12) 0%, transparent 70%);
}

.dec-circle-4 {
  width: 366px; height: 366px;
  right: 0; top: 12px;
  background: radial-gradient(circle, rgba(97,96,255,0.1) 0%, transparent 70%);
}

/* ========== SECTION HEADINGS ========== */
.section-heading {
  font-size: 24px;
  font-weight: 350;
  line-height: 1.5;
  color: var(--grey);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* ========== ARR CHART ========== */
.arr-chart {
  padding: 60px 32px;
}

.arr-chart .section-heading {
  margin-bottom: 30px;
}

.arr-chart-card {
  width: 1060px;
  max-width: var(--container-width);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #d8d8e2;
  border-radius: 30px;
  padding: 40px 40px 28px;
  overflow: visible;
}

.arr-chart-plot {
  position: relative;
  width: 100%;
  overflow: visible;
}

.arr-chart-canvas {
  position: relative;
  width: 100%;
  overflow: visible;
}

.arr-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.arr-axis {
  stroke: #c8c8d0;
  stroke-width: 1.5;
}

.arr-guide {
  stroke: #d0d0d8;
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  opacity: 0;
}

.arr-curve {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  stroke-width: 6;
}

.arr-ui-label,
.arr-ui-tick,
.arr-ui-value {
  position: absolute;
  font-family: var(--font-stem);
  pointer-events: none;
  white-space: nowrap;
}

.arr-ui-label {
  color: #222222;
  font-size: 16px;
  font-weight: 500;
}

/* Sit entirely above Y-arrow tip (~52/440 ≈ 11.8%) */
.arr-ui-y {
  left: 10%;
  top: 10%;
  transform: translate(-50%, -100%);
}

/* Immediately to the right of X-arrow tip (~800/900) */
.arr-ui-x {
  left: 90.2%;
  top: 81.8%;
  transform: translateY(-50%);
}

.arr-ui-tick {
  color: #222222;
  font-size: 18px;
  font-weight: 500;
  transform: translateX(-50%);
}

/* Just below X-axis (~360/440 = 81.8%) */
.arr-ui-tick-1 {
  left: 53%;
  top: 85%;
}

.arr-ui-tick-2 {
  left: 86.7%;
  top: 85%;
}

.arr-ui-value {
  color: #6160FF;
  font-size: 24px;
  font-weight: 700;
  transform: translate(-50%, -100%);
  opacity: 0;
}

.arr-ui-value-1 {
  left: 53%;
  top: 22%;
}

.arr-ui-value-2 {
  left: 86.7%;
  top: 13%;
}

.arr-value-short {
  display: none;
}

/* ========== WHO WE BACK ========== */
.who-we-back {
  padding: 60px 32px 0;
}

.who-we-back-inner {
  width: 1060px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 50px 40px;
  background: var(--white);
  border: 1px solid #d8d8e2;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}

.wwb-top {
  display: flex;
  gap: 50px;
  margin-bottom: 30px;
}

.wwb-top-left {
  flex: 0 0 320px;
}

.wwb-top-left h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  position: relative;
}



.wwb-top-right {
  flex: 1;
}

.wwb-top-right p {
  font-size: 18px;
  font-weight: 350;
  line-height: 1.3;
  color: var(--text-dark);
  position: relative;
}



.wwb-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.wwb-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wwb-item {
  display: flex;
  align-items: flex-start;
  padding: 20px 40px;
  gap: 20px;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid #eaeaef;
  background: var(--white);
  transition: background 0.6s ease, border-color 0.6s ease;
  min-height: 66px;
  transition: background 0.3s ease, min-height 0.35s ease, border-color 0.3s ease;
}

.wwb-item.open {
  background: #edf1f8;
  border-color: transparent;
}

.wwb-item-number {
  font-size: 30px;
  font-weight: 500;
  color: #6160ff;
  flex: 0 0 290px;
  line-height: 1.3;
}

.wwb-item-text {
  flex: 1;
  color: var(--text-dark);
}

.wwb-item-text strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
}

.wwb-item-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
  font-size: 18px;
  font-weight: 350;
  line-height: 1.3;
  padding-top: 14px;
}

.wwb-item.open .wwb-item-desc {
  max-height: 500px;
}

/* ========== PARTNERSHIP ========== */
.partnership {
  padding: 60px 0 0;
}

.partnership-bg {
  background: #edf1f8;
  padding: 50px 32px 50px;
  margin-top: 30px;
}

.partnership-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 0;
}

.partnership-top {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
}

.partnership-top-left {
  flex: 0 0 320px;
}

.partnership-top-left h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}



.partnership-top-right {
  flex: 1;
}

.partnership-top-right p {
  font-size: 18px;
  font-weight: 350;
  font-style: italic;
  line-height: 1.3;
  color: var(--text-dark);
}

.partnership-accordion {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--white);
  border: 1px solid #d8d8e2;
  border-radius: 20px;
  overflow: hidden;
  transition: padding 0.3s ease;
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  gap: 10px;
  user-select: none;
}

.accordion-header .acc-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.accordion-header .acc-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.accordion-header .acc-title {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.accordion-header .acc-toggle {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-header .acc-toggle svg .vertical {
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-origin: center;
}

.accordion-item.open .acc-toggle svg .vertical {
  transform: rotate(90deg) scaleY(0);
  opacity: 0;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.accordion-body-inner {
  padding: 10px 20px 26px 34px;
  font-size: 18px;
  font-weight: 350;
  line-height: 1.3;
  color: var(--text-dark);
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

/* ========== THINGS SECTION ========== */
.things-section {
  padding: 60px 32px 0;
}

.things-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  margin-top: 30px;
}

.things-box {
  background: var(--white);
  border: 1px solid #d8d8e2;
  border-radius: 20px;
  padding: 50px 40px;
}

.things-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 34px;
  position: relative;
}



.things-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.things-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 34px 0 14px;
}

.things-accordion-item {
  position: relative;
}

.things-accordion-header {
  display: flex;
  align-items: center;
  padding: 12px 64px 12px 0;
  cursor: pointer;
  gap: 10px;
  user-select: none;
}

.things-accordion-header .ta-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.things-accordion-header .ta-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.things-accordion-header .ta-title {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.things-accordion-header .ta-toggle {
  position: absolute;
  right: 0;
  top: 3px;
  width: 54px;
  bottom: 0;
  background: #edf1f8;
  border-radius: 20px 20px 10px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14px;
  cursor: pointer;
}

.ta-toggle svg .vertical,
.t-toggle svg .vertical {
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-origin: center;
}

.things-accordion-item.open .ta-toggle svg .vertical {
  transform: rotate(90deg) scaleY(0);
  opacity: 0;
}

.things-accordion-body {
  max-height: 9px;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
  background: #edf1f8;
  border-radius: 20px;
}

.things-accordion-body-inner {
  padding: 14px 54px 14px 20px;
  font-size: 18px;
  font-weight: 350;
  line-height: 1.3;
  color: var(--text-dark);
}

.things-accordion-item.open .things-accordion-body {
  max-height: 500px;
}

/* ========== TEAM ========== */
.team-section {
  width: 1060px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 32px 0;
}

.team-intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.team-intro-block {
  display: flex;
  flex-direction: column;
}

.team-intro .section-heading {
  margin-bottom: 24px;
}

.team-description {
  font-size: 18px;
  font-weight: 350;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 15px;
  position: relative;
}



.team-sub-heading {
  margin-bottom: 5px;
}

.team-sub-text {
  font-size: 18px;
  font-weight: 350;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.team-cards {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.team-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  padding: 24px;
}

.team-card-photo {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card-role {
  font-size: 14px;
  font-weight: 600;
  color: #6160ff;
  margin-bottom: 5px;
}

.team-card-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.team-card-bio {
  font-size: 15px;
  font-weight: 350;
  line-height: 1.5;
  color: var(--text-dark);
}

/* ========== FORM ========== */
.form-section {
  padding: 80px 0 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: -10%;
}

.form-container {
  width: min(760px, 100% - 40px);
  background: var(--white);
  border-radius: 24px;
  padding: 50px 80px;
}

.form-container .section-heading {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  line-height: 1.7;
}

.form-input {
  width: 100%;
  height: 64px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 0 20px;
  font-size: 16px;
  font-family: var(--font-stem);
  font-weight: 350;
  color: var(--text-dark);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--violet);
}

.form-input::placeholder {
  color: var(--grey-light);
}

.form-textarea {
  height: 144px;
  resize: none;
  padding: 20px;
}

.form-multi-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-input-row .form-input {
  flex: 1;
}

.form-remove-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--grey);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.form-remove-btn:hover {
  background: #f0f0f0;
  color: var(--text-dark);
}

.form-add-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 350;
  font-family: inherit;
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.form-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
}

.form-checkbox {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex-shrink: 0;
}

.form-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 19px;
  height: 10px;
  background: url('../icons/checkmark.svg') no-repeat center / contain;
}

.form-checkbox-label {
  font-size: 14px;
  font-weight: 350;
  color: var(--text-dark);
}

.form-checkbox-label p,
.form-checkbox-label strong,
.form-checkbox-label b {
  font-weight: 350;
}

.form-checkbox-label p {
  display: inline;
  margin: 0;
}

.form-checkbox-label a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 350;
}

.form-input.is-invalid {
  border-color: #e6a800;
  background: rgba(255, 204, 77, 0.45);
}

.form-checkbox.is-invalid {
  border-color: #e6a800;
  background: rgba(255, 204, 77, 0.45);
  outline: 2px solid #e6a800;
  outline-offset: 2px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.form-status[hidden] {
  display: none !important;
}

.form-status--error {
  background: var(--yellow);
  color: var(--text-dark);
}

.form-status--success {
  background: rgba(76, 175, 80, 0.28);
  color: #1b5e20;
}

.form-submit-row {
  text-align: center;
  margin-top: 20px;
}

.form-submit-row .btn-primary {
  width: 260px;
  height: 60px;
  font-size: 18px;
}

/* ========== FOOTER GLASS DIVIDER ========== */
.footer-divider {
  margin-top: 80px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--white);
  padding: 30px 0;
  text-align: center;
  position: relative;
  z-index: 3;
}

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

.footer-logo .site-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(320px, 80vw);
  object-fit: contain;
}

/* ========== GLASS PATTERN (DECORATIVE) ========== */
.glass-pattern {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
}

.glass-pattern-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(auto-fill, 96px);
  grid-auto-rows: 96px;
  gap: 0;
  width: max(100%, 1920px);
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(248,248,251,0.85) 0%, transparent 15%, transparent 85%, rgba(248,248,251,0.85) 100%),
    linear-gradient(to bottom, rgba(248,248,251,0.85) 0%, transparent 15%, transparent 85%, rgba(248,248,251,0.85) 100%);
  backdrop-filter: blur(13.571px);
  -webkit-backdrop-filter: blur(13.571px);
}

.gp-cell {
  border-radius: 25%;
  background: linear-gradient(251.96deg, rgba(255,255,255,0.4) 14%, rgba(255,255,255,0.15) 60%);
  position: relative;
}

.gp-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  border: clamp(12px, 1.25vw, 24px) solid;
  border-image-source: linear-gradient(var(--ring-angle, 45deg), rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 50%);
  border-image-slice: 1;
  filter: blur(4px);
  pointer-events: none;
}

@keyframes circlesCarousel {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100vw, 0, 0); }
}

.glass-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 200vw;
  height: 100%;
  pointer-events: none;
  animation: circlesCarousel 25s linear infinite;
  will-change: transform;
}

.gp-circle {
  position: absolute;
  border-radius: 50%;
  left: var(--gp-left);
  will-change: transform;
  transform: translateZ(0);
}

.gp-circle.gp-dup {
  left: calc(var(--gp-left) + 100vw);
}

/* Desktop: vw до ~1920px; шире 1920 — круги уменьшаются (не растут бесконечно с экраном) */
.gp-c1 {
  --gp-left: 4vw;
  width: max(240px, min(22vw, calc(422px - max(0px, 100vw - 1920px) * 0.065)));
  height: max(250px, min(23vw, calc(441px - max(0px, 100vw - 1920px) * 0.068)));
  top: 30%;
  background: rgb(45, 171, 231);
  filter: blur(80px);
}

.gp-c2 {
  --gp-left: 30vw;
  width: max(220px, min(19vw, calc(365px - max(0px, 100vw - 1920px) * 0.055)));
  height: max(220px, min(19vw, calc(365px - max(0px, 100vw - 1920px) * 0.055)));
  top: 10%;
  background: rgb(91, 90, 255);
  filter: blur(70px);
}

.gp-c3 {
  --gp-left: 58vw;
  width: max(220px, min(19vw, calc(365px - max(0px, 100vw - 1920px) * 0.055)));
  height: max(220px, min(19vw, calc(365px - max(0px, 100vw - 1920px) * 0.055)));
  top: 32%;
  background: rgb(220, 50, 200);
  filter: blur(70px);
}

.gp-c4 {
  --gp-left: 82vw;
  width: max(220px, min(19vw, calc(365px - max(0px, 100vw - 1920px) * 0.055)));
  height: max(220px, min(19vw, calc(365px - max(0px, 100vw - 1920px) * 0.055)));
  top: 25%;
  background: rgb(45, 171, 231);
  filter: blur(80px);
}

/*.glass-pattern-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 6%, transparent 94%, var(--bg) 100%);
}*/

.gp-cell-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-stem);
  font-weight: 500;
  font-size: clamp(9px, 1vw, 13px);
  text-transform: uppercase;
  letter-spacing: clamp(1px, 0.16vw, 3px);
  color: rgba(255, 255, 255, 0.7);
  user-select: none;
  width: 100%;
  height: 100%;
}

/* ========== MISC ========== */
.text-center { text-align: center; }

/* ========== TABLET (<=1024px) ========== */
@media (max-width: 1024px) {
  .header {
    height: 70px;
    gap: 20px;
  }

  .header-logo .site-logo {
    height: 28px;
    max-width: min(200px, 48vw);
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 99;
  }

  .header-nav.open {
    right: 0;
  }

  .header-nav a {
    font-size: 18px;
    color: var(--text-dark);
  }

  .header-nav .nav-cta,
  .header-nav .nav-cta:hover,
  .header-nav .nav-cta:active {
    display: inline-flex;
    margin-top: 10px;
    color: var(--white);
  }

  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 100px;
  }

  .client-item {
    margin-right: 16px;
  }

  .hero-bg-figure {
    top: 0px;
    height: 90vh;
  }

  .hero-bg-figure .circle {
    top: 0%;
    border-radius: 0 0 120px 120px;
    height: 80%;
  }

  .about-card {
    padding: 30px 24px 36px;
  }

  .about-arrows {
    bottom: 20px;
    right: 24px;
    width: 60px;
    height: 30px;
  }

  .who-we-back-inner {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .arr-chart-card {
    padding: 30px 24px 22px;
    border-radius: 20px;
  }

  .arr-ui-label {
    font-size: 15px;
  }

  .arr-ui-tick {
    font-size: 17px;
  }

  .arr-ui-value {
    font-size: 22px;
  }

  .wwb-top {
    flex-direction: column;
    gap: 20px;
  }

  .wwb-top-left {
    flex: none;
  }

  .wwb-item {
    padding: 16px 20px;
  }

  .wwb-item-number {
    font-size: 24px;
    flex: 0 0 60px;
  }

  .partnership-top {
    flex-direction: column;
    gap: 20px;
  }

  .partnership-top-left {
    flex: none;
  }

  .partnership-content {
    padding: 0 var(--side-padding);
  }

  .things-box {
    padding: 30px 24px;
  }

  .team-card {
    padding: 20px;
  }

  .team-card-photo {
    height: 200px;
  }

  .team-card-name {
    font-size: 20px;
  }

  .team-card-bio {
    font-size: 14px;
  }

  .form-container {
    padding: 40px 30px;
  }

  .glass-pattern {
    height: 340px;
  }

  .glass-pattern-bg {
    grid-template-columns: repeat(12, 80px);
    grid-auto-rows: 80px;
  }

  .glass-pattern-overlay {
    animation-duration: 10s;
  }
  .gp-c4 { display: none; }
  .gp-c1 {
    --gp-left: 0vw;
    width: 230px; height: 265px;
  }
  .gp-c2 {
    --gp-left: 33vw;
    width: 230px; height: 230px;
  }
  .gp-c3 {
    --gp-left: 66vw;
    width: 230px; height: 230px;
  }
}

/* ========== MOBILE (<=768px) ========== */
@media (max-width: 768px) {
  .header {
    height: 60px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.5);
  }

  .header-logo .site-logo {
    height: 26px;
    max-width: min(180px, 55vw);
  }

  .hero {
    height: auto;
    padding-top: 0;
    padding-bottom: 30px;
  }

  .hero-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding-top: 60px;
  }

  .hero-bg-figure {
    top: 0px;
    height: 100vh
  }

  .hero-bg-figure .circle {
    top: 0%;
    min-width: 320px;
    min-height: 320px;
    height: 80%;
    border-radius: 0 0 80px 80px;
  }
  .hero-bg-figure .circle-2 {
    left: 30%;
  }
  .hero-bg-figure .circle-3 {
    left: 70%;
  }
  .hero-logo {
    width: calc(100% - 32px);
  }
  .hero-logo .site-logo {
    width: 100%;
  }
  .hero-subtitle {
    padding: 0 15%;
  }
  .hero-scroll .line {
    height: 40px;
  }

  .about-cards {
    position: relative;
    width: calc(100% - 32px);
  }

  .about-card {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 16px;
    padding: 24px 16px 30px;
  }

  .about-text {
    font-size: 16px;
  }

  .about-arrows {
    position: static;
    margin-top: 16px;
    width: 60px;
    height: 30px;
    margin-left: auto;
  }

  .clients {
    padding: 40px 0 0;
  }

  .arr-chart {
    padding: 40px 0;
  }

  .arr-chart .section-heading {
    margin-bottom: 24px;
    font-size: 20px;
    padding: 0 16px;
  }

  .arr-chart-card {
    max-width: var(--container-width);
    padding: 20px 16px 18px;
    border-radius: 16px;
  }

  .arr-chart-canvas {
    padding-top: 2px;
  }

  .arr-curve {
    stroke-width: 8;
  }

  .arr-ui-label {
    font-size: 13px;
  }

  .arr-ui-tick {
    font-size: 14px;
  }

  .arr-ui-value {
    font-size: 18px;
  }

  .arr-ui-y {
    top: 9.5%;
  }

  .arr-ui-value-2 {
    left: 84%;
  }

  .arr-ui-x {
    left: 90.5%;
  }

  .arr-ui-tick-1,
  .arr-ui-tick-2 {
    top: 86%;
  }

  .arr-value-full {
    display: none;
  }

  .arr-value-short {
    display: inline;
  }

  .section-heading {
    font-size: 20px;
    padding: 0 16px;
  }

  .client-item {
    gap: 8px;
    padding: 10px 14px;
    height: 56px;
    border-radius: 12px;
  }

  .client-item img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .client-item span {
    font-size: 13px;
  }

  .clients-track {
    padding: 0 16px;
  }

  .who-we-back {
    padding: 40px 0px 0;
  }

  .who-we-back-inner {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .partnership-content, .things-inner {
    max-width: 100%;
}
  .wwb-top-left h3 {
    font-size: 18px;
  }

  .wwb-top-right p {
    font-size: 15px;
  }

  .wwb-subtitle {
    font-size: 16px;
  }

  .wwb-item {
    padding: 14px 16px;
    gap: 12px;
    border-radius: 14px;
  }

  .wwb-item-number {
    font-size: 20px;
    flex: 0 0 40px;
  }

  .wwb-item-text strong {
    font-size: 16px;
  }

  .wwb-item-desc {
    font-size: 14px;
  }

  .partnership {
    padding: 40px 0 0;
  }

  .partnership-bg {
    padding: 30px 0;
    margin-top: 20px;
  }

  .partnership-content {
    padding: 0 16px;
  }

  .partnership-top-left h3 {
    font-size: 18px;
  }

  .partnership-top-right p {
    font-size: 17px;
  }

  .accordion-header {
    padding: 14px 16px;
  }

  .acc-title {
    font-size: 14px;
  }

  .accordion-body-inner {
    padding: 10px 16px 20px;
    font-size: 16px;
  }

  .things-section {
    padding: 40px 16px 0;
  }

  .things-box {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .things-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .things-label {
    font-size: 16px;
    margin: 20px 0 10px;
  }

  .things-accordion-header {
    padding: 10px 44px 10px 0;
  }

  .ta-title {
    font-size: 14px;
  }

  .things-accordion-header .ta-toggle {
    width: 40px;
  }

  .things-accordion-body-inner {
    padding: 10px 40px 10px 16px;
    font-size: 16px;
  }

  .team-section {
    padding: 40px 16px 0;
  }

  .team-cards {
    flex-direction: column;
    gap: 16px;
  }

  .team-card {
    flex: none;
    width: 100%;
    padding: 20px;
    overflow: visible;
  }

  .team-card-photo {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 180px;
  }

  .team-card-name {
    font-size: 22px;
  }

  .team-card-bio {
    font-size: 16px;
  }

  .form-section {
    padding: 40px 0 0;
  }

  .form-container {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .form-container .section-heading {
    margin-bottom: 20px;
  }

  .form-input {
    height: 50px;
    font-size: 16px;
    border-radius: 12px;
  }

  .form-textarea {
    height: 120px;
  }

  .form-submit-row .btn-primary {
    width: 100%;
    height: 50px;
  }

  .footer-divider {
    margin-top: 40px;
  }

  .glass-pattern {
    height: 250px;
  }

  .glass-pattern-bg {
    grid-template-columns: repeat(8, 60px);
    grid-auto-rows: 60px;
  }

  .glass-pattern-overlay {
    animation-duration: 6s;
  }
  
  .gp-c1 {
    --gp-left: 0vw;
    width: 170px; height: 170px;
    filter: blur(55px);
  }
  .gp-c2 {
    --gp-left: 60vw;
    width: 165px; height: 165px;
    filter: blur(50px);
  }
  .gp-c3 { 
    display: none; 
  }
  .btn-primary {
    height: 44px;
    padding: 0 24px;
    font-size: 15px;
  }
}
