@font-face {
  font-family: "Philosopher";
  src: url("../fonts/philosopher-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Philosopher";
  src: url("../fonts/philosopher-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #643695;
  --purple-dark: #42205f;
  --pink: #d05f9d;
  --magenta: #d94b9b;
  --ink: #37303d;
  --muted: #766b7c;
  --paper: #fff;
  --soft: #f8f3fb;
  --max: 1180px;
  --header-h: 92px;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--purple-dark);
  font-family: "Philosopher", Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}

body.menu-open {
  overflow: hidden;
}

main {
  background: var(--paper);
}

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

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

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: var(--header-h);
  color: #fff;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(100, 54, 149, 0.93);
  box-shadow: 0 8px 24px rgba(31, 14, 47, 0.16);
  backdrop-filter: blur(8px);
}

.header-bg {
  position: absolute;
  inset: 0;
  background: url("../img/decor/bg-header-mobile.png") center top / 100% 160px no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.site-header.is-scrolled .header-bg {
  opacity: 0.82;
}

.header-inner {
  position: relative;
  width: min(100%, 1360px);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 8px 15px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}

.brand {
  display: flex;
  justify-content: center;
  justify-self: center;
  width: 112px;
}

.brand img {
  width: 94px;
  height: auto;
}

.icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.desktop-nav {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 2.2vw, 34px);
  font-size: 18px;
  line-height: 1.15;
}

.desktop-nav a {
  display: block;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: color 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #ffd8ef;
  transform: translateY(0);
}

.desktop-nav .nav-action-item {
  display: none;
}

.nav-icon-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: #fff;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.nav-icon-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.lang-toggle {
  padding: 0;
  background: transparent;
  font-family: "Philosopher", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}

.lang-toggle.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--purple);
}

.nav-icon-link:hover,
.nav-icon-link:focus-visible,
.nav-icon-link:active {
  background: #fff;
  border-color: #fff;
  color: var(--purple);
}

.desktop-nav .nav-action-item + .nav-action-item {
  margin-left: calc(clamp(15px, 2.2vw, 34px) * -0.5);
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 28px;
  padding: 34px 24px 44px;
  background: var(--purple);
  color: #fff;
  overflow-y: auto;
}

.mobile-panel[hidden] {
  display: none;
}

.mobile-logo {
  width: 112px;
  margin-top: 12px;
}

.mobile-panel nav {
  width: min(100%, 420px);
  display: grid;
  gap: 3px;
}

.mobile-panel nav a {
  display: block;
  padding: 14px 8px;
  text-align: center;
  font-size: 25px;
  line-height: 1.15;
}

.mobile-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: -6px;
}

.mobile-actions .nav-icon-link {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.82);
}

.mobile-actions .nav-icon-link svg {
  width: 23px;
  height: 23px;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mobile-close::before,
.mobile-close::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 2px;
  left: 7px;
  top: 20px;
  background: currentColor;
  border-radius: 2px;
}

.mobile-close::before {
  transform: rotate(45deg);
}

.mobile-close::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #070409;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(32, 10, 50, 0.34), rgba(0, 0, 0, 0.18) 55%, rgba(44, 15, 65, 0.38));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 48px, var(--max));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 24px) 0 clamp(170px, 24svh, 250px);
}

.hero h1 {
  margin: 0;
  max-width: 520px;
  color: #fff;
  font-size: clamp(30px, 8vw, 58px);
  line-height: 1.04;
  font-weight: 400;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.58);
}

.hero-callback {
  position: absolute;
  z-index: 6;
  right: clamp(18px, 5vw, 72px);
  top: clamp(220px, 35svh, 280px);
  width: min(100% - 36px, 585px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.5fr);
  grid-template-areas:
    "phone submit"
    "consent consent"
    "status status";
  gap: 11px 13px;
  align-items: start;
  color: #fff;
}

