/* Lislex.md — design tokens follow lislex.com */
:root {
  --pink: #ed165c;
  --pink-hover: #ff165c;
  --pink-dark: #c10f49;
  --purple: #542d8d;
  --violet: #954f9f;
  --blue: #59abdf;
  --yellow: #f8bb16;
  --navy: #002553;
  --ink: #121212;
  --grey: #7b7c80;
  --line: #d9d9d9;
  --bg-soft: #fafafa;
  --white: #fff;
  --hero-gradient: linear-gradient(71.48deg, #7fd4fa, #6297bb 38.97%, #876eac 93.37%);
  --font: "Poppins", "Montserrat", system-ui, sans-serif;
  --radius: 3px;
  --container: 1240px;
  --header-h: 80px;
  --header-gap: 20px;
  --header-offset: calc(var(--header-h) + var(--header-gap));
}

html[lang="ru"] { --font: "Montserrat", system-ui, sans-serif; }

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-offset) + 20px); }

body {
  margin: 0;
  font: 400 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
.lex-pre-title {
  display: block;
  margin-bottom: 14px;
  color: var(--pink);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .3em;
  line-height: 1.5;
  text-transform: uppercase;
}

.lex-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.lex-title_lg { font-size: 80px; line-height: .95; }
.lex-title_sm { font-size: 24px; font-weight: 600; line-height: 1.25; text-transform: none; }

.lead { font-size: 20px; line-height: 1.55; }
.c-white { color: var(--white); }
.c-pink { color: var(--pink); }

.section { padding: 110px 0; }
.section_soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head .lead { margin-top: 22px; color: var(--grey); }

/* ---------- Buttons ---------- */
.lex-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 44px;
  background: var(--pink);
  border: 2px solid transparent;
  border-radius: var(--radius);
  color: var(--white);
  font: 500 17px/1.5 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.lex-button:hover { background: var(--pink-hover); }
.lex-button:active { background: var(--pink-dark); }
.lex-button:focus-visible { outline: none; border-color: var(--pink-dark); box-shadow: 0 0 0 3px rgba(237, 22, 92, .3); }
.lex-button svg { width: 20px; height: 20px; flex-shrink: 0; }

.lex-button_outline { background: transparent; border-color: var(--white); }
.lex-button_outline:hover { background: var(--pink); border-color: var(--pink); }

.lex-button_bordered { background: var(--white); border-color: var(--pink); color: var(--pink); }
.lex-button_bordered:hover { background: var(--white); border-color: var(--pink-dark); color: var(--pink-dark); }

.lex-button_sm { padding: 10px 20px; font-size: 15px; letter-spacing: .06em; }

.lex-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
}
.lex-link::after { content: "→"; transition: transform .2s ease; }
.lex-link:hover::after { transform: translateX(4px); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.cta-row__or { color: inherit; opacity: .7; font-size: 14px; text-transform: uppercase; letter-spacing: .2em; }

/* ---------- Header (floating white bar, as on lislex.com) ---------- */
.header {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  width: 100%;
  pointer-events: none;
}

.header__inner {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: calc(100% - 48px);
  max-width: 1296px;
  min-height: var(--header-h);
  margin-top: var(--header-gap);
  padding: 0 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(40, 40, 137, .08);
  color: var(--navy);
  pointer-events: auto;
  transition: box-shadow .2s ease;
}
.header_scrolled .header__inner { box-shadow: 0 6px 24px rgba(40, 40, 137, .16); }

.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo img { width: 154px; height: auto; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__list { display: flex; align-self: stretch; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav__list li { display: flex; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5px;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav__link::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  border-bottom: 0 solid var(--pink);
  transition: border-width .2s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--purple); }
.nav__link:hover::before, .nav__link[aria-current="page"]::before { border-bottom-width: 5px; }

.lang { display: flex; gap: 4px; font-size: 14px; font-weight: 600; }
.lang a {
  padding: 4px 8px;
  border-radius: var(--radius);
  color: var(--navy);
  opacity: .55;
  text-transform: uppercase;
  transition: opacity .2s ease, color .2s ease;
}
.lang a:hover { opacity: 1; color: var(--purple); }
.lang a[aria-current="true"] { opacity: 1; background: var(--bg-soft); color: var(--purple); }

.header .lex-button_sm {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: normal;
  text-transform: none;
}
.header .lex-button_sm:hover { background: var(--purple); }
.header .lex-button_sm svg { width: 16px; height: 16px; }
.header__phone { align-self: center; flex-shrink: 0; }
.nav__phone-mobile { display: none !important; }

.burger {
  display: none;
  position: relative;
  width: 24px; height: 24px;
  align-self: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block;
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--purple);
  border-radius: 100px;
  transition: transform .3s ease, opacity .2s ease;
}
.burger span { top: 11px; }
.burger span::before, .burger span::after { content: ""; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); background: var(--purple); }
.burger[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); background: var(--purple); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-offset) + 150px) 0 170px;
  background: url(/assets/img/hero/bg.webp) 50% / cover no-repeat, var(--hero-gradient);
  color: var(--white);
}
.hero__content { position: relative; z-index: 1; max-width: 820px; }
.hero .lex-pre-title { color: var(--white); opacity: .9; }
.hero .lead { max-width: 640px; margin: 28px 0 44px; }

