/* Media Advice — landing (по макету Media-Advice Landing.dc.html) */

:root {
  --bg: #140d2c;
  --bg-mid: #1a1140;
  --bg-footer: #100a24;
  --card: #1d1342;
  --text: #f5f2ff;
  --text-soft: rgba(240, 235, 255, 0.62);
  --text-dim: rgba(240, 235, 255, 0.62); /* реквизиты в подвале: ≥4.5:1 на #100a24 (WCAG AA) */
  --pink: #e727d3;
  --violet: #7b3bf5;
  --grad: linear-gradient(120deg, #e727d3, #7b3bf5);
  --grad-ico: linear-gradient(135deg, #e727d3, #6d34f2);
  --border: rgba(255, 255, 255, 0.1);
  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a { color: #c9b8ff; text-decoration: none; }
a:hover { color: #ffffff; }
::selection { background: #8b3df7; color: #fff; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; }
h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 4.6vw, 34px);
  line-height: 1.2;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: ui-monospace, Menlo, monospace; }

section { scroll-margin-top: 86px; }

/* ---------- Анимации ---------- */

@keyframes maDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(50px, -40px, 0) scale(1.18) rotate(8deg); }
  100% { transform: translate3d(-40px, 30px, 0) scale(0.94) rotate(-6deg); }
}
@keyframes maFloat {
  from { transform: translateY(-10px); }
  to   { transform: translateY(14px); }
}
@keyframes maMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes maPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.25); }
}

