@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ===== A11y: visually-hidden (для SEO-H1 и скрытых подписей) ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== HOME / TIMELINE (этапы работы) ===== */
.home-timeline {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 120px);
  background: #07070d;
  color: #fff;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.home-timeline::before {
  content: '';
  position: absolute;
  top: 30%;
  right: -10%;
  width: 50%;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.home-timeline__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  position: relative;
}
.home-timeline__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.home-timeline__eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff2d78;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(255, 45, 120, 0.4);
}
.home-timeline__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}
.home-timeline__descr {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}
.home-timeline__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  counter-reset: timeline;
}
/* Desktop neon line */
.home-timeline__list::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 8.33%;
  right: 8.33%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(255, 45, 120, 0) 0%,
    #ff2d78 10%,
    #00f5ff 50%,
    #ff2d78 90%,
    rgba(255, 45, 120, 0) 100%);
  box-shadow: 0 0 20px rgba(255, 45, 120, 0.4),
              0 0 40px rgba(0, 245, 255, 0.2);
  pointer-events: none;
  opacity: 0.7;
}
.home-timeline__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
}
.home-timeline__dot {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f0f1a 0%, #15151f 100%);
  border: 2px solid rgba(255, 45, 120, 0.6);
  box-shadow: 0 0 0 4px #07070d,
              0 0 20px rgba(255, 45, 120, 0.4),
              inset 0 0 10px rgba(0, 245, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s, border-color 0.3s;
}
.home-timeline__dot span {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #00f5ff;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.6);
}
.home-timeline__step:hover .home-timeline__dot {
  transform: scale(1.08);
  border-color: #ff2d78;
  box-shadow: 0 0 0 4px #07070d,
              0 0 35px rgba(255, 45, 120, 0.7),
              inset 0 0 14px rgba(0, 245, 255, 0.3);
}
.home-timeline__body { padding: 0 4px; }
.home-timeline__step-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  color: #fff;
}
.home-timeline__step-descr {
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.home-timeline__cta {
  margin-top: clamp(40px, 6vw, 64px);
  text-align: center;
}
.home-timeline__btn {
  height: 52px;
  padding: 0 36px;
  font-size: 14px;
}

/* Tablet — 3 колонки (641-960px), чтобы 6 узких не ломали текст */
@media (min-width: 641px) and (max-width: 960px) {
  .home-timeline__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }
  .home-timeline__list::before {
    left: calc(100% / 6);
    right: calc(100% / 6);
  }
}

/* Mobile — вертикальная timeline */
@media (max-width: 640px) {
  .home-timeline__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-timeline__list::before {
    top: 24px;
    bottom: 24px;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
      rgba(255, 45, 120, 0) 0%,
      #ff2d78 10%,
      #00f5ff 50%,
      #ff2d78 90%,
      rgba(255, 45, 120, 0) 100%);
  }
  .home-timeline__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 0 0 24px 0;
  }
  .home-timeline__dot {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
  }
  .home-timeline__body {
    padding-top: 10px;
    flex: 1;
    min-width: 0;
  }
  .home-timeline__step-title { font-size: 16px; }
}

/* ===== HOME / READY SOLUTIONS ===== */
.home-ready {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 120px);
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.home-ready::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 45, 120, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.home-ready__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  position: relative;
}
.home-ready__head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.home-ready__eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00f5ff;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.4);
}
.home-ready__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}
.home-ready__descr {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}
.home-ready__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}
.home-ready__card {
  display: block;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #15151f 0%, #0f0f1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.home-ready__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 120, 0.35);
  box-shadow: 0 12px 32px -8px rgba(255, 45, 120, 0.25),
              0 0 60px -20px rgba(0, 245, 255, 0.3);
}
.home-ready__card-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0a0a12;
  position: relative;
}
.home-ready__card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.4), transparent 60%);
  pointer-events: none;
}
.home-ready__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-ready__card:hover .home-ready__card-img img {
  transform: scale(1.05);
}
.home-ready__card-body {
  padding: 14px 18px 16px;
}
.home-ready__card-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 4px;
}
.home-ready__card-emoji {
  font-size: 18px;
  line-height: 1;
}
.home-ready__card-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}
.home-ready__foot {
  margin-top: clamp(24px, 4vw, 48px);
  text-align: center;
}
.home-ready__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(0, 245, 255, 0.4);
  border-radius: 999px;
  color: #00f5ff;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-ready__more:hover {
  background: rgba(0, 245, 255, 0.08);
  border-color: #00f5ff;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.35);
  transform: translateY(-2px);
}
.home-ready__more svg {
  transition: transform 0.2s;
}
.home-ready__more:hover svg {
  transform: translateX(4px);
}
@media (max-width: 640px) {
  .home-ready__grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .home-ready__card-body { padding: 10px 12px 14px; }
  .home-ready__card-name { font-size: 14px; }
  .home-ready__card-count { font-size: 11px; }
}

/* ===== ПЕРЕКРЫТИЕ ORANGE-КОРАЛЛОВЫХ ТИЛЬДА-ССЫЛОК ===== */
/* Tilda по дефолту ставит #ff8562 (оранжевый) на все <a> через #allrecords a {...}.
   Перекрываем на наш брендовый cyan, чтобы нигде не торчал оранжевый. */
