
:root{--bg:#ffffff;--text:#0b1220;--muted:#5b6478;--brand:#2563eb;--brand-2:#0ea5e9;--card:#f8fafc;--border:#e5e7eb;--radius:18px}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font:18px/1.65 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif}
a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}
.container{max-width:1200px;margin:0 auto;padding:24px}
.header{position:sticky;top:0;background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--border);z-index:10}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{display:flex;align-items:center;gap:10px;font-weight:900}
.logo-badge{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--brand-2),var(--brand));display:grid;place-items:center;color:#fff}
.nav{display:flex;gap:20px;flex-wrap:wrap}
.cta{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.btn{display:inline-block;padding:12px 18px;border-radius:14px;background:var(--brand);color:#fff;font-weight:700;border:1px solid rgba(0,0,0,.06);box-shadow:0 4px 14px rgba(37,99,235,.18)}
.btn-ghost{background:#fff;color:var(--brand);border:1px solid var(--brand)}
.btn-light{background:#fff;color:var(--text);border:1px solid var(--border)}
.btn:hover{filter:brightness(1.06)}
.section{padding:28px 0}
.hero{padding:38px 0 8px}
.hero-inner{display:grid;gap:24px;grid-template-columns:1.25fr 1fr;align-items:center}
.hero h1{font-size:44px;line-height:1.1;margin:0 0 12px}
.hero p{color:var(--muted);margin:0 0 18px}
.stats{display:flex;gap:14px;flex-wrap:wrap}
.stats .tag{background:#eef2ff;border:1px solid #c7d2fe;color:#1e1b4b;padding:8px 12px;border-radius:999px;font-weight:700}
@media(max-width:980px){.hero-inner{grid-template-columns:1fr}.hero h1{font-size:36px}}
.grid{display:grid;gap:18px;grid-template-columns:repeat(3,1fr)}
@media(max-width:1024px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid{grid-template-columns:1fr}}
.card{background:var(--card);padding:20px;border-radius:var(--radius);border:1px solid var(--border);box-shadow:0 1px 3px rgba(0,0,0,.06)}
.card h2{margin:6px 0 8px;font-size:22px}
.features{display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}
.feature{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px}
.badge{display:inline-block;background:#f1f5f9;border:1px solid var(--border);padding:6px 10px;border-radius:999px}
.kicker{letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#334155;font-size:13px;margin-bottom:8px}
.gallery{display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}
.gallery img{width:100%;height:200px;object-fit:cover;border-radius:14px;border:1px solid var(--border)}
.table{width:100%;border-collapse:separate;border-spacing:0 10px}
.table th{text-align:left;color:var(--muted);font-weight:700}
.table td,.table th{padding:12px}
.table tr{background:var(--card);border:1px solid var(--border)}
.form{display:grid;gap:12px}
.input, textarea{width:100%;padding:12px;border:1px solid var(--border);border-radius:12px;background:#fff}
.small{font-size:13px;color:var(--muted)}
hr{border:none;border-top:1px solid var(--border);margin:26px 0}
footer{color:var(--muted);font-size:14px}
.breadcrumb{color:var(--muted);font-size:14px;margin:6px 0 16px}
.symptoms{display:grid;gap:10px;grid-template-columns:repeat(2,1fr)}
@media(max-width:700px){.symptoms{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════════════
   BUTTON SYSTEM — основные и мессенджерные кнопки
   ═══════════════════════════════════════════════════ */

/* Тип 1: Основные кнопки сайта */
.btn-cta,
.btn-main,
.btn.primary,
.btn.btn-primary,
.btn-primary,
button.btn {
  background: #CC0000 !important;
  color: #fff !important;
  border-radius: 6px !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(204,0,0,.22) !important;
}
.btn-cta:hover,
.btn-main:hover,
.btn.primary:hover,
.btn-primary:hover,
button.btn:hover {
  background: #AA0000 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Тип 2: MAX / VK */
a.btn[href*="max.ru"],
a.btn-cta[href*="max.ru"],
a.btn-ghost[href*="max.ru"],
a.btn-light[href*="max.ru"] {
  background: #0077FF !important;
  color: #fff !important;
  border-radius: 6px !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(0,119,255,.22) !important;
}
a.btn[href*="max.ru"]:hover,
a.btn-cta[href*="max.ru"]:hover,
a.btn-ghost[href*="max.ru"]:hover {
  background: #005FCC !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Тип 2: WhatsApp */
a.btn[href*="wa.me"],
a.btn[href*="whatsapp"],
a.btn-cta[href*="wa.me"] {
  background: #25D366 !important;
  color: #fff !important;
  border-radius: 6px !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(37,211,102,.22) !important;
}
a.btn[href*="wa.me"]:hover,
a.btn-cta[href*="wa.me"]:hover {
  background: #1DA851 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Тип 2: Телефон */
a.btn[href^="tel:"],
a.btn-ghost[href^="tel:"],
a.btn-light[href^="tel:"] {
  background: #CC0000 !important;
  color: #fff !important;
  border-radius: 6px !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(204,0,0,.18) !important;
}
a.btn[href^="tel:"]:hover,
a.btn-ghost[href^="tel:"]:hover,
a.btn-light[href^="tel:"]:hover {
  background: #AA0000 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Тип 2: Telegram */
a.btn[href*="t.me"],
a.btn-cta[href*="t.me"],
a.btn-ghost[href*="t.me"],
a.btn-light[href*="t.me"] {
  background: #26A5E4 !important;
  color: #fff !important;
  border-radius: 6px !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(38,165,228,.22) !important;
}
a.btn[href*="t.me"]:hover,
a.btn-cta[href*="t.me"]:hover,
a.btn-ghost[href*="t.me"]:hover {
  background: #1A8CC0 !important;
  color: #fff !important;
  text-decoration: none !important;
}
