/* ============================================================
   Apple Check Plugin — стили v1.5.3.5
   ============================================================ */

/* ── Переменные ──────────────────────────────────────────── */
:root {
  --ac-blue:       #007aff;
  --ac-blue-dark:  #0062cc;
  --ac-text:       #1d1d1f;
  --ac-muted:      #6e6e73;
  --ac-bg:         #ffffff;
  --ac-gray:       #f5f5f7;
  --ac-border:     #d2d2d7;
  --ac-red:        #ff3b30;
  --ac-green:      #34c759;
  --ac-yellow:     #ff9500;
  --ac-r:          12px;
  --ac-r-lg:       20px;
  --ac-shadow:     0 4px 24px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --ac-pad:        24px;
}

/* ── Reset ───────────────────────────────────────────────── */
.ac-wrap *, .ac-wrap *::before, .ac-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ac-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ac-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.ac-modal-overlay *, .ac-modal-overlay *::before, .ac-modal-overlay *::after { box-sizing: border-box; }

/* ── Контейнеры ──────────────────────────────────────────── */
.ac-container { max-width: 1080px; margin: 0 auto; padding: 0 var(--ac-pad); }
.ac-container--narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--ac-pad); }

/* ================================================================
   HERO
   ================================================================ */
.ac-hero {
  position: relative;
  background: linear-gradient(160deg, #0a0a0f 0%, #0d1a2e 50%, #0d0d14 100%);
  padding: 72px 0 64px;
  overflow: hidden;
}
.ac-hero__bg-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: acOrbFloat 12s ease-in-out infinite alternate;
}
.ac-hero__bg-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,113,227,.30) 0%, transparent 70%);
  top: -200px; left: -100px;
}
.ac-hero__bg-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(88,86,214,.28) 0%, transparent 70%);
  bottom: -100px; right: -80px;
  animation-duration: 15s; animation-direction: alternate-reverse;
}
@keyframes acOrbFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(20px,15px) scale(1.06); }
}
.ac-hero__inner {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto; padding: 0 var(--ac-pad);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.ac-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.10); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 100px;
  padding: 5px 14px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.9); margin-bottom: 20px;
}
.ac-hero__title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.08;
  color: #ffffff; margin-bottom: 12px;
}
.ac-hero__sub {
  font-size: 17px; color: rgba(255,255,255,.60);
  line-height: 1.65; max-width: 560px; margin-bottom: 32px;
}

/* ── Форма ────────────────────────────────────────────────── */
.ac-form-card {
  background: #fff; border-radius: var(--ac-r-lg); padding: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,.40);
  width: 100%; max-width: 520px;
  border: 1px solid rgba(255,255,255,.06); text-align: left;
}
.ac-form-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.ac-form-card__icon { font-size: 22px; }
.ac-form-card__title { font-size: 17px; font-weight: 700; color: var(--ac-text); }
.ac-field { margin-bottom: 16px; }
.ac-label { display: block; font-size: 14px; font-weight: 600; color: var(--ac-text); margin-bottom: 7px; }
.ac-input {
  display: block; width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--ac-border); border-radius: var(--ac-r);
  font-size: 15px; font-family: inherit; color: var(--ac-text);
  background: #fff; outline: none; transition: border-color .2s; -webkit-appearance: none;
}
.ac-input:focus { border-color: var(--ac-blue); }
.ac-input::placeholder { color: #b0b0b7; }
.ac-input.is-error { border-color: var(--ac-red); }
.ac-hint { display: block; font-size: 12px; color: var(--ac-muted); margin-top: 5px; }
.ac-error { display: none; font-size: 12px; color: var(--ac-red); margin-top: 5px; }
.ac-error.is-visible { display: block; }

.ac-btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 24px; background: var(--ac-blue);
  color: #fff; border: none; border-radius: var(--ac-r);
  font-size: 16px; font-weight: 700; font-family: inherit;
  cursor: pointer; margin-top: 4px;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.ac-btn-primary--auto { width: auto; }
.ac-btn-primary:hover {
  background: var(--ac-blue-dark); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,122,255,.3);
}
.ac-btn-primary:active { transform: translateY(0); }
.ac-btn-primary.is-loading { opacity: .7; pointer-events: none; }
.ac-btn-primary__spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
  animation: acSpin .7s linear infinite; flex-shrink: 0;
}
@keyframes acSpin { to { transform: rotate(360deg); } }
.ac-form-note { font-size: 12px; color: var(--ac-muted); text-align: center; margin-top: 12px; line-height: 1.65; }
.ac-form-note a { color: var(--ac-blue); text-decoration: underline; text-underline-offset: 2px; }
.ac-form-note a:hover { color: var(--ac-blue-dark); }

