/* ═══════════════════════════════════════════════════════════════
   ArtRelax Expert Guide Article v1
   CSS — fully scoped to #ar-expert-guide-v1
   No global selectors. No external dependencies.
═══════════════════════════════════════════════════════════════ */

/* ── SCOPE ROOT & DESIGN TOKENS ─────────────────────────────── */
#ar-expert-guide-v1 {
  --ar-bg:           #f7f7f7;
  --ar-bg-warm:      #f3f1ee;
  --ar-bg-warm-alt:  #f1f1f1;
  --ar-bg-card:      #ffffff;
  --ar-dark:         #120d0a;
  --ar-dark-surface: #1a1410;
  --ar-text:         #24211e;
  --ar-text-soft:    #5f5a55;
  --ar-text-muted:   #756f69;
  --ar-gold:         #b98b5f;
  --ar-gold-deep:    #9a673a;
  --ar-gold-light:   #d4a97a;
  --ar-border:       rgba(44, 39, 34, 0.10);
  --ar-border-warm:  #dedbd6;
  --ar-radius-sm:    8px;
  --ar-radius-md:    14px;
  --ar-radius-lg:    20px;
  --ar-shadow-card:  0 2px 10px rgba(36, 33, 30, 0.07);
  --ar-shadow-hover: 0 6px 22px rgba(36, 33, 30, 0.13);
  --ar-gap:          clamp(14px, 2.4vw, 24px);
  --ar-section-pad:  clamp(44px, 6vw, 80px);
  --ar-max-w:        1200px;
  --ar-font-serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ar-font-display: 'Tenor Sans', 'Cormorant Garamond', Georgia, serif;
  --ar-font-heading: 'Montserrat', 'Inter', Arial, sans-serif;
  --ar-font-body:    'Inter', Arial, sans-serif;
  --ar-ease:         cubic-bezier(0.25, 0, 0.15, 1);

  background: var(--ar-bg);
  color: var(--ar-text);
  font-family: var(--ar-font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

/* ── RESET WITHIN SCOPE ──────────────────────────────────────── */
#ar-expert-guide-v1 *,
#ar-expert-guide-v1 *::before,
#ar-expert-guide-v1 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#ar-expert-guide-v1 img { display: block; max-width: 100%; }
#ar-expert-guide-v1 ul,
#ar-expert-guide-v1 ol { list-style: none; }
/* Extra-specific override to beat Bitrix/Aspro site-level list-style rules */
#ar-expert-guide-v1 ul li,
#ar-expert-guide-v1 ol li { list-style: none !important; }
#ar-expert-guide-v1 .ar-checklist li,
#ar-expert-guide-v1 .ar-checklist li::before,
#ar-expert-guide-v1 .ar-checklist li::marker { list-style: none !important; content: none !important; }
#ar-expert-guide-v1 a { color: inherit; }
#ar-expert-guide-v1 button { cursor: pointer; border: 0; background: transparent; font-family: inherit; }
/* H1: Tenor Sans — editorial display, premium and elegant */
#ar-expert-guide-v1 h1 {
  font-family: var(--ar-font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ar-text);
  letter-spacing: -0.01em;
}

/* H2: Montserrat — clear, strong, readable section headings */
#ar-expert-guide-v1 h2 {
  font-family: var(--ar-font-heading);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ar-text);
  letter-spacing: -0.01em;
}

/* H3: Montserrat — card titles, FAQ questions, sub-headings */
#ar-expert-guide-v1 h3 {
  font-family: var(--ar-font-heading);
  font-weight: 600;
  line-height: 1.22;
  color: var(--ar-text);
}

/* ── LAYOUT UTILITIES ────────────────────────────────────────── */
#ar-expert-guide-v1 .ar-container {
  width: min(var(--ar-max-w), 100% - 40px);
  margin-inline: auto;
}

#ar-expert-guide-v1 .ar-container--narrow {
  width: min(760px, 100% - 40px);
  margin-inline: auto;
}

/* ── SECTIONS ────────────────────────────────────────────────── */
#ar-expert-guide-v1 .ar-section {
  padding-block: var(--ar-section-pad);
}

#ar-expert-guide-v1 .ar-section--dark {
  background: var(--ar-dark);
  color: #fff;
}

#ar-expert-guide-v1 .ar-section__title {
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

#ar-expert-guide-v1 .ar-section__title--small {
  font-size: clamp(22px, 3vw, 30px);
}

#ar-expert-guide-v1 .ar-section__sub {
  color: var(--ar-text);
  font-size: clamp(15px, 1.9vw, 17px);
  max-width: 680px;
  margin-bottom: clamp(28px, 4vw, 52px);
  opacity: 0.72;
}