#allrecords a:not(.t-btn):not(.t-submit):not(.t-btnflex):not([class*="site-"]):not([class*="ni-"]):not([class*="arts-"]):not([class*="shop-"]):not([class*="blog-"]):not(.site-popup a),
.t-records a:not(.t-btn):not(.t-submit):not(.t-btnflex):not([class*="site-"]):not([class*="ni-"]):not([class*="arts-"]):not([class*="shop-"]):not([class*="blog-"]):not(.site-popup a) {
  color: #00f5ff;
}
#allrecords a:not(.t-btn):not(.t-submit):not(.t-btnflex):not([class*="site-"]):not([class*="ni-"]):not([class*="arts-"]):not([class*="shop-"]):not([class*="blog-"]):hover,
.t-records a:not(.t-btn):not(.t-submit):not(.t-btnflex):not([class*="site-"]):not([class*="ni-"]):not([class*="arts-"]):not([class*="shop-"]):not([class*="blog-"]):hover {
  color: #ff2d78;
}

/* Точечное перекрытие использованных в Tilda оранжевых значений на бренд-цвета */
[style*="color: #ff8562"],
[style*="color:#ff8562"],
[style*="color: rgb(255, 133, 98)"] { color: #00f5ff !important; }

/* Попап заявки — своя серая палитра для текста, перебиваем Tilda-оранжевый
   `#allrecords a {color: #ff8562}` (специфичность 1,0,1 — выигрывает без !important).
   Попап лежит внутри #allrecords, поэтому без явного override тексты и ссылки
   подкрашивались оранжевым. */
.site-popup,
.site-popup p,
.site-popup span,
.site-popup li,
.site-popup label,
.site-popup__descr,
.site-popup__footer,
.site-popup__success-text,
.site-popup__contacts a { color: rgba(255, 255, 255, 0.75) !important; }
.site-popup__title,
.site-popup__success-title { color: #fff !important; }
.site-popup__label { color: rgba(255, 255, 255, 0.6) !important; }
.site-popup__footer a,
.site-popup a { color: rgba(0, 245, 255, 0.85) !important; }
.site-popup__footer a:hover,
.site-popup a:hover { color: #00f5ff !important; }
.site-popup__option span { color: rgba(255, 255, 255, 0.75) !important; }
.site-popup__option input:checked + span { color: #00f5ff !important; }
[style*="background-color: #fa876b"],
[style*="background-color:#fa876b"],
[style*="background: #fa876b"],
[style*="background:#fa876b"],
[style*="background-color: rgb(250, 135, 107)"] { background-color: #ff2d78 !important; }

/* Tilda ui-бейдж в карточках каталога */
.t396__ui { background-color: #ff2d78 !important; color: #fff !important; }

/* ===== ФОН НА ВЕСЬ САЙТ ===== */
html, body, .t-body, .t-page, #allrecords {
  background: #07070d !important;
  background-color: #07070d !important;
}
.t-rec, .t-rec_pt_0, .t-rec_pb_0 {
  background-color: #07070d !important;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.ph-breadcrumb-zb {
  font-family: 'Manrope', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  background: linear-gradient(90deg, #3030a0, #ff2d78, #00f5ff, #3030a0) !important;
  background-size: 300% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: breadcrumbFlow 4s linear infinite !important;
}
@keyframes breadcrumbFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}



/* ===== БЕЙДЖ РОЗОВЫЙ ===== */
.badge-pink {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #ff2d78 !important;
  background: rgba(255,45,120,0.05) !important;
  border: 1px solid rgba(255,45,120,0.25) !important;
  box-shadow: 0 0 8px rgba(255,45,120,0.3), inset 0 0 8px rgba(255,45,120,0.05) !important;
}

/* ===== БЕЙДЖ ГОЛУБОЙ ===== */
.badge {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #00f5ff !important;
  background: rgba(0,245,255,0.07) !important;
  border: 1px solid rgba(0,245,255,0.25) !important;
  box-shadow: 0 0 8px rgba(0,245,255,0.2), inset 0 0 8px rgba(0,245,255,0.03) !important;
  padding: 7px 18px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ===== ЗАГОЛОВКИ ===== */
.title-white {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
}
.title-pink {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 900 !important;
  color: #ff2d78 !important;
  letter-spacing: -0.02em !important;
  text-shadow:
    0 0 3px #fff,
    0 0 7px #ff2d78,
    0 0 18px #ff2d78,
    0 0 35px rgba(255,45,120,0.6),
    0 0 70px rgba(255,45,120,0.3) !important;
  animation: flicker1 4s ease-in-out infinite;
}
.title-cyan {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 900 !important;
  color: #00f5ff !important;
  letter-spacing: -0.02em !important;
  text-shadow:
    0 0 3px #fff,
    0 0 7px #00f5ff,
    0 0 18px #00f5ff,
    0 0 35px rgba(0,245,255,0.6),
    0 0 70px rgba(0,245,255,0.3) !important;
  animation: flicker2 6s ease-in-out infinite 2s;
}
@keyframes flicker1 {
  0%,94%,100%{opacity:1}
  95%{opacity:0.7}
  96%{opacity:1}
  97%{opacity:0.5}
  98%{opacity:1}
}
@keyframes flicker2 {
  0%,88%,100%{opacity:1}
  89%{opacity:0.6}
  91%{opacity:1}
  92%{opacity:0.75}
}

/* ===== ПОДЗАГОЛОВОК ===== */
.subtitle {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 300 !important;
  color: #6060a0 !important;
  line-height: 1.75 !important;
}

/* ===== КНОПКИ ===== */
.btn-pink .t-btn, .btn-pink {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: #ff2d78 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: 0 0 25px rgba(255,45,120,0.5), 0 0 60px rgba(255,45,120,0.2) !important;
  transition: all 0.3s !important;
}
.btn-pink:hover .t-btn, .btn-pink:hover {
  box-shadow: 0 0 50px rgba(255,45,120,0.9) !important;
  transform: translateY(-2px) !important;
}
.btn-ghost .t-btn, .btn-ghost {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  color: #e8e8f0 !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 0 !important;
  transition: all 0.3s !important;
}
.btn-ghost:hover .t-btn, .btn-ghost:hover {
  border-color: #00f5ff !important;
  color: #00f5ff !important;
}

/* ===== ПЛАВАЮЩИЕ БЕЙДЖИ (шейп) ===== */
.float-badge {
  background: rgba(0,245,255,0.05) !important;
  border: 1px solid rgba(0,245,255,0.3) !important;
  box-shadow: 0 0 8px rgba(0,245,255,0.2) !important;
}
.float-badge-1 { animation: fb1 4.2s ease-in-out infinite 0s !important; }
.float-badge-2 { animation: fb2 5.5s ease-in-out infinite 1.2s !important; }
.float-badge-3 { animation: fb3 3.8s ease-in-out infinite 2.4s !important; }
@keyframes fb1 {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}
@keyframes fb2 {
  0%,100%{transform:translateY(0) translateX(0)}
  30%{transform:translateY(-20px) translateX(5px)}
  70%{transform:translateY(-8px) translateX(-4px)}
}
@keyframes fb3 {
  0%,100%{transform:translateY(0)}
  40%{transform:translateY(-22px)}
  70%{transform:translateY(-8px)}
}

/* ===== СЧЁТЧИКИ ===== */
.snum {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.snum.pink   { color: #ff2d78 !important; text-shadow: 0 0 20px rgba(255,45,120,0.7); }
.snum.cyan   { color: #00f5ff !important; text-shadow: 0 0 20px rgba(0,245,255,0.7); }
.snum.yellow { color: #ffe600 !important; text-shadow: 0 0 20px rgba(255,230,0,0.7); }
.slbl {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #5050a0 !important;
}

/* ===== FAQ КАРТОЧКИ ===== */
.ni-faq-item {
  border: 1px solid rgba(255,255,255,0.06) !important;
  transition: background 0.4s, border-color 0.4s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.ni-faq-item:hover {
  background: rgba(255,255,255,0.05) !important;
  transform: translateY(-6px) !important;
}
.ni-faq-item::before {
  content: '' !important;
  position: absolute !important;
  top: 0; left: 0; right: 0 !important;
  height: 3px !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 0.4s !important;
}
.ni-faq-item:hover::before {
  transform: scaleX(1) !important;
}

.ni-c1::before { background: #ff2d78 !important; box-shadow: 0 0 12px 2px #ff2d78 !important; }
.ni-c1:hover { border-color: rgba(255,45,120,0.4) !important; box-shadow: 0 8px 30px rgba(255,45,120,0.2) !important; }

.ni-c2::before { background: #00f5ff !important; box-shadow: 0 0 12px 2px #00f5ff !important; }
.ni-c2:hover { border-color: rgba(0,245,255,0.4) !important; box-shadow: 0 8px 30px rgba(0,245,255,0.2) !important; }

.ni-c3::before { background: #7828ff !important; box-shadow: 0 0 12px 2px #7828ff !important; }
.ni-c3:hover { border-color: rgba(120,40,255,0.4) !important; box-shadow: 0 8px 30px rgba(120,40,255,0.2) !important; }

.ni-c4::before { background: #ffe600 !important; box-shadow: 0 0 12px 2px #ffe600 !important; }
.ni-c4:hover { border-color: rgba(255,230,0,0.4) !important; box-shadow: 0 8px 30px rgba(255,230,0,0.2) !important; }

.ni-c5::before { background: #39ff14 !important; box-shadow: 0 0 12px 2px #39ff14 !important; }
.ni-c5:hover { border-color: rgba(57,255,20,0.4) !important; box-shadow: 0 8px 30px rgba(57,255,20,0.2) !important; }


.sh-tag {
  background: rgba(180,190,220,0.04) !important;
  border: 1px solid rgba(180,190,220,0.15) !important;
}
.sh-tag-text {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: rgba(180,190,220,0.7) !important;
}
.sh-title-metal {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 900 !important;
  color: transparent !important;
  background: linear-gradient(135deg, #c8d0e8 0%, #e8ecf8 40%, #a0aac8 100%) !important;
  background-size: 200% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  letter-spacing: -0.02em !important;
}
.sh-btn-main .t-btn, .sh-btn-main {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #07070d !important;
  background: linear-gradient(135deg, #c8d0e8, #e8ecf8, #a0aac8) !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: 0 0 30px rgba(180,190,220,0.2) !important;
  transition: all 0.3s !important;
}
.sh-btn-main:hover .t-btn, .sh-btn-main:hover {
  box-shadow: 0 0 50px rgba(180,190,220,0.4) !important;
  transform: translateY(-2px) !important;
}
.sh-btn-ghost .t-btn, .sh-btn-ghost {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  color: rgba(180,190,220,0.7) !important;
  border: 1px solid rgba(180,190,220,0.2) !important;
  border-radius: 0 !important;
  transition: all 0.3s !important;
}
.sh-btn-ghost:hover .t-btn, .sh-btn-ghost:hover {
  border-color: rgba(180,190,220,0.5) !important;
  color: #e8ecf8 !important;
}
.sh-title-metal * {
  -webkit-text-fill-color: transparent !important;
}

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

/* КАРТОЧКА — группа */
.arts-card {
  background: #0f0f12 !important;
  border: 1px solid #1c1c20 !important;
  overflow: hidden !important;
  transition: background 0.22s ease !important;
}
.arts-card:hover {
  background: #161619 !important;
  border-color: #2a2a30 !important;
}

/* КАРТИНКА */
.arts-img img {
  filter: brightness(0.55) saturate(0.6) !important;
  transition: transform 0.5s ease, filter 0.35s ease !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}
.arts-card:hover .arts-img img {
  transform: scale(1.04) !important;
  filter: brightness(0.75) saturate(0.85) !important;
}

/* НАЗВАНИЕ */
.arts-name {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
}

/* ОПИСАНИЕ */
.arts-text {
  color: #5a5a5a !important;
  line-height: 1.6 !important;
}

/* ЦЕНА */
.arts-price {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 400 !important;
  color: #3d3d3d !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}

/* РАЗДЕЛИТЕЛЬ (Shape) */
.arts-shape {
  background: #1c1c20 !important;
  opacity: 1 !important;
}

/* ЛЕЙБЛ вверху */
.arts-label {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  color: #555555 !important;
}

/* ЗАГОЛОВОК блока */
.arts-title {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  line-height: 1.0 !important;
  letter-spacing: -0.5px !important;
}

/* ПОДЗАГОЛОВОК блока */
.arts-sub {
  color: #666666 !important;
  line-height: 1.7 !important;
}


.buk-card {
  background: #1a1a1a !important;
  border: 1px solid #444444 !important;
  transition: border-color 0.3s !important;
}
.buk-card:hover {
  border-color: #888888 !important;
}


/* =========================================================================
   ===== RESPONSIVE LAYER (добавлено в шаге 2.8, 2026-04-21) ================
   =========================================================================
   Tilda-фреймворк имеет собственные media-queries (brakepoints 480/640/960/1200),
   но кастомные классы выше писались без адаптива. Здесь fluid-тайпография через
   clamp() + несколько breakpoints для тонкой настройки.
   ========================================================================= */

/* --- Fluid typography: кастомные заголовки и неоновые тайтлы --- */
.title-white,
.title-pink,
.title-cyan {
  /* Базовый fluid font-size: от 24px на мобилке до 64px на десктопе.
     Конкретные страницы могут переопределять inline — clamp применится как дефолт. */
  font-size: clamp(24px, 5vw, 64px) !important;
  line-height: 1.1 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

.arts-title,
.sh-title-metal {
  font-size: clamp(22px, 4.5vw, 56px) !important;
  line-height: 1.05 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Subtitles и описания — fluid, но умереннее */
.subtitle,
.arts-sub,
.arts-text {
  font-size: clamp(14px, 1.4vw, 18px) !important;
  line-height: 1.6 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Счётчики (статистика) — крупные цифры, масштабируются сильно */
.snum {
  font-size: clamp(32px, 7vw, 88px) !important;
}
.slbl {
  font-size: clamp(10px, 1.1vw, 13px) !important;
}

/* Бейджи — не должны вылезать за границы на мобилке */
.badge,
.badge-pink {
  font-size: clamp(10px, 1.1vw, 13px) !important;
  padding: clamp(5px, 0.9vw, 8px) clamp(10px, 1.5vw, 18px) !important;
  max-width: 100%;
}

/* Карточки услуг/галереи — типографика внутри */
.arts-label {
  font-size: clamp(10px, 1vw, 12px) !important;
  letter-spacing: clamp(2px, 0.3vw, 4px) !important;
}
.arts-name {
  font-size: clamp(16px, 2vw, 24px) !important;
}
.arts-price {
  font-size: clamp(11px, 1.2vw, 14px) !important;
  letter-spacing: clamp(1px, 0.2vw, 2px) !important;
}

/* Крошки — они маленькие, но на очень маленьких экранах могут переполнить */
.ph-breadcrumb-zb {
  font-size: clamp(9px, 1vw, 11px) !important;
  letter-spacing: clamp(0.06em, 0.8vw, 0.12em) !important;
  word-wrap: break-word !important;
}

/* Кнопки — не ужимаем агрессивно, Tilda их уже обрабатывает, но даём floor */
.btn-pink,
.btn-ghost,
.sh-btn-main,
.sh-btn-ghost {
  font-size: clamp(11px, 1.1vw, 14px) !important;
}

/* Тэги блога (маленькие лейблы) */
.sh-tag-text {
  font-size: clamp(9px, 1vw, 11px) !important;
  letter-spacing: clamp(0.15em, 0.5vw, 0.25em) !important;
}

/* --- Универсальные защиты от переполнения --- */
/* Картинки никогда не должны растягивать контейнер (overflow на узких) */
.t-rec img,
.uc-gallery img {
  max-width: 100% !important;
  height: auto;
}

/* Предотвращаем горизонтальный скролл от случайно широких элементов.
   ВАЖНО: overflow-x: hidden на html/body ЛОМАЕТ sticky — используем clip
   (поддерживается Chrome 90+, Safari 15.4+, Firefox 81+). */
html, body {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

/* --- Mobile-специфик: ≤ 640px --- */
@media (max-width: 640px) {
  /* FAQ карточки — hover translateY может ломать на touch-устройствах */
  .ni-faq-item:hover {
    transform: none !important;
  }

  /* Плавающие бейджи — на мобилке они часто перекрывают текст */
  .float-badge,
  .float-badge-1,
  .float-badge-2,
  .float-badge-3 {
    animation: none !important;
    transform: none !important;
  }

  /* Снижаем силу свечения на мобилках — экономия GPU + читаемость */
  .title-pink {
    text-shadow:
      0 0 2px #fff,
      0 0 5px #ff2d78,
      0 0 12px #ff2d78,
      0 0 24px rgba(255,45,120,0.5) !important;
  }
  .title-cyan {
    text-shadow:
      0 0 2px #fff,
      0 0 5px #00f5ff,
      0 0 12px #00f5ff,
      0 0 24px rgba(0,245,255,0.5) !important;
  }
}

/* --- Средние планшеты (641–960px) --- */
@media (min-width: 641px) and (max-width: 960px) {
  .float-badge-1,
  .float-badge-2,
  .float-badge-3 {
    /* Слабее амплитуда на планшетах */
    animation-duration: 7s, 8s, 7s !important;
  }
}

/* --- Очень большие экраны (≥ 1600px) — не даём типографике распухать бесконечно --- */
@media (min-width: 1600px) {
  .title-white,
  .title-pink,
  .title-cyan {
    font-size: 64px !important;
  }
  .arts-title,
  .sh-title-metal {
    font-size: 56px !important;
  }
}

/* --- Уважение к prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  .title-pink,
  .title-cyan,
  .float-badge-1,
  .float-badge-2,
  .float-badge-3,
  .ph-breadcrumb-zb {
    animation: none !important;
  }
}

/* --- Печать (print) --- */
@media print {
  .t-rec,
  html, body {
    background: #fff !important;
    color: #000 !important;
  }
  .float-badge,
  .t-popup,
  .t-menu,
  #t-popup-close {
    display: none !important;
  }
}

/* ======================================================
   HEADER v2 — эталон, не ломать
   Документация: _meta/HEADER_TEMPLATE.md
   Шаг 2.17 (2026-04-23): полный перепис шапки.
   Старые блоки «HEADER / MENU NEON OVERLAY» (2.10) и
   «HEADER EXTENDED» (2.11) удалены — новая разметка
   использует .site-* классы, Tilda T461 больше не нужен.
   ====================================================== */

/* Скрываем возможные остатки Tilda-меню, если случайно остались */
.t461, .tmenu-mobile { display: none !important; }

/* ===== Site header root — всегда sticky при скролле ===== */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  font-family: 'Oswald', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
}

/* ===== Topbar ===== */
.site-topbar {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.site-topbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 36px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-topbar__item svg { flex-shrink: 0; opacity: 0.6; }
.site-topbar__sep {
  opacity: 0.4;
  padding: 0 4px;
}
.site-topbar__hours { color: rgba(255, 255, 255, 0.5); }

/* ===== Main header ===== */
.site-header__main {
  background: rgba(10, 10, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.site-header__main.is-scrolled {
  background: rgba(6, 6, 12, 0.92);
  border-bottom-color: rgba(255, 45, 120, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.site-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ===== Logo ===== */
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: filter 0.25s;
  filter: drop-shadow(0 0 8px rgba(255, 45, 120, 0.2));
}
.site-logo:hover {
  filter: drop-shadow(0 0 12px rgba(255, 45, 120, 0.5)) drop-shadow(0 0 20px rgba(0, 245, 255, 0.2));
}
.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* ===== Nav (desktop) ===== */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item {
  position: relative;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, #ff2d78, #ff0099);
  box-shadow: 0 0 8px rgba(255, 45, 120, 0.6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.site-nav__link:hover,
.site-nav__link.is-active,
.site-nav__item.has-active > .site-nav__link,
.site-nav__item.is-open > .site-nav__link {
  color: #ff2d78;
}
.site-nav__link:hover::after,
.site-nav__link.is-active::after,
.site-nav__item.has-active > .site-nav__link::after,
.site-nav__item.is-open > .site-nav__link::after {
  transform: scaleX(1);
}
.site-nav__chevron {
  transition: transform 0.25s;
  opacity: 0.7;
}
.site-nav__item.is-open .site-nav__chevron,
.site-nav__item:hover .site-nav__chevron {
  transform: rotate(180deg);
}

/* ===== Dropdown ===== */
.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  padding: 8px;
  background: #0f0f1a;
  border: 1px solid rgba(255, 45, 120, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #0f0f1a;
  border-left: 1px solid rgba(255, 45, 120, 0.2);
  border-top: 1px solid rgba(255, 45, 120, 0.2);
}
.site-nav__item:hover .site-nav__dropdown,
.site-nav__item.is-open .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.site-nav__item.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}
.site-nav__dropdown a {
  display: block;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav__dropdown a:hover,
.site-nav__dropdown a.is-active {
  background: rgba(255, 45, 120, 0.1);
  color: #ff2d78;
}

/* ===== Header CTA — правая зона: (phone+email) | (CTA+socials) ===== */
.site-header__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.site-header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.1;
}
.site-header__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.site-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.site-phone svg {
  color: #00f5ff;
  filter: drop-shadow(0 0 6px rgba(0, 245, 255, 0.6));
  transition: transform 0.2s;
}
.site-phone:hover { color: #00f5ff; }
.site-phone:hover svg { transform: scale(1.1); }
.site-email {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-email:hover { color: #00f5ff; }
.site-cta-btn {
  height: 40px;
  padding: 0 20px;
  background: linear-gradient(90deg, #ff2d78 0%, #ff0099 100%);
  border: none;
  border-radius: 100px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 45, 120, 0.4);
  transition: box-shadow 0.2s, transform 0.2s, filter 0.2s;
  white-space: nowrap;
  align-self: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-cta-btn:hover {
  box-shadow: 0 0 30px rgba(255, 45, 120, 0.7), 0 0 60px rgba(255, 0, 153, 0.3);
  transform: scale(1.03);
  filter: brightness(1.05);
}
.site-cta-btn:active { transform: scale(0.98); }
.site-cta-btn--wide {
  width: 100%;
  height: 52px;
  font-size: 14px;
  align-self: stretch;
}
.site-header__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s;
}
.site-header__socials a:hover {
  color: #00f5ff;
  background: rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.4);
  transform: translateY(-1px);
}
/* PNG-иконки соцсетей (из подвала) — контейнер подгоняется под изображение */
.site-header__socials a img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}
.site-header__socials a svg { display: block; }

/* ===== Burger (hidden on desktop) ===== */
.site-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}
.site-burger span {
  display: block;
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, top 0.3s, opacity 0.2s;
}
.site-burger span:nth-child(1) { top: 13px; }
.site-burger span:nth-child(2) { top: 19px; }
.site-burger span:nth-child(3) { top: 25px; }
.site-burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.site-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-burger[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ===== Mobile menu side-panel (выезжает справа) ===== */
.site-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s;
}
.site-mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}
.site-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}
.site-mobile-menu.is-open .site-mobile-menu__backdrop { opacity: 1; }
.site-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 360px;
  background: linear-gradient(180deg, #0f0f1a 0%, #0b0b14 100%);
  border-left: 1px solid rgba(255, 45, 120, 0.15);
  box-shadow: -20px 0 50px -10px rgba(0, 0, 0, 0.6),
              inset 1px 0 0 rgba(0, 245, 255, 0.05);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-mobile-menu.is-open .site-mobile-menu__panel {
  transform: translateX(0);
}
body.site-mobile-menu-open { overflow: hidden; }
.site-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.site-mobile-menu__logo img { height: 32px; width: auto; display: block; }
.site-mobile-menu__close {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.site-mobile-menu__close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ff2d78;
}
.site-mobile-menu__nav {
  flex: 1;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-mobile-menu__item,
.site-mobile-menu__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s, color 0.2s;
}
.site-mobile-menu__item:hover,
.site-mobile-menu__group > summary:hover,
.site-mobile-menu__group[open] > summary {
  background: rgba(255, 45, 120, 0.08);
  color: #ff2d78;
}
.site-mobile-menu__group > summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 12px;
  transition: transform 0.2s;
}
.site-mobile-menu__group[open] > summary::after {
  transform: rotate(-135deg);
}
.site-mobile-menu__group > summary::-webkit-details-marker { display: none; }
.site-mobile-menu__sub {
  display: flex;
  flex-direction: column;
  padding: 4px 0 8px 20px;
}
.site-mobile-menu__sub a {
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.site-mobile-menu__sub a:hover {
  background: rgba(255, 45, 120, 0.08);
  color: #ff2d78;
}
.site-mobile-menu__footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.site-mobile-menu__phone {
  display: block;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}
.site-mobile-menu__phone:hover { color: #00f5ff; }
.site-mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.site-mobile-menu__contact a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.site-mobile-menu__contact a:hover { color: #ff2d78; }
.site-mobile-menu__socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-mobile-menu__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.site-mobile-menu__socials a:hover {
  color: #ff2d78;
  background: rgba(255, 45, 120, 0.12);
  transform: translateY(-2px);
}

/* ===== Tablet (768 - 1200px) — скрываем десктоп-меню, оставляем CTA+соцсети компактные ===== */
@media (max-width: 1200px) {
  .site-nav { display: none; }
  .site-header__contact { display: none; }
  .site-header__cta { margin-left: auto; }
  .site-header__inner { height: 72px; gap: 16px; }
  .site-header__actions { flex-direction: row; gap: 10px; align-items: center; }
  .site-header__socials { gap: 4px; }
  .site-header__cta .site-cta-btn {
    padding: 0 18px;
    height: 38px;
    font-size: 12px;
  }
  .site-burger { display: block; margin-left: 8px; }
}

/* ===== Mobile (<768px) ===== */
@media (max-width: 768px) {
  .site-topbar { display: none; }
  .site-header__inner {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }
  .site-logo img { height: 32px; }
  .site-header__cta { display: none; }
  .site-nav { display: none; }
  .site-burger { display: block; margin-left: auto; }
}

/* ===== Very narrow (<360px) ===== */
@media (max-width: 360px) {
  .site-header__inner { padding: 0 12px; gap: 6px; }
  .site-logo img { height: 28px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .site-nav__link::after,
  .site-nav__dropdown,
  .site-cta-btn,
  .site-burger span,
  .site-mobile-menu {
    transition: none !important;
  }
  .site-cta-btn:hover,
  .site-header__socials a:hover,
  .site-mobile-menu__socials a:hover {
    transform: none;
  }
}

/* ===== Print ===== */
@media print {
  .site-topbar,
  .site-header__main,
  .site-mobile-menu {
    display: none !important;
  }
}

/* ===== ADAPT-LAYER (шаг 2.18.9, 2026-04-23) =====
   Универсальные мобильные фиксы для Tilda T396 и T123 блоков. */
@media (max-width: 640px) {
  /* Tilda T396 artboard может иметь фиксированную ширину 1200px — переполняется */
  .t396__artboard,
  .t396__carrier,
  .t396__filter {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  /* Абсолютно-позиционированные элементы могут выходить за viewport */
  .t396__elem.tn-elem {
    max-width: 100vw !important;
  }
  /* Все inline-кнопки Tilda (t-btn, t-btnflex) на мобилке —
     минимальная высота 44px (Apple HIG), полная ширина где возможно */
  .t-btn, .t-btnflex, .t-submit {
    min-height: 44px !important;
  }
  /* Картинки в любых каруселях не больше viewport */
  .swiper-slide img,
  .t-slds__container img,
  .t-store__card__bgimg {
    max-width: 100% !important;
  }
  /* Store-cards 2 колонки на узких экранах (default Tilda — 4 колонки) */
  .t-store__stretch-col_25 {
    width: 50% !important;
    max-width: 50% !important;
  }
}
@media (max-width: 380px) {
  .t-store__stretch-col_25 {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =====================================================================
   STEP 2.19 FIX-LAYER (2026-04-23)
   Большой слой фиксов по обратной связи владельца.
   ===================================================================== */

/* ---------- Этап B: оранжевый везде → белый/серый/pink ----------
   Tilda жёстко задаёт `#allrecords a { color: #ff8562 }` (specificity 1,0,1)
   в каждом tilda-blocks-page*.min.css. Обычные class-override 0,1,0 не бьют
   эту специфичность, поэтому ВСЕ правила ниже — с !important. */

/* Хлебные крошки во всех контекстах */
.shop-crumbs .shop-crumb,
.shop-breadcrumb a,
.breadcrumb a,
.blog-breadcrumbs a,
nav.breadcrumbs a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
}
.shop-crumbs .shop-crumb:hover,
.shop-breadcrumb a:hover,
.breadcrumb a:hover,
.blog-breadcrumbs a:hover {
  color: #00f5ff !important;
  text-shadow: none !important;
}
.shop-crumbs .shop-crumb--current,
.breadcrumb__current,
.shop-breadcrumb__current {
  color: rgba(255, 255, 255, 0.95) !important;
}
.shop-crumbs .shop-crumb-sep,
.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Email в шапке — белый, не cyan, не оранжевый */
.site-email,
a.site-email {
  color: rgba(255, 255, 255, 0.75) !important;
}
.site-email:hover,
a.site-email:hover {
  color: #fff !important;
}

/* Любые ссылки в main-контенте магазина — серые (чтобы Tilda-оранжевый не пролез) */
.shop-main a:not(.shop-card):not(.shop-category-card):not(.shop-theme-card):not(.site-cta-btn):not(.shop-cta-block__btn):not(.shop-product__cta):not(.shop-product__phone):not(.shop-crumb):not(.shop-crumb--current) {
  color: rgba(255, 255, 255, 0.8) !important;
}
.shop-main a:not(.shop-card):not(.shop-category-card):not(.shop-theme-card):not(.site-cta-btn):not(.shop-cta-block__btn):not(.shop-product__cta):not(.shop-product__phone):not(.shop-crumb):not(.shop-crumb--current):hover {
  color: #00f5ff !important;
}

/* Страховка через #allrecords для любых пропущенных мест */
#allrecords .shop-crumb,
#allrecords a.shop-crumb {
  color: rgba(255, 255, 255, 0.6) !important;
}
#allrecords .shop-crumb--current,
#allrecords a.shop-crumb--current {
  color: rgba(255, 255, 255, 0.95) !important;
}
#allrecords .site-email {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Tilda catalog markers — скрыть везде, даже если где-то остались */
.t-store,
.js-store,
.js-store-grid-cont,
.js-store-parts-select-container,
.js-store-grid-cont-preloader,
.t-store__card-preloader,
.t-store__grid-cont {
  display: none !important;
}
/* Любой текст вида "ERROR:The Catalog..." */
.t-store__relevants__title:empty,
[class*="t-store"][class*="error"] {
  display: none !important;
}

/* ---------- Этап C: Шапка sticky — НЕ ТРОГАЕМ (уже работает из HEADER v2) ----------
   position: sticky уже задан в блоке HEADER v2 выше.
   Убираем все агрессивные !important и transform/filter: none — они ломали layout. */

/* ---------- Этап D: УБРАНО — t-container и shop-main уже имеют max-width в своих CSS.
   Переопределение здесь конфликтовало с inline-стилями Tilda и ломало layout. */

/* ---------- Этап F: унификация соцсетей в мобильном меню ---------- */
/* Соцсети в burger-меню — тёмный круг + cyan/pink hover (как в шапке) */
.site-mobile-menu__socials a {
  color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  width: 40px !important;
  height: 40px !important;
}
.site-mobile-menu__socials a:hover {
  color: #00f5ff !important;
  background: rgba(0, 245, 255, 0.08) !important;
  border-color: rgba(0, 245, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}
.site-mobile-menu__socials svg {
  color: currentColor;
  fill: currentColor;
}
.site-mobile-menu__socials a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* ---------- Этап I: CTA-кнопка в шапке — отступ справа (простой, без env()) ---------- */

.site-header__inner {
  padding-right: 24px;
}
@media (max-width: 1200px) {
  .site-header__inner { padding-right: 20px; }
}
@media (max-width: 768px) {
  .site-header__inner { padding-right: 16px; }
}

/* ---------- Универсальная защита: shop-card и home-ready-card одинаковых пропорций ---------- */
.home-ready__card-img {
  aspect-ratio: 3 / 4 !important;
}

/* ---------- Этап H: Адаптация всех страниц — базовые фиксы для неглавных ---------- */
/* html, body уже overflow-x: hidden. Проверяем что min-width не обрывает. */
@media (max-width: 768px) {
  /* Tilda cover-секции на mobile — уменьшаем паддинги чтобы текст не обрезался */
  .t-cover__wrapper {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  /* Большие заголовки на узких экранах */
  .t-title_xxxl, .t-title_xxl {
    font-size: clamp(26px, 7vw, 40px) !important;
    line-height: 1.15 !important;
  }
  /* Paragrafs */
  .t-descr_xxxl, .t-descr_xxl, .t-descr_xl, .t-descr_lg {
    font-size: clamp(13px, 3.6vw, 16px) !important;
    line-height: 1.5 !important;
  }
  /* shop — карточки в 2 колонки на мобилке */
  .shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .shop-card__body {
    padding: 12px 12px 14px !important;
  }
  .shop-card__title {
    font-size: 13px !important;
    min-height: 2.4em !important;
  }
}
@media (max-width: 420px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .shop-product__inner {
    grid-template-columns: 1fr !important;
  }
}

/* Горизонтальный scroll уже предотвращён на html/body с 2.8 — не трогаем t-rec */

/* T396 MOBILE SAFETY (2.24+2.25 откачено 2.26)
   Агрессивный flex-column override ломал hero-блоки на главной (tilda-ваши
   absolute-элементы переставали собираться в задуманную композицию).
   Оставляем ТОЛЬКО защиту от горизонтального скролла — Tilda сама адаптирует
   layout через свой @media (320-раскладка). Текст на главной будет виден
   в том виде как задумала Tilda (с inline @media max-width:1199px). */
@media screen and (max-width: 640px) {
  .t396__artboard,
  .t396__filter,
  .t396__carrier {
    max-width: 100vw !important;
  }
  .t396__elem {
    max-width: 100vw !important;
  }
}

/* ============================================================================
   METALLIC BUTTONS (шаг 2.27, 2026-04-23)
   Все CTA сайта — тёмный металлик с переливающимся shimmer-gradient.
   Замена розового (#ff2d78 / #ff0099) везде.
   Перебивает inline Tilda и ранее написанные pink правила через !important.
   ========================================================================== */
@keyframes btn-metallic-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.site-cta-btn,
.site-popup__submit,
.shop-cat-card__cta,
.shop-cta-block__btn,
.shop-product__cta,
.home-ready__more,
.home-timeline__btn,
.blog-post__cta,
.blog-share__copy,
#allrecords .t-submit,
#allrecords .t-btn,
.js-site-form .t-submit,
.js-site-form button[type="submit"] {
  background: linear-gradient(135deg,
    #1e1e2a 0%,
    #32323e 20%,
    #55556a 50%,
    #32323e 80%,
    #1e1e2a 100%
  ) !important;
  background-size: 220% 220% !important;
  animation: btn-metallic-shimmer 6s ease-in-out infinite;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55) !important;
  transition: filter 0.2s ease, transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.site-cta-btn:hover,
.site-popup__submit:hover,
.shop-cat-card__cta:hover,
.shop-cta-block__btn:hover,
.shop-product__cta:hover,
.home-ready__more:hover,
.home-timeline__btn:hover,
.blog-post__cta:hover,
.blog-share__copy:hover,
#allrecords .t-submit:hover,
#allrecords .t-btn:hover,
.js-site-form .t-submit:hover,
.js-site-form button[type="submit"]:hover {
  filter: brightness(1.3) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1px) !important;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5) !important;
}

.site-cta-btn:active,
.site-popup__submit:active,
.shop-cat-card__cta:active,
.shop-cta-block__btn:active,
.shop-product__cta:active,
.home-ready__more:active,
.home-timeline__btn:active,
.blog-post__cta:active,
.blog-share__copy:active,
#allrecords .t-submit:active,
#allrecords .t-btn:active {
  transform: translateY(0) !important;
  filter: brightness(1) !important;
}

/* home-ready__more был в outline-стиле (прозрачный фон + border) — убираем его спец-background
   чтобы metallic-gradient из правила выше применился нормально */
.home-ready__more {
  background-color: transparent;
}

/* prefers-reduced-motion: отключить shimmer */
@media (prefers-reduced-motion: reduce) {
  .site-cta-btn,
  .site-popup__submit,
  .shop-cat-card__cta,
  .shop-cta-block__btn,
  .shop-product__cta,
  .home-ready__more,
  .home-timeline__btn,
  .blog-post__cta,
  .blog-share__copy,
  #allrecords .t-submit,
  #allrecords .t-btn {
    animation: none !important;
    background-position: 50% 50% !important;
  }
}