.ac-status-box {
  display: flex; align-items: center; gap: 12px;
  background: #e8f0ff; border-radius: var(--ac-r); padding: 16px 18px; margin-top: 16px;
}
.ac-status-box__spinner {
  width: 20px; height: 20px; border: 2px solid #a0b8f0;
  border-top-color: var(--ac-blue); border-radius: 50%;
  animation: acSpin .7s linear infinite; flex-shrink: 0;
}
.ac-status-box__text { font-size: 14px; color: #1a4ecf; line-height: 1.45; }

.ac-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border: 1.5px solid var(--ac-border); border-radius: var(--ac-r);
  background: #fff; color: var(--ac-text); font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: background .2s, border-color .2s;
}
.ac-btn-secondary:hover { background: var(--ac-gray); border-color: #b0b0b7; }

/* ================================================================
   СЕКЦИИ
   ================================================================ */
.ac-section { padding: 72px 0; }
.ac-section--gray { background: var(--ac-gray); }
.ac-section__title {
  font-size: clamp(26px, 4vw, 38px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.15;
  color: var(--ac-text); margin-bottom: 12px; text-align: center;
}
.ac-section__subtitle { font-size: 17px; color: var(--ac-muted); text-align: center; line-height: 1.6; margin-bottom: 32px; }

/* ================================================================
   СЕКЦИЯ «ЧТО ПРОВЕРЯЕТ» — слайдер ←/→
   ================================================================ */
.ac-checks-section { background: var(--ac-bg); }

.ac-checks-header {
  text-align: center;
  margin-bottom: 40px;
}
.ac-checks-header__desc--highlighted {
  font-size: 15px; color: var(--ac-muted); line-height: 1.6;
  max-width: 660px; margin: 0 auto;
}

/* ── Слайдер ── */
.ac-cslider {
  position: relative;
  /* боковые отступы для стрелок */
  margin: 0 -4px;
}

.ac-cslider__overflow {
  overflow: hidden;
  border-radius: 16px;
  background: var(--ac-gray);
}

.ac-cslider__track {
  display: flex;
  transition: transform .48s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.ac-cslider__slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* Содержимое слайда: текст слева, картинка справа */
.ac-cslide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 360px;
}

.ac-cslide__text {
  padding: 48px 48px 48px 52px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ac-cslide__img {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac-gray);
  padding: 24px;
}
.ac-cslide__img img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  border-radius: 8px;
}
.ac-cslide__img-placeholder {
  font-size: 56px; font-weight: 800; color: var(--ac-border);
}

/* ── Нумерация и текст ── */
.ac-checks-num {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ac-blue);
}
.ac-checks-title {
  font-size: 22px; font-weight: 800; color: var(--ac-text);
  line-height: 1.2; letter-spacing: -.02em;
}
.ac-checks-desc {
  font-size: 15px; color: var(--ac-muted); line-height: 1.65;
}

/* ── Стрелки навигации ── */
.ac-cslider__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ac-border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ac-text);
  transition: background .2s, border-color .2s, opacity .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.ac-cslider__arrow:hover {
  background: var(--ac-gray); border-color: #b0b0b7;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.ac-cslider__arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
.ac-cslider__arrow--prev { left: -22px; }
.ac-cslider__arrow--next { right: -22px; }

/* ── Футер: точки по центру, кнопка под ними по центру ── */
.ac-cslider__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 0 4px;
}

.ac-cslider__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ac-cslider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ac-border);
  cursor: pointer;
  transition: width .35s ease, background .35s ease, border-radius .35s ease;
}
.ac-cslider__dot--active {
  width: 28px;
  border-radius: 4px;
  background: var(--ac-text);
}

/* ================================================================
   СЕКЦИЯ «ПРИМЕР ГОТОВОГО ОТЧЁТА» — слайдер с табами
   ================================================================ */