/* ── EYEBROW ─────────────────────────────────────────────────── */
#ar-expert-guide-v1 .ar-eyebrow {
  display: inline-block;
  font-family: var(--ar-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ar-gold);
  border-bottom: 1.5px solid var(--ar-gold);
  padding-bottom: 3px;
  margin-bottom: 18px;
}

#ar-expert-guide-v1 .ar-eyebrow--light {
  color: var(--ar-gold-light);
  border-color: var(--ar-gold-light);
}

/* ── NOTE ───────────────────────────────────────────────────── */
#ar-expert-guide-v1 .ar-note {
  font-size: 13px;
  color: var(--ar-text-soft);
  font-style: italic;
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--ar-border);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
#ar-expert-guide-v1 .ar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--ar-radius-sm);
  font-family: var(--ar-font-heading);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  min-width: 180px;
  line-height: 1.3;
  white-space: nowrap;
  transition: background 0.2s var(--ar-ease), box-shadow 0.2s var(--ar-ease), transform 0.15s var(--ar-ease);
}

#ar-expert-guide-v1 .ar-btn:hover  { transform: translateY(-1px); }
#ar-expert-guide-v1 .ar-btn:active { transform: translateY(0); }

#ar-expert-guide-v1 .ar-btn--primary {
  background: var(--ar-text);
  color: #fff;
}
#ar-expert-guide-v1 .ar-btn--primary:hover {
  background: #1a1714;
  box-shadow: 0 4px 16px rgba(36,33,30,0.24);
}

#ar-expert-guide-v1 .ar-btn--outline {
  background: #fff;
  color: var(--ar-text);
  box-shadow: inset 0 0 0 1.5px var(--ar-border-warm);
}
#ar-expert-guide-v1 .ar-btn--outline:hover {
  box-shadow: inset 0 0 0 1.5px var(--ar-text);
}

#ar-expert-guide-v1 .ar-btn--outline-dark {
  background: transparent;
  color: var(--ar-text);
  box-shadow: inset 0 0 0 1.5px var(--ar-border);
  margin-top: 18px;
}

#ar-expert-guide-v1 .ar-btn--gold {
  background: var(--ar-gold);
  color: var(--ar-dark);
}
#ar-expert-guide-v1 .ar-btn--gold:hover {
  background: var(--ar-gold-light);
  box-shadow: 0 4px 18px rgba(215,170,120,0.32);
}

#ar-expert-guide-v1 .ar-btn--ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
}
#ar-expert-guide-v1 .ar-btn--ghost:hover {
  background: rgba(255,255,255,0.16);
}