/* Decorative rhombuses — the lislex.com motif */
.rhombus {
  position: absolute;
  width: var(--s, 180px);
  height: var(--s, 180px);
  transform: scaleY(.72) rotate(45deg);
  border-radius: 6px;
  pointer-events: none;
}
.rhombus_yellow { background: var(--yellow); }
.rhombus_pink { background: var(--pink); }
.rhombus_purple { background: var(--purple); }
.rhombus_blue { background: var(--blue); }
.rhombus_line { border: 2px solid rgba(255, 255, 255, .45); }

/* Hero art: the lislex.com statue with its decorations (static). Offsets are lislex.com's,
   measured from the bottom of the section; the box is as wide as the container. */
.hero__art {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 100%; max-width: var(--container);
  translate: calc(-50% + 80px) 50px; /* lislex.com's container is wider and its hero taller */
  pointer-events: none;
}
.hero__art img { position: absolute; max-width: none; }
.hero__human { right: -80px; bottom: 40px; width: 950px; height: 720px; z-index: 2 }
.hero__deco_rhombus { right: -15px; bottom: -25px; }
.hero__deco_rhombus-line { right: -5px; bottom: -46px; z-index: 1; } /* bottom-anchored like the rest: stays with the statue when the text is taller/shorter */
.hero__deco_rhombus-blue { left: 370px; bottom: 5px; }
.hero__deco_line { right: -35px; bottom: 595px; z-index: 2 }
.hero__deco_line-purple { right: -240px; bottom: 5px; z-index: 2; }
.hero__tab, .hero__mob { display: none; }
/* Montserrat (Cyrillic) capitals are much wider than Poppins: keep the RU headline to 3 lines like RO */
@media (min-width: 1200px) { html[lang="ru"] .hero .lex-title_lg { font-size: 62px; } }