.ac-section--reports {
  background: var(--ac-gray);
  padding: 64px 0;
}

.ac-reports-header {
  text-align: center;
  margin-bottom: 28px;
}
.ac-reports-header .ac-section__title { margin-bottom: 6px; }
.ac-reports-header .ac-section__subtitle { margin-bottom: 20px; }

/* Таб-переключатель */
.ac-rtabs {
  display: inline-flex;
  background: rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  max-width: 100%;
}
.ac-rtab {
  flex: 1 1 auto;
  padding: 8px 20px;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-size: 14px; font-weight: 600;
  color: var(--ac-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
  text-align: center;
}
.ac-rtab--active {
  background: #fff;
  color: var(--ac-text);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

/* ── Слайдер отчётов ── */
.ac-rslider {
  position: relative;
}
.ac-rslider__overflow {
  overflow: hidden;
}
.ac-rslider__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  align-items: flex-start;
}
.ac-rslider__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 2px 0;
}

/* Стрелки слайдера отчётов */
.ac-rslider__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ac-border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ac-text);
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.ac-rslider__arrow:hover { background: var(--ac-gray); box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.ac-rslider__arrow:disabled { opacity: .25; cursor: default; pointer-events: none; }
.ac-rslider__arrow--prev { left: -54px; }
.ac-rslider__arrow--next { right: -54px; }

/* Карточка отчёта — тёплый фон, без тени */
.ac-report-demo {
  background: #fffdf5;
  border-radius: 16px;
  border: 1px solid #f0e8c8;
  max-width: 580px;
  margin: 0 auto;
  overflow: hidden;
}
.ac-report-demo__body { padding: 14px 18px 16px; }
.ac-report-demo__section { margin-bottom: 8px; }
.ac-report-demo__section-title {
  font-size: 10px; font-weight: 800; color: var(--ac-muted);
  text-transform: uppercase; letter-spacing: .09em; margin-bottom: 4px;
}
.ac-device-title { font-size: 13px; font-weight: 700; color: var(--ac-text); margin-bottom: 4px; }
.ac-report-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 4px 0;
  border-bottom: 1px solid var(--ac-gray);
  font-size: 12.5px;
}
.ac-report-row:last-of-type { border-bottom: none; }
.ac-report-row__label { color: var(--ac-muted); flex-shrink: 0; }
.ac-report-row__value { font-weight: 600; color: var(--ac-text); text-align: right; }
.ac-report-row__explanation {
  font-size: 11px; color: var(--ac-muted); line-height: 1.4;
  padding: 2px 0 4px;
  border-bottom: 1px solid var(--ac-gray);
  margin-top: -2px;
}
.ac-badge {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  padding: 2px 7px; border-radius: 20px; white-space: nowrap;
}
.ac-badge--safe   { background: #e6f9ed; color: #1a7a3c; }
.ac-badge--warn   { background: #fff8e6; color: #9a5c00; }
.ac-badge--danger { background: #fff0ef; color: #c0392b; }

/* ── Вердикт в карточке отчёта ── */
.ac-verdict {
  border-radius: 10px; padding: 10px 13px; margin-bottom: 10px;
  display: flex; align-items: flex-start; gap: 10px;
}
.ac-verdict--ok     { background: #e6f9ed; }
.ac-verdict--warn   { background: #fff8e6; }
.ac-verdict--danger { background: #fff0ef; }
.ac-verdict__icon   { font-size: 20px; flex-shrink: 0; line-height: 1.3; }
.ac-verdict__title  { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.ac-verdict--ok     .ac-verdict__title { color: #1a7a3c; }
.ac-verdict--warn   .ac-verdict__title { color: #9a5c00; }
.ac-verdict--danger .ac-verdict__title { color: #c0392b; }
.ac-verdict__sub    { font-size: 11.5px; color: var(--ac-muted); line-height: 1.35; }

/* ── CTA ── */
.ac-reports-cta {
  display: flex; justify-content: center; margin-top: 24px;
}

/* ================================================================
   КАК РАБОТАЕТ — выровненные карточки
   ================================================================ */
.ac-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px; align-items: stretch;
}
.ac-step {
  background: #fff; border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.05);
  display: flex; gap: 16px; position: relative;
}
.ac-step::after {
  content: '→'; position: absolute; right: -14px; top: 36px;
  font-size: 20px; color: var(--ac-border); z-index: 1;
}
.ac-step:last-child::after { display: none; }
.ac-step__num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ac-blue), #0040cc);
  color: #fff; font-size: 18px; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ac-step__body { display: flex; flex-direction: column; gap: 8px; }
.ac-step__title {
  font-size: 15px; font-weight: 700; line-height: 1.35;
  color: var(--ac-text); margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
}
.ac-step__desc {
  font-size: 14px; font-weight: 400; line-height: 1.65;
  color: var(--ac-muted); margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
}
.ac-step__desc code {
  background: var(--ac-gray); border-radius: 4px; padding: 1px 6px;
  font-size: 12.5px; font-family: 'SF Mono','Menlo','Consolas',monospace;
  color: var(--ac-text); font-weight: 500;
}
.ac-step__info-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; background: var(--ac-text); color: #fff;
  border-radius: 50%; font-size: 11px; font-weight: 700;
  vertical-align: middle; margin: 0 2px;
}

/* ================================================================
   СЕКЦИЯ «КАК НАЙТИ IMEI» — три карточки устройств
   ================================================================ */
/* ================================================================
   СЕКЦИЯ «КАК НАЙТИ IMEI» — слайдер с табами и стрелками
   ================================================================ */
.ac-guide-section { background: var(--ac-bg); }

/* Таб-переключатель */
.ac-gtabs {
  display: flex;
  background: rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  max-width: 360px;
  margin: 0 auto 20px;
}
.ac-gtab {
  flex: 1;
  padding: 8px 18px;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-size: 14px; font-weight: 600;
  color: var(--ac-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background .22s, color .22s, box-shadow .22s;
  text-align: center;
  white-space: nowrap;
}
.ac-gtab--active {
  background: #fff;
  color: var(--ac-text);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

/* Слайдер — аналог ac-rslider */
.ac-gslider { position: relative; }
.ac-gslider__overflow { overflow: hidden; width: 100%; }
.ac-gslider__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  align-items: stretch; /* все слайды одинаковой высоты */
}
/* Слайд растягивается по высоте самого высокого */
.ac-gslider__slide {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  display: flex; /* нужно чтобы дочерний .ac-guide-device растянулся */
}

/* Стрелки — аналог ac-rslider__arrow */
.ac-gslider__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ac-border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ac-text);
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.ac-gslider__arrow:hover { background: var(--ac-gray); box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.ac-gslider__arrow:disabled { opacity: .25; cursor: default; pointer-events: none; }
.ac-gslider__arrow--prev { left: -54px; }
.ac-gslider__arrow--next { right: -54px; }

/* Карточка устройства — занимает всю ширину/высоту слайда */
.ac-guide-device {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: center;
  background: var(--ac-gray);
  border-radius: 16px;
  padding: 18px 22px;
  width: 100%;
  box-sizing: border-box;
}
.ac-guide-device__illus {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;           /* крупнее на десктопе */
}
.ac-diag-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: contain;
}
.ac-guide-device__title {
  font-size: 16px; font-weight: 700; letter-spacing: -.02em;
  color: var(--ac-text); margin: 0 0 10px;
}

/* Шаги */
.ac-diag-steps { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.ac-diag-step { display: flex; gap: 10px; align-items: flex-start; }
.ac-diag-step--zero .ac-diag-step__num { background: var(--ac-muted); }
.ac-diag-step__num {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--ac-blue); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.ac-diag-step__body {
  display: flex; flex-direction: column; gap: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
}
.ac-diag-step__body strong {
  font-size: 13px; font-weight: 600; color: var(--ac-text); line-height: 1.35;
}
.ac-diag-step__body span {
  font-size: 12.5px; color: var(--ac-muted); line-height: 1.55;
}
kbd {
  display: inline-block;
  padding: 1px 5px;
  background: #fff;
  border: 1px solid var(--ac-border);
  border-radius: 4px;
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  color: var(--ac-text);
  line-height: 1.4;
}

/* Быстрый способ / альтернатива */
.ac-diag-alt {
  background: #fff; border-radius: 10px;
  padding: 11px 14px; border-left: 3px solid var(--ac-blue);
}
.ac-diag-alt__label {
  display: block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--ac-blue); margin-bottom: 4px;
}
.ac-diag-alt p {
  font-size: 12.5px; color: var(--ac-muted); line-height: 1.55; margin: 0;
}
.ac-code {
  background: var(--ac-gray); border-radius: 4px; padding: 1px 5px;
  font-family: 'SF Mono','Menlo','Consolas',monospace;
  font-size: 12px; color: var(--ac-text); font-weight: 600;
}

/* ================================================================
   FAQ
   ================================================================ */
.ac-faq { display: flex; flex-direction: column; gap: 8px; }
.ac-faq-item {
  background: #fff; border-radius: var(--ac-r);
  border: 1px solid var(--ac-border); overflow: hidden;
}
.ac-faq-item__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; font-size: 15px; font-weight: 600; color: var(--ac-text);
  cursor: pointer; list-style: none; user-select: none;
}
.ac-faq-item__q::-webkit-details-marker { display: none; }
.ac-faq-item__q::after {
  content: '+'; font-size: 20px; font-weight: 400; color: var(--ac-muted);
  flex-shrink: 0; margin-left: 12px; transition: transform .25s;
}
details[open] .ac-faq-item__q::after { transform: rotate(45deg); }
.ac-faq-item__a { padding: 0 20px 16px; font-size: 14px; color: var(--ac-muted); line-height: 1.7; }

/* ================================================================
   МОДАЛЬНОЕ ОКНО
   ================================================================ */
.ac-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); z-index: 99999;
  align-items: center; justify-content: center; padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}
.ac-modal-overlay:not([hidden]) { display: flex; }
.ac-modal {
  background: #fff; border-radius: 24px;
  max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.28); position: relative;
  animation: acModalIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes acModalIn {
  from { opacity: 0; transform: scale(.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.ac-modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ac-gray); border: none; cursor: pointer;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  color: var(--ac-muted); z-index: 10; transition: background .15s;
}
.ac-modal__close:hover { background: var(--ac-border); }
.ac-modal__header { display: flex; align-items: center; gap: 12px; padding: 28px 28px 0; }
.ac-modal__header-icon { font-size: 28px; }
.ac-modal__title { font-size: 20px; font-weight: 800; color: var(--ac-text); line-height: 1.2; padding-right: 40px; }
.ac-modal__body { padding: 20px 28px; font-size: 14px; color: var(--ac-muted); line-height: 1.6; }
.ac-modal__footer {
  border-top: 1px solid var(--ac-border); padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ac-muted);
}

/* Элементы отчёта в модалке */
.ac-report-section { margin-bottom: 16px; }
.ac-report-section__title {
  font-size: 11px; font-weight: 700; color: var(--ac-muted);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px;
}
.ac-lock-explanation {
  font-size: 12.5px; color: var(--ac-muted); line-height: 1.5;
  padding: 4px 0 8px;
}
.ac-danger { color: var(--ac-red); font-weight: 600; }
.ac-raw-toggle {
  background: none; border: 1px solid var(--ac-border); border-radius: 8px;
  padding: 6px 12px; font-size: 12px; color: var(--ac-muted);
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.ac-raw-toggle:hover { background: var(--ac-gray); }
.ac-raw-data { display: none; margin-top: 8px; }
.ac-raw-data--open { display: block; }

/* ================================================================
   АДАПТИВ
   ================================================================ */
@media (max-width: 860px) {
  /* Checks: одна колонка на планшете */
  .ac-cslide { grid-template-columns: 1fr; }
  .ac-cslide__img { height: 240px; }
  .ac-cslide__text { padding: 32px 28px 20px; }
  .ac-checks-title { font-size: 19px; }
  /* Стрелки — поверх слайдера */
  .ac-cslider { margin: 0; }
  .ac-cslider__arrow--prev { left: 4px; }
  .ac-cslider__arrow--next { right: 4px; }
  /* Guide — одна колонка на планшете */
  .ac-guide-device { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .ac-guide-device__illus { height: 260px; }
  .ac-gslider__arrow { display: none; }
  /* Steps — 1 колонка на планшете */
  .ac-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .ac-step { padding: 20px 20px; }
  .ac-step::after { display: none; }
}

@media (max-width: 600px) {
  .ac-hero    { padding: 48px 0 40px; }
  .ac-form-card { padding: 22px 18px; }
  .ac-section { padding: 48px 0; }
  .ac-section--reports { padding: 40px 0; }

  .ac-cslide { grid-template-columns: 1fr; min-height: auto; }
  .ac-cslide__img { height: 200px; order: -1; }
  .ac-cslide__text { padding: 20px 16px; gap: 8px; }
  .ac-checks-title { font-size: 17px; }
  .ac-checks-desc  { font-size: 13px; }
  .ac-cslider__arrow { width: 36px; height: 36px; }
  .ac-cslider__arrow--prev { left: 2px; }
  .ac-cslider__arrow--next { right: 2px; }
  .ac-cslider__footer { gap: 16px; }
  .ac-btn-primary--auto { width: 100%; }

  .ac-rtabs { display: flex; width: 100%; }
  .ac-rtab { padding: 7px 10px; font-size: 13px; }
  .ac-rslider__arrow { display: none; }
  .ac-reports-header .ac-section__subtitle { display: none; }

  /* Guide — мобиль */
  .ac-guide-device { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .ac-guide-device__illus { height: 220px; }
  .ac-gtabs { max-width: 100%; }
  /* Стрелки ближе к краям экрана */
  .ac-gslider__arrow { display: flex; width: 36px; height: 36px; }
  .ac-gslider__arrow--prev { left: -18px; }
  .ac-gslider__arrow--next { right: -18px; }
  .ac-rslider__arrow { display: flex; width: 36px; height: 36px; }
  .ac-rslider__arrow--prev { left: -18px; }
  .ac-rslider__arrow--next { right: -18px; }

  /* Steps мобиль */
  .ac-steps { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .ac-step  { padding: 16px 16px; gap: 12px; }
  .ac-step::after { display: none; }
  .ac-step__num { width: 36px; height: 36px; font-size: 16px; }
  .ac-step__title { font-size: 14px; }
  .ac-step__desc  { font-size: 13px; }

  .ac-modal   { border-radius: 16px; }
  .ac-modal__header, .ac-modal__body { padding-left: 18px; padding-right: 18px; }
  .ac-modal__footer { padding: 14px 18px; }
}

/* ═══════════════════════════════════════════════════════════
   СОГЛАСИЕ — обязательный чекбокс
   ═══════════════════════════════════════════════════════════ */
.ac-consent-wrap {
  margin: 14px 0 0;
}
.ac-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}
.ac-consent-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ac-blue, #007aff);
  cursor: pointer;
}
.ac-consent-text {
  font-size: 12px;
  color: var(--ac-muted, #888);
  line-height: 1.6;
}
.ac-consent-text a {
  color: var(--ac-blue, #007aff);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ac-consent-text a:hover { color: var(--ac-blue-dark, #0062cc); }
@keyframes ac-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

/* ═══════════════════════════════════════════════════════════
   COOKIE BANNER — 152-ФЗ
   ═══════════════════════════════════════════════════════════ */
.ac-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1c1c1e;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 24px;
  box-shadow: 0 -8px 32px rgba(0,0,0,.4);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.ac-cookie-banner.ac-cookie-banner--visible {
  transform: translateY(0);
}
.ac-cookie-banner__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ac-cookie-banner__text {
  flex: 1;
  min-width: 260px;
}
.ac-cookie-banner__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.ac-cookie-banner__desc {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.55;
}
.ac-cookie-banner__desc a {
  color: #007aff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ac-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.ac-cookie-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.ac-cookie-btn:hover { opacity: .88; transform: translateY(-1px); }
.ac-cookie-btn--accept {
  background: #007aff;
  color: #fff;
}
.ac-cookie-btn--necessary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.ac-cookie-btn--reject {
  background: none;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  font-weight: 400;
  padding: 10px 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ac-cookie-btn--reject:hover { color: rgba(255,255,255,.8); transform: none; }
@media(max-width:600px) {
  .ac-cookie-banner { padding: 16px; }
  .ac-cookie-banner__actions { width: 100%; }
  .ac-cookie-btn--accept, .ac-cookie-btn--necessary { flex: 1; text-align: center; }
}
