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

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/Oswald-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/Oswald-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

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

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

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #030711;
  --bg-2: #050b18;
  --surface: #07101f;
  --surface-2: #09152a;
  --blue: #087bff;
  --blue-2: #005eea;
  --cyan: #2d9ef7;
  /* --cyan: #2684e5; */
  --white: #f4f8ff;
  --text: #c8d1e1;
  --muted: #7c8ba3;
  --line: rgba(149, 177, 217, 0.2);
  --line-blue: rgba(20, 130, 255, 0.52);
  --shadow-blue: 0 18px 70px rgba(0, 93, 234, 0.28);
  --section-glow: rgba(0, 97, 255, 0.22);
  --shell: min(1620px, calc(100% - 64px));
  --header-height: 104px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 68% 8%, rgba(0, 80, 190, 0.11), transparent 31%),
    var(--bg);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  padding-right: var(--scrollbar-compensation, 0px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}

.site-header.is-scrolled {
  height: 82px;
  background: rgba(0, 0, 10, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(20px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand__logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(0, 123, 255, 0.34));
}

.brand__copy {
  display: flex;
  flex-direction: column;
  color: var(--white);
  line-height: 1;
}

.brand__copy strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand__copy small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, calc(20vw - 234px), 38px);
  margin-inline: auto;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
  font-size: 16px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  pointer-events: none;
  transition: right 0.22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cyan);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.main-nav__project {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.2;
  white-space: nowrap;
}

.header-contacts a:first-child {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.header-contacts span,
.header-contacts a:last-child {
  margin-top: 1px;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 14px;
}

.header-contacts a:last-child {
  margin-top: 1px;
}

.socials {
  display: flex;
  gap: 7px;
}

.header-quick-contacts {
  display: none;
  align-items: center;
  gap: 7px;
}

.socials__link {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-blue);
  border-radius: 50%;
  color: var(--cyan);
  background: radial-gradient(circle, rgba(0, 139, 255, 0.2), rgba(0, 67, 169, 0.04));
  box-shadow: inset 0 0 18px rgba(0, 111, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.socials__link:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: radial-gradient(circle, rgba(0, 139, 255, 0.32), rgba(0, 67, 169, 0.08));
  box-shadow: 0 0 22px rgba(0, 117, 255, 0.2);
}

.socials__link svg,
.socials__link img {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
}

.socials__link img {
  object-fit: contain;
}

.socials__link--telegram svg {
  fill: currentColor;
  margin-left: -2px;
}

.header-contact-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-quick-contacts a[href^="mailto:"] {
  color: var(--cyan);
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 28px;
  border: 0px solid transparent;
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button>span,
.main-nav__project>span,
.slider-nav button>span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.button:hover>span,
.button:focus-visible>span,
.main-nav__project:hover>span,
.main-nav__project:focus-visible>span {
  transform: translateX(5px);
}

.button--primary,
.button--header {
  background: linear-gradient(135deg, #078cff, #0056e8);
  box-shadow: var(--shadow-blue);
}

.button--primary:hover,
.button--header:hover {
  box-shadow: 0 20px 80px rgba(0, 106, 255, 0.42);
}

.button--header {
  min-height: 48px;
  padding-inline: 23px;
  font-size: 14px;
  white-space: nowrap;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(6, 12, 25, 0.58);
}

.button--ghost:hover {
  border-color: var(--line-blue);
  background: rgba(9, 24, 51, 0.8);
}

.menu-button {
  position: relative;
  width: 46px;
  height: 46px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
}

.menu-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--white);
  transform-origin: center;
  transform: translate(-50%, -50%);
  transition: margin-top 0.24s ease, transform 0.24s ease, opacity 0.18s ease, background-color 0.24s ease;
}

.menu-button span:first-child {
  margin-top: -8px;
}

.menu-button span:last-child {
  margin-top: 8px;
}

.menu-button[aria-expanded="true"] span:first-child {
  margin-top: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  margin-top: 0;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0);
}

.hero {
  position: relative;
  min-height: max(700px, 100svh);
  height: auto;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 18% 38%, var(--section-glow), transparent 43%),
    #000310;
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: max(700px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(460px, 1.02fr);
  gap: clamp(28px, 3vw, 64px);
  align-items: center;
  padding-top: var(--header-height);
}

.hero__grid-lines {
  display: none;
}