/* Появление при скролле (включается только при html.js) */
html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.js .reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  padding: 11px 22px;
  background: var(--grad);
  font-size: 15px;
  box-shadow: 0 6px 24px rgba(190, 45, 225, 0.35);
}
.btn--primary:hover { filter: brightness(1.12); transform: translateY(-1px); color: #fff; }

.btn--lg {
  padding: 16px 30px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 34px rgba(190, 45, 225, 0.42);
}
.btn--lg:hover { transform: translateY(-2px); }

.btn--ghost {
  padding: 15px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f0ebff;
  font-size: 16px;
  background: transparent;
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--card-primary {
  flex: 1;
  padding: 13px 10px;
  border-radius: 12px;
  background: var(--grad);
  font-weight: 800;
  font-size: 15px;
}
.btn--card-primary:hover { filter: brightness(1.12); color: #fff; }

.btn--card-ghost {
  flex: 1;
  padding: 13px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f0ebff;
  font-size: 15px;
  background: transparent;
}
.btn--card-ghost:hover { border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }

.btn--submit {
  width: 100%;
  padding: 16px;
  border-radius: 13px;
  background: var(--grad);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(190, 45, 225, 0.35);
}
.btn--submit:hover { filter: brightness(1.12); }
.btn--submit-m { padding: 15px; font-size: 15.5px; }

.btn--soft {
  padding: 13px 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 15px;
}
.btn--soft:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- Шапка ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(17, 10, 38, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header__in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 36px; width: auto; display: block; }
.logo--footer img { height: 30px; }

.header__nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 15px; font-weight: 500; color: rgba(245, 242, 255, 0.72); }
.nav__link:hover { color: #ffffff; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { font-size: 15px; font-weight: 700; color: #f5f2ff; white-space: nowrap; }
.nav__link--phone { display: none; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: filter 0.2s ease, background 0.2s ease;
}
.icon-btn--tg {
  background: var(--grad-ico);
  box-shadow: 0 4px 18px rgba(180, 40, 220, 0.35);
}
.icon-btn--tg:hover { filter: brightness(1.15); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #f0ebff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Хиро ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 180px 24px 150px;
}
.hero__bg {
  position: absolute;
  inset: -100px 0 auto;
  height: 900px;
  pointer-events: none;
}

.blob { position: absolute; border-radius: 50%; }
.blob--1 {
  top: 120px; right: 6%;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 40% 40%, rgba(139, 61, 247, 0.55), rgba(139, 61, 247, 0) 65%);
  filter: blur(60px);
  animation: maDrift 11s ease-in-out infinite alternate;
}
.blob--2 {
  top: 40px; right: 22%;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 50% 50%, rgba(231, 39, 211, 0.5), rgba(231, 39, 211, 0) 62%);
  filter: blur(55px);
  animation: maDrift 14s ease-in-out infinite alternate-reverse;
}
.blob--3 {
  top: 330px; right: 1%;
  width: 420px; height: 420px;
  background: radial-gradient(circle at 55% 45%, rgba(64, 64, 242, 0.5), rgba(64, 64, 242, 0) 60%);
  filter: blur(65px);
  animation: maDrift 17s ease-in-out infinite alternate;
}

.dot { position: absolute; border-radius: 50%; }
.dot--1 { top: 110px; right: 38%; width: 14px; height: 14px; background: #e727d3; filter: blur(2px); animation: maPulse 5s ease-in-out infinite; }
.dot--2 { top: 470px; right: 35%; width: 22px; height: 22px; background: #c02df0; filter: blur(4px); animation: maPulse 7s ease-in-out infinite 1s; }
.dot--3 { top: 560px; right: 4%; width: 16px; height: 16px; background: #d51fe0; filter: blur(3px); animation: maPulse 6s ease-in-out infinite 2s; }

.hero__in {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.eyebrow__line { display: block; width: 34px; height: 2px; background: linear-gradient(90deg, #e727d3, #7b3bf5); }
.eyebrow__text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #d9b6ff;
}

.hero__title {
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 5.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
.hero__title-grad {
  background-image: linear-gradient(100deg, #f43ae0, #9a5bff 55%, #5c5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero__lead {
  margin: 0 0 36px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(240, 235, 255, 0.68);
}

.hero__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero__checks { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.check { font-size: 14px; color: rgba(240, 235, 255, 0.6); }
.check__mark { color: #f06bff; font-weight: 800; }

.hero__visual { position: relative; height: 500px; }

.mock { position: absolute; }
.mock--1 { top: 0; right: 0; width: min(360px, 62%); animation: maFloat 8s ease-in-out infinite alternate; }
.mock--2 { bottom: 0; left: 0; width: min(330px, 57%); animation: maFloat 10s ease-in-out infinite alternate-reverse; }

.mock__frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #241a4d;
  box-shadow: 0 34px 90px rgba(60, 10, 140, 0.55);
}
.mock__frame--r3 { transform: rotate(3deg); }
.mock__frame--rm4 { transform: rotate(-4deg); }

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; display: block; }
.mock__dot--1 { background: rgba(255, 255, 255, 0.28); }
.mock__dot--2 { background: rgba(255, 255, 255, 0.22); }
.mock__dot--3 { background: rgba(255, 255, 255, 0.16); }
.mock__url { margin-left: 10px; flex: 1; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); display: block; }

.mock__img { width: 100%; object-fit: cover; }
.mock__img--tall { height: clamp(220px, 36vw, 330px); object-position: top; }
.mock__img--wide { height: clamp(150px, 24vw, 215px); }

/* ---------- Услуги ---------- */

.services {
  position: relative;
  padding: 110px 0 120px;
  background: linear-gradient(180deg, #140d2c 0%, #1a1140 45%, #140d2c 100%);
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-soft); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 90px;
}
.step { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); position: relative; }
.step__tick {
  position: absolute;
  top: -1px; left: 0;
  width: 44px; height: 2px;
  background: linear-gradient(90deg, #e727d3, #7b3bf5);
  display: block;
}
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 38px;
  background-image: linear-gradient(120deg, #f43ae0, #8b5bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.step__name { font-size: 18px; font-weight: 800; margin-bottom: 10px; font-family: var(--font-body); }
.step__text { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(240, 235, 255, 0.6); }

.pricing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.pricing-from { font-size: 14px; color: rgba(240, 235, 255, 0.5); }
.pricing-from b { font-weight: 800; color: #f0ebff; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.price-card:nth-child(1):hover {
  border-color: rgba(231, 39, 211, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(90, 20, 170, 0.35);
}
.price-card:nth-child(3):hover {
  border-color: rgba(64, 64, 242, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(50, 30, 180, 0.35);
}

.price-card--featured {
  position: relative;
  border: 1px solid transparent;
  background: linear-gradient(#221650, #221650) padding-box,
              linear-gradient(140deg, #e727d3, #7b3bf5 55%, #4040f2) border-box;
  box-shadow: 0 24px 80px rgba(120, 30, 200, 0.35);
}
.price-card--featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 90px rgba(150, 40, 220, 0.45);
}
.price-card__badge {
  position: absolute;
  top: -13px; right: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.price-card__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 14px;
}
.price-card__desc { margin: 0 0 22px; font-size: 15px; line-height: 1.62; color: var(--text-soft); }
.price-card__desc--tight { margin-bottom: 16px; }

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}
.check--card { color: rgba(240, 235, 255, 0.72); }

.price-card__bottom { margin-top: auto; }

.chip {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.chip--violet { background: rgba(139, 61, 247, 0.16); border: 1px solid rgba(139, 61, 247, 0.4); color: #d9b6ff; }
.chip--pink { background: rgba(231, 39, 211, 0.14); border: 1px solid rgba(231, 39, 211, 0.45); color: #ffb3f4; }
.chip--blue { background: rgba(64, 64, 242, 0.16); border: 1px solid rgba(94, 94, 255, 0.45); color: #b9b9ff; }

.price-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 22px;
}
.price-card__actions { display: flex; gap: 12px; }

/* ---------- Портфолио сайтов ---------- */

.portfolio { position: relative; overflow: hidden; padding: 110px 0; }
.portfolio__blob {
  position: absolute;
  top: 0; left: -140px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(139, 61, 247, 0.28), rgba(139, 61, 247, 0) 65%);
  filter: blur(70px);
  pointer-events: none;
}
.portfolio__in { position: relative; }

.folio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}
.folio-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--card);
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.folio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(90, 20, 170, 0.4);
  border-color: rgba(231, 39, 211, 0.4);
  color: var(--text);
}
.folio-card__img { width: 100%; height: 320px; object-fit: cover; }
.folio-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
}
.folio-card__title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.folio-card__sub { font-size: 13.5px; color: rgba(240, 235, 255, 0.55); }
.folio-card__arrow { font-size: 22px; color: #f06bff; }

.folio-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.mini-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.mini-card:hover { transform: translateY(-5px); border-color: rgba(139, 61, 247, 0.5); }
.mini-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mini-card__body { padding: 16px 18px; }
.mini-card__domain { font-weight: 800; font-size: 15px; margin-bottom: 4px; font-family: var(--font-body); }
.mini-card__desc { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(240, 235, 255, 0.55); }
.mini-card__desc--tbd { font-family: ui-monospace, Menlo, monospace; color: rgba(240, 235, 255, 0.4); }

/* ---------- Портфолио логотипов ---------- */

.logos {
  padding: 110px 0;
  background: linear-gradient(180deg, #140d2c 0%, #1a1140 50%, #140d2c 100%);
  overflow: hidden;
}
.logos-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.logos-head__note { font-size: 14px; color: rgba(240, 235, 255, 0.5); }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  padding: 6px 0;
  animation: maMarquee 44s linear infinite; /* 8 плиток: та же линейная скорость, что была у 6 */
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 20px; padding-right: 20px; }

.logo-tile {
  width: 200px;
  height: 104px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.logo-tile img { max-height: 56px; max-width: 156px; width: auto; height: auto; }

/* ---------- Форма заявки ---------- */

.contact { position: relative; overflow: hidden; padding: 110px 0 130px; }
.contact__blob {
  position: absolute;
  bottom: -160px; right: -120px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(231, 39, 211, 0.22), rgba(231, 39, 211, 0) 62%);
  filter: blur(80px);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact__info h2 { margin-bottom: 18px; }
.contact__lead { margin: 0 0 32px; max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--text-soft); }

.contact__links { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-link--tg {
  background: linear-gradient(120deg, rgba(231, 39, 211, 0.16), rgba(123, 59, 245, 0.16));
  border: 1px solid rgba(231, 39, 211, 0.4);
  color: #ffffff;
}
.contact-link--tg:hover { border-color: rgba(231, 39, 211, 0.8); transform: translateY(-2px); color: #ffffff; }
.contact-link--mail {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f0ebff;
}
.contact-link--mail:hover { border-color: rgba(255, 255, 255, 0.45); transform: translateY(-2px); color: #f0ebff; }

.contact-link__ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.contact-link__ico--tg { background: var(--grad-ico); }
.contact-link__ico--at { background: rgba(255, 255, 255, 0.1); font-size: 16px; }
.contact-link__label { font-weight: 800; font-size: 15.5px; }
.contact__note { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: rgba(240, 235, 255, 0.35); }

.form-card {
  padding: 38px 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(240, 235, 255, 0.6);
  margin-bottom: 6px;
}
.field {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f2ff;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field::placeholder { color: rgba(240, 235, 255, 0.38); }
.field:focus { border-color: #8b3df7; background: rgba(255, 255, 255, 0.08); }
.field--area { resize: vertical; margin-bottom: 24px; }
.field--m { margin-bottom: 16px; }
.field--m.field--area { margin-bottom: 22px; }
.field.field--error { border-color: rgba(255, 90, 120, 0.75); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-error { margin: -6px 0 16px; font-size: 14px; line-height: 1.5; color: #ff8ba7; }
.btn--submit:disabled { opacity: 0.7; cursor: default; filter: none; }

.form-success { text-align: center; padding: 36px 10px; }
.form-success__ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-ico);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 32px;
  font-weight: 800;
}
.form-success__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.form-success__text { margin: 0; font-size: 15px; color: rgba(240, 235, 255, 0.6); }

/* ---------- Подвал ---------- */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-footer);
  padding: 54px 0 40px;
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.logo--footer { margin-bottom: 12px; }
.footer__about { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-dim); }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { font-size: 14.5px; color: rgba(240, 235, 255, 0.6); }
.footer__nav a:hover { color: #ffffff; }
.footer__social { display: flex; align-items: center; gap: 12px; }
.icon-btn--soft { background: rgba(255, 255, 255, 0.08); color: #f0ebff; }
.icon-btn--soft:hover { background: var(--grad-ico); color: #ffffff; }
.icon-btn--at { font-size: 15px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__bottom span { font-size: 13px; color: rgba(240, 235, 255, 0.56); }

/* ---------- Модалка ---------- */

.modal { position: fixed; inset: 0; z-index: 100; }
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 24, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.modal__dialog {
  position: relative;
  width: 440px;
  max-width: calc(100% - 48px);
  max-height: 90vh;
  overflow: auto;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  padding: 34px 32px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #f0ebff;
  font-size: 16px;
  line-height: 1;
  transition: background 0.2s ease;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.18); }
.modal__title { font-family: var(--font-head); font-weight: 700; font-size: 21px; margin-bottom: 8px; }
.modal__sub { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: rgba(240, 235, 255, 0.6); }
.modal__tariff { margin-bottom: 20px; }
.modal__success { text-align: center; padding: 26px 6px 10px; }
.modal__success .form-success__text { margin-bottom: 26px; }

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
  /* в узкой шапке телефон не помещается — остаётся в бургер-меню и контактах */
  .header__phone { display: none; }
}

@media (max-width: 1024px) {
  .pricing { gap: 18px; }
  .price-card { padding: 30px 24px; }
  .folio-card__img { height: 260px; }
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 14px;
    background: rgba(17, 10, 38, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .header__nav.is-open { display: flex; }
  .nav__link { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav__link:last-child { border-bottom: none; }
  .nav__link--phone { display: block; font-weight: 700; color: #f5f2ff; }
  .nav-toggle { display: flex; }

  .hero { padding: 140px 24px 90px; }
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { height: 430px; max-width: 560px; }

  .blob--1 { width: 380px; height: 380px; }
  .blob--2 { width: 280px; height: 280px; }
  .blob--3 { width: 300px; height: 300px; }

  .services { padding: 80px 0 90px; }
  .steps { grid-template-columns: 1fr; gap: 26px; margin-bottom: 64px; }
  .section-head { margin-bottom: 40px; }

  /* Карусель тарифов: 1 карточка + «краешек» следующей */
  .pricing {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 16px 24px 10px;
    margin: 0 -24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pricing::-webkit-scrollbar { display: none; }
  .price-card { flex: 0 0 84%; max-width: 380px; scroll-snap-align: center; }

  .portfolio { padding: 80px 0; }
  .folio-grid { grid-template-columns: 1fr; }
  .folio-mini-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .logos { padding: 80px 0; }
  .logos-head { margin-bottom: 36px; }

  .contact { padding: 80px 0 90px; }
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .form-card { padding: 30px 24px; }
}

@media (max-width: 640px) {
  .hero { padding: 128px 20px 76px; }
  .hero__lead { font-size: 16.5px; }
  .hero__checks { gap: 14px 22px; margin-top: 32px; }
  .hero__visual { height: 340px; }
  .hero__cta .btn--lg, .hero__cta .btn--ghost { width: 100%; }

  .container { padding: 0 20px; }
  .pricing { padding-left: 20px; padding-right: 20px; margin: 0 -20px; }

  .step__num { font-size: 34px; }
  .price-card__price { font-size: 26px; }

  .folio-card__img { height: 210px; }
  .folio-card__meta { padding: 15px 18px; }

  .footer { padding: 44px 0 34px; }
  .footer__top { flex-direction: column; gap: 26px; }

  .modal__dialog { padding: 28px 22px; max-width: calc(100% - 32px); }
}

@media (max-width: 460px) {
  .icon-btn--tg { display: none; }
  .logo img { height: 26px; }
  .header__cta { padding: 9px 13px; font-size: 13.5px; }
  .header__in { gap: 10px; padding: 0 16px; }
  .folio-mini-grid { grid-template-columns: 1fr; }
  .price-card { flex-basis: 88%; }
}

/* ---------- Ограничение анимаций ---------- */

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  .blob, .dot, .mock, .marquee__track { animation: none !important; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .price-card, .folio-card, .mini-card, .contact-link { transition: none; }
}
