@import url('../fonts/montserrat.css');

/* ============================================================
   MAD Studio — main stylesheet (vanilla)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg-light: #f6f6f6;
  --bg-dark: #070d0e;
  --bg-row: #eaeaea;
  --bg-row-alt: #f6f6f6;

  --text-dark: #1a1a1a;
  --text-muted: #4d4d4d;
  --text-light: #f2f2f2;
  --text-light-muted: #c9c9cf;

  /* brand gradient (orange -> pink -> purple) */
  --grad: linear-gradient(100deg, #ff9a4d 0%, #ff5c6a 38%, #e5417c 62%, #7b2e86 100%);
  --grad-btn: linear-gradient(90deg, #ff9a4d 0%, #ff5c6a 40%, #e5417c 62%, #7b2e86 100%);

  --container: 1180px;
  --radius: 16px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  width: 100%;
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: #fff;
  color: var(--text-dark);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }
:focus-visible {
  outline: 3px solid #e5417c;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section { position: relative; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__logo { height: 38px; width: auto; }
.brand__tag {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
.nav { display: flex; gap: 40px; margin: 0 auto; }
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color .2s var(--ease);
}
.nav__link:hover { color: #e5417c; }
.header__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header__social { display: flex; gap: 10px; }
.header__social img { width: 34px; height: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  border-radius: var(--radius-pill);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn--grad { background: var(--grad-btn); }
.btn--call {
  padding: 12px 24px;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(229, 65, 124, .3);
}
.btn--call svg { width: 18px; height: 18px; stroke: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--bg-light);
  padding: 90px 0 120px;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  top: -40px;
  right: -2%;
  width: 860px;
  height: 760px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 35% 45%, rgba(255, 138, 91, .85), rgba(255, 138, 91, 0) 70%),
    radial-gradient(closest-side at 60% 40%, rgba(229, 65, 124, .8), rgba(229, 65, 124, 0) 70%),
    radial-gradient(closest-side at 55% 60%, rgba(123, 46, 134, .7), rgba(123, 46, 134, 0) 72%);
  filter: blur(38px);
  opacity: .9;
  animation: blob-float 14s ease-in-out infinite;
}
@keyframes blob-float {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-22px, 18px) scale(1.04); }
  66%  { transform: translate(14px, -16px) scale(0.98); }
  100% { transform: translate(0, 0) scale(1); }
}
.hero__inner { position: relative; z-index: 1; max-width: 610px; }
.hero__title {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.5px;
  margin-bottom: 26px;
}
.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  color: var(--text-dark);
  max-width: 560px;
}
.hero__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 80px 0 0;
}
.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
/* gradient border via mask */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.feature__icon { width: 34px; height: 34px; flex-shrink: 0; }
.feature__text { font-size: 15px; font-weight: 700; line-height: 1.25; }

/* ============================================================
   SERVICES (dark)
   ============================================================ */
.services {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 110px 0;
  overflow: hidden;
}
.services::before,
.services::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.services::before {
  left: -220px;
  top: 45%;
  background: radial-gradient(circle, rgba(160, 40, 120, .55), transparent 70%);
}
.services::after {
  right: -240px;
  top: 8%;
  background: radial-gradient(circle, rgba(110, 40, 140, .5), transparent 70%);
}
.services__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 90px;
  row-gap: 0;
  max-width: 980px;
  margin-inline: auto;
}
.service {
  padding: 46px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.services__grid > .service:nth-child(1),
.services__grid > .service:nth-child(2) { border-top: none; padding-top: 0; }
.service__title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  margin-bottom: 22px;
}
.service__desc {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light-muted);
  max-width: 420px;
}
.service__social {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.service__social img { width: 40px; height: 40px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  background: var(--bg-light);
  padding: 100px 0 60px;
  overflow: hidden;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}
.about__text p { font-size: 16px; font-weight: 600; color: var(--text-dark); }
.about__text p + p { margin-top: 22px; }

/* ============================================================
   CASES
   ============================================================ */
.cases { background: var(--bg-light); }
.cases__head {
  position: relative;
  text-align: center;
  padding: 40px 0 60px;
  overflow: hidden;
}
.cases__head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 260px;
  background:
    radial-gradient(closest-side at 30% 50%, rgba(255, 138, 91, .35), transparent 70%),
    radial-gradient(closest-side at 55% 50%, rgba(229, 65, 124, .35), transparent 70%),
    radial-gradient(closest-side at 78% 50%, rgba(123, 46, 134, .3), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.cases__title {
  position: relative;
  z-index: 1;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
}
.case {
  background: var(--bg-row-alt);
}
.case:nth-child(odd) { background: var(--bg-row); }
.case__inner {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  align-items: center;
  gap: 40px;
  padding: 40px 24px;
}
.case__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}
.case__logo img { max-height: 90px; width: auto; object-fit: contain; }
.case__desc { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.case__action { display: flex; justify-content: flex-end; }
.btn--case {
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #1c1c1c;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
  white-space: nowrap;
}
.btn--case svg { width: 16px; height: 16px; stroke: #fff; }
.btn--case:hover { background: #000; }

/* ============================================================
   CLIENTS (dark)
   ============================================================ */
.clients {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 90px 0 100px;
  overflow: hidden;
}
.clients::after {
  content: "";
  position: absolute;
  right: -200px;
  bottom: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 45, 140, .45), transparent 70%);
  filter: blur(120px);
  pointer-events: none;
}
.clients__title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  margin-bottom: 70px;
}
.clients__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 46px 56px;
  max-width: 980px;
  margin-inline: auto;
}
.clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 150px;
  flex-shrink: 0;
}
.clients__logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .25s var(--ease);
}
.clients__logo:hover img { opacity: .9; }