.hero__glow {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 5;
  min-width: 0;
  padding-block: 54px 54px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0 0 26px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.eyebrow span {
  width: 60px;
  height: 1px;
  background: var(--cyan);

}

h1,
h2 {
  margin: 0;
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  max-width: 780px;
  font-size: clamp(54px, 4.7vw, 78px);
  text-transform: uppercase;
  line-height: 1.1;
}

h1 em,
h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #0057ed 52%, #24b9ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

main h1 em,
main h2 em {
  background-image:
    linear-gradient(110deg, transparent 43%, rgba(225, 247, 255, 0.95) 50%, transparent 57%),
    linear-gradient(90deg, #0057ed 52%, #24b9ff 100%);
  background-size: 200% 100%, 100% 100%;
  background-position: 200% 0, 0 0;
  background-repeat: no-repeat;
  animation: heading-shine 5s linear infinite;
}

@keyframes heading-shine {

  0%,
  20% {
    background-position: 200% 0, 0 0;
  }

  80%,
  100% {
    background-position: -100% 0, 0 0;
  }
}

.hero__lead {
  max-width: 680px;
  margin: 26px 0 30px;
  color: #aeb9cb;
  font-size: clamp(15px, 1.2vw, 18px);
}

.hero__offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin-top: 30px;
}

.hero-offer {
  --hero-offer-image-size: clamp(66px, 5vw, 96px);
  min-width: 0;
  min-height: 126px;
  display: grid;
  grid-template-columns: var(--hero-offer-image-size) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 0.85vw, 16px);
  padding: 12px 18px 12px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: inherit;
  background: rgba(3, 8, 19, 0.72);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-offer:hover,
.hero-offer:focus-visible {
  border-color: var(--blue);
  background: rgba(5, 18, 40, 0.82);
  box-shadow: inset 0 0 34px rgba(0, 111, 255, 0.08), 0 14px 44px rgba(0, 60, 156, 0.15);
  transform: translateY(-2px);
}

.hero-offer img {
  width: var(--hero-offer-image-size);
  height: var(--hero-offer-image-size);
  object-fit: contain;
}

.hero-offer>span,
.hero-offer strong,
.hero-offer small {
  display: block;
}

.hero-offer strong {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  font-family: 'Oswald';
  white-space: nowrap;
}

.hero-offer strong em {
  color: var(--cyan);
  font-style: normal;
}

.hero-offer small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}

.hero-offer b {
  color: var(--cyan);
  font-size: 21px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.hero-offer:hover b,
.hero-offer:focus-visible b {
  transform: translateX(4px);
}

.hero__visual {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  max-width: 760px;
  justify-self: end;
  overflow: hidden;
}

.hero__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  mask-image:
    linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}

.hud-label {
  position: absolute;
  z-index: 3;
  color: var(--cyan);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.hud-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  height: 1px;
  background: var(--line-blue);
}

.hud-label--one {
  left: 2%;
  top: 55%;
}

.hud-label--one::after {
  left: calc(100% + 14px);
}

.hud-label--two {
  right: 2%;
  top: 55%;
  text-align: right;
}

.hud-label--two::after {
  right: calc(100% + 14px);
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.16em;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 24px;
  background: linear-gradient(var(--blue), transparent);
}

.section {
  position: relative;
  padding: max(80px, 7.8125vw) 0;
}

.works {
  background:
    radial-gradient(circle at 18% 26%, var(--section-glow), transparent 32%),
    linear-gradient(180deg, #030711, #040915);
}

.works-inquiry {
  --contact-content-gap: 24px;
  margin-top: 36px;
  text-align: center;
}

.works-inquiry__title {
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
}

.works-inquiry__text {
  max-width: 650px;
  margin: 10px auto 0;
  color: var(--muted);
}

.works-inquiry__actions {
  flex-wrap: wrap;
}

.works-inquiry__actions .button--ghost {
  background: rgba(36, 56, 84, 0.65);
}

.works-inquiry__actions .button--ghost:hover {
  background: rgba(49, 76, 112, 0.75);
}

.works-inquiry__actions .button[href^="mailto:"] {
  text-decoration: none;
}

.contact__messenger-icon.works-inquiry__email-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.works-inquiry__note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
}

.section-heading h2 {
  font-size: clamp(46px, 4vw, 68px);
  text-transform: uppercase;
}

.section-heading__aside {
  padding-bottom: 8px;
}

.section-heading__aside p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
}

.slider-nav {
  display: flex;
  gap: 10px;
}

