*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --red: #C8102E;
      --red-light: #e63950;
      --red-glow: rgba(200,16,46,.35);
      --gold: #FFD700;
      --dark: #0d0d0d;
      --dark2: #111;
      --dark3: #161616;
      --border: rgba(255,255,255,.08);
      --text: rgba(255,255,255,.85);
      --text-muted: rgba(255,255,255,.45);
      --container: 1200px;
      --darker: #111111;
      --font-head: 'Oswald', sans-serif;
      --transition: .25s ease;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Manrope', sans-serif;
      background: var(--dark);
      color: var(--text);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
    }

    a { text-decoration: none; color: inherit; }

    /* ═══ TPH ШАПКА (как на Главной) ═══ */
    /* шапка */
.tphHeader {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #111 !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.4) !important;
}
.tphHeader, .tphHeader * { box-sizing: border-box; }
.tphContainer { max-width: 1200px !important; margin: 0 auto !important; padding: 0 24px !important; }
.tphTop { background: #C41E3A !important; padding: 6px 0 !important; }
.tphTopInner {
  display: flex !important; align-items: center !important;
  justify-content: flex-end !important; gap: 18px !important; flex-wrap: wrap !important;
}
.tphPhone {
  display: inline-flex !important; align-items: center !important; gap: 7px !important;
  color: #fff !important; font-weight: 600 !important; font-size: 14px !important;
  letter-spacing: .02em !important; text-decoration: none !important; white-space: nowrap !important;
  opacity: .95 !important;
}
.tphPhone:hover { opacity: 1 !important; }
.tphPhone svg { opacity: .85 !important; }
.tphCta {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  padding: 6px 16px !important; font-size: 13px !important; font-weight: 800 !important;
  color: #fff !important; text-decoration: none !important; border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.35) !important; background: rgba(0,0,0,.14) !important;
  white-space: nowrap !important;
}
.tphMain {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 14px !important; padding: 14px 0 !important; position: relative !important;
}
.tphLogo {
  display: flex !important; align-items: center !important; gap: 14px !important;
  color: #fff !important; text-decoration: none !important;
}
.tphLogoImg { width: 54px !important; height: 54px !important; object-fit: contain !important; display: block !important; }
.tphLogoText {
  font-family: var(--font-body) !important;
  font-size: 13px !important; font-weight: 800 !important; text-transform: uppercase !important;
  letter-spacing: .05em !important; line-height: 1.25 !important; max-width: 260px !important; color: #fff !important;
}
.tphLogoText span { color: rgba(255,255,255,.78) !important; }
.tphNav {
  display: flex !important; align-items: center !important; gap: 4px !important;
  flex-wrap: wrap !important; justify-content: flex-end !important;
}
.tphNav a {
  color: rgba(255,255,255,.78) !important; font-size: 13px !important; font-weight: 600 !important;
  padding: 8px 11px !important; border-radius: 10px !important; text-decoration: none !important; white-space: nowrap !important;
}
.tphNav a:hover { color: #fff !important; background: rgba(255,255,255,.10) !important; }
.tphBurger {
  display: none !important; flex-direction: column !important; gap: 5px !important;
  background: none !important; border: none !important; cursor: pointer !important; padding: 10px !important;
}
.tphBurger span { display: block !important; width: 26px !important; height: 2px !important; background: #fff !important; border-radius: 2px !important; }

    /* ═══ PAGE HERO / BANNER ═══ */
    .page-banner {
      position: relative;
      padding: 80px 0 60px;
      overflow: hidden;
      background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0e 60%, #0d0d0d 100%);
    }

    .page-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 80% at 10% 50%, rgba(200,16,46,.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 90% 20%, rgba(200,16,46,.10) 0%, transparent 55%);
      pointer-events: none;
    }

    /* Японский флаг фон */
    .page-banner::after {
      content: '🇯🇵';
      position: absolute;
      right: -20px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 320px;
      opacity: .04;
      line-height: 1;
      pointer-events: none;
      user-select: none;
    }

    /* Сетка */
    .banner-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    .page-banner .tphContainer {
      position: relative;
      z-index: 2;
    }

    .page-banner-breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }
    .page-banner-breadcrumb a { color: var(--text-muted); transition: color .2s; }
    .page-banner-breadcrumb a:hover { color: var(--red-light); }
    .page-banner-breadcrumb span { color: rgba(255,255,255,.2); }

    .page-banner-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(200,16,46,.15);
      border: 1px solid rgba(200,16,46,.3);
      color: var(--red-light);
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      padding: 6px 14px;
      border-radius: 100px;
      margin-bottom: 20px;
    }

    .page-banner h1 {
      font-size: clamp(36px, 5vw, 60px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -.02em;
      color: white;
      margin-bottom: 20px;
    }
    .page-banner h1 em {
      font-style: normal;
      color: var(--red-light);
    }

    .page-banner-sub {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 560px;
      line-height: 1.7;
    }

    /* ═══ ABOUT SECTION ═══ */
    .about-section {
      padding: 80px 0;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 60px;
      align-items: start;
    }

    /* Текст */
    .about-text-block h2 {
      font-size: 28px;
      font-weight: 800;
      margin-bottom: 28px;
      color: white;
      letter-spacing: -.01em;
    }

    .about-text-block p {
      font-size: 16px;
      line-height: 1.85;
      color: rgba(255,255,255,.7);
      margin-bottom: 24px;
    }

    .about-text-block p:last-child { margin-bottom: 0; }

    /* Бренды-пилюли */
    .brand-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 28px 0;
    }

    .brand-pill {
      display: flex;
      align-items: center;
      gap: 7px;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.1);
      color: white;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .05em;
      padding: 8px 16px;
      border-radius: 100px;
      transition: background .2s, border-color .2s;
    }
    .brand-pill:hover {
      background: rgba(200,16,46,.15);
      border-color: rgba(200,16,46,.4);
    }

    .brand-pill-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--red-light);
      flex-shrink: 0;
    }

    /* Карточка сбоку */
    .about-sidebar {
      display: flex;
      flex-direction: column;
      gap: 20px;
      position: sticky;
      top: 100px;
    }

    .info-card {
      background: var(--dark3);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 28px;
      position: relative;
      overflow: hidden;
    }

    .info-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--red), var(--red-light));
      border-radius: 3px 3px 0 0;
    }

    .info-card-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: var(--red-light);
      margin-bottom: 18px;
    }

    .stat-row {
      display: flex;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 14px;
    }
    .stat-row:last-child { margin-bottom: 0; }

    .stat-num {
      font-size: 36px;
      font-weight: 800;
      color: white;
      line-height: 1;
    }

    .stat-label {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .divider {
      height: 1px;
      background: var(--border);
      margin: 16px 0;
    }

    /* Кнопка написать нам */
    .contact-card {
      background: linear-gradient(135deg, rgba(200,16,46,.2) 0%, rgba(200,16,46,.08) 100%);
      border: 1px solid rgba(200,16,46,.3);
      border-radius: 20px;
      padding: 28px;
      text-align: center;
    }

    .contact-card-icon {
      width: 52px;
      height: 52px;
      background: rgba(200,16,46,.2);
      border: 1px solid rgba(200,16,46,.3);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
    }

    .contact-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: white;
      margin-bottom: 8px;
    }

    .contact-card p {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .btn-write {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      background: var(--red);
      color: white;
      font-size: 14px;
      font-weight: 700;
      padding: 14px 24px;
      border-radius: 12px;
      transition: background .2s, transform .2s, box-shadow .2s;
      border: none;
      cursor: pointer;
      letter-spacing: .03em;
    }
    .btn-write:hover {
      background: var(--red-light);
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(200,16,46,.4);
    }

    /* Преимущества */
    .features-section {
      padding: 0 0 80px;
    }

    .section-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .12em;
      color: var(--red-light);
      margin-bottom: 12px;
    }

    .section-title {
      font-size: clamp(26px, 3vw, 36px);
      font-weight: 800;
      color: white;
      letter-spacing: -.01em;
      margin-bottom: 48px;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .feature-card {
      background: var(--dark3);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 28px;
      transition: border-color .3s, transform .3s;
      position: relative;
      overflow: hidden;
    }
    .feature-card:hover {
      border-color: rgba(200,16,46,.35);
      transform: translateY(-4px);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      background: rgba(200,16,46,.12);
      border: 1px solid rgba(200,16,46,.2);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      font-size: 22px;
    }

    .feature-card h4 {
      font-size: 16px;
      font-weight: 700;
      color: white;
      margin-bottom: 10px;
    }

    .feature-card p {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ═══ FOOTER (как на Главной) ═══ */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .footer { background: var(--darker); color: #fff; padding: 70px 0 0; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
    .logo-text { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; max-width: 220px; }
    .logo-text span { color: rgba(255,255,255,.78); }
    .footer-brand-text { font-size: 13.5px; color: rgba(255,255,255,.45); line-height: 1.75; margin: 16px 0 24px; font-weight: 300; }
    .footer-socials { display: flex; gap: 10px; }
    .footer-social { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; transition: var(--transition); color: rgba(255,255,255,.5); }
    .footer-social:hover { background: var(--red); border-color: var(--red); color: #fff; }
    .footer-heading { font-family: var(--font-head); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 20px; }
    .footer-nav { list-style: none; }
    .footer-nav li { margin-bottom: 10px; }
    .footer-nav a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: var(--transition); }
    .footer-nav a:hover { color: var(--red-light); }
    .footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.5; }
    .footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: .6; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; margin-top: 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
    .footer-bottom-text { font-size: 12px; color: rgba(255,255,255,.25); }

    
    .vk-tooltip {
      position: absolute; bottom: calc(100% + 10px); left: 50%;
      transform: translateX(-50%) scale(.9); background: rgba(17,17,17,.95);
      border: 1px solid rgba(255,255,255,.15); color: white; font-size: 12px; font-weight: 600;
      padding: 8px 14px; border-radius: 10px; white-space: nowrap; pointer-events: none;
      opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
      box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 100;
    }
    .vk-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(17,17,17,.95); }
    .vk-tooltip.show { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }

    @keyframes pulse { 0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(91,65,255,.4)} 50%{transform:scale(1.05);box-shadow:0 0 20px 10px rgba(91,65,255,0)} }

    /* ═══ RESPONSIVE ═══ */
    @media (max-width: 1024px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 980px) {
      .about-grid { grid-template-columns: 1fr; }
      .about-sidebar { position: static; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .tphNav { display: none !important; }
      .tphBurger { display: flex !important; }
      .tphTopInner { justify-content: center !important; }
      body.tphMenuOpen .tphNav {
        display: flex !important; flex-direction: column !important; gap: 6px !important;
        position: absolute !important; left: 0 !important; right: 0 !important;
        top: calc(100% + 10px) !important; background: rgba(15,17,21,.96) !important;
        border: 1px solid rgba(255,255,255,.12) !important; border-radius: 16px !important;
        padding: 10px !important; box-shadow: 0 16px 45px rgba(0,0,0,.45) !important;
        z-index: 2147483647 !important;
      }
      body.tphMenuOpen .tphNav a {
        padding: 10px 12px !important; border-radius: 12px !important;
        background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.10) !important;
      }
    }
    @media (max-width: 600px) {
      .features-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
      .float-btns { bottom: 20px; right: 16px; }
      .page-banner { padding: 60px 0 44px; }
    }
  

