/* Талант+ — одностраничный сайт */

:root {
  --white: #fff;
  --tint: #eef3ff;
  --tint-2: #dfe8ff;
  --blue: #1f4bff;
  --blue-hover: #1638d6;
  --deep: #0b1f4d;
  --ink: #0e1530;
  --muted: #5a6587;
  --line: #d6def5;
  --error: #d92d3a;

  --font-head: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3, .h3 { font-size: 20px; }
p { margin: 0 0 1em; }

svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.accent { color: var(--blue); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; border-top: 2px dashed currentColor; }
.eyebrow--light { color: #9fb4ff; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary svg { transition: transform .2s; }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--tint); color: var(--blue); transition: background .2s, color .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--blue); color: #fff; }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.logo__plus { position: relative; width: 18px; height: 18px; }
.logo__plus::before, .logo__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 0;
  border-top: 4px dashed var(--blue); transform: translate(-50%, -50%);
}
.logo__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.logo--light { color: #fff; }
.logo--light .logo__plus::before, .logo--light .logo__plus::after { border-color: #7f9bff; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 28px; margin-left: 16px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--blue); }
.header__contacts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__phone { font-weight: 700; text-decoration: none; margin-right: 8px; white-space: nowrap; }
.header__phone:hover { color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--tint); border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .header__phone { display: none; }
}
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: #fff; box-shadow: 0 16px 32px rgba(11, 31, 77, .12);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; font-size: 18px; color: var(--ink); border-bottom: 1px dashed var(--line); }
  .burger { display: block; }
  .header__cta { display: none; }
}
@media (max-width: 480px) {
  .header__contacts .icon-btn { display: none; }
}

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: 40px 0 72px; }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(38px, 6.4vw, 84px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 24px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.facts li { display: flex; flex-direction: column; }
.facts b { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--blue); }
.facts span { font-size: 14px; color: var(--muted); }

.hero__visual { position: relative; }
.hero__card {
  position: relative; aspect-ratio: 4 / 5; border-radius: 32px;
  background: radial-gradient(120% 90% at 20% 10%, #3d66ff 0%, var(--blue) 45%, #1236c4 100%);
  display: grid; place-items: center; overflow: hidden;
}
.hero__card::before {
  content: ""; position: absolute; inset: 18px; border-radius: 22px; border: 2px dashed rgba(255, 255, 255, .35);
}
.hero__garment { width: 78%; color: #fff; stroke-width: 1; }
.hero__hoop {
  position: absolute; left: 50%; top: 53%; transform: translate(-50%, -50%);
  width: 18%; aspect-ratio: 1; border-radius: 50%;
  border: 3px solid #fff; outline: 2px dashed rgba(255, 255, 255, .6); outline-offset: 5px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(16px, 2.2vw, 26px); color: #fff;
}
.chip {
  position: absolute; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--deep); font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 30px rgba(6, 20, 70, .25);
  animation: float 6s ease-in-out infinite;
}
.chip--1 { top: 9%; left: -6%; }
.chip--2 { top: 30%; right: -5%; animation-delay: -1.5s; }
.chip--3 { bottom: 20%; left: -4%; animation-delay: -3s; }
.chip--4 { bottom: 7%; right: 8%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.stitch { position: absolute; left: 0; right: 0; bottom: 0; border-top: 2px dashed var(--line); }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 420px; width: 100%; margin: 0 auto; }
  .chip--1 { left: 4%; } .chip--2 { right: 4%; } .chip--3 { left: 4%; }
}

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--deep); color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__sub { color: var(--muted); font-size: 18px; margin: 0; }
.note { margin: 32px 0 0; padding: 16px 20px; border: 2px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; }