/* ════════════════════════════════════════════════════════════════
   1. HERO
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-hero {
  background: var(--ar-bg);
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--ar-border-warm);
}

#ar-expert-guide-v1 .ar-hero__inner {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

#ar-expert-guide-v1 .ar-hero__content {
  max-width: 580px;
}

#ar-expert-guide-v1 .ar-hero__title {
  font-family: var(--ar-font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  line-height: 1.06;
}

#ar-expert-guide-v1 .ar-hero__lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ar-text);
  opacity: 0.80;
  margin-bottom: 30px;
  max-width: 540px;
  line-height: 1.6;
}

#ar-expert-guide-v1 .ar-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

#ar-expert-guide-v1 .ar-chip {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: var(--ar-bg-warm);
  color: var(--ar-text-soft);
  border: 1px solid var(--ar-border-warm);
}

#ar-expert-guide-v1 .ar-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#ar-expert-guide-v1 .ar-hero__visual {
  border-radius: var(--ar-radius-lg);
  overflow: hidden;
  background: var(--ar-bg-warm);
  aspect-ratio: 4 / 3;
  min-height: 380px;
  max-height: 520px;
  width: 100%;
}

#ar-expert-guide-v1 .ar-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ════════════════════════════════════════════════════════════════
   2. QUICK ANSWER
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--quick {
  background: var(--ar-bg);
  border-bottom: 1px solid var(--ar-border-warm);
  padding-block: clamp(32px, 5vw, 56px);
}

#ar-expert-guide-v1 .ar-section--quick .ar-section__title {
  margin-bottom: 6px;
}

#ar-expert-guide-v1 .ar-section--quick .ar-section__sub {
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

#ar-expert-guide-v1 .ar-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--ar-gap);
}

#ar-expert-guide-v1 .ar-quick-card {
  background: var(--ar-bg-card);
  border-radius: var(--ar-radius-md);
  padding: 26px 24px;
  border: 1px solid var(--ar-border);
  position: relative;
  overflow: hidden;
}

#ar-expert-guide-v1 .ar-quick-card__num {
  display: block;
  font-family: var(--ar-font-display);
  font-size: 52px;
  font-weight: 400;
  color: var(--ar-gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -0.03em;
}

#ar-expert-guide-v1 .ar-quick-card__title {
  font-size: 19px;
  margin-bottom: 10px;
}

#ar-expert-guide-v1 .ar-quick-card__text {
  font-size: 15px;
  color: var(--ar-text);
  opacity: 0.72;
  line-height: 1.58;
}

/* ════════════════════════════════════════════════════════════════
   3. SCENARIO SELECTOR
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--scenarios {
  background: var(--ar-bg);
}

#ar-expert-guide-v1 .ar-scenario__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ar-border-warm);
}

#ar-expert-guide-v1 .ar-scenario__btn {
  padding: 10px 20px;
  border-radius: 100px;
  font-family: var(--ar-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--ar-text-soft);
  background: var(--ar-bg-warm);
  border: 1.5px solid transparent;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

#ar-expert-guide-v1 .ar-scenario__btn:hover {
  color: var(--ar-text);
  background: var(--ar-bg-warm);
  border-color: var(--ar-border);
}

#ar-expert-guide-v1 .ar-scenario__btn--active {
  background: var(--ar-text);
  color: #fff;
  border-color: var(--ar-text);
}

#ar-expert-guide-v1 .ar-scenario__panel { display: none; }
#ar-expert-guide-v1 .ar-scenario__panel--active { display: block; }

#ar-expert-guide-v1 .ar-scenario__content {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

#ar-expert-guide-v1 .ar-scenario__heading {
  font-size: clamp(21px, 2.8vw, 28px);
  margin-bottom: 14px;
}

#ar-expert-guide-v1 .ar-scenario__text p {
  color: var(--ar-text);
  opacity: 0.78;
  font-size: 16px;
  margin-bottom: 16px;
}

#ar-expert-guide-v1 .ar-scenario__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

#ar-expert-guide-v1 .ar-scenario__features li {
  font-size: 14px;
  color: var(--ar-text);
  padding-left: 18px;
  position: relative;
}

#ar-expert-guide-v1 .ar-scenario__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ar-gold);
}

#ar-expert-guide-v1 .ar-scenario__links {
  background: var(--ar-bg-warm);
  border-radius: var(--ar-radius-md);
  padding: 20px 22px;
  border: 1px solid var(--ar-border-warm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#ar-expert-guide-v1 .ar-scenario__links-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-text-soft);
  margin-bottom: 4px;
}

#ar-expert-guide-v1 .ar-scenario__link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ar-text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--ar-radius-sm);
  background: var(--ar-bg-card);
  border: 1px solid var(--ar-border);
  transition: box-shadow 0.16s, transform 0.14s;
}

#ar-expert-guide-v1 .ar-scenario__link:hover {
  box-shadow: var(--ar-shadow-card);
  transform: translateX(2px);
}

/* ════════════════════════════════════════════════════════════════
   4. KEY FEATURES
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--features {
  background: var(--ar-bg-warm-alt);
  border-top: 1px solid var(--ar-border-warm);
  border-bottom: 1px solid var(--ar-border-warm);
}

#ar-expert-guide-v1 .ar-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--ar-gap);
}

#ar-expert-guide-v1 .ar-feature-card {
  background: var(--ar-bg-card);
  border-radius: var(--ar-radius-md);
  padding: 24px 22px;
  border: 1px solid var(--ar-border);
  transition: box-shadow 0.2s var(--ar-ease), transform 0.18s var(--ar-ease);
}

#ar-expert-guide-v1 .ar-feature-card:hover {
  box-shadow: var(--ar-shadow-hover);
  transform: translateY(-2px);
}

#ar-expert-guide-v1 .ar-feature-card__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 14px;
}

#ar-expert-guide-v1 .ar-feature-card__title {
  font-size: 18px;
  margin-bottom: 9px;
}

#ar-expert-guide-v1 .ar-feature-card__text {
  font-size: 14.5px;
  color: var(--ar-text);
  opacity: 0.72;
  line-height: 1.58;
}

/* ════════════════════════════════════════════════════════════════
   5. VISUAL EXPLAINER
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-explainer {
  display: grid;
  grid-template-columns: 1fr minmax(0, 500px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

#ar-expert-guide-v1 .ar-explainer__title {
  font-size: clamp(24px, 3.6vw, 38px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

#ar-expert-guide-v1 .ar-explainer__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#ar-expert-guide-v1 .ar-explainer__item {
  padding-left: 16px;
  border-left: 2px solid var(--ar-gold);
}

#ar-expert-guide-v1 .ar-explainer__term {
  font-family: var(--ar-font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--ar-gold-light);
  margin-bottom: 6px;
  display: block;
}

#ar-expert-guide-v1 .ar-explainer__def {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.62;
}

#ar-expert-guide-v1 .ar-explainer__visual {
  border-radius: var(--ar-radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  aspect-ratio: 4 / 3;
  min-height: 320px;
}

#ar-expert-guide-v1 .ar-explainer__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

/* ════════════════════════════════════════════════════════════════
   6. TABS
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--tabs {
  background: var(--ar-bg);
}

#ar-expert-guide-v1 .ar-tabs__nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--ar-border-warm);
  margin-bottom: 40px;
}

#ar-expert-guide-v1 .ar-tabs__tab {
  padding: 14px 32px;
  font-family: var(--ar-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ar-text-soft);
  background: transparent;
  border-radius: var(--ar-radius-sm) var(--ar-radius-sm) 0 0;
  margin-bottom: -2px;
  border-bottom: 3px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}

#ar-expert-guide-v1 .ar-tabs__tab:hover { color: var(--ar-text); }

#ar-expert-guide-v1 .ar-tabs__tab--active {
  color: var(--ar-text);
  border-bottom-color: var(--ar-gold);
}

#ar-expert-guide-v1 .ar-tabs__panel { display: none; }
#ar-expert-guide-v1 .ar-tabs__panel--active { display: block; }

#ar-expert-guide-v1 .ar-tabs__panel-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

#ar-expert-guide-v1 .ar-tabs__col {}

#ar-expert-guide-v1 .ar-tabs__heading {
  font-size: 24px;
  margin-bottom: 14px;
}

#ar-expert-guide-v1 .ar-tabs__col p {
  font-size: 15px;
  color: var(--ar-text);
  opacity: 0.75;
  line-height: 1.62;
}

#ar-expert-guide-v1 .ar-tabs__label {
  font-family: var(--ar-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ar-gold);
  margin-bottom: 8px;
  display: block;
}

/* ════════════════════════════════════════════════════════════════
   7. COMPARISON CARDS
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--comparison {
  background: var(--ar-bg-warm-alt);
  border-top: 1px solid var(--ar-border-warm);
  border-bottom: 1px solid var(--ar-border-warm);
}

#ar-expert-guide-v1 .ar-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--ar-gap);
}

#ar-expert-guide-v1 .ar-comparison-card {
  background: var(--ar-bg-card);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-md);
  padding: 26px 22px;
}

#ar-expert-guide-v1 .ar-comparison-card--accent {
  background: var(--ar-dark);
  border-color: transparent;
  grid-column: span 1;
}

#ar-expert-guide-v1 .ar-comparison-card__title {
  font-size: 18px;
  margin-bottom: 10px;
}

#ar-expert-guide-v1 .ar-comparison-card--accent .ar-comparison-card__title {
  color: var(--ar-gold-light);
}

#ar-expert-guide-v1 .ar-comparison-card__text {
  font-size: 14.5px;
  color: var(--ar-text);
  opacity: 0.78;
  line-height: 1.58;
}

#ar-expert-guide-v1 .ar-comparison-card--accent .ar-comparison-card__text {
  color: rgba(255,255,255,0.72);
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════════
   8. CHECKLIST
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--checklist {
  background: var(--ar-bg);
}

#ar-expert-guide-v1 .ar-checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ar-border-warm);
  border-radius: var(--ar-radius-lg);
  background: var(--ar-bg-card);
  overflow: hidden;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#ar-expert-guide-v1 .ar-checklist li {
  list-style: none !important;
  list-style-type: none !important;
}

#ar-expert-guide-v1 .ar-checklist li::before,
#ar-expert-guide-v1 .ar-checklist li::marker {
  content: none !important;
  display: none !important;
}

#ar-expert-guide-v1 .ar-checklist__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--ar-border-warm);
  transition: background 0.15s;
  list-style: none !important;
}

#ar-expert-guide-v1 .ar-checklist__item:last-child { border-bottom: none; }

#ar-expert-guide-v1 .ar-checklist__item:hover {
  background: #f8f8f8;
}

#ar-expert-guide-v1 .ar-checklist__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ar-expert-guide-v1 .ar-checklist__box {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ar-border);
  border-radius: 6px;
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}

#ar-expert-guide-v1 .ar-checklist__check[aria-pressed="true"] .ar-checklist__box {
  background: var(--ar-gold);
  border-color: var(--ar-gold);
}

#ar-expert-guide-v1 .ar-checklist__check[aria-pressed="true"] .ar-checklist__box::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 5px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

#ar-expert-guide-v1 .ar-checklist__text {
  font-size: 18px;
  color: var(--ar-text) !important;
  transition: color 0.15s;
  text-decoration: none !important;
  font-weight: 500;
}

#ar-expert-guide-v1 .ar-checklist__item.ar-checked .ar-checklist__text {
  color: var(--ar-text-soft);
  text-decoration: line-through;
  text-decoration-color: var(--ar-border);
}

/* Checklist summary bar */
#ar-expert-guide-v1 .ar-checklist__summary {
  margin-top: 24px;
  padding: 22px 28px;
  border-radius: var(--ar-radius-md);
  background: var(--ar-bg-card);
  border: 1px solid var(--ar-border-warm);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: background 0.22s var(--ar-ease);
}

