:root {
  --bg-main: #0f141b;
  --bg-soft: #161f2a;
  --bg-card: #1d2b38;
  --line: #31465d;
  --text-main: #ebf1f8;
  --text-muted: #9eb3c8;
  --accent: #ff8b2c;
  --accent-2: #35d5ff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(1000px 500px at 90% -100px, #243a4f 0%, transparent 65%),
    radial-gradient(700px 380px at -8% 40%, #1f2f41 0%, transparent 70%),
    var(--bg-main);
  font-family: "Manrope", sans-serif;
}

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

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

.container {
  width: min(var(--container), calc(100% - 2.2rem));
  margin-inline: auto;
}

.section {
  padding: 66px 0;
}

.section__head {
  margin-bottom: 36px;
}

.section__eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
}

.section__title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  line-height: 1.12;
}

.section__subtitle {
  margin: 14px 0 0;
  color: var(--text-muted);
  max-width: 680px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in oklab, var(--line) 68%, transparent);
  background: color-mix(in oklab, #0d1218 92%, transparent);
  backdrop-filter: blur(10px);
}

.header__container {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
}

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

.logo__mark {
  position: relative;
  isolation: isolate;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 24% 22%, rgba(53, 213, 255, 0.45), transparent 52%),
    linear-gradient(145deg, #15202b, #0f1821);
  color: #dff6ff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border: 1px solid #3f5f7a;
  box-shadow: inset 0 0 0 1px rgba(255, 139, 44, 0.25);
}

.logo__mark::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff9e45, #35d5ff, transparent);
  transform: rotate(-34deg);
  box-shadow: 0 0 10px rgba(53, 213, 255, 0.55);
}

.logo__text {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__link {
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav__link:hover {
  color: var(--text-main);
}

.header__phone {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.header__burger {
  display: none;
  margin-left: auto;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.header__burger-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-main);
}

.header__burger-line + .header__burger-line {
  margin-top: 6px;
}

.hero {
  position: relative;
  padding: 76px 0 88px;
  overflow: clip;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 36px;
  align-items: center;
}

.hero__bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.35;
  pointer-events: none;
  animation: heroShapeDrift 11s ease-in-out infinite alternate;
}

.hero__bg-shape--left {
  width: 360px;
  height: 360px;
  left: -110px;
  top: 20px;
  background: #ff8b2c;
}

.hero__bg-shape--right {
  width: 420px;
  height: 420px;
  right: -130px;
  bottom: -140px;
  background: #2fb6ff;
  animation-delay: -4.5s;
}

.hero__label {
  margin: 0 0 16px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-weight: 700;
}

.hero__title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  max-width: 720px;
}

.hero__text {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  padding: 13px 18px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

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

.button--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #ffb155);
  color: #111;
  box-shadow: 0 8px 24px rgba(255, 139, 44, 0.22);
}

.button--primary::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -25%;
  width: 32%;
  height: 340%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(24deg);
  animation: buttonShine 3.8s ease-in-out infinite;
}

.button--ghost {
  border-color: var(--line);
}

.hero__facts {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__fact {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero__media {
  position: relative;
}

.hero__image {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  animation: heroImageFloat 6.2s ease-in-out infinite;
}

.plasma-info {
  padding-top: 8px;
}

.plasma-info__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 139, 44, 0.09), transparent 38%),
    linear-gradient(320deg, rgba(53, 213, 255, 0.1), transparent 45%),
    #16212b;
}

.plasma-info__eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.plasma-info__title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.16;
  max-width: 900px;
}

.plasma-info__text {
  margin: 14px 0 0;
  color: var(--text-muted);
  max-width: 920px;
  line-height: 1.72;
}

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

.service-card {
  background: linear-gradient(180deg, #1c2734, #17212b);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.service-card__title {
  margin: 0;
  font-size: 1.15rem;
}

.service-card__text {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.services__detail {
  margin-top: 20px;
}

.services__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

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

.benefit-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg-soft) 84%, transparent);
}

.benefit-card__num {
  font-family: "Oswald", sans-serif;
  color: var(--accent);
  font-size: 1.6rem;
}

.benefit-card__title {
  margin: 10px 0 0;
  font-size: 1.1rem;
}

.benefit-card__text {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.works__block {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: linear-gradient(155deg, #1b2733, #111a23);
}

.works__block + .works__block {
  margin-top: 2px;
}

.works__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.works__subtitle {
  margin: 0;
  font-size: 1.24rem;
}

.works__controls {
  display: flex;
  gap: 8px;
}

.works__arrow {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #4a6480;
  background: #17222d;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.works__arrow:hover {
  background: #213040;
}

.works__arrow:active {
  transform: translateY(1px);
}

.works__arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.works__viewport {
  overflow: hidden;
}

.works__track {
  display: flex;
  gap: 14px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.work-photo {
  width: calc((100% - 14px) / 2);
  min-width: calc((100% - 14px) / 2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: linear-gradient(160deg, #1a2531, #141d27);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.work-photo:hover {
  border-color: #4a6684;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.work-photo__link {
  display: block;
  border: 1px solid #40556b;
  border-radius: 12px;
  overflow: hidden;
}

.work-photo__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.35s ease;
}

.work-photo__link:hover .work-photo__image {
  transform: scale(1.03);
}

.work-photo__title {
  margin: 10px 2px 2px;
  font-size: 0.98rem;
}

.works-video__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.works-video {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: linear-gradient(160deg, #1a2531, #141d27);
}

.works-video__player {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid #3e556d;
  background: #0f171f;
  aspect-ratio: 16 / 9;
}

.works-video__title {
  margin: 10px 2px 2px;
  font-size: 0.98rem;
}

.contacts__box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  background: linear-gradient(140deg, #1a2530, #111923);
}

.contacts__text {
  margin-top: 12px;
  color: var(--text-muted);
  max-width: 540px;
}

.contacts__col--accent {
  border: 1px solid #3f5163;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #202f3f, #16212d);
  padding: 20px;
}

.contacts__phone {
  display: block;
  width: fit-content;
  font-size: 1.28rem;
  font-weight: 800;
}

.contacts__phone + .contacts__phone {
  margin-top: 8px;
}

.contacts__schedule-title {
  margin: 18px 0 8px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 700;
}

.contacts__schedule {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer__text {
  margin: 0;
  color: var(--text-muted);
}

.footer__up {
  color: var(--accent-2);
  font-weight: 700;
}

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

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

@keyframes heroShapeDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(14px, -10px, 0) scale(1.06);
  }
}

@keyframes heroImageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes buttonShine {
  0%,
  28% {
    transform: translateX(-180%) rotate(24deg);
  }
  42%,
  100% {
    transform: translateX(360%) rotate(24deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-shape,
  .hero__image,
  .button--primary::after {
    animation: none;
  }

  .work-photo,
  .work-photo__image,
  .button {
    transition: none;
  }
}

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

  .services__grid,
  .benefits__grid,
  .works-video__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header__burger {
    display: block;
  }

  .header__phone {
    display: none;
  }

  .nav {
    position: absolute;
    right: 1.1rem;
    top: 73px;
    width: min(320px, calc(100% - 2.2rem));
    background: #131c25;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }

  .nav--open {
    display: flex;
  }

  .services__grid,
  .benefits__grid,
  .works-video__grid {
    grid-template-columns: 1fr;
  }

  .work-photo {
    width: 100%;
    min-width: 100%;
  }

  .section {
    padding: 52px 0;
  }
}