/* ============================================================
   CTA / FORM
   ============================================================ */
.cta {
  position: relative;
  background: #fff;
  padding: 110px 0 130px;
  /* нет overflow:hidden на самой секции — декоративным иконкам нужно свободно
     "вылетать" за её границы при парении. glow-пятно обрезается собственной
     обёрткой ниже (.cta__glow-clip), а не полагается на overflow-x:hidden
     у html/body — Safari на iOS иногда его игнорирует для absolute-потомков
     с отрицательным left */
}
.cta__glow-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta__glow {
  position: absolute;
  left: -160px;
  bottom: -120px;
  width: 620px;
  height: 480px;
  background:
    radial-gradient(closest-side, rgba(229, 65, 124, .35), transparent 70%),
    radial-gradient(closest-side at 60% 60%, rgba(123, 46, 134, .3), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta__title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  max-width: 460px;
}
.cta__form-wrap { position: relative; z-index: 1; }
.form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 480px; margin-left: auto; }
.form__field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #efefef;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0 24px;
  height: 62px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form__field.is-invalid {
  border-color: #e0455a;
  background: #fdf0f1;
}
.form__field.is-invalid input::placeholder { color: #c9515f; }
.form__field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
}
.form__field input::placeholder { color: #9a9a9a; }
.form__flag {
  font-size: 20px;
  line-height: 1;
}
.form__submit {
  height: 62px;
  font-size: 16px;
  color: #fff;
  background: var(--grad-btn);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(229, 65, 124, .3);
}
.form__note { font-size: 12px; color: #9a9a9a; text-align: center; }
.form__status { font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; }

/* honeypot: visually hidden but present in the DOM/tab order (trap for bots — not display:none).
   Uses the same clip-rect technique as .sr-only instead of left:-9999px, which used to blow out
   scrollWidth on mobile once .cta lost overflow:hidden (needed to let the deco icons float free). */
.form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form__status.is-ok { color: #1a9d4b; }
.form__status.is-err { color: #d13b3b; }

/* floating 3D social decor — freely hovering, spaced apart, not clipped by the section */
.cta__deco { position: absolute; z-index: 2; pointer-events: none; }
.cta__deco img { width: 100%; height: auto; }
.cta__deco--tiktok {
  width: 64px; top: -54px; left: 38%;
  transform: rotate(-10deg);
  animation: float-a 9s ease-in-out infinite;
}
.cta__deco--instagram {
  width: 68px; top: -66px; right: -18px;
  transform: rotate(12deg);
  animation: float-b 11s ease-in-out infinite;
}
.cta__deco--facebook {
  width: 64px; bottom: -70px; right: 24%;
  transform: rotate(-8deg);
  animation: float-c 10s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translate(0, 0) rotate(-10deg); }
  50%      { transform: translate(-14px, 16px) rotate(-4deg); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) rotate(12deg); }
  50%      { transform: translate(12px, 18px) rotate(18deg); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  50%      { transform: translate(-10px, -16px) rotate(-14deg); }
}

/* ============================================================
   FOOTER (dark)
   ============================================================ */
.footer {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 40px;
  overflow: hidden;
}
.footer::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 45, 140, .4), transparent 70%);
  filter: blur(120px);
  pointer-events: none;
}
.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
.footer__brand { display: flex; flex-direction: column; gap: 40px; }
.footer__logo-row { display: flex; align-items: center; gap: 14px; }
.footer__logo { height: 40px; width: auto; }
.footer__tag { font-size: 13px; font-weight: 700; line-height: 1.2; }
.footer__social { display: flex; gap: 12px; }
.footer__social img { width: 38px; height: 38px; }
.footer__contacts-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 30px;
}
.footer__contacts p { font-size: 15px; color: var(--text-light-muted); }
.footer__contacts p + p { margin-top: 20px; }
.footer__contacts a:hover { color: #fff; }
.footer__branches { margin-top: 8px !important; line-height: 1.7; }

/* ============================================================
   404 ERROR PAGE
   ============================================================ */
.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 620px;
  max-width: 120vw;
  background:
    radial-gradient(closest-side at 38% 45%, rgba(255, 138, 91, .35), transparent 70%),
    radial-gradient(closest-side at 60% 42%, rgba(229, 65, 124, .32), transparent 70%),
    radial-gradient(closest-side at 55% 62%, rgba(123, 46, 134, .3), transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}
.error-page__logo { height: 46px; width: auto; margin-bottom: 48px; position: relative; z-index: 1; }
.error-page__code {
  position: relative;
  z-index: 1;
  font-size: clamp(96px, 22vw, 190px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
}
.error-page__title {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin: 18px 0 12px;
}
.error-page__text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light-muted);
  max-width: 440px;
  margin-bottom: 40px;
}
.error-page .btn { position: relative; z-index: 1; padding: 16px 40px; font-size: 16px; }