/* Text rises in, line by line */
.hero__content > * { animation: hero-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__content > :nth-child(n+4) { animation-delay: .3s; }

@keyframes hero-rise { from { opacity: 0; translate: 0 24px; } }

.hero_page { padding: calc(var(--header-offset) + 130px) 0 140px; }

.breadcrumbs { display: flex; gap: 10px; margin-bottom: 26px; font-size: 14px; opacity: .85; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Clients ---------- */
.clients { padding: 70px 0; border-bottom: 1px solid #ededed; }
.clients__title { margin-bottom: 34px; text-align: center; }
.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0; padding: 0; list-style: none;
  animation: clients-scroll 57s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
@keyframes clients-scroll {
  to { transform: translateX(-50%); }
}
.clients__item { display: flex; justify-content: center; flex: 0 0 auto; margin-right: 56px; }
.clients__item img {
  width: 150px; height: 44px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .25s ease, opacity .25s ease;
}
.clients__item img:hover { filter: none; opacity: 1; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 34px 36px;
  background: var(--white);
  border: 1px solid #ededed;
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 37, 83, .1); border-color: transparent; }
.card__num { position: absolute; top: 28px; right: 30px; color: var(--line); font-size: 40px; font-weight: 700; line-height: 1; }
.card__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  background: rgba(237, 22, 92, .08);
  color: var(--pink);
}
.card__icon svg { width: 30px; height: 30px; }
.card .lex-title_sm { margin-bottom: 14px; }
.card p { color: var(--grey); }
.card .lex-link { margin-top: auto; }

.card_featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.card_featured p { color: rgba(255, 255, 255, .8); }
.card_featured .card__num { color: rgba(255, 255, 255, .15); }
.card_featured .card__icon { background: var(--pink); color: var(--white); }

/* ---------- Features / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.checklist { margin: 26px 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 36px; margin-bottom: 16px; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--pink);
  transform: scaleY(.72) rotate(45deg);
  border-radius: 2px;
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat {
  padding: 34px 28px;
  background: var(--bg-soft);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius);
}
.stat:nth-child(2) { border-color: var(--purple); }
.stat:nth-child(3) { border-color: var(--blue); }
.stat:nth-child(4) { border-color: var(--yellow); }
.stat__value { display: block; font-size: 38px; white-space: nowrap; font-weight: 700; line-height: 1.1; color: var(--navy); }
.stat__label { color: var(--grey); font-size: 15px; }

/* ---------- Process ---------- */
.process { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process::before {
  content: "";
  position: absolute; left: 31px; top: 10px; bottom: 10px;
  border-left: 1.4px dashed var(--line);
}
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding-bottom: 46px;
  counter-increment: step;
}
.process__step:last-child { padding-bottom: 0; }
.process__marker {
  position: relative;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}
.process__marker::before {
  content: "";
  position: absolute; inset: 6px;
  background: var(--pink);
  transform: scaleY(.72) rotate(45deg);
  border-radius: 4px;
  z-index: 0;
}
.process__marker::after { content: counter(step, decimal-leading-zero); position: relative; }
.process__step:nth-child(4n+2) .process__marker::before { background: var(--purple); }
.process__step:nth-child(4n+3) .process__marker::before { background: var(--blue); }
.process__step:nth-child(4n+4) .process__marker::before { background: var(--yellow); }
.process__body { padding-top: 14px; max-width: 760px; }
.process__body .lex-title_sm { margin-bottom: 10px; }
.process__body p { color: var(--grey); margin: 0; }
.process__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.process__tags li { padding: 4px 12px; background: var(--bg-soft); border: 1px solid #ededed; border-radius: 20px; font-size: 13px; color: var(--navy); }

/* ---------- Portfolio (Swiper, same look as lislex.com "Expertise" slider) ---------- */
.portfolio { position: relative; }
.portfolio-swiper { margin: -20px; padding: 20px 20px 50px; }
.portfolio-swiper .swiper-slide { height: auto; }
.portfolio-swiper__pagination.swiper-pagination { bottom: 0; }
.portfolio-swiper .swiper-pagination-bullet {
  width: 10px; height: 10px; margin: 0 5px !important;
  background: var(--line); opacity: 1;
  transition: width .3s, background .3s;
}
.portfolio-swiper .swiper-pagination-bullet:hover { background: #b3b3b3; }
.portfolio-swiper .swiper-pagination-bullet-active,
.portfolio-swiper .swiper-pagination-bullet-active:hover { width: 20px; border-radius: 50px; background: var(--pink); }
.portfolio-swiper__button {
  position: absolute; top: 41%; z-index: 2;
  display: grid; place-items: center;
  width: 31px; height: 43px; padding: 0;
  background: none; border: 0; cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .2s ease;
}
.portfolio-swiper__button:hover { opacity: .8; }
.portfolio-swiper__button svg { width: 31px; height: 43px; }
.portfolio-swiper__button_prev { left: -60px; }
.portfolio-swiper__button_next { right: -60px; }
.portfolio-swiper__button.swiper-button-disabled { opacity: .3; cursor: default; }
.portfolio-swiper__button.swiper-button-lock { display: none; }
.project {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #ededed;
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 37, 83, .12); }
.project__preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 5; /* screenshots are 1800×1000 */
  background: var(--bg-soft);
  border-bottom: 1px solid #ededed;
}
.project__preview img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.project__body { display: flex; flex-direction: column; flex-grow: 1; padding: 26px 26px 28px; }
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.project__domain { color: var(--pink); font-size: 14px; font-weight: 600; }
.project__logo { width: auto; max-width: 110px; height: 28px; object-fit: contain; object-position: right center; }
.project__body .lex-title_sm { font-size: 20px; margin-bottom: 10px; }
.project__body p { color: var(--grey); font-size: 15px; }
.project__body .lex-link { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: var(--purple);
  color: var(--white);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band .lex-title { max-width: 680px; font-size: 42px; }
.cta-band p { margin: 16px 0 0; opacity: .85; max-width: 600px; }
.cta-band .rhombus:nth-of-type(1) { --s: 260px; right: -60px; top: -90px; opacity: .25; }
.cta-band .rhombus:nth-of-type(2) { --s: 140px; left: 40%; bottom: -80px; opacity: .3; }

/* ---------- Contact / Footer ---------- */
.contact { padding: 110px 0 90px; background: var(--navy); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; }
.contact .lead { margin: 22px 0 36px; opacity: .85; }
.contact__phone {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  transition: color .2s ease;
}
.contact__phone:hover { color: var(--pink); }

.contacts-list { margin: 0; padding: 0; list-style: none; }
.contacts-list li { display: flex; gap: 16px; margin-bottom: 22px; }
.contacts-list svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--pink); }
.contacts-list__label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .15em; opacity: .6; }
.contacts-list a:hover { color: var(--pink); }

