/*
 Theme Name:   Astra Child
 Theme URI:    https://wp-astra.com/
 Description:  Дочерняя тема для Astra
 Author:       Astra Team
 Template:     astra
 Version:      1.2.0
*/
/* ═══════════════════════════════════════════
   ROOT VARIABLES
═══════════════════════════════════════════ */
:root {
  --ink: #0d1117;
  --ink2: #1c2432;
  --ink3: #3b4a5f;
  --muted: #6b7a90;
  --blue: #1a4fd6;
  --blue2: #2563eb;
  --blue-l: #eff6ff;
  --blue-b: #bfdbfe;
  --green: #059669;
  --green-l: #ecfdf5;
  --green-b: #a7f3d0;
  --amber: #d97706;
  --amber-l: #fffbeb;
  --orange-l: #fff7ed;
  --orange-b: #fed7aa;
  --surf: #ffffff;
  --bg: #f4f7fb;
  --bd: #e2e8f0;
  --wa: #16a34a;
  --vb: #7c3aed;
  --r: 14px;
  --rl: 20px;
  --sh: 0 2px 12px rgba(13, 17, 23, 0.07);
  --shm: 0 4px 24px rgba(13, 17, 23, 0.1);
  --shb: 0 4px 16px rgba(37, 99, 235, 0.32);
  --shg: 0 4px 16px rgba(22, 163, 74, 0.32);
  --focus: 0 0 0 3px rgba(37, 99, 235, 0.35);
}
/* ═══════════════════════════════════════════
   GLOBAL RESET
═══════════════════════════════════════════ */
.rw {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.rw * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.rw a {
  text-decoration: none;
  color: inherit;
}
.rw img {
  display: block;
  max-width: 100%;
}
.rw a:focus-visible,
.rw summary:focus-visible,
.rw button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}
/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .u, .d1, .d2, .d3 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .dot {
    animation: blink 2s infinite !important;
  }
}
.u {
  opacity: 0;
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.d1 { animation-delay: 0.06s; }
.d2 { animation-delay: 0.14s; }
.d3 { animation-delay: 0.22s; }
/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.w {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 600px) {
  .w { padding: 0 24px; }
}
.sep {
  height: 1px;
  background: var(--bd);
  margin: 28px 0;
}
.lazy {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}
/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 480px) {
  .hero { min-height: 430px; }
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(5, 10, 25, 0) 25%, rgba(5, 10, 25, 0.45) 65%, rgba(5, 10, 25, 0.65) 100%);
}
.hero-in {
  position: relative;
  z-index: 2;
  padding: 52px 18px 36px;
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
  width: 100%;
}
@media (min-width: 560px) {
  .hero-in {
    padding-top: 64px;
    padding-bottom: 44px;
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
    max-width: 580px;
  }
}
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite, pulse 3s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(23px, 5.8vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 13px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: #fbbf24;
}
.hero-lead {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 20px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.pill b {
  color: #fbbf24;
  font-weight: 700;
}
.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-call,
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 100px;
  transition: transform 0.15s, opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 52px;
}
.btn-call {
  background: var(--blue2);
  color: #fff;
  box-shadow: var(--shb);
}
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: var(--shg);
}
.btn-call:active,
.btn-wa:active {
  transform: scale(0.97);
  opacity: 0.9;
}
/* ═══════════════════════════════════════════
   PROOF BAR
═══════════════════════════════════════════ */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 400px) {
  .proof { grid-template-columns: repeat(2, 1fr); }
}
.proof-item {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--sh);
}
.proof-item strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: var(--blue2);
  letter-spacing: -0.02em;
  line-height: 1;
}
.proof-item span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 500;
}
/* ═══════════════════════════════════════════
   INFO CARDS
═══════════════════════════════════════════ */
.info {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 15px 17px;
  font-size: 13.5px;
  color: var(--ink3);
  line-height: 1.75;
}
.info-accent {
  border-left: 3px solid var(--blue2);
  background: linear-gradient(90deg, #eef4ff, var(--surf) 55%);
}
.info strong {
  color: var(--ink);
  font-weight: 600;
}
/* ═══════════════════════════════════════════
   MASTER CARD
═══════════════════════════════════════════ */
.master-card {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: var(--sh);
}
.master-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--blue2);
}
.master-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.master-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 5px;
}
.master-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.cred {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-l);
  border: 1px solid var(--green-b);
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: #166534;
}
/* ═══════════════════════════════════════════
   SECTION HEADING
═══════════════════════════════════════════ */
.sh {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
/* ═══════════════════════════════════════════
   EXPERT TEXT
═══════════════════════════════════════════ */
.exp-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 10px;
}
.exp-block h3:first-child {
  margin-top: 0;
}
.exp-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink3);
  margin-bottom: 16px;
}
.exp-block .intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink3);
  margin-bottom: 20px;
}
/* ═══════════════════════════════════════════
   FAULTS
═══════════════════════════════════════════ */
.faults {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 9px;
}
.fault {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 16px 13px 13px;
  transition: box-shadow 0.2s;
  min-width: 0;
}
.fault:hover {
  box-shadow: var(--shm);
}
.fault-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--blue-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.fault-txt {
  font-size: 12.5px;
  color: var(--ink3);
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
.fault-price {
  display: inline-flex;
  background: var(--green-l);
  border: 1px solid var(--green-b);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  padding: 3px 10px;
}
/* ═══════════════════════════════════════════
   PRICE TABLE
═══════════════════════════════════════════ */
.price-grid {
  border-radius: var(--rl);
  overflow: hidden;
  border: 1px solid var(--bd);
  box-shadow: var(--sh);
  margin-top: 16px;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surf);
  border-bottom: 1px solid var(--bd);
  font-size: 13.5px;
}
.price-row:last-child {
  border-bottom: none;
}
.price-row:nth-child(even):not(.pr-blue):not(.pr-amber) {
  background: #f8fafc;
}
.pr-blue {
  background: var(--blue-l);
}
.pr-amber {
  background: var(--amber-l);
}
.price-lbl {
  color: var(--ink3);
  font-weight: 500;
}
.price-val {
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}
.price-free {
  color: var(--green) !important;
}
/* ═══════════════════════════════════════════
   COMPARE
═══════════════════════════════════════════ */
.cmp {
  background: #0b1b3f;
  border-radius: var(--rl);
  padding: 22px 18px;
  margin-top: 14px;
}
.cmp-ttl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 13px;
}
.cmp-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}
.cmp-hl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.cmp-hl:nth-child(2) {
  color: #4ade80;
  text-align: right;
}
.cmp-hl:nth-child(3) {
  color: rgba(255, 255, 255, 0.2);
  text-align: right;
}
.cmp-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 5px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cmp-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cmp-f {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: break-word;
}
/* ИСПРАВЛЕНО: убран white-space:nowrap — раньше при нехватке
   места значения "300–500 грн" и т.п. не могли перенестись и
   выталкивали весь блок .cmp за пределы экрана вправо. Теперь
   текст при необходимости переносится, а не обрезается. */