#ar-expert-guide-v1 .ar-checklist__summary[data-level="high"] {
  background: rgba(185, 139, 95, 0.10);
  border-color: rgba(185, 139, 95, 0.35);
}

#ar-expert-guide-v1 .ar-checklist__summary-count {
  font-family: var(--ar-font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--ar-gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 56px;
}

#ar-expert-guide-v1 .ar-checklist__summary-text {
  font-size: 16px;
  color: var(--ar-text);
  opacity: 0.80;
  line-height: 1.55;
  padding-top: 6px;
}

/* ════════════════════════════════════════════════════════════════
   9. COMMON MISTAKES
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--mistakes {
  background: var(--ar-bg-warm-alt);
  border-top: 1px solid var(--ar-border-warm);
  border-bottom: 1px solid var(--ar-border-warm);
}

#ar-expert-guide-v1 .ar-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--ar-gap);
}

#ar-expert-guide-v1 .ar-mistake-card {
  background: var(--ar-bg-card);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-md);
  padding: 24px 22px;
}

#ar-expert-guide-v1 .ar-mistake-card__mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(180, 60, 40, 0.1);
  color: #b43c28;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
  margin-bottom: 12px;
}

#ar-expert-guide-v1 .ar-mistake-card__title {
  font-size: 18px;
  margin-bottom: 10px;
}

#ar-expert-guide-v1 .ar-mistake-card__text {
  font-size: 14.5px;
  color: var(--ar-text);
  opacity: 0.75;
  line-height: 1.58;
}

/* ════════════════════════════════════════════════════════════════
   10. CATALOG LINKS
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--catalog {
  background: var(--ar-bg);
}

#ar-expert-guide-v1 .ar-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

#ar-expert-guide-v1 .ar-catalog-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ar-bg-card);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-md);
  text-decoration: none;
  color: var(--ar-text);
  transition: box-shadow 0.18s, transform 0.14s, border-color 0.18s;
}

#ar-expert-guide-v1 .ar-catalog-card:hover {
  box-shadow: var(--ar-shadow-hover);
  transform: translateY(-1px);
  border-color: var(--ar-gold);
}

#ar-expert-guide-v1 .ar-catalog-card__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

#ar-expert-guide-v1 .ar-catalog-card__label {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}

#ar-expert-guide-v1 .ar-catalog-card__arrow {
  color: var(--ar-gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.14s;
}

#ar-expert-guide-v1 .ar-catalog-card:hover .ar-catalog-card__arrow {
  transform: translateX(3px);
}

/* ════════════════════════════════════════════════════════════════
   11. SHOWROOM CTA
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--showroom {
  overflow: hidden;
}

#ar-expert-guide-v1 .ar-showroom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}

#ar-expert-guide-v1 .ar-showroom__title {
  font-size: clamp(22px, 3.2vw, 36px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 560px;
}

#ar-expert-guide-v1 .ar-showroom__lead {
  font-size: 15px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.65;
}

#ar-expert-guide-v1 .ar-showroom__perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

#ar-expert-guide-v1 .ar-showroom__perks li {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  padding-left: 18px;
  position: relative;
}

#ar-expert-guide-v1 .ar-showroom__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ar-gold);
}

#ar-expert-guide-v1 .ar-showroom__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#ar-expert-guide-v1 .ar-showroom__visual {
  border-radius: var(--ar-radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  aspect-ratio: 4 / 3;
  min-height: 360px;
  max-height: 480px;
  width: 100%;
}

#ar-expert-guide-v1 .ar-showroom__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* ════════════════════════════════════════════════════════════════
   12. FAQ
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--faq {
  background: var(--ar-bg);
  border-top: 1px solid var(--ar-border-warm);
}

/* FAQ uses full container width — same as checklist */
#ar-expert-guide-v1 .ar-section--faq .ar-container--narrow {
  width: min(var(--ar-max-w), 100% - 40px);
  margin-inline: auto;
}