.phone-field {
  grid-area: phone;
  min-height: clamp(49px, 4.7vw, 59px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(16px, 2vw, 24px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(38, 18, 56, 0.18);
}

.phone-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #30283a;
  font-family: "Philosopher", Georgia, serif;
  font-size: clamp(15px, 1.42vw, 18px);
  letter-spacing: 0;
}

.phone-field input::placeholder {
  color: rgba(35, 31, 32, 0.62);
  opacity: 1;
}

.phone-field span {
  color: #111;
  font-family: "Philosopher", Georgia, serif;
  font-size: clamp(15px, 1.28vw, 18px);
  white-space: nowrap;
}

.callback-submit {
  grid-area: submit;
  min-height: clamp(49px, 4.7vw, 59px);
  min-width: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #cf559c;
  color: #fff;
  cursor: pointer;
  font-family: "Philosopher", Georgia, serif;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 14px 36px rgba(38, 18, 56, 0.2);
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lang-tt .callback-submit {
  font-size: clamp(15px, 1.32vw, 18px);
  padding-inline: 14px;
  white-space: nowrap;
}

.callback-submit:hover,
.callback-submit:focus-visible {
  background: #fff;
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(38, 18, 56, 0.24);
}

.callback-submit:disabled {
  cursor: progress;
  opacity: 0.82;
  transform: none;
}

.consent-field {
  grid-area: consent;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  max-width: 540px;
  margin: 0;
  color: #fff;
  font-family: "Philosopher", Georgia, serif;
  font-size: clamp(12px, 1.08vw, 14.5px);
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #ff6c7d;
}

.consent-field a {
  text-decoration: none;
}

.callback-status {
  grid-area: status;
  min-height: 24px;
  margin: -4px 0 0;
  max-width: 540px;
  color: #fff;
  font-family: "Philosopher", Georgia, serif;
  font-size: 16px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.hero-wave {
  position: absolute;
  inset: auto 0 -8px;
  z-index: 4;
  height: clamp(128px, 23vw, 285px);
  pointer-events: none;
}

.hero-wave-img {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background: url("../img/decor/wave-banner-mobile.png") center bottom / 100% 100% no-repeat;
}

.hero-wave img {
  position: absolute;
  right: clamp(36px, calc(7vw + 20px), 94px);
  top: 50%;
  width: clamp(92px, 13vw, 150px);
  transform: translateY(-36%);
}

.intro-section,
.detail-section,
.projects-section,
.contact-section {
  position: relative;
  padding: clamp(68px, 8vw, 116px) 24px;
}

.section-heading {
  width: min(100%, 940px);
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.section-heading.compact {
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.05;
  font-weight: 400;
}

.section-heading p {
  margin: 0 auto;
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 23px);
  line-height: 1.45;
}

.service-grid {
  width: min(100%, 960px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 54px) clamp(22px, 6vw, 64px);
  justify-items: center;
}

.round-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(100%, 360px);
  min-height: 338px;
  text-align: center;
  color: var(--purple);
  transition: transform 180ms ease;
}

.round-card:hover,
.round-card:focus-visible {
  transform: translateY(-4px);
}

.round-image {
  position: relative;
  width: min(72vw, 290px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.round-image::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px rgba(100, 54, 149, 0.08);
}

.round-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.round-card strong {
  display: block;
  max-width: 320px;
  min-height: 58px;
  font-size: clamp(22px, 3.5vw, 27px);
  line-height: 1.08;
  font-weight: 400;
}

.about-hero {
  --about-parallax-y: 0px;
  position: relative;
  min-height: 720px;
  padding: clamp(84px, 10vw, 136px) 24px 240px;
  color: #fff;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(100, 54, 149, 0.96), rgba(100, 54, 149, 0.84) 48%, rgba(100, 54, 149, 0.1)),
    url("../img/decor/girl-know-more.jpg");
  background-position: center, center calc(50% + var(--about-parallax-y));
  background-size: auto, cover;
  background-repeat: repeat, no-repeat;
}

.wave-top-left,
.wave-top-right {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 45px;
  background: url("../img/decor/wave-top-left-mobile.png") center top / 100% 100% no-repeat;
}

.about-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  margin: 0 auto 60px;
}

.about-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.05;
  font-weight: 400;
}

.about-copy p {
  margin: 0 0 28px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
  text-align: justify;
  text-align-last: left;
  text-wrap: pretty;
  hyphens: auto;
}

.signature {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.signature:hover,
.signature:focus-visible,
.signature:active {
  background-color: #fff;
  border-color: #fff;
  color: var(--purple);
}

.about-facts {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  color: #fff;
}

.about-facts div {
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
  font-size: clamp(19px, 2.7vw, 27px);
  line-height: 1.16;
  background: rgba(67, 31, 97, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.about-wave {
  position: absolute;
  inset: auto 0 -3px;
  height: clamp(150px, 24vw, 320px);
  background: url("../img/decor/wave-know-more-mobile.png") center bottom / 100% 100% no-repeat;
}

.split-list {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  gap: clamp(34px, 6vw, 72px);
}

.split-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 330px);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
}

.split-item.reverse {
  grid-template-columns: minmax(180px, 330px) minmax(0, 1fr);
}

.split-item.reverse .split-text {
  order: 2;
}

.split-item.reverse img {
  order: 1;
}

.split-text h3 {
  margin: 0 0 12px;
  color: var(--magenta);
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.08;
  font-weight: 400;
}

.split-text p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 21px);
}