.slider-nav button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--white);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.slider-nav button:hover:not(:disabled) {
  border-color: var(--blue);
  background: var(--blue-2);
}

.slider-nav button:is([data-slider-prev], [data-reviews-prev]):not(:disabled):hover>span,
.slider-nav button:is([data-slider-prev], [data-reviews-prev]):not(:disabled):focus-visible>span {
  transform: translateX(-4px);
}

.slider-nav button:is([data-slider-next], [data-reviews-next]):not(:disabled):hover>span,
.slider-nav button:is([data-slider-next], [data-reviews-next]):not(:disabled):focus-visible>span {
  transform: translateX(4px);
}

.slider-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.slider-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(2px, 0.5vw, 4px);
  margin: 24px auto 0;
  padding-inline: 16px;
}

.slider-pagination:empty,
.slider-pagination.swiper-pagination-lock {
  display: none;
}

.slider-pagination__dot {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-pagination__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.45;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.slider-pagination__dot:hover::before,
.slider-pagination__dot:focus-visible::before {
  opacity: 1;
}

.slider-pagination__dot.is-active::before {
  background: var(--blue);
  opacity: 1;
  transform: scale(1.2);
}

.slider-pagination__dot:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.works-viewport {
  --works-edge: clamp(48px, 6.25vw, 160px);
  overflow: hidden;
}

.works-slider {
  width: calc(100% - 2 * var(--works-edge));
  min-width: 0;
  overflow: visible;
}

.works-track {
  align-items: stretch;
  counter-reset: work;
}

.work-card {
  min-width: 0;
  height: auto;
  counter-increment: work;
  counter-set: work var(--work-number);
}

.work-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  isolation: isolate;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-position: top;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.4s ease;
}

.work-card__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 22%, rgba(40, 181, 255, 0.32), transparent 45%),
    linear-gradient(145deg, rgba(0, 10, 35, 0.4), rgba(0, 59, 153, 0.84));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.work-card__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg,
      transparent 18%,
      rgba(255, 255, 255, 0.12) 34%,
      rgba(255, 255, 255, 0.62) 46%,
      rgba(255, 255, 255, 0.12) 58%,
      transparent 74%);
  transform: translateX(-115%);
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.work-card__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 8px 9px 8px 22px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: rgba(0, 91, 220, 1);
  box-shadow: inset 0 1px 0 rgba(139, 220, 255, 0.3), 0 16px 34px rgba(0, 24, 80, 0.35);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  transform: translateY(14px) scale(0.94);
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.work-card__action b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue-2));
  box-shadow: 0 6px 18px rgba(0, 94, 234, 0.3);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.work-card__image:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.work-card__image:focus-visible .work-card__overlay,
.review-card:focus-visible .work-card__overlay {
  opacity: 1;
}

.work-card__image:focus-visible .work-card__action,
.review-card:focus-visible .work-card__action {
  transform: none;
}

/* NOTE begin hover devices */
@media (hover: hover) and (pointer: fine) {

  .work-card__image:hover,
  .review-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 26px rgba(0, 123, 255, 0.16);
  }

  .work-card__image:hover img,
  .work-card__image:focus-visible img,
  .review-card:hover img,
  .review-card:focus-visible img {
    transform: scale(1.055);
    filter: saturate(0.85) contrast(1.04);
  }

  .work-card__image:hover .work-card__overlay,
  .review-card:hover .work-card__overlay {
    opacity: 1;
  }

  .work-card__image:hover .work-card__overlay::before,
  .work-card__image:focus-visible .work-card__overlay::before,
  .review-card:hover .work-card__overlay::before,
  .review-card:focus-visible .work-card__overlay::before {
    transform: translateX(115%);
  }

  .work-card__image:hover .work-card__action,
  .review-card:hover .work-card__action {
    transform: none;
  }


}

/* NOTE end hover devices */

.work-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 20px;
  padding: 22px 4px 0;
  cursor: default;
}

.work-card__meta>div {
  display: contents;
}

.work-card__meta small {
  grid-column: 1;
  grid-row: 1;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-card__meta h3 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: var(--white);
  font-size: 19px;
  font-weight: 500;
}

.work-card__meta::after {
  grid-column: 2;
  grid-row: 1;
  content: counter(work, decimal-leading-zero);
  color: rgba(31, 126, 255, 0.25);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.plans {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 30%, var(--section-glow), transparent 34%),
    linear-gradient(90deg, transparent 49.9%, rgba(14, 84, 174, 0.08) 50%, transparent 50.1%),
    var(--bg-2);
}