/* ============================================================
   CASE PAGE
   ============================================================ */
.case-page { padding: 56px 0 100px; }
.case-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 40px;
  transition: color .2s var(--ease);
}
.case-page__back svg { width: 16px; height: 16px; stroke: currentColor; }
.case-page__back:hover { color: var(--text-dark); }

.case-page__logo { display: flex; margin-bottom: 32px; }
.case-page__logo img { max-height: 90px; width: auto; object-fit: contain; }

.case-page__intro {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 760px;
  margin-bottom: 56px;
}
.case-page__intro p + p { margin-top: 14px; }

.case-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}
.case-block__icon { width: 41px; height: 41px; margin-bottom: 18px; }
.case-block__icon img { width: 100%; height: 100%; object-fit: contain; }
.case-block__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.case-block__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
}
.case-block__text p + p { margin-top: 12px; }
.case-block__text ul { display: flex; flex-direction: column; gap: 8px; }
.case-block__text li { position: relative; padding-left: 18px; }
.case-block__text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ============================================================
   MOBILE MENU / BURGER
   ============================================================ */
.burger {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  z-index: 210;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .2s var(--ease);
}
body.menu-open { overflow: hidden; }

/* burger -> X animation when menu is open */
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* full-screen mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}
.mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-menu__link {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
}
.mobile-menu__social {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}
.mobile-menu__social img { width: 44px; height: 44px; }

/* floating call button (mobile only) */
.fab-call {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-btn);
  box-shadow: 0 10px 24px rgba(229, 65, 124, .4);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.fab-call img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.fab-call.is-hidden { transform: translateY(90px); opacity: 0; pointer-events: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .about__grid, .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { column-gap: 50px; }
  .clients__grid { gap: 36px 40px; }
  .form { margin-left: 0; max-width: none; }
  .cta__deco--tiktok { left: auto; right: 18%; }
}

@media (max-width: 768px) {
  .header__inner { min-height: 64px; }
  .nav { display: none; }
  .header__social { display: none; }
  .header__actions .btn--call { display: none; }
  .header__actions { gap: 12px; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }
  .fab-call { display: flex; }

  .hero { padding: 60px 0 80px; }
  .hero__cards { grid-template-columns: 1fr; max-width: 420px; gap: 16px; margin-top: 50px; }
  .services { padding: 70px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .services__grid > .service:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 46px; }
  .about { padding: 70px 0 40px; }
  .cases__head { padding: 30px 0 40px; }
  .case__inner { grid-template-columns: 1fr; gap: 20px; text-align: center; padding: 34px 20px; }
  .case__logo { justify-content: center; }
  .case__action { justify-content: center; }
  .clients__logo { width: 130px; height: 34px; }
  .cta { padding: 80px 0 90px; }
  .cta__deco { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }

  .case-page { padding: 40px 0 70px; }
  .case-page__intro { font-size: 16px; margin-bottom: 40px; }
  .case-page__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .clients__grid { gap: 26px 24px; }
  .clients__logo { width: 110px; height: 30px; }
}