.form {
  padding: 44px 40px;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--ink);
}
.form__title { margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 500; }
.field label span { color: var(--pink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); background: var(--white); }
.field_invalid input, .field_invalid select, .field_invalid textarea { border-color: var(--pink-dark); }
.field__label { font-size: 14px; font-weight: 500; }
.field__label span { color: var(--pink); }

/* Custom multiselect: a toggle button + a panel of real checkboxes */
.multiselect { position: relative; }
.multiselect__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 44px 14px 16px;
  font: inherit;
  font-size: 15px;
  text-align: left;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.multiselect__toggle::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform .2s ease, margin-top .2s ease;
}
.multiselect__toggle[aria-expanded="true"]::after { margin-top: -2px; transform: rotate(-135deg); }
.multiselect__toggle:focus-visible, .multiselect__toggle[aria-expanded="true"] { outline: none; border-color: var(--pink); background: var(--white); }
.field_invalid .multiselect__toggle { border-color: var(--pink-dark); }
/* width: 0 + flex-grow: the long list of choices must not widen the grid column — it is cut with "…" */
.multiselect__value { flex: 1 1 0; width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.multiselect__value_empty { color: var(--grey); }
.multiselect__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  padding: 6px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 37, 83, .15);
}
.multiselect__panel[hidden] { display: none; }
.multiselect__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.field .multiselect__option span { color: inherit; font-weight: 400; }
.multiselect__option:hover, .multiselect__option:focus-within { background: var(--bg-soft); }
.field .multiselect__option input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: var(--pink);
  cursor: pointer;
}

