:root {
  --bg: #f7f7fb;
  --dark: #111827;
  --dark-2: #1f2937;
  --text: #334155;
  --muted: #64748b;
  --white: #ffffff;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --accent-3: #f97316;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 251, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--dark);
}

.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.28);
}

.logo__text {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: var(--dark-2);
}

.nav a {
  transition: color 0.2s ease;
}

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

.header__button {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -160px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -220px;
  bottom: -250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
}

.section-label {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-label::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--dark);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  color: var(--dark);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.hero__text {
  max-width: 660px;
  margin-bottom: 34px;
  font-size: 19px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.button {
  min-height: 52px;
  padding: 15px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.26);
}

.button--secondary {
  color: var(--dark);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 620px;
}

.hero__stats div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.hero__stats strong {
  display: block;
  color: var(--dark);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 7px;
}

.hero__stats span {
  font-size: 14px;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.visual-card {
  position: relative;
  z-index: 4;
  width: min(100%, 420px);
  height: 520px;
  border-radius: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.32), transparent 22%),
    linear-gradient(145deg, #111827, #312e81 48%, #0891b2);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.visual-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.8), rgba(124, 58, 237, 0.4));
  filter: blur(2px);
}

.play-icon {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.play-icon::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 29px;
  border-left: 28px solid var(--white);
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
}

.visual-card p {
  position: absolute;
  left: 38px;
  bottom: 34px;
  z-index: 2;
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.24);
}

.orbit--one {
  width: 480px;
  height: 480px;
}

.orbit--two {
  width: 620px;
  height: 620px;
  border-color: rgba(6, 182, 212, 0.16);
}

.floating-shape {
  position: absolute;
  z-index: 5;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.shape-one {
  width: 92px;
  height: 92px;
  top: 70px;
  left: 38px;
  background: linear-gradient(135deg, var(--accent-3), #facc15);
  transform: rotate(16deg);
}

.shape-two {
  width: 120px;
  height: 72px;
  right: 30px;
  top: 130px;
  background: linear-gradient(135deg, var(--accent-2), #22c55e);
  transform: rotate(-10deg);
}

.shape-three {
  width: 80px;
  height: 80px;
  right: 70px;
  bottom: 82px;
  background: linear-gradient(135deg, var(--accent), #ec4899);
  border-radius: 50%;
}

.section {
  padding: 94px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head p:last-child {
  margin-bottom: 0;
  font-size: 18px;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.section-head--light h2 {
  color: var(--white);
}

.section-head--light p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.work-card__preview {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.preview-one {
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.28), transparent 18%),
    linear-gradient(135deg, #7c3aed, #06b6d4);
}

.preview-two {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.28), transparent 16%),
    linear-gradient(135deg, #f97316, #7c3aed);
}

.preview-three {
  background:
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(135deg, #0f172a, #0891b2 55%, #22c55e);
}

.work-card__body {
  padding: 26px;
}

.work-card h3 {
  color: var(--white);
}

.work-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

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

.process__item {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.process__item span {
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--dark);
  font-weight: 900;
}

.process__item p {
  margin-bottom: 0;
  color: var(--muted);
}

.price-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.12), transparent 36%),
    radial-gradient(circle at 90% 30%, rgba(6, 182, 212, 0.12), transparent 36%);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.price-card--accent {
  transform: translateY(-16px);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.price-card--accent h3,
.price-card--accent .price-card__value {
  color: var(--white);
}

.price-card__value {
  margin-bottom: 22px;
  color: var(--dark);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.price-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(100, 116, 139, 0.16);
}

.cta {
  padding: 92px 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.cta__inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  align-items: start;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  font-size: 18px;
}

.form {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
}

.form label {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  outline: none;
  font-size: 16px;
  color: var(--dark);
  background: #f8fafc;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form textarea {
  resize: vertical;
}

.form .button {
  width: 100%;
}

.footer {
  padding: 34px 0;
  background: #0b1120;
  color: rgba(255, 255, 255, 0.68);
}

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

.footer .logo {
  color: var(--white);
}

.footer__contacts {
  display: flex;
  gap: 18px;
}

.footer__contacts a:hover {
  color: var(--white);
}

.footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .hero__inner,
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 460px;
  }

  .cards-grid,
  .works-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .price-card--accent {
    transform: none;
  }
}

@media (max-width: 720px) {
  .header__inner {
    min-height: 68px;
  }

  .header__button {
    display: none;
  }

  .hero {
    padding: 58px 0 64px;
  }

  .hero__stats,
  .cards-grid,
  .works-grid,
  .price-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 360px;
  }

  .visual-card {
    height: 360px;
    border-radius: 32px;
  }

  .orbit--one {
    width: 340px;
    height: 340px;
  }

  .orbit--two {
    width: 430px;
    height: 430px;
  }

  .shape-one,
  .shape-two,
  .shape-three {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .card,
  .price-card,
  .form,
  .process__item {
    padding: 24px;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__contacts {
    flex-direction: column;
    gap: 8px;
  }
}


.work-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.works-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1180px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}


.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-panel__list {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel__item {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel__item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.contact-panel__item span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-panel__item a,
.contact-panel__item p {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.footer__brand {
  max-width: 320px;
}

.footer__brand p {
  margin-top: 14px;
}

.footer__requisites {
  font-size: 14px;
  line-height: 1.5;
}

.footer__requisites p {
  margin: 0 0 4px;
}

.footer__requisites strong {
  color: var(--white);
}

.footer__contacts span {
  display: block;
}

@media (max-width: 920px) {
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.footer__contacts {
  display: flex;
  flex-direction: column;  /* располагаем элементы в столбец */
  gap: 8px;               /* отступ между элементами */
}

.footer__contacts a,
.footer__contacts span {
  display: block;         /* чтобы ссылки и span вели себя как блочные элементы */
}