/* Для кого */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud { padding: 28px; border-radius: var(--radius); background: var(--tint); transition: background .25s, color .25s, transform .25s; }
.aud:hover { background: var(--blue); color: #fff; transform: translateY(-4px); }
.aud:hover p, .aud:hover .aud__num { color: rgba(255, 255, 255, .85); }
.aud__num { display: block; font-family: var(--font-head); font-size: 14px; color: var(--blue); margin-bottom: 40px; }
.aud p { color: var(--muted); margin: 0; font-size: 16px; transition: color .25s; }
@media (max-width: 960px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } .aud__num { margin-bottom: 20px; } }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  position: relative; text-align: left; cursor: pointer;
  padding: 28px; border: 2px solid transparent; border-radius: var(--radius);
  background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(31, 75, 255, .12); }
.svc__icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 20px; stroke-width: 1.4; }
.svc h3 { font-size: 19px; }
.svc p { color: var(--muted); font-size: 15px; margin: 0; }
.svc--feature { grid-column: span 2; background: var(--blue); color: #fff; }
.svc--feature .svc__icon { color: #fff; }
.svc--feature p { color: rgba(255, 255, 255, .85); max-width: 440px; }
.svc--feature:hover { border-color: var(--deep); }
.svc__tag {
  position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px;
  border: 1.5px dashed rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700;
}
@media (max-width: 1024px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .svc--feature { grid-column: auto; }
  .svc__tag { position: static; display: inline-block; margin-top: 16px; }
}

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; counter-reset: s; }
.step { position: relative; padding-top: 72px; }
.step::before { content: ""; position: absolute; left: 56px; right: -24px; top: 23px; border-top: 2px dashed var(--line); }
.step:nth-child(4n)::before, .step:last-child::before { display: none; }
.step__n {
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tint); color: var(--blue);
  font-family: var(--font-head); font-weight: 600; transition: background .2s, color .2s;
}
.step:hover .step__n, .step:nth-child(4) .step__n { background: var(--blue); color: #fff; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 32px 72px; min-height: 80px; }
  .step::before { left: 23px; right: auto; top: 56px; bottom: 4px; border-top: 0; border-left: 2px dashed var(--line); }
  .step:nth-child(4n)::before { display: block; }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
}