.field__error { display: none; color: var(--pink-dark); font-size: 13px; }
.field_invalid .field__error { display: block; }
.form__consent { margin: 4px 0 22px; font-size: 13px; color: var(--grey); }
.form .lex-button { width: 100%; }
.form .lex-button[disabled] { opacity: .6; cursor: progress; }
.form__status { margin: 16px 0 0; font-size: 15px; }
.form__status_ok { color: #1c8a4a; }
.form__status_err { color: var(--pink-dark); }
.form_sent .form__fields { display: none; }
/* Shown only after a successful send (lazy: not downloaded while hidden) */
.form__success-img { display: none; width: 100%; max-width: 360px; height: auto; margin: 0 auto 8px; }
.form_sent .form__success-img { display: block; }

.footer-bottom { padding: 26px 0; background: #001d42; color: rgba(255, 255, 255, .7); font-size: 14px; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: var(--white); }

/* Mobile sticky call bar */
.call-bar { display: none; }

/* ---------- Responsive ---------- */
/* not enough room beside the cards: arrows go under the slider, either side of the dots */
@media (max-width: 1319px) {
  .portfolio-swiper__button { top: auto; bottom: -12px; transform: none; }
  .portfolio-swiper__button_prev { left: 0; }
  .portfolio-swiper__button_next { right: 0; }
}

@media (max-width: 1199px) {
  .lex-title_lg { font-size: 62px; }
  .lex-title { font-size: 40px; }
  .nav { gap: 22px; }
  .nav__list { gap: 20px; }
}

@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .header .header__inner { flex-wrap: wrap; gap: 0; padding: 0 20px; }
  .burger { display: block; order: 1; }
  .header__logo { order: 2; height: var(--header-h); margin: 0 auto; transform: translateX(-12px); }
  .header__logo img { width: 140px; }
  .header__phone { display: none; }
  .nav {
    display: none;
    order: 3;
    flex-basis: calc(100% + 40px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-offset) - 20px);
    margin: 0 -20px;
    padding-bottom: 20px;
    overflow-y: auto;
  }
  .nav_open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { display: block; border-top: 1px solid #ededed; }
  .nav__link { padding: 20px 32px; font-size: 14px; }
  .nav__link::before { top: 10px; bottom: 10px; width: 0; border-bottom: 0; border-left: 0 solid var(--pink); transition: border-width .1s ease; }
  .nav__link:hover::before, .nav__link[aria-current="page"]::before { border-left-width: 3px; }
  .lang { padding: 16px 28px 0; border-top: 1px solid #ededed; }
  .nav .lex-button { margin: 20px 20px 0; }
  .nav__phone-mobile { display: inline-flex !important; }
  .header .nav__phone-mobile { padding: 18px 12px; font-size: 16px; }

  .section { padding: 80px 0; }
  .hero { padding: calc(var(--header-offset) + 80px) 0 120px; background: var(--hero-gradient); }
  .hero__human, .hero__deco { display: none; }
  .hero__art { translate: -50% 0; }
  .hero__tab { display: block; right: -100px; bottom: -25px; width: 550px; height: auto; }
  .hero__content { max-width: 58%; }
  .hero .cta-row__or { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .split, .contact__grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 767px) {
  .header__inner { margin: var(--header-gap) 12px 0; width: auto; }
  body { font-size: 15px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .lex-title_lg { font-size: 42px; line-height: 1; }
  .lex-title, .cta-band .lex-title { font-size: 30px; line-height: 1.1; }
  .lex-pre-title { font-size: 14px; letter-spacing: .25em; }
  .lead { font-size: 17px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .hero { padding: calc(var(--header-offset) + 50px) 0 100px; }
  .hero { padding-bottom: 50px; }
  .hero__tab { display: none; }
  .hero__content { max-width: none; }
  .hero__mob { display: block; width: calc(100% + 32px); max-width: none; height: auto; margin: -10px -16px 0; }
  .cta-row .lex-button { width: 100%; }
  .cta-row__or { display: none; }
  .lex-button { padding: 16px 20px; font-size: 15px; }
  .services, .stats, .form__row { grid-template-columns: 1fr; }
  .portfolio-swiper { margin: -16px; padding: 16px 16px 50px; }
  .portfolio-swiper__button, .portfolio-swiper__button svg { width: 24px; height: 34px; }
  .form__row { gap: 0; }
  .clients__item { margin-right: 36px; }
  .clients__track { animation-duration: 44s; }
  .clients__item img { width: 130px; height: 37px; }
  .card { padding: 32px 24px 28px; }
  .process__step { grid-template-columns: 48px 1fr; gap: 18px; }
  .process__marker { width: 48px; height: 48px; font-size: 14px; }
  .process::before { left: 23px; }
  .process__body { padding-top: 8px; }
  .cta-band { padding: 64px 0; }
  .contact { padding: 70px 0 60px; }
  .contact__phone { font-size: 30px; }
  .form { padding: 30px 20px; }

  .call-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .15);
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 56px;
    font-weight: 600; font-size: 15px;
    text-transform: uppercase; letter-spacing: .06em;
  }
  .call-bar svg { width: 18px; height: 18px; }
  .call-bar__call { background: var(--pink); color: var(--white); }
  .call-bar__form { background: var(--navy); color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero__content > * { animation: none; }
  .clients__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 26px; }
  .clients__item[aria-hidden="true"] { display: none; }
}
.footer-bottom p { margin: 0; }