.plans__head,
.package__head,
.advantages__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  align-items: end;
  gap: 60px;
  margin-bottom: 60px;
}

.plans__head h2,
.package__head h2,
.advantages__head h2,
.prototype__copy h2,
.faq__head h2,
.contact h2 {
  font-size: clamp(46px, 4vw, 68px);
}

.plans__head>p,
.package__head>p,
.advantages__head>p,
.prototype__copy>p:not(.section-kicker),
.faq__head>p:not(.section-kicker),
.contact__inner>p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.plans__note {
  max-width: 960px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.plan-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(10, 23, 47, 0.9), rgba(4, 10, 22, 0.96));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.plan-card:hover {
  border-color: var(--line-blue);
  transform: translateY(-5px);
}

.plan-card--featured {
  border-color: var(--blue);
  box-shadow: inset 0 0 80px rgba(0, 102, 255, 0.08), var(--shadow-blue);
}

.plan-card__badge {
  position: absolute;
  right: 12px;
  top: -13px;
  padding: 5px 9px;
  border-radius: 3px;
  color: var(--white);
  background: var(--blue-2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.plan-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
}

.plan-card__icon {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  object-fit: contain;
}

.plan-card__top small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  top: 1px;
}

.plan-card h3 {
  margin: 24px 0 15px;
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(28px, 2.1vw, 36px);
  font-weight: 400;
  line-height: 1;
}

.plan-card p {
  min-height: 44px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.plan-card__bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.plan-card__details {
  display: grid;
  gap: 7px;
}

.plan-card__price {
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
}

.plan-card__price-from {
  font-size: 1em;
  font-weight: 400;
}

.plan-card__term {
  color: var(--muted);
  font-size: 13px;
}

.plan-card__order {
  min-height: 48px;
  flex-shrink: 0;
  gap: 14px;
  padding-inline: 20px;
}

.package,
.advantages {
  border-top: 1px solid var(--line);
}

.package {
  background:
    radial-gradient(circle at 20% 32%, var(--section-glow), transparent 33%),
    var(--bg);
}

.package-shell {
  --package-padding: clamp(24px, 3.5vw, 56px);
  padding: var(--package-padding);
  border: 1px solid var(--line-blue);
  border-radius: 8px;
  background: linear-gradient(130deg, rgba(7, 29, 63, 0.85), rgba(5, 12, 27, 0.95));
}

.package-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
}

.package-list article {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.package-icon {
  display: block;
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.package-list h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.package-list p,
.advantage-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.package-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: var(--package-padding);
}

.advantages {
  background:
    radial-gradient(circle at 24% 28%, var(--section-glow), transparent 35%),
    var(--bg-2);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.advantage-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(10, 23, 47, 0.9), rgba(4, 10, 22, 0.96));
}

.advantage-card--accent {
  border-color: var(--line-blue);
  background: linear-gradient(145deg, #092956, #061329);
}

.advantage-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.advantage-card__icon {
  display: block;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  object-fit: contain;
}

.advantage-card h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}

.prototype {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 40%, var(--section-glow), transparent 31%),
    #030711;
  padding: max(80px, 4.8125vw) 0;
}

.prototype__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 20px;
}

.prototype__copy>p:not(.section-kicker) {
  max-width: 630px;
  margin: 28px 0 34px;
}

.prototype__copy .section-kicker {
  margin-bottom: 26px;
}

.prototype__facts {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.prototype__facts span {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #cbd5e6;
  font-size: 15px;
}

.prototype__facts b {
  width: 32px;
  color: var(--blue);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
}

.prototype-visual {
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-self: end;
}

.prototype-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  mask-image:
    linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}

.reviews {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 28%, var(--section-glow), transparent 32%),
    var(--bg-2);
}

.reviews__head {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
}

.reviews__nav[hidden] {
  display: none;
}

.reviews-slider {
  --reviews-columns: 4;
  --reviews-gap: clamp(20px, calc((100vw - 64px - 1400px) / 3), 60px);
  width: 100%;
  max-width: 1580px;
  min-width: 0;
  column-gap: var(--reviews-gap);
}

.reviews-track {
  align-items: stretch;
}

.reviews-slider:not(.swiper-initialized) .reviews-track {
  display: grid;
  grid-template-columns: repeat(var(--reviews-columns), minmax(0, 1fr));
  gap: var(--reviews-gap);
}