.cmp-us {
  color: #4ade80;
  font-weight: 700;
  font-size: 12.5px;
  text-align: right;
  overflow-wrap: break-word;
  min-width: 0;
}
.cmp-them {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11.5px;
  text-align: right;
  overflow-wrap: break-word;
  min-width: 0;
}
/* ═══════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════ */
.cta-band {
  background: var(--blue2);
  border-radius: var(--rl);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shb);
}
.cta-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}
.cta-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
.cta-phones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.cta-ph {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 18px;
  border-radius: 100px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 48px;
  transition: background 0.15s;
}
.cta-ph:hover {
  background: rgba(255, 255, 255, 0.22);
}
/* ═══════════════════════════════════════════
   ADVANTAGES
═══════════════════════════════════════════ */
.advs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  align-items: stretch;
}
.adv {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 18px 14px 16px;
  box-shadow: var(--sh);
  min-width: 0;
}
.adv-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.adv-lbl {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 3px;
}
.adv-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.adv-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.adv-sub,
.adv-val,
.adv-lbl {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.trust {
  background: var(--green-l);
  border: 1px solid var(--green-b);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 12px;
}
.trust-ico {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.trust-txt {
  font-size: 13px;
  color: #166534;
  font-weight: 500;
  line-height: 1.55;
}
/* ═══════════════════════════════════════════
   ERRORS
═══════════════════════════════════════════ */
.errors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 7px;
}
.err {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: 9px;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow-wrap: break-word;
  min-width: 0;
}
.err:hover {
  border-color: var(--blue-b);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
/* ═══════════════════════════════════════════
   BRAND CARDS
═══════════════════════════════════════════ */
.brand-card {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  padding: 24px;
  margin-bottom: 16px;
}
.brand-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.brand-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink3);
  margin-bottom: 0;
}
/* ═══════════════════════════════════════════
   AREAS
═══════════════════════════════════════════ */
.areas-box {
  background: var(--blue-l);
  border: 1px solid var(--blue-b);
  border-radius: var(--rl);
  padding: 20px 18px;
}
.areas-ttl {
  font-weight: 700;
  color: var(--blue);
  font-size: 13.5px;
  margin-bottom: 13px;
}
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.area {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--blue-b);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  min-height: 38px;
  cursor: default;
}
/* ═══════════════════════════════════════════
   STEPS
═══════════════════════════════════════════ */
.steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--bd);
}
.step:last-child {
  border-bottom: none;
}
.step-n {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  box-shadow: var(--shb);
  margin-top: 2px;
}
.step-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
.step-sub {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
/* ═══════════════════════════════════════════
   WARNINGS
═══════════════════════════════════════════ */
.warn {
  background: var(--orange-l);
  border: 1.5px solid var(--orange-b);
  border-radius: var(--rl);
  padding: 18px 20px;
}
.warn-title {
  font-weight: 700;
  color: #9a3412;
  font-size: 14px;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.warn-item {
  font-size: 13px;
  color: #c2410c;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--orange-b);
}
.warn-item:last-child {
  border-bottom: none;
}
/* ═══════════════════════════════════════════
   RATING + REVIEWS
═══════════════════════════════════════════ */
.rating-bar {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--sh);
  margin-bottom: 14px;
}
/* ИСПРАВЛЕНО: у второго блока (звёзды + подпись + счётчик
   отзывов) не было min-width:0 — классический баг flexbox,
   из-за которого длинный текст "200+ отзывов в Google и OLX"
   не мог сжаться и вылезал за карточку на узких экранах. */
.rating-bar > div:last-child {
  min-width: 0;
  flex: 1 1 170px;
}
.rating-n {
  font-size: 52px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}
.rating-stars {
  font-size: 22px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.rating-lbl {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}
.rating-cnt {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  overflow-wrap: break-word;
}
.revs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rev {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 18px 16px;
  box-shadow: var(--sh);
}
.rev-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.av1 { background: #2563eb; }
.av2 { background: #059669; }
.av3 { background: #7c3aed; }
.av4 { background: #c2410c; }
.rev-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.rev-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.rev-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 9px;
}
.rev-txt {
  font-size: 13.5px;
  color: var(--ink3);
  line-height: 1.7;
}
.rev-tag {
  display: inline-flex;
  margin-top: 10px;
  background: var(--blue-l);
  color: var(--blue2);
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  padding: 3px 11px;
}
/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] {
  box-shadow: var(--sh);
}
.faq-q {
  padding: 16px 17px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 54px;
  line-height: 1.35;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q::after {
  content: '';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-l);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%232563eb' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.22s;
}
details[open] .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 17px 16px;
  font-size: 13.5px;
  color: var(--ink3);
  line-height: 1.75;
  border-top: 1px solid var(--bd);
}
.faq-a p {
  padding-top: 12px;
}
/* ═══════════════════════════════════════════
   OTHER SERVICES
═══════════════════════════════════════════ */
.other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.other-item {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.other-ico {
  font-size: 24px;
  flex-shrink: 0;
}
.other-info {
  min-width: 0;
}
.other-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.other-sub {
  font-size: 12px;
  color: var(--muted);
}
/* ═══════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════ */
.final {
  background: linear-gradient(145deg, #091536, #0f2460);
  border-radius: 24px;
  padding: 44px 22px 40px;
  text-align: center;
  margin: 28px 0 0;
  position: relative;
  overflow: hidden;
  padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 24px));
}
.final::before {
  content: '';
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.final-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  position: relative;
}
.final h2 {
  font-size: clamp(22px, 5vw, 32px) !important;
  font-weight: 900 !important;
  color: #fff !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.03em !important;
  position: relative;
  text-wrap: balance;
}
.final-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 26px;
  position: relative;
}
.final-phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
}
.final-ph {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #0d1117;
  font-size: 18px;
  font-weight: 900;
  padding: 16px 36px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 56px;
  letter-spacing: -0.02em;
  transition: transform 0.15s;
}
.final-ph:active {
  transform: scale(0.97);
}
.final-or {
  color: rgba(255, 255, 255, 0.18);
  font-size: 12px;
}
.final-msgs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  position: relative;
}
.final-wa,
.final-vb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: 100px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 52px;
  transition: transform 0.15s;
}
.final-wa:active,
.final-vb:active {
  transform: scale(0.97);
}
.final-wa {
  background: var(--wa);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.38);
}
.final-vb {
  background: var(--vb);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.38);
}
.final-note {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11.5px;
  position: relative;
}
/* ═══════════════════════════════════════════
   ENTITIES FOOTER
═══════════════════════════════════════════ */
.entities {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 9px;
}
/* ═══════════════════════════════════════════════════════
   MOBILE REFINEMENTS — REMSTIR
═══════════════════════════════════════════════════════ */
/* ── Hero ── */
@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .btn-call,
  .btn-wa {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
  }
  .hero-lead {
    font-size: 14px;
  }
}
/* ── Proof bar ── */
@media (max-width: 360px) {
  .proof-item strong {
    font-size: 17px;
  }
  .proof-item {
    padding: 12px 6px;
  }
  .proof-item span {
    font-size: 10px;
  }
}
/* ── Master card ── */
@media (max-width: 380px) {
  .master-card {
    gap: 14px;
    padding: 16px;
  }
  .master-photo {
    width: 60px;
    height: 60px;
  }
  .master-name {
    font-size: 16px;
  }
  .master-bio {
    font-size: 12.5px;
  }
}
/* ── ЕДИНАЯ СТРАТЕГИЯ ДЛЯ МОБИЛЬНЫХ: карточные сетки идут в
   один столбец на всю ширину. Раньше .faults, .errors, .advs
   и .other-grid у себя пытались сохранить 2+ колонки на типичных
   экранах телефонов (375–430px), из-за чего длинный текст
   ("Не крутит барабан", "F1 — связь блоков LG/Samsung",
   "Стабилизатор напряжения реально помогает") зажимался и
   выглядел обрезанным. Один столбец полностью убирает эту
   проблему и делает вёрстку предсказуемой на любом телефоне. ── */