#ar-expert-guide-v1 .ar-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ar-border-warm);
  border-radius: var(--ar-radius-lg);
  overflow: hidden;
  background: var(--ar-bg-card);
}

#ar-expert-guide-v1 .ar-faq__item {
  border-bottom: 1px solid var(--ar-border-warm);
}

#ar-expert-guide-v1 .ar-faq__item:last-child { border-bottom: none; }

#ar-expert-guide-v1 .ar-faq__question {
  width: 100%;
  text-align: left;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--ar-font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--ar-text);
  transition: background 0.14s;
}

#ar-expert-guide-v1 .ar-faq__question:hover { background: var(--ar-bg-warm); }

#ar-expert-guide-v1 .ar-faq__icon {
  display: block;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ar-border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: background 0.16s, border-color 0.16s;
}

#ar-expert-guide-v1 .ar-faq__icon::before,
#ar-expert-guide-v1 .ar-faq__icon::after {
  content: '';
  position: absolute;
  background: var(--ar-text-soft);
  transition: transform 0.22s var(--ar-ease), opacity 0.16s;
}

#ar-expert-guide-v1 .ar-faq__icon::before {
  top: 50%; left: 4px; right: 4px; height: 1.5px;
  transform: translateY(-50%);
}

#ar-expert-guide-v1 .ar-faq__icon::after {
  left: 50%; top: 4px; bottom: 4px; width: 1.5px;
  transform: translateX(-50%);
}