.review-card {
  position: relative;
  isolation: isolate;
  display: block;
  min-width: 0;
  height: auto;
  aspect-ratio: 350 / 488;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s ease;
}

.review-card:hover,
.review-card:focus-visible {
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.review-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -3px;
}

.review-card img {
  width: 100%;
  height: auto;
  pointer-events: none;
  transform-origin: top center;
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.4s ease;
}

@media (max-width: 1099px) {
  .reviews-slider {
    --reviews-columns: 2;
    --reviews-gap: clamp(20px, calc(100vw - 64px - 700px), 60px);
    max-width: 760px;
  }
}

@media (max-width: 780px) {
  .reviews-slider {
    --reviews-gap: clamp(20px, calc(100vw - 32px - 700px), 60px);
  }
}

@media (max-width: 599px) {
  .reviews-slider {
    --reviews-columns: 1;
    --reviews-gap: 20px;
    max-width: 350px;
  }
}

.faq {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 30%, var(--section-glow), transparent 30%),
    #030711;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1.3fr);
  gap: clamp(60px, 8vw, 140px);
}

.faq__head {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq__head>p:not(.section-kicker) {
  max-width: 410px;
  margin: 28px 0 30px;
}

.faq__contacts {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.faq__email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}

.faq__email-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--line-blue);
  border-radius: 50%;
  color: var(--cyan);
}

.faq__email-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 0;
  border: 0;
  color: var(--white);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.faq-item button i {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease, visibility 0.3s;
}

.faq-item__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-item__answer p {
  margin: 0;
  padding: 0 60px 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
  visibility: visible;
}

.contact {
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 102, 255, 0.25), transparent 34%),
    #030711;
}

.contact__grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(21, 101, 207, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 101, 207, 0.12) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(circle, black, transparent 70%);
}

.contact__inner {
  --contact-content-gap: 30px;
  position: relative;
  z-index: 2;
  max-width: 1160px;
}

.contact .section-kicker {
  justify-content: center;
}

.contact__inner>p:not(.section-kicker) {
  max-width: 650px;
  margin: var(--contact-content-gap) auto 0;
}

.contact__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: var(--contact-content-gap);
}

.contact__messenger-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  fill: #fff;
}

.contact__direct {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: var(--contact-content-gap);
}

.contact__direct a {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
}

.contact__direct small {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.18em;
}

.contact-person {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  max-width: 720px;
  margin: var(--contact-content-gap) auto 0;
  padding: 28px 36px 28px 28px;
  border: 1px solid var(--line-blue);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 12% 65%, rgba(0, 111, 255, 0.18), transparent 62%),
    linear-gradient(120deg, rgba(10, 27, 54, 0.94), rgba(4, 12, 27, 0.94));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.contact-person__photo img {
  width: 100%;
  height: auto;
  pointer-events: none;
}

.contact-person__name {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
}

.contact-person__details {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-person__role {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.contact-person__experience {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 26px;
  border-left: 1px solid var(--line-blue);
}

.contact-person__experience strong {
  color: var(--cyan);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
}

.contact-person__experience span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.contact__inner>p.contact__requisites {
  margin-top: 40px;
  font-size: 14px;
}

@media (max-width: 600px) {
  .contact-person {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
    max-width: 440px;
    padding: 26px 20px;
    text-align: center;
  }

  .contact-person__photo {
    width: 184px;
  }

  .contact-person__name {
    font-size: 32px;
  }

  .contact-person__details {
    justify-content: center;
    gap: 22px;
  }

  .contact-person__experience {
    padding-left: 22px;
    text-align: left;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 45%, var(--section-glow), transparent 34%),
    #02050c;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.65fr);
  gap: 60px;
  padding-block: 64px 48px;
}

.site-footer__brand p {
  max-width: 350px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer__nav,
.site-footer__contacts {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
  font-size: 14px;
}

.site-footer__nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.site-footer__nav>span {
  grid-column: 1 / -1;
}

.site-footer__nav>span,
.site-footer__contacts>span {
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 600;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible,
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--cyan);
}

.site-footer__phone {
  display: grid;
  gap: 5px;
}

.site-footer__phone>a {
  color: var(--white);
  font-size: 20px;
}

.site-footer__phone small {
  color: var(--muted);
  font-size: 12px;
}

.site-footer__contacts .socials {
  margin-top: 4px;
}

.site-footer__bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.site-footer__bottom>span {
  flex-shrink: 0;
}

body.modal-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}

.project-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}