@media (max-width: 560px) {
  .faults,
  .errors,
  .advs,
  .other-grid {
    grid-template-columns: 1fr;
  }
}
/* ── Сравнение (cmp): сетка сжимается, текст переносится, а не
   обрезается (minmax(0, auto) вместо auto — позволяет колонке
   сжиматься ниже ширины контента) ── */
@media (max-width: 420px) {
  .cmp {
    padding: 18px 14px;
  }
  .cmp-head,
  .cmp-row {
    grid-template-columns: 1fr minmax(0, auto);
    row-gap: 2px;
  }
  .cmp-them {
    grid-column: 2;
  }
  .cmp-hl:nth-child(3) {
    display: none;
  }
  .cmp-row .cmp-them {
    font-size: 10.5px;
  }
}
/* ── CTA band ── */
@media (max-width: 480px) {
  .cta-band {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cta-phones {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }
  .cta-ph {
    flex: 1 1 auto;
    justify-content: center;
  }
}
/* ── Price grid ── */
@media (max-width: 360px) {
  .price-row {
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding: 12px 14px;
  }
  .price-val {
    text-align: left;
  }
}
/* ── Errors: чуть компактнее в 1 колонке на самых узких ── */
@media (max-width: 360px) {
  .err {
    font-size: 11px;
    padding: 9px 10px;
  }
}
/* ── Rating bar ── */
@media (max-width: 360px) {
  .rating-bar {
    gap: 14px;
    padding: 16px;
  }
  .rating-n {
    font-size: 40px;
  }
  .rating-stars {
    font-size: 18px;
  }
}
/* ── Reviews ── */
@media (max-width: 360px) {
  .rev {
    padding: 15px 13px;
  }
  .av {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }
  .rev-name {
    font-size: 13px;
  }
}
/* ── FAQ ── */
@media (max-width: 360px) {
  .faq-q {
    padding: 14px 14px;
    font-size: 13.5px;
  }
  .faq-a {
    padding: 0 14px 14px;
    font-size: 13px;
  }
}
/* ── Final CTA ── */
@media (max-width: 380px) {
  .final {
    padding: 36px 16px 32px;
  }
  .final-ph {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 16px;
  }
  .final-phones {
    width: 100%;
  }
  .final-msgs {
    width: 100%;
  }
  .final-wa,
  .final-vb {
    flex: 1 1 auto;
    justify-content: center;
    padding: 13px 16px;
    font-size: 13.5px;
  }
}
/* ── Areas ── */
@media (max-width: 360px) {
  .area {
    font-size: 12px;
    padding: 7px 10px;
  }
}
/* ── Brand cards ── */
@media (max-width: 380px) {
  .brand-card {
    padding: 18px 16px;
  }
}
/* ── Базовая страховка ── */
@media (max-width: 480px) {
  .w {
    padding: 0 14px;
  }
  .sh {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .info,
  .exp-block p,
  .exp-block .intro,
  .brand-card p,
  .cred,
  .pill,
  .area,
  .err,
  .other-sub,
  .step-sub,
  .rev-txt,
  .master-bio,
  .faq-a {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}
/* ── Десктоп: лёгкая доводка ── */
@media (min-width: 1024px) {
  .w {
    max-width: 820px;
  }
  .fault:hover,
  .err:hover {
    transform: translateY(-1px);
  }
}