.split-item img {
  justify-self: center;
  width: min(100%, 300px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  background: var(--soft);
}

.two-items .split-item img {
  width: min(100%, 320px);
}

.services-detail {
  padding-top: clamp(80px, 10vw, 130px);
}

.partners-section {
  position: relative;
  padding: clamp(82px, 9vw, 128px) 24px clamp(76px, 8vw, 118px);
  color: #fff;
  background: var(--purple);
  overflow: hidden;
}

.partners-section .section-heading h2,
.partners-section .section-heading p {
  color: #fff;
}

.mask-top,
.mask-bottom {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.mask-top {
  top: -1px;
  height: 44px;
  background-image: url("../img/decor/mask-ideal-product-top-mobile.png");
}

.mask-bottom {
  bottom: -1px;
  height: 31px;
  background-image: url("../img/decor/mask-ideal-product-bottom-mobile.png");
}

.client-logo-grid {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 70px) clamp(22px, 4vw, 54px);
  align-items: center;
  justify-items: center;
  background: transparent;
  border: 0;
}

.client-logo-grid img {
  display: block;
  width: min(100%, 210px);
  height: clamp(78px, 9vw, 116px);
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(49, 20, 74, 0.16));
}

.equipment-section {
  background: var(--soft);
}

.projects-section {
  background: #fff;
}

.project-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(100, 54, 149, 0.12);
  box-shadow: 0 18px 45px rgba(63, 38, 86, 0.1);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card div {
  padding: 20px 20px 24px;
}

.project-card h3 {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 400;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
}

.contact-section {
  position: relative;
  min-height: clamp(680px, 84vw, 940px);
  display: grid;
  align-content: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(100, 54, 149, 0.96), rgba(100, 54, 149, 0.72)),
    url("../img/decor/girl-know-more.jpg") center / cover no-repeat;
  text-align: center;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 75px;
  background: url("../img/decor/wave-top-right-mobile.png") center top / 100% 100% no-repeat;
  z-index: 1;
  pointer-events: none;
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 130px;
  background: url("../img/decor/wave-footer-mobile.png") center bottom / 100% 100% no-repeat;
  opacity: 0.82;
  pointer-events: none;
}

.contact-section .section-heading {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  margin-inline: auto;
}

.contact-section .section-heading h2,
.contact-section .section-heading p {
  color: #fff;
}

.contact-box {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  justify-items: stretch;
  margin: 18px auto 26px;
  font-style: normal;
}

.contact-card,
.contact-requisites {
  min-height: 154px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(44, 15, 65, 0.22);
  backdrop-filter: blur(3px);
}