.project-modal.is-preparing {
  visibility: visible;
  transition: none;
}

.project-modal__backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 10, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  cursor: default;
  will-change: opacity;
  transform: translateZ(0);
  transition: opacity 0.32s ease;
}

.project-modal.is-open .project-modal__backdrop {
  opacity: 1;
}

.project-modal__card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin-block: auto;
  padding: 42px;
  border: 1px solid var(--line-blue);
  border-radius: 10px;
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 104, 255, 0.13), transparent 32%),
    #050a15;
  box-shadow: 0 35px 120px rgba(0, 66, 180, 0.24);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}

.project-modal.is-open .project-modal__card {
  transform: none;
}

.project-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 12, 26, 0.86);
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.project-modal__close:hover,
.project-modal__close:focus-visible {
  border-color: var(--blue);
  background: rgba(0, 91, 220, 0.46);
  box-shadow: 0 0 0 4px rgba(0, 117, 255, 0.1), 0 0 24px rgba(0, 117, 255, 0.28);
  transform: rotate(90deg) scale(1.06);
}

.project-modal__close span {
  position: absolute;
  left: 11px;
  top: 19px;
  width: 18px;
  height: 1px;
  background: var(--white);
  transform: rotate(45deg);
  transition: background 0.22s ease;
}

.project-modal__close span:last-child {
  transform: rotate(-45deg);
}

.project-modal__close:hover span,
.project-modal__close:focus-visible span {
  background: var(--cyan);
}



.project-modal h2 {
  padding-right: 44px;
  font-size: clamp(38px, 6vw, 48px);
}

.project-modal__lead {
  max-width: 540px;
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 16px;
}

.project-form {
  display: grid;
  gap: 16px;
}