/* Вышивка и вакуум */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__item { padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.duo__item h2 { font-size: clamp(26px, 3vw, 38px); }
.duo__item p { color: rgba(255, 255, 255, .75); }
.duo__media {
  aspect-ratio: 16 / 10; border-radius: var(--radius); margin-bottom: 32px; overflow: hidden;
  display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, var(--blue), #4a6dff);
}
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.duo__media::after { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 12px; pointer-events: none; }
.duo__media svg { width: 34%; color: #fff; stroke-width: 1; }
.duo__media--vac { background: linear-gradient(135deg, #2b3f7a, var(--blue)); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; color: rgba(255, 255, 255, .85); }
.ticks svg { flex: none; width: 22px; height: 22px; color: #7f9bff; stroke-width: 2.4; margin-top: 2px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* Изделия */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.prod {
  cursor: pointer; text-align: left; padding: 20px; border-radius: var(--radius);
  border: 2px solid var(--line); background: #fff; transition: border-color .2s, transform .2s;
}
.prod svg { width: 100%; aspect-ratio: 1; padding: 14%; margin-bottom: 16px; border-radius: 14px; background: var(--tint); color: var(--blue); stroke-width: 1.2; transition: background .2s, color .2s; }
.prod:hover { border-color: var(--blue); transform: translateY(-4px); }
.prod:hover svg { background: var(--blue); color: #fff; }
.prod h3 { font-size: 16px; margin-bottom: 4px; }
.prod span { font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .products { grid-template-columns: repeat(2, 1fr); gap: 12px; } .prod { padding: 14px; } }

/* О нас */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about__text p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 16px; padding: 20px 24px; background: #fff; border-radius: var(--radius-sm); }
.perks svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }
.perks b { display: block; }
.perks span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--tint); transition: background .2s; }
.faq details[open] { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 64px 22px 24px; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 22px; font-weight: 500; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Заявка ---------- */
.order { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.order__form-wrap, .order__contacts { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.order__form-wrap h2 { font-size: clamp(26px, 3.4vw, 40px); }
.order__form-wrap .section__sub { margin-bottom: 32px; }
.order__contacts { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .order { grid-template-columns: 1fr; } .order__contacts { position: static; } }

.form { display: grid; gap: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-size: 14px; font-weight: 700; color: var(--muted); padding: 0; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--tint); border: 2px solid transparent; border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4bff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field.is-invalid input { border-color: var(--error); background: #fff5f6; }
.field__err { color: var(--error); font-size: 14px; min-height: 0; }
.field__err:empty { display: none; }
.field__hint { font-size: 13px; color: var(--muted); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 2px solid var(--line); font-size: 15px; font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.pill:hover span { border-color: var(--blue); }
.pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.file {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 18px; border: 2px dashed var(--line); border-radius: var(--radius-sm);
  color: var(--blue); font-weight: 700; transition: border-color .2s, background .2s;
}
.file:hover, .file.is-drag { border-color: var(--blue); background: var(--tint); }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.file svg { width: 22px; height: 22px; flex: none; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--tint); border-radius: 8px; font-size: 14px; }
.file-list button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: 15px; color: var(--error); }
.form__status:empty { display: none; }

.success { text-align: center; padding: 24px 0; }
.success__icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.success__icon svg { width: 36px; height: 36px; stroke-width: 2.6; }
.success p { color: var(--muted); max-width: 420px; margin: 0 auto 24px; }

/* Контакты */
.clist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.clist li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 18px; }
.clist svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--tint); color: var(--blue); }
.clist a { text-decoration: none; }
.clist a:hover { color: var(--blue); }
.hours { color: var(--muted); margin-bottom: 24px; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tint); position: relative; }
.map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--tint-2) 1px, transparent 1px), linear-gradient(90deg, var(--tint-2) 1px, transparent 1px); background-size: 28px 28px; }
.map iframe { position: relative; width: 100%; height: 100%; border: 0; }
.map__load { position: absolute; inset: 0; margin: auto; width: max-content; height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; cursor: pointer; }
.map__load svg { width: 20px; height: 20px; }

/* ---------- Футер ---------- */
.footer { background: var(--deep); color: rgba(255, 255, 255, .7); padding: 56px 0 40px; font-size: 15px; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.footer__legal { margin: 16px 0 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: start; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: #fff; }
.footer__copy { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px dashed rgba(255, 255, 255, .2); }
@media (max-width: 760px) { .footer__in { grid-template-columns: 1fr; } .footer { padding-bottom: 104px; } }

/* ---------- Нижняя панель ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 40;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
    background: rgba(11, 31, 77, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 20px; box-shadow: 0 10px 30px rgba(6, 20, 70, .3);
  }
  .mbar a, .mbar button {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px;
    border: 0; border-radius: 14px; background: none; color: #fff; text-decoration: none;
    font-size: 12px; font-weight: 700; cursor: pointer;
  }
  .mbar button { background: var(--blue); }
  .mbar svg { width: 22px; height: 22px; }
  body { padding-bottom: 0; }
}

/* ---------- Модальное окно ---------- */
.modal {
  width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink);
}
.modal::backdrop { background: rgba(11, 31, 77, .55); backdrop-filter: blur(4px); }
.modal__body { padding: clamp(24px, 4vw, 44px); }
.modal__body .order__form-wrap { padding: 0; }
.modal__close {
  position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tint); cursor: pointer; font-size: 26px; line-height: 1;
}
.modal__close:hover { background: var(--blue); color: #fff; }
body.modal-open { overflow: hidden; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px;
  padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: 0 16px 50px rgba(11, 31, 77, .22);
  font-size: 15px;
}
.cookie p { margin-bottom: 14px; }
.cookie a { color: var(--blue); }
.cookie__btns { display: flex; gap: 8px; }
@media (max-width: 760px) { .cookie { left: 8px; right: 8px; bottom: 88px; max-width: none; } }

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