.contact-card {
  color: #fff;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  background: #fff;
  color: var(--purple);
  transform: translateY(-4px);
}

.contact-card span,
.contact-requisites span {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 22px);
}

.contact-card:hover span,
.contact-card:focus-visible span {
  color: rgba(100, 54, 149, 0.72);
}

.contact-card strong,
.contact-requisites b {
  color: inherit;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.contact-requisites {
  grid-column: 1 / -1;
  min-height: 128px;
}

.contact-requisites b {
  max-width: 940px;
  font-size: clamp(23px, 3.2vw, 40px);
}

.site-footer {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 44px 24px 42px;
  color: #fff;
  text-align: center;
  background: var(--purple-dark);
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer ul {
  display: none;
}

.site-footer a {
  color: #fff;
}

.site-footer img {
  width: 84px;
}

.to-top-link {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition: transform 420ms ease, color 180ms ease;
}

.to-top-link svg {
  width: 60px;
  height: 60px;
  display: block;
}

.to-top-link path {
  fill: currentColor;
}

.to-top-link:hover,
.to-top-link:focus-visible {
  color: #ffd8ef;
  transform: rotate(360deg) translateY(-2px);
}

.site-footer span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.privacy-page {
  min-height: 100svh;
  padding: clamp(32px, 6vw, 80px) 20px;
  background: var(--purple);
}

.privacy-document {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.privacy-document h1 {
  margin: 16px 0 24px;
  color: var(--purple);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 400;
}

.privacy-document h2 {
  margin: 28px 0 8px;
  color: var(--purple);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
}

.privacy-document p {
  margin: 0 0 14px;
  font-size: 20px;
}

.privacy-document a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-back {
  display: inline-block;
  font-size: 18px;
}

@media (min-width: 600px) {
  :root {
    --header-h: 98px;
  }

  .hero-wave-img {
    background-image: url("../img/decor/wave-banner.png");
  }

  .about-wave {
    background-image: url("../img/decor/wave-know-more.png");
  }

  .wave-top-left {
    height: 75px;
    background-image: url("../img/decor/wave-top-left.png");
  }

  .contact-section::before {
    background-image: url("../img/decor/wave-top-right.png");
  }

}

@media (min-width: 960px) {
  :root {
    --header-h: 78px;
  }

  .site-header {
    position: absolute;
  }

  .site-header.is-scrolled {
    position: fixed;
  }

  .header-inner {
    height: var(--header-h);
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
  }

  .brand,
  .menu-toggle {
    display: none;
  }

  .desktop-nav {
    display: flex;
    height: 100%;
  }

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

  .desktop-nav .nav-action-item {
    display: flex;
  }

  .desktop-nav a {
    display: flex;
    align-items: center;
    min-height: 100%;
    transform: translateY(1px);
  }

  .desktop-nav .nav-icon-link {
    min-height: 38px;
    transform: translateY(1px);
  }

  .hero-bg {
    object-position: center center;
  }

  .hero-content {
    align-items: center;
    padding: var(--header-h) 0 150px;
  }

  .hero h1 {
    transform: translateY(18px);
  }

  .service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .round-card {
    grid-column: span 2;
  }

  .round-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .round-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .about-copy {
    margin-left: max(6vw, calc((100vw - var(--max)) / 2));
    margin-right: 0;
  }

  .mask-top {
    height: 93px;
    background-image: url("../img/decor/mask-ideal-product-top.png");
  }

  .mask-bottom {
    height: 65px;
    background-image: url("../img/decor/mask-ideal-product-bottom.png");
  }
}

@media (max-width: 959px) {
  .hero-callback {
    top: auto;
    right: 18px;
    bottom: 26px;
    width: min(100% - 36px, 520px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "phone"
      "submit"
      "consent"
      "status";
    gap: 10px;
  }

  .phone-field {
    min-height: 54px;
  }

  .callback-submit {
    min-height: 54px;
  }

  .consent-field,
  .callback-status {
    max-width: none;
    margin-left: 0;
  }

  .hero-content {
    padding-top: var(--header-h);
    padding-bottom: clamp(300px, 42svh, 380px);
  }

  .split-item,
  .split-item.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .split-item.reverse .split-text,
  .split-item.reverse img {
    order: initial;
  }

  .split-item img {
    grid-row: 1;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-callback {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 116px;
    gap: 8px;
  }

  .phone-field {
    grid-template-columns: 1fr;
    gap: 1px;
    min-height: 58px;
    padding: 8px 20px 9px;
    border-radius: 28px;
  }

  .phone-field span {
    grid-row: 1;
    font-size: 16px;
  }

  .phone-field input {
    font-size: 17px;
    letter-spacing: 0;
  }

  .callback-submit {
    min-height: 52px;
    font-size: 21px;
  }

  .lang-tt .callback-submit {
    font-size: clamp(18px, 8.4vw, 30px);
    padding-inline: 12px;
  }

  .consent-field {
    grid-template-columns: 19px minmax(0, 1fr);
    font-size: 12px;
    line-height: 1.1;
  }

  .callback-status {
    font-size: 15px;
  }

  .service-grid,
  .about-facts,
  .project-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-section {
    min-height: auto;
    align-content: start;
  }

  .contact-card,
  .contact-requisites {
    min-height: 112px;
  }

  .contact-requisites {
    grid-column: auto;
  }

  .round-card {
    min-height: auto;
  }

  .about-hero {
    min-height: 780px;
    padding-bottom: 190px;
    background-image:
      linear-gradient(180deg, rgba(100, 54, 149, 0.94), rgba(100, 54, 149, 0.68)),
      url("../img/decor/girl-know-more.jpg");
    background-position: center, center calc(50% + var(--about-parallax-y));
    background-size: auto, cover;
    background-repeat: repeat, no-repeat;
  }

  .client-logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px 8px;
  }

  .client-logo-grid img {
    width: min(100%, 64px);
    height: 48px;
  }

  .optional-project {
    display: none;
  }
}

@media (max-width: 420px) {
  .header-inner {
    padding-inline: 12px;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding-top: var(--header-h);
    padding-bottom: 390px;
  }

  .hero h1 {
    max-width: 260px;
    font-size: 30px;
    transform: translateY(-10svh);
  }

  .hero-wave {
    height: 160px;
  }

  .hero-wave img {
    width: 78px;
    right: 34px;
    top: 38%;
  }

  .intro-section,
  .detail-section,
  .projects-section,
  .contact-section {
    padding-inline: 18px;
  }

  .mobile-panel nav a {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg,
  .hero-wave,
  .hero-wave img,
  .client-logo-grid img {
    will-change: transform;
  }

  .motion-ready [data-reveal] {
    opacity: 0;
    translate: var(--reveal-x, 0) var(--reveal-y, 46px);
    scale: var(--reveal-scale, 1);
    transition:
      opacity 520ms ease,
      translate 720ms cubic-bezier(0.2, 0.74, 0.24, 1),
      scale 720ms cubic-bezier(0.2, 0.74, 0.24, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .motion-ready [data-reveal="left"] {
    --reveal-x: -38px;
    --reveal-y: 18px;
  }

  .motion-ready [data-reveal="right"] {
    --reveal-x: 38px;
    --reveal-y: 18px;
  }

  .motion-ready [data-reveal="zoom"] {
    --reveal-y: 24px;
    --reveal-scale: 0.94;
  }

  .motion-ready [data-reveal].is-visible {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }

  @media (max-width: 959px) {
    .motion-ready [data-reveal="left"],
    .motion-ready [data-reveal="right"] {
      --reveal-x: 0;
      --reveal-y: 34px;
    }
  }

  .motion-ready .hero h1 {
    animation: hero-title-in 780ms cubic-bezier(0.2, 0.74, 0.24, 1) 120ms both;
  }

  @keyframes hero-title-in {
    from {
      opacity: 0;
      translate: 0 34px;
    }

    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