.project-form[hidden] {
  display: none;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.project-form__contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field>span,
.contact-method legend {
  color: #b8c5d9;
  font-size: 14px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  background: rgba(1, 6, 16, 0.78);
  color: var(--white);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input {
  min-height: 52px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 104px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #66748b;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 117, 255, 0.12);
}

.form-field input.is-error,
.form-field textarea.is-error,
.contact-method.is-error,
.form-consent.is-error {
  border-color: #ff617e;
}

.contact-method {
  min-width: 0;
  margin: 0;
  padding: 13px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-method__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.contact-method__options label {
  position: relative;
  cursor: pointer;
}

.contact-method__options input {
  position: absolute;
  opacity: 0;
}

.contact-method__options span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c6d1e2;
  background: rgba(5, 14, 31, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.contact-method__options input:checked+span {
  border-color: var(--blue);
  color: var(--white);
  background: rgba(0, 91, 220, 0.25);
}

.contact-method__options input:focus-visible+span {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.callback-settings {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.callback-settings[hidden],
.callback-settings__timezone[hidden] {
  display: none;
}

.callback-settings__schedule {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.callback-settings__switch {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c6d1e2;
  font-size: 14px;
  cursor: pointer;
}

.callback-settings__switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.callback-settings__control {
  position: relative;
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 14, 31, 0.9);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.callback-settings__control::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #aebbd0;
  box-shadow: 0 2px 8px rgba(0, 0, 10, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}

.callback-settings__switch input:checked+.callback-settings__control {
  border-color: var(--blue);
  background: rgba(0, 91, 220, 0.5);
  box-shadow: 0 0 18px rgba(0, 117, 255, 0.2);
}

.callback-settings__switch input:checked+.callback-settings__control::after {
  background: var(--white);
  transform: translateX(20px);
}

.callback-settings__switch input:focus-visible+.callback-settings__control {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.callback-settings__timezone {
  display: grid;
  gap: 7px;
  color: #b8c5d9;
  font-size: 14px;
  font-weight: 600;
}

.callback-settings__timezone select {
  width: 100%;
  min-height: 52px;
  padding: 0 42px 0 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  color: var(--white);
  background: #050b18;
  font-size: 16px;
  cursor: pointer;
}

.callback-settings__timezone select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 117, 255, 0.12);
}

.callback-settings__timezone.is-error select {
  border-color: #ff617e;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--blue);
}

.form-consent a {
  color: var(--cyan);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-consent a:hover {
  text-decoration: underline;
}

.project-form__submit {
  width: 100%;
  font-size: 18px;
}

.project-form__submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: rgba(255, 97, 126, 0.5);
  color: #ff9cb0;
  background: rgba(120, 22, 47, 0.16);
}

.form-status.is-loading {
  border-color: var(--line-blue);
  color: var(--cyan);
  background: rgba(0, 84, 204, 0.12);
}

.project-success {
  padding: 26px 0 6px;
  text-align: center;
}

.project-success__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--cyan);
  background: radial-gradient(circle, rgba(0, 139, 255, 0.2), rgba(0, 67, 169, 0.04));
  font-size: 30px;
}

.project-success h3 {
  margin: 0;
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 36px;
  font-weight: 500;
}

.project-success p {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 16px;
}

.legal-document {
  min-height: 100%;
  color: #c6d1e2;
  background: #00000a;
}

.legal-document .container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.legal-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 10, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.legal-header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.legal-back {
  color: var(--cyan);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: var(--white);
  transform: translateX(-4px);
}

.legal-main {
  padding: max(40px, 5vw) 0;
}

.legal-card {
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 105, 255, 0.11), transparent 30%),
    rgba(5, 10, 21, 0.92);
  box-shadow: 0 32px 100px rgba(0, 60, 150, 0.12);
}

.legal-card h1 {
  max-width: none;
  font-size: clamp(38px, 5vw, 58px);
  text-transform: none;
}

.legal-card h2 {
  margin: 42px 0 16px;
  color: var(--white);
  font-size: clamp(26px, 3vw, 34px);
}

.legal-card p,
.legal-card li {
  color: #b8c5d9;
  font-size: 16px;
  line-height: 1.75;
}

.legal-card p {
  margin: 14px 0;
}

.legal-card ul {
  margin: 14px 0;
  padding-left: 24px;
}

.legal-card a,
.legal-footer a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-contacts {
  display: grid;
  gap: 8px;
  margin-top: 42px;
  padding: 24px;
  border: 1px solid var(--line-blue);
  border-radius: 8px;
  background: rgba(0, 88, 214, 0.08);
  font-size: 16px;
}

.legal-contacts strong {
  color: var(--white);
  font-size: 18px;
}

.legal-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #00000a;
  font-size: 14px;
}

.legal-footer .container {
  min-height: 88px;
  display: flex;
  align-items: center;
}

a[href^="tel:"] {
  cursor: default;
}

a[href^="mailto:"] {
  color: var(--white);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.header-contacts a[href^="mailto:"] {
  color: var(--white);
}

a[href^="mailto:"]:hover,
a[href^="mailto:"]:focus-visible {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer__contacts {
  width: max-content;
  margin-left: auto;
}

/* NOTE begin 1400px */
@media (max-width: 1400px) {
  .hero-offer {
    position: relative;
    grid-template-columns: var(--hero-offer-image-size) minmax(0, 1fr);
  }

  .hero-offer b {
    position: absolute;
    right: 14px;
    bottom: 10px;
  }
}

/* NOTE end 1400px */

/* NOTE begin 1125px */
@media (max-width: 1125px) {
  .hero__offers {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-offer {
    grid-template-columns: var(--hero-offer-image-size) minmax(0, 1fr) auto;
  }

  .hero-offer b {
    position: static;
    align-self: center;
  }
}

/* NOTE end 1125px */

/* NOTE begin 1480px */
@media (max-width: 1480px) {


  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  }

  .hero__visual {
    max-width: 680px;
  }

  .hero__content {
    max-width: 720px;
  }
}

/* NOTE end 1480px */

/* NOTE begin 1240px */
@media (max-width: 1240px) {
  :root {
    --header-height: 86px;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    height: calc(100svh - var(--header-height));
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 44px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(3, 7, 17, 0.98);
    transform: translateX(100%);
    transition: transform 0.32s ease;
  }

  .main-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .main-nav__project {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 0 22px;
    border: 1px solid var(--blue);
    border-radius: 6px;
    color: var(--white);
    background: var(--blue-2);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .menu-button {
    display: block;
  }

  .site-header__inner {
    justify-content: space-between;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 28px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__visual {
    width: 100%;
    max-width: 560px;
    opacity: 1;
  }

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

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

  .plan-card p {
    min-height: auto;
  }

  .package-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .advantage-card {
    padding: 24px;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

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

  .prototype-visual {
    max-width: 820px;
    margin-inline: auto;
  }

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

  .faq__head {
    position: static;
  }
}

/* NOTE end 1240px */

/* NOTE begin 800px */
@media screen and (max-width: 800px) {
  .header-contacts {
    display: none;
  }

  .header-quick-contacts {
    display: flex;
  }

  .site-header__actions {
    gap: 6px;
  }

  .site-header__actions .socials__link {
    width: 34px;
    height: 34px;
  }

  .button--header {
    display: none;
  }

  .project-modal__title-accent {
    display: block;
  }

  .prototype {
    padding-bottom: 30px;
  }
}

/* NOTE end 800px */

/* NOTE begin 780px */
@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 32px);
    --header-height: 74px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__copy strong {
    font-size: 15px;
  }

  .brand__copy small {
    display: none;
  }

  .button--header {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 760px;
  }

  .hero__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__content {
    padding: 62px 0 24px;
  }

  .hero__visual {
    width: min(100%, 620px);
    max-width: none;
    margin: 0 auto 42px;
    opacity: 1;
  }



  .hero__grid-lines {
    opacity: 0.12;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .eyebrow span {
    width: 34px;
  }

  h1 {
    font-size: clamp(46px, 12vw, 60px);
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 14px;
  }

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

  .hero-offer {
    min-height: 112px;
    grid-template-columns: var(--hero-offer-image-size) minmax(0, 1fr) auto;
    padding-left: 8px;
  }

  .hero-offer img {
    width: var(--hero-offer-image-size);
    height: var(--hero-offer-image-size);
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }

  .section-heading h2 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .section-heading__aside {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
  }

  .section-heading__aside p {
    max-width: 200px;
    margin: 0;
  }

  .work-card__meta h3 {
    font-size: 16px;
  }

  .work-card__meta::after {
    font-size: 30px;
  }

  .plans__head,
  .package__head,
  .advantages__head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .plans__head h2,
  .package__head h2,
  .advantages__head h2,
  .prototype__copy h2,
  .faq__head h2,
  .contact h2 {
    font-size: clamp(42px, 11vw, 58px);
  }

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

  .plan-card {
    padding: 28px 22px;
  }

  .plan-card__badge {
    top: -12px;
    right: 8px;
    padding: 4px 8px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .plan-card__order {
    gap: 10px;
    padding-inline: 16px;
  }

  .package-list,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .package-list article {
    gap: 14px;
  }

  .package-list h3 {
    font-size: 22px;
  }

  .package-actions {
    flex-direction: column;
  }

  .package-actions .button {
    width: 100%;
  }

  .advantage-card__top {
    margin-bottom: 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 44px 36px;
  }

  .site-footer__contacts {
    margin-left: 0;
  }

  .site-footer .brand__copy small {
    display: block;
    font-size: 12px;
  }

  .site-footer__bottom,
  .site-footer__legal {
    flex-direction: column;
    gap: 14px;
  }

  .prototype__grid {
    gap: 55px;
  }

  .faq-item button {
    min-height: 78px;
    font-size: 14px;
  }

  .faq-item__answer p {
    padding-right: 0;
  }

  .contact__actions {
    flex-direction: column;
  }

  .contact__actions .button {
    width: 100%;
  }

  .contact__direct {
    flex-direction: column;
    gap: 25px;
  }

  .project-modal {
    align-items: start;
    padding: 12px;
  }

  .project-modal__card {
    padding: 32px 20px 24px;
  }

  .project-modal__close {
    top: 12px;
    right: 12px;
  }

  .project-modal h2 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .project-form__contacts {
    grid-template-columns: 1fr;
  }

  .legal-document .container {
    width: calc(100% - 32px);
  }

  .legal-header__inner {
    min-height: 74px;
  }

  .legal-back {
    font-size: 14px;
  }

  .legal-card {
    padding: 26px 20px;
  }

  .legal-card h1 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .legal-card h2 {
    margin-top: 34px;
  }
}

/* NOTE end 780px */

/* NOTE begin 700px */
@media screen and (width < 700px) {
  .works-viewport {
    --works-edge: clamp(40px, 10vw, 64px);
    margin-left: 16px;
  }

  .works-slider {
    width: calc(100% - var(--works-edge));
    margin-inline: 0;
  }
}

/* NOTE end 700px */

/* NOTE begin 520px */
@media screen and (max-width: 520px) {
  .site-header__actions .socials__link {
    width: 32px;
    height: 32px;
  }

  .header-quick-contacts,
  .socials {
    gap: 5px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }
}

/* NOTE end 520px */

/* NOTE begin reduced motion */
@media (prefers-reduced-motion: reduce) {

  main h1 em,
  main h2 em {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* NOTE end reduced motion */