#ar-expert-guide-v1 .ar-faq__item--open .ar-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

#ar-expert-guide-v1 .ar-faq__answer {
  padding: 0 30px 26px;
  font-size: 15.5px;
  color: var(--ar-text);
  opacity: 0.78;
  line-height: 1.68;
}

/* ════════════════════════════════════════════════════════════════
   13. RELATED ARTICLES
════════════════════════════════════════════════════════════════ */
#ar-expert-guide-v1 .ar-section--related {
  background: var(--ar-bg-warm-alt);
  border-top: 1px solid var(--ar-border-warm);
  padding-block: clamp(36px, 5vw, 64px);
}

#ar-expert-guide-v1 .ar-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

#ar-expert-guide-v1 .ar-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ar-bg-card);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-md);
  text-decoration: none;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.14s;
}

#ar-expert-guide-v1 .ar-related-card:hover {
  box-shadow: var(--ar-shadow-card);
  border-color: var(--ar-gold);
  transform: translateY(-1px);
}

#ar-expert-guide-v1 .ar-related-card__label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ar-text);
  line-height: 1.4;
}

#ar-expert-guide-v1 .ar-related-card__arrow {
  color: var(--ar-gold);
  font-size: 17px;
  flex-shrink: 0;
  transition: transform 0.14s;
}

#ar-expert-guide-v1 .ar-related-card:hover .ar-related-card__arrow {
  transform: translateX(3px);
}

/* ════════════════════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  #ar-expert-guide-v1 .ar-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.54s var(--ar-ease), transform 0.54s var(--ar-ease);
  }
  #ar-expert-guide-v1 .ar-reveal.ar-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (max-width: 900px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  #ar-expert-guide-v1 .ar-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  #ar-expert-guide-v1 .ar-hero__visual {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-height: auto;
    max-height: none;
  }
  #ar-expert-guide-v1 .ar-hero__content { max-width: 100%; }

  #ar-expert-guide-v1 .ar-explainer,
  #ar-expert-guide-v1 .ar-showroom {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #ar-expert-guide-v1 .ar-explainer__visual {
    max-width: 520px;
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }
  #ar-expert-guide-v1 .ar-showroom__visual {
    max-width: 100%;
    aspect-ratio: 4 / 3;
    min-height: auto;
    max-height: none;
  }

  #ar-expert-guide-v1 .ar-tabs__panel-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  #ar-expert-guide-v1 .ar-scenario__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max-width: 600px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  #ar-expert-guide-v1 .ar-container,
  #ar-expert-guide-v1 .ar-container--narrow {
    width: calc(100% - 32px);
  }

  #ar-expert-guide-v1 .ar-hero__actions,
  #ar-expert-guide-v1 .ar-showroom__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  #ar-expert-guide-v1 .ar-hero__actions .ar-btn,
  #ar-expert-guide-v1 .ar-showroom__actions .ar-btn {
    width: 100%;
    justify-content: center;
    min-width: unset;
  }

  #ar-expert-guide-v1 .ar-btn {
    white-space: normal;
    text-align: center;
  }

  #ar-expert-guide-v1 .ar-quick-grid {
    grid-template-columns: 1fr;
  }

  #ar-expert-guide-v1 .ar-features-grid,
  #ar-expert-guide-v1 .ar-mistakes-grid,
  #ar-expert-guide-v1 .ar-comparison-grid {
    grid-template-columns: 1fr;
  }

  #ar-expert-guide-v1 .ar-catalog-grid,
  #ar-expert-guide-v1 .ar-related-grid {
    grid-template-columns: 1fr;
  }

  #ar-expert-guide-v1 .ar-scenario__nav {
    gap: 6px;
  }
  #ar-expert-guide-v1 .ar-scenario__btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  #ar-expert-guide-v1 .ar-tabs__nav {
    gap: 2px;
    overflow-x: auto;
  }
  #ar-expert-guide-v1 .ar-tabs__tab {
    padding: 11px 20px;
    font-size: 16px;
    flex-shrink: 0;
  }

  #ar-expert-guide-v1 .ar-tabs__panel-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #ar-expert-guide-v1 .ar-faq__question {
    font-size: 17px;
    padding: 22px 20px;
  }
  #ar-expert-guide-v1 .ar-faq__answer {
    padding: 0 20px 18px;
    font-size: 15px;
  }

  #ar-expert-guide-v1 .ar-checklist__item {
    padding: 18px 20px;
  }
  #ar-expert-guide-v1 .ar-checklist__text {
    font-size: 16px;
  }

  #ar-expert-guide-v1 .ar-explainer__visual,
  #ar-expert-guide-v1 .ar-showroom__visual {
    border-radius: var(--ar-radius-md);
  }

  #ar-expert-guide-v1 .ar-hero__chips {
    gap: 6px;
  }
  #ar-expert-guide-v1 .ar-chip {
    font-size: 12px;
    padding: 4px 12px;
  }
}

/* ============================================================
   ARTICLE v1.4.2 — large background visuals
   ============================================================ */