/* vk */
.vk-soon-wrap { position: relative; display: inline-flex; cursor: pointer; }
.vk-tooltip {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) scale(.9); background: rgba(17,17,17,.95);
  border: 1px solid rgba(255,255,255,.15); color: white; font-size: 12px;
  font-weight: 600; padding: 8px 14px; border-radius: 10px; white-space: nowrap;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 100;
}
.vk-tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: rgba(17,17,17,.95);
}
.vk-tooltip.show { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }

/* float */
.float-btns {
  position: fixed; bottom: 88px; left: 28px; right: auto;
  display: flex; flex-direction: column; gap: 12px; z-index: 8000;
}

.onicon-chat-button,
.onicon-chat-trigger,
.onicon-chat-popup,
.onicon-button,
.onicon-button-callback,
.onicon-widget,
.onicon-menu__overlay,
.onc-callback,
[id^="onicon"] {
  z-index: 2147483000 !important;
}

.onicon-button-callback {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: 28px !important;
  bottom: 92px !important;
  transform: none !important;
  margin: 0 !important;
  cursor: pointer !important;
}
.onicon-button-callback__animated {
  pointer-events: none !important;
}
#onicon .onc-callback {
  z-index: 2147483100 !important;
}
/* onc-callback open/close — в tph-onicon.css */
.onicon-button,
.onicon-chat-button {
  right: 28px !important;
  left: auto !important;
  bottom: 20px !important;
  top: auto !important;
}
.onicon-chat-popup[style*="visibility: hidden"],
.onicon-chat-popup[style*="visibility:hidden"] {
  pointer-events: none !important;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.3);
  transition: transform .25s ease, box-shadow .25s ease; cursor: pointer;
  border: none;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.float-btn-wa { background: #25D366; }
.float-btn-max {
  background: linear-gradient(135deg,#5B41FF,#8B5CF6) !important;
  box-shadow: 0 4px 20px rgba(91,65,255,.5) !important; border: none;
}
.float-btn-max:hover {
  background: linear-gradient(135deg,#4C35E0,#7C4FE0) !important;
  transform: scale(1.1); box-shadow: 0 6px 25px rgba(91,65,255,.6) !important;
}
.float-btn-max img { display: block; }

/* modals */
.phone-modal, .contacts-modal, .max-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s ease; z-index: 9000; padding: 20px;
}
.phone-modal.active, .contacts-modal.active, .max-modal.active { opacity: 1; visibility: visible; }

.phone-modal-box {
  background: linear-gradient(145deg,#1a1a2e,#111); border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 32px; text-align: center; max-width: 380px; width: 100%;
  transform: translateY(20px) scale(.95); transition: .3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); position: relative;
}
.phone-modal.active .phone-modal-box { transform: translateY(0) scale(1); }
.phone-modal-close {
  position: absolute; top: -12px; right: -12px; width: 36px; height: 36px;
  border: none; border-radius: 50%; background: #C41E3A; color: white;
  font-size: 20px; cursor: pointer; transition: .25s ease;
  display: flex; align-items: center; justify-content: center;
}
.phone-modal-close:hover { background: #a01830; transform: rotate(90deg); }
.phone-modal-icon { font-size: 48px; margin-bottom: 16px; }
.phone-modal-title { color: white; font-size: 22px; font-family: var(--font-head); margin: 0 0 8px; }
.phone-modal-sub { color: rgba(255,255,255,.5); font-size: 14px; margin: 0 0 24px; }
.phone-modal-numbers { display: flex; flex-direction: column; gap: 12px; }
.phone-modal-num {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: .25s ease;
}
.phone-modal-num:hover {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.phone-modal-num-icon { font-size: 28px; flex-shrink: 0; }
.phone-modal-num-label { color: rgba(255,255,255,.5); font-size: 12px; margin-bottom: 4px; }
.phone-modal-num-value { color: white; font-size: 18px; font-weight: 700; }

.contacts-box {
  width: 100%; max-width: 560px; background: #111; border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 32px; position: relative;
  transform: translateY(25px) scale(.95); transition: .35s ease;
  box-shadow: 0 20px 80px rgba(0,0,0,.5); max-height: 90vh; overflow-y: auto;
}
.contacts-modal.active .contacts-box { transform: translateY(0) scale(1); }
.contacts-box h2 { color: white; font-size: 32px; margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-icon {
  width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px;
}
.contact-item strong { display: block; color: white; margin-bottom: 6px; }
.contact-item p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.6; font-size: 14px; }
.contact-item a { color: var(--red-light); }
.contact-item a:hover { text-decoration: underline; }
.contacts-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.08); color: white;
  font-size: 24px; cursor: pointer; transition: .25s ease;
  display: flex; align-items: center; justify-content: center;
}
.contacts-close:hover { background: var(--red); transform: rotate(90deg); }

.max-modal-box {
  background: linear-gradient(145deg,#1a1a2e,#16162a); border: 1px solid rgba(91,65,255,.3);
  border-radius: 24px; padding: 32px; text-align: center; max-width: 380px; width: 100%;
  transform: translateY(20px) scale(.95); transition: .3s ease;
  box-shadow: 0 20px 60px rgba(91,65,255,.3); position: relative;
}
.max-modal.active .max-modal-box { transform: translateY(0) scale(1); }
.max-modal-close {
  position: absolute; top: -12px; right: -12px; width: 36px; height: 36px;
  border: none; border-radius: 50%; background: #5B41FF; color: white;
  font-size: 20px; cursor: pointer; transition: .25s ease;
  display: flex; align-items: center; justify-content: center;
}
.max-modal-close:hover { background: #4C35E0; transform: rotate(90deg); }
.max-modal-icon {
  width: 80px; height: 80px; background: linear-gradient(135deg,#5B41FF,#8B5CF6);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; animation: pulse 2s ease-in-out infinite;
}
.max-modal-title { color: white; font-size: 22px; font-family: var(--font-head); margin: 0 0 12px; }
.max-modal-text { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.max-modal-phone {
  background: rgba(91,65,255,.15); border: 1px solid rgba(91,65,255,.3);
  border-radius: 12px; padding: 14px 20px; color: white;
  font-size: 20px; font-weight: 700; letter-spacing: .5px; margin-bottom: 20px;
}
.max-modal-buttons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.max-modal-copy {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: 14px 20px; color: white;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s ease;
}
.max-modal-copy:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.max-modal-goto {
  background: linear-gradient(135deg,#5B41FF,#8B5CF6); border-radius: 12px;
  padding: 14px 20px; color: white; font-size: 14px; font-weight: 700;
  text-decoration: none; display: block; transition: .2s ease;
}
.max-modal-goto:hover {
  background: linear-gradient(135deg,#4C35E0,#7C4FE0);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(91,65,255,.4);
}
.max-modal-timer { color: rgba(255,255,255,.4); font-size: 13px; }
.max-modal-timer span { color: #8B5CF6; font-weight: 700; }

.copy-notification {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.8); background: rgba(46,125,50,.95);
  border-radius: 16px; padding: 20px 32px; display: flex; align-items: center;
  gap: 12px; color: white; font-size: 16px; font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transition: .3s ease; z-index: 9100;
}
.copy-notification.active { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.copy-notification-icon {
  width: 32px; height: 32px; background: rgba(255,255,255,.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px;
}

@media (max-width: 980px) {
  .tphNav { display: none !important; }
  .tphBurger { display: flex !important; }
  .tphTopInner { justify-content: center !important; }
  body.tphMenuOpen .tphNav {
    display: flex !important; flex-direction: column !important; gap: 6px !important;
    position: absolute !important; left: 0 !important; right: 0 !important;
    top: calc(100% + 10px) !important; background: rgba(15,17,21,.96) !important;
    border: 1px solid rgba(255,255,255,.12) !important; border-radius: 16px !important;
    padding: 10px !important; box-shadow: 0 16px 45px rgba(0,0,0,.45) !important;
    z-index: 2147483647 !important;
  }
  body.tphMenuOpen .tphNav a {
    padding: 10px 12px !important; border-radius: 12px !important;
    background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.10) !important;
  }
}
@media (max-width: 768px) {
  .float-btns {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: auto;
    gap: 10px;
  }
  .float-btn { width: 46px; height: 46px; }

  .onicon-button-callback {
    left: auto !important;
    right: 12px !important;
    top: auto !important;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }

#onicon .onc-callback__body {
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  #onicon .onc-callback__columns {
    flex-direction: column !important;
  }
  #onicon .onc-callback__empty {
    display: none !important;
  }
  #onicon .onc-callback__bg-image {
    min-height: 100px !important;
    background-size: cover !important;
  }
  #onicon .onc-callback__content {
    width: 100% !important;
  }

  .onicon-button,
  .onicon-chat-button {
    right: 10px !important;
    left: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: calc(100vw - 20px) !important;
  }
  .onicon-button__title {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  #onicon input,
  #onicon textarea,
  #onicon select,
  .onicon-textarea {
    font-size: 16px !important;
  }

  .onicon-chat-popup {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    height: auto !important;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px) !important;
    inset: auto 8px calc(8px + env(safe-area-inset-bottom, 0px)) 8px !important;
    top: auto !important;
    border-radius: 14px !important;
  }
  .onicon-chat-popup__main {
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 48px) !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .onicon-chat-popup__scroll-hidden,
  .onicon-chat-popup .onicon-js-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
  }
  .onicon-chat-popup__scrollable-wrapp {
    max-height: calc(100dvh - 280px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .onicon-chat-popup__bar {
    display: none !important;
  }
  .onicon-copyright {
    font-size: 11px !important;
    padding: 6px 8px !important;
  }
  .onicon-textarea,
  .onicon-toolbar {
    flex-shrink: 0;
  }
}