/* ============================================================
   ARTICLE v1.4.2 — large background visuals, safe fallback
   ============================================================ */

#ar-expert-guide-v1 .ar-visual-bg {
  position: relative;
  overflow: hidden;
  background-color: #e9e4de;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* Fallback: image remains visible if JS does not run */
#ar-expert-guide-v1 .ar-visual-bg > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: auto;
}

/* Hide img only after JS successfully applied background */
#ar-expert-guide-v1 .ar-visual-bg.ar-visual-bg--ready > img {
  opacity: 0;
  pointer-events: none;
}

/* HERO */
#ar-expert-guide-v1 .ar-hero {
  padding-block: clamp(44px, 6vw, 76px);
}

#ar-expert-guide-v1 .ar-hero__inner {
  grid-template-columns: minmax(320px, 0.95fr) minmax(520px, 1.25fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: stretch;
}

#ar-expert-guide-v1 .ar-hero__content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#ar-expert-guide-v1 .ar-hero__visual {
  border-radius: 28px;
  min-height: 480px;
  max-height: none;
  aspect-ratio: auto;
  box-shadow: 0 18px 44px rgba(20, 14, 10, 0.08);
}

/* VISUAL EXPLAINER */
#ar-expert-guide-v1 .ar-explainer {
  grid-template-columns: minmax(340px, 1fr) minmax(520px, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

#ar-expert-guide-v1 .ar-explainer__visual {
  border-radius: 24px;
  min-height: 420px;
  aspect-ratio: auto;
  background-color: rgba(255,255,255,0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

/* SHOWROOM CTA */
#ar-expert-guide-v1 .ar-showroom {
  grid-template-columns: minmax(360px, 1fr) minmax(540px, 1.08fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}

#ar-expert-guide-v1 .ar-showroom__visual {
  border-radius: 24px;
  min-height: 420px;
  max-height: none;
  aspect-ratio: auto;
  background-color: rgba(255,255,255,0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

/* keep layout clean on tablet */
@media (max-width: 900px) {
  #ar-expert-guide-v1 .ar-hero__inner,
  #ar-expert-guide-v1 .ar-explainer,
  #ar-expert-guide-v1 .ar-showroom {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #ar-expert-guide-v1 .ar-hero__visual {
    min-height: 360px;
    border-radius: 22px;
  }

  #ar-expert-guide-v1 .ar-explainer__visual,
  #ar-expert-guide-v1 .ar-showroom__visual {
    min-height: 340px;
    border-radius: 22px;
  }
}

/* mobile */
@media (max-width: 600px) {
  #ar-expert-guide-v1 .ar-hero__visual {
    min-height: 260px;
    border-radius: 18px;
  }

  #ar-expert-guide-v1 .ar-explainer__visual,
  #ar-expert-guide-v1 .ar-showroom__visual {
    min-height: 240px;
    border-radius: 18px;
  }

  #ar-expert-guide-v1 .ar-hero__content {
    max-width: 100%;
  }
}






/* ============================================================
   ARTICLE — checklist readability fix
   Проверочный чеклист: крупнее текст, чекбокс слева от текста
   ============================================================ */

#ar-expert-guide-v1 .ar-checklist {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

#ar-expert-guide-v1 .ar-checklist__item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 22px 30px !important;
  min-height: 76px !important;
  list-style: none !important;
}

#ar-expert-guide-v1 .ar-checklist__item::before,
#ar-expert-guide-v1 .ar-checklist__item::marker {
  display: none !important;
  content: none !important;
}

#ar-expert-guide-v1 .ar-checklist__check {
  flex: 0 0 auto !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
}

#ar-expert-guide-v1 .ar-checklist__box {
  width: 24px !important;
  height: 24px !important;
  border-radius: 7px !important;
  border: 2px solid #dedbd6 !important;
  background: #ffffff !important;
  display: block !important;
  position: relative !important;
}

#ar-expert-guide-v1 .ar-checklist__check[aria-pressed="true"] .ar-checklist__box {
  background: #24211e !important;
  border-color: #24211e !important;
}

#ar-expert-guide-v1 .ar-checklist__check[aria-pressed="true"] .ar-checklist__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 7px;
  height: 13px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#ar-expert-guide-v1 .ar-checklist__text {
  flex: 1 1 auto !important;
  display: block !important;
  font-size: 19px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  color: #24211e !important;
  margin: 0 !important;
}

/* Mobile */
@media (max-width: 600px) {
  #ar-expert-guide-v1 .ar-checklist__item {
    gap: 14px !important;
    padding: 18px 20px !important;
    min-height: 66px !important;
  }

  #ar-expert-guide-v1 .ar-checklist__text {
    font-size: 16.5px !important;
    line-height: 1.45 !important;
  }

  #ar-expert-guide-v1 .ar-checklist__check {
    width: 26px !important;
    height: 26px !important;
  }

  #ar-expert-guide-v1 .ar-checklist__box {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
  }
}






/* ============================================================
   ARTICLE — hero chips marker fix
   Убираем точки списка у чипов в hero
   ============================================================ */

#ar-expert-guide-v1 .ar-hero__chips {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

#ar-expert-guide-v1 .ar-hero__chips li,
#ar-expert-guide-v1 .ar-hero__chips .ar-chip {
  list-style: none !important;
  list-style-type: none !important;
}

#ar-expert-guide-v1 .ar-hero__chips li::marker,
#ar-expert-guide-v1 .ar-hero__chips .ar-chip::marker {
  content: "" !important;
  font-size: 0 !important;
  color: transparent !important;
}

#ar-expert-guide-v1 .ar-hero__chips li::before,
#ar-expert-guide-v1 .ar-hero__chips .ar-chip::before {
  content: none !important;
  display: none !important;
}





/* ============================================================
   ARTICLE — Bitrix callback button compatibility
   ============================================================ */

#ar-expert-guide-v1 .ar-btn.mc-action-btn {
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

#ar-expert-guide-v1 .ar-btn.mc-action-btn:hover {
  text-decoration: none;
}


/* ============================================================
   Article System v1.0.2 — text-only dark explainer fix
   Если dark explainer без изображения, текст занимает всю ширину
   ============================================================ */

#ar-expert-guide-v1 .ar-explainer--text-only {
  display: block !important;
}

#ar-expert-guide-v1 .ar-explainer--text-only .ar-explainer__text {
  max-width: 100% !important;
}

#ar-expert-guide-v1 .ar-explainer--text-only .ar-explainer__lead {
  max-width: 760px !important;
}

#ar-expert-guide-v1 .ar-explainer--text-only .ar-explainer__list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin-top: 28px !important;
}

#ar-expert-guide-v1 .ar-explainer--text-only .ar-explainer__item {
  padding-left: 18px !important;
}

@media (max-width: 900px) {
  #ar-expert-guide-v1 .ar-explainer--text-only .ar-explainer__list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}


/* ============================================================
   Article Hero reverse modifier
   Desktop: image left, text right
   Mobile: text first, image second
   ============================================================ */

#ar-expert-guide-v1 .ar-hero--reverse .ar-hero__content {
  order: 2;
}

#ar-expert-guide-v1 .ar-hero--reverse .ar-hero__visual {
  order: 1;
}

@media (max-width: 900px) {
  #ar-expert-guide-v1 .ar-hero--reverse .ar-hero__content {
    order: 1;
  }

  #ar-expert-guide-v1 .ar-hero--reverse .ar-hero__visual {
    order: 2;
  }
}