/* ИИ-дизайнер — каркас страницы сервиса. Цвета, шрифты и скругления задаёт тема сайта через переменные --aid-* (файл темы идёт после этого). */
:root {
  --aid-accent: #5b2a86; --aid-accent-2: #3f1c5e; --aid-soft: #f6f1fb;
  --aid-btn: #5b2a86; --aid-btn-ink: #fff; --aid-btn-hover: #3f1c5e; --aid-btn-r: 999px;
  --aid-ink: #222; --aid-muted: #6f6a66; --aid-line: rgba(0, 0, 0, .1);
  --aid-card: #fff; --aid-page: #f6f3ee; --aid-r: 22px; --aid-r-s: 14px;
  --aid-head: Georgia, serif; --aid-head-w: 700;
  --aid-shadow: 0 18px 42px rgba(30, 24, 18, .1); --aid-shadow-s: 0 8px 22px rgba(30, 24, 18, .07);
  --aid-dark: #1d1b19; --aid-top: 90px;
}

.aid { background: var(--aid-page); color: var(--aid-ink); padding-bottom: 30px; }
.aid *, .aid *::before, .aid *::after, .aid-modal * { box-sizing: border-box; }
.aid-wrap { width: min(var(--aid-wrap, 1280px), calc(100% - 40px)); margin: 0 auto; }
.aid-hero__art picture { display: block; width: 100%; }
.aid-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.aid-h2 { font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; margin: 0 0 10px; color: var(--aid-ink); }
.aid-lead { color: var(--aid-muted); margin: 0 0 28px; max-width: 760px; font-size: 16.5px; line-height: 1.55; }
.aid-head-c { text-align: center; }
.aid-head-c .aid-lead { margin-left: auto; margin-right: auto; }
.aid-center { text-align: center; margin-top: 26px; }

/* Кнопки */
.aid-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: var(--aid-btn-r);
  border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.aid-btn--main { background: var(--aid-btn); color: var(--aid-btn-ink); }
.aid-btn--main:hover { background: var(--aid-btn-hover); color: var(--aid-btn-ink); transform: translateY(-1px); }
.aid-btn--ghost { background: transparent; color: var(--aid-ink); border-color: var(--aid-line); }
.aid-btn--ghost:hover { border-color: var(--aid-ink); color: var(--aid-ink); }
.aid-btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Инструмент */
.aid-tool-section { padding: 34px 0 10px; scroll-margin-top: var(--aid-top); }
.aid-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.aid-form, .aid-result { background: var(--aid-card); border-radius: var(--aid-r); box-shadow: var(--aid-shadow); padding: 28px; }
.aid-result { position: sticky; top: calc(var(--aid-top) + 10px); min-height: 420px; }
.aid-step { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; }
.aid-step:first-child { margin-top: 0; }
.aid-step__num { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  background: var(--aid-accent); color: #fff; font-weight: 700; font-size: 15px; }
.aid-step__title { margin: 0; font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: 21px; line-height: 1.2; color: var(--aid-ink); }
.aid-step__title small { font-family: inherit; font-size: 13px; color: var(--aid-muted); font-weight: 400; margin-left: 6px; }

.aid-drop { position: relative; display: flex; align-items: center; justify-content: center; min-height: 210px; border-radius: var(--aid-r-s); cursor: pointer; overflow: hidden;
  border: 2px dashed color-mix(in srgb, var(--aid-accent) 38%, transparent); background: var(--aid-soft); transition: border-color .2s, background .2s; }
.aid-drop:hover, .aid-drop.is-drag { border-color: var(--aid-accent); }
.aid-drop.is-bad { border-color: #d64545; }
.aid-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.aid-drop__empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 24px; color: var(--aid-accent); }
.aid-drop__empty svg { width: 34px; height: 34px; }
.aid-drop__empty b { font-size: 16px; color: var(--aid-ink); }
.aid-drop__empty small { max-width: 360px; color: var(--aid-muted); font-size: 13px; line-height: 1.45; }
.aid-drop__preview { display: none; width: 100%; max-height: 360px; object-fit: contain; background: rgba(0, 0, 0, .04); }
.aid-drop__change { display: none; position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px; }
.aid-drop.has-photo .aid-drop__empty { display: none; }
.aid-drop.has-photo .aid-drop__preview, .aid-drop.has-photo .aid-drop__change { display: block; }
.aid-drop.is-loading::after { content: "Готовим фото…"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .82); font-weight: 700; color: var(--aid-accent); }

.aid-check { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; margin-bottom: 8px; border-radius: var(--aid-r-s); border: 1px solid var(--aid-line); cursor: pointer; transition: border-color .2s, background .2s; }
.aid-check:hover { background: var(--aid-soft); }
.aid-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--aid-accent); flex: 0 0 auto; }
.aid-check span { display: flex; flex-direction: column; gap: 2px; }
.aid-check b { font-size: 15.5px; color: var(--aid-ink); }
.aid-check small { font-size: 13px; color: var(--aid-muted); }
.aid-check:has(input:checked) { border-color: color-mix(in srgb, var(--aid-accent) 55%, transparent); background: var(--aid-soft); }
.aid-sub { display: none; margin: -2px 0 12px 46px; }
.aid-sub.is-open { display: block; }
.aid-input { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--aid-line); border-radius: var(--aid-r-s); background: #fff; color: var(--aid-ink);
  font: inherit; font-size: 15px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.aid-input::placeholder { color: #9a948e; opacity: 1; }
.aid-input:focus { outline: none; border-color: var(--aid-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aid-accent) 14%, transparent); }
.aid-textarea { resize: vertical; min-height: 92px; }
.aid-form .is-bad, .aid-modal .is-bad { border-color: #d64545 !important; box-shadow: 0 0 0 3px rgba(214, 69, 69, .12); }

.aid-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 10px; }
.aid-chip { border: 1px solid color-mix(in srgb, var(--aid-accent) 30%, transparent); background: #fff; color: var(--aid-accent); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; transition: all .2s; }
.aid-chip:hover, .aid-chip.is-on { background: var(--aid-accent); color: #fff; border-color: var(--aid-accent); }
.aid-chip--soft { color: var(--aid-ink); border-color: var(--aid-line); }

/* Параметры кухни */
.aid-kgroup { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.aid-kgroup legend { padding: 0; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--aid-ink); }
.aid-kgroup legend small { font-weight: 400; color: var(--aid-muted); margin-left: 4px; }
.aid-kopts { display: flex; flex-wrap: wrap; gap: 7px; }
.aid-kopt { position: relative; cursor: pointer; }
.aid-kopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aid-kopt span { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 13px; border-radius: var(--aid-btn-r); border: 1px solid var(--aid-line); background: #fff;
  font-size: 13.5px; color: var(--aid-ink); transition: border-color .2s, background .2s, color .2s; }
.aid-kopt:hover span { border-color: var(--aid-accent); }
.aid-kopt input:checked + span { border-color: var(--aid-accent); background: var(--aid-accent); color: #fff; }
.aid-kopt input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--aid-accent) 25%, transparent); }
.aid-sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); flex: 0 0 auto; }
.aid-kopt input:checked + span .aid-sw { border-color: rgba(255, 255, 255, .8); box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }

.aid-consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--aid-muted); cursor: pointer; text-align: left; }
.aid-consent input { margin-top: 2px; accent-color: var(--aid-accent); flex: 0 0 auto; }
.aid-consent a { color: inherit; text-decoration: underline; }
.aid-consent.is-bad { color: #b42318; }
.aid-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 18px; }
.aid-go { min-height: 56px; padding: 0 30px; font-size: 15px; }
.aid-left { font-size: 14px; color: var(--aid-muted); }
.aid-left b { color: var(--aid-accent); font-size: 16px; }
.aid-error { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--aid-r-s); background: #fff1f0; color: #b42318; font-size: 14px; }

/* Результат */
.aid-result__idle { text-align: center; }
.aid-result__idle h3 { font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: 22px; margin: 10px 0 12px; color: var(--aid-ink); }
.aid-idle-art { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; border-radius: var(--aid-r-s); }
.aid-tips { list-style: none; padding: 0; margin: 0 auto; max-width: 430px; text-align: left; }
.aid-tips li { position: relative; padding: 7px 0 7px 26px; font-size: 14px; color: var(--aid-muted); line-height: 1.45; }
.aid-tips li::before { content: "✦"; position: absolute; left: 0; color: var(--aid-accent); }

.aid-progress-art { position: relative; overflow: hidden; border-radius: var(--aid-r-s); background: var(--aid-soft); aspect-ratio: 4 / 3; }
.aid-progress-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) blur(1px); opacity: .8; }
.aid-scan { position: absolute; left: 0; right: 0; height: 36%; top: -36%;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--aid-accent) 35%, transparent) 70%, rgba(255, 255, 255, .9) 100%);
  animation: aidScan 2.4s ease-in-out infinite; }
@keyframes aidScan { 0% { top: -36%; } 100% { top: 100%; } }
.aid-stages { list-style: none; padding: 0; margin: 18px 0 8px; display: grid; gap: 8px; }
.aid-stages li { position: relative; padding-left: 30px; color: #b0aaa4; font-size: 15px; }
.aid-stages li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #ddd6cf; }
.aid-stages li.is-active { color: var(--aid-ink); font-weight: 700; }
.aid-stages li.is-active::before { border-color: var(--aid-accent); border-right-color: transparent; animation: aidSpin .8s linear infinite; }
.aid-stages li.is-done { color: var(--aid-accent); }
.aid-stages li.is-done::before { content: "✓"; background: var(--aid-accent); border-color: var(--aid-accent); color: #fff; font-size: 11px; line-height: 14px; text-align: center; }
@keyframes aidSpin { to { transform: rotate(360deg); } }
.aid-timer { font-size: 13px; color: var(--aid-muted); margin: 4px 0 0; }

.aid-result__title { font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: 21px; margin: 16px 0 12px; color: var(--aid-ink); }
.aid-result__actions, .aid-single__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.aid-note { font-size: 12.5px; color: var(--aid-muted); margin: 14px 0 0; line-height: 1.5; }
.aid-result__fail { text-align: center; padding: 40px 10px; }
.aid-fail__icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: #fff1f0; color: #b42318; font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.aid-result__fail p { color: var(--aid-ink); margin: 0 0 16px; }

/* Сравнение «было / стало» */
.aid-compare { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--aid-r-s); background: #eee; user-select: none; touch-action: pan-y; }
.aid-compare__after { display: block; width: 100%; height: auto; }
.aid-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.aid-compare__before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aid-compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.aid-compare__knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--aid-accent); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.aid-compare__tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .58); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.aid-compare__tag--before { left: 12px; }
.aid-compare__tag--after { right: 12px; background: var(--aid-accent); }
.aid-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }

/* Как это работает */
.aid-how { padding: 60px 0 10px; }
.aid-how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.aid-how__item { background: var(--aid-card); border-radius: var(--aid-r); padding: 24px; box-shadow: var(--aid-shadow-s); }
.aid-how__num { display: inline-block; font-family: var(--aid-head); font-size: 30px; font-weight: 700; color: var(--aid-accent); line-height: 1; }
.aid-how__item b { display: block; font-size: 17px; margin: 10px 0 6px; color: var(--aid-ink); }
.aid-how__item p { margin: 0; color: var(--aid-muted); font-size: 14.5px; line-height: 1.55; }

/* Текст о сервисе */
.aid-about { padding: 60px 0 10px; }
.aid-about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.aid-about__text p { margin: 0 0 14px; line-height: 1.65; color: var(--aid-ink); }
.aid-about__text h3 { font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: 21px; margin: 22px 0 10px; color: var(--aid-ink); }
.aid-about__list { list-style: none; padding: 0; margin: 0 0 14px; }
.aid-about__list li { position: relative; padding: 6px 0 6px 28px; line-height: 1.55; }
.aid-about__list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--aid-accent); border-bottom: 2px solid var(--aid-accent); transform: rotate(-45deg); }
.aid-about__aside { background: var(--aid-card); border-radius: var(--aid-r); padding: 26px; box-shadow: var(--aid-shadow-s); }
.aid-about__aside h3 { font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: 20px; margin: 0 0 12px; }
.aid-about__aside dl { margin: 0; display: grid; gap: 12px; }
.aid-about__aside dt { font-weight: 700; font-size: 14.5px; }
.aid-about__aside dd { margin: 2px 0 0; color: var(--aid-muted); font-size: 14px; line-height: 1.5; }

/* История */
.aid-gallery-section { padding: 60px 0 20px; scroll-margin-top: var(--aid-top); }
.aid-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.aid-empty { padding: 30px; border-radius: var(--aid-r); background: var(--aid-card); color: var(--aid-muted); text-align: center; }
.aid-card { display: flex; flex-direction: column; background: var(--aid-card); border-radius: var(--aid-r); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--aid-shadow-s); transition: transform .25s, box-shadow .25s; }
.aid-card:hover { transform: translateY(-3px); box-shadow: var(--aid-shadow); }
.aid-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.aid-card__img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aid-card__before { position: absolute; left: 10px; bottom: 10px; width: 34%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.aid-card__before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aid-card__before em { position: absolute; left: 0; right: 0; bottom: 0; font-style: normal; font-size: 10px; text-align: center; color: #fff; background: rgba(0, 0, 0, .55); text-transform: uppercase; letter-spacing: .06em; }
.aid-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.aid-card__room { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aid-accent); }
.aid-card__title { font-size: 15px; line-height: 1.4; color: var(--aid-ink); }
.aid-card__date { font-size: 12.5px; color: var(--aid-muted); }

/* Вопросы */
.aid-faq { padding: 60px 0 10px; }
.aid-faq__list { max-width: 900px; }
.aid-faq details { background: var(--aid-card); border-radius: var(--aid-r-s); margin-bottom: 10px; box-shadow: var(--aid-shadow-s); }
.aid-faq summary { position: relative; padding: 18px 54px 18px 22px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; color: var(--aid-ink); }
.aid-faq summary::-webkit-details-marker { display: none; }
.aid-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--aid-accent); }
.aid-faq details[open] summary::after { content: "–"; }
.aid-faq details p { margin: 0; padding: 0 22px 18px; color: var(--aid-muted); line-height: 1.6; }

/* Призыв */
.aid-cta { padding: 50px 0 10px; }
.aid-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--aid-card); border-radius: var(--aid-r); padding: 32px 38px; box-shadow: var(--aid-shadow-s); border: 1px solid var(--aid-line); }
.aid-cta__title { font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: 27px; line-height: 1.15; margin: 0 0 8px; color: var(--aid-ink); }
.aid-cta p { margin: 0; color: var(--aid-muted); max-width: 720px; line-height: 1.55; }
.aid-cta .aid-btn { flex: 0 0 auto; }

/* Страница одного результата */
.aid-single { padding: 30px 0 10px; }
.aid-single .aid-wrap { max-width: 1080px; }
.aid-single__eyebrow { display: inline-block; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aid-accent); text-decoration: none; }
.aid-single__title { font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: clamp(26px, 3vw, 40px); line-height: 1.12; margin: 0 0 6px; color: var(--aid-ink); }
.aid-single__date { color: var(--aid-muted); margin: 0 0 20px; }
.aid-single .aid-compare { margin-bottom: 18px; box-shadow: var(--aid-shadow); }
.aid-single__req { margin: 18px 0 0; padding: 16px 20px; border-radius: var(--aid-r-s); background: var(--aid-card); color: var(--aid-muted); font-size: 14.5px; line-height: 1.55; }
.aid-single__req b { color: var(--aid-ink); }
.aid-wait { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 70px 20px; border-radius: var(--aid-r); background: var(--aid-card); text-align: center; margin-bottom: 18px; }
.aid-spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #e8e2dc; border-top-color: var(--aid-accent); animation: aidSpin .9s linear infinite; }

/* Окно связи с менеджером */
.aid-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 14, 13, .62); backdrop-filter: blur(4px); }
.aid-modal.is-open { display: flex; }
.aid-modal__dialog { position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: var(--aid-r); padding: 34px 30px 26px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: aidPop .25s ease; color: var(--aid-ink); }
@keyframes aidPop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.aid-modal__close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 20px; cursor: pointer; color: #9a948e; }
.aid-modal__icon { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: var(--aid-accent); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.aid-modal__title { font-family: var(--aid-head); font-weight: var(--aid-head-w); font-size: 23px; line-height: 1.2; margin: 0 0 10px; color: var(--aid-ink); }
.aid-modal__text { color: var(--aid-muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 18px; }
.aid-modal__form { display: grid; gap: 10px; }
.aid-modal__form .aid-btn { width: 100%; }
.aid-consent--modal { margin: 2px 0 4px; }
.aid-modal__ok { padding: 16px; border-radius: var(--aid-r-s); background: #effaf3; color: #1d7a45; font-weight: 700; }
.aid-modal__phone { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--aid-accent); text-decoration: none; }
.aid-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 980px) {
  .aid-tool { grid-template-columns: 1fr; }
  .aid-result { position: static; min-height: 0; }
  .aid-about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .aid-wrap { width: calc(100% - 28px); }
  .aid-form, .aid-result { padding: 20px 16px; }
  .aid-cta__inner { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .aid-sub { margin-left: 0; }
  .aid-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .aid-card__body { padding: 10px 12px 12px; }
  .aid-card__title { font-size: 13.5px; }
  .aid-how, .aid-about, .aid-gallery-section, .aid-faq { padding-top: 44px; }
}
@media (max-width: 420px) { .aid-gallery { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .aid-scan, .aid-stages li.is-active::before { animation: none; } }

/* ── Тема «Экостандарт»: белый фон, Manrope 800, солнечно-жёлтые кнопки, сливовые акценты ── */
:root {
  --aid-accent: #3a2b47; --aid-accent-2: #513d59; --aid-soft: #f5f1f7;
  --aid-btn: #f5c518; --aid-btn-ink: #1f1a24; --aid-btn-hover: #ffd84d; --aid-btn-r: 999px;
  --aid-ink: #1f1a24; --aid-muted: #7a7281; --aid-line: #e9e4ec;
  --aid-card: #fff; --aid-page: #fbfaf8; --aid-r: 24px; --aid-r-s: 16px;
  --aid-head: Manrope, system-ui, sans-serif; --aid-head-w: 800;
  --aid-shadow: 0 1px 2px rgba(31, 26, 36, .05), 0 18px 44px rgba(31, 26, 36, .09);
  --aid-shadow-s: 0 1px 2px rgba(31, 26, 36, .05), 0 10px 30px rgba(31, 26, 36, .06);
  --aid-wrap: 1280px; --aid-top: 88px;
}
.aid--eco .aid-h2, .aid--eco .aid-step__title, .aid--eco .aid-cta__title, .aid--eco .aid-single__title { letter-spacing: -.02em; }
.aid--eco .aid-hero { padding: 0; }
.aid--eco .aid-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.aid--eco .aid-hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.aid--eco .aid-hero__eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aid-muted); }
.aid--eco .aid-hero__title { font-weight: 800; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px; color: var(--aid-ink); }
.aid--eco .aid-hero__title mark { background: linear-gradient(transparent 60%, #f5c518 60%, #f5c518 90%, transparent 90%); color: inherit; padding: 0 .04em; }
.aid--eco .aid-hero__lead { font-size: 17px; line-height: 1.6; color: #3f3846; max-width: 560px; margin: 0 0 26px; }
.aid--eco .aid-hero__actions { order: 2; margin: 0 0 30px; }
.aid--eco .aid-hero__facts { order: 3; list-style: none; display: flex; flex-wrap: wrap; gap: 14px 38px; padding: 0; margin: 0; }
.aid--eco .aid-hero__facts li { display: flex; flex-direction: column; }
.aid--eco .aid-hero__facts b { font-size: 24px; font-weight: 800; color: var(--aid-ink); letter-spacing: -.02em; }
.aid--eco .aid-hero__facts span { font-size: 13px; color: var(--aid-muted); }
.aid--eco .aid-hero__art { position: relative; border-radius: 28px; padding: 24px; background: radial-gradient(circle at 72% 26%, #fff7d6 0, #f5f1f7 52%, #ece5f0 100%); }
.aid--eco .aid-hero__art img { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(58, 43, 71, .22)); }
.aid--eco .aid-btn { font-weight: 700; font-size: 16px; }
.aid--eco .aid-btn--main { box-shadow: 0 6px 18px rgba(245, 197, 24, .35); }
.aid--eco .aid-btn--main:hover { box-shadow: 0 8px 24px rgba(245, 197, 24, .45); }
.aid--eco .aid-btn--ghost, .aid-modal .aid-btn--ghost { color: #3a2b47; border: 2px solid rgba(58, 43, 71, .22); }
.aid--eco .aid-btn--ghost:hover { border-color: #3a2b47; color: #3a2b47; background: rgba(58, 43, 71, .04); }
.aid--eco .aid-step__num { background: #f5c518; color: #1f1a24; font-weight: 800; }
.aid--eco .aid-form, .aid--eco .aid-result, .aid--eco .aid-how__item, .aid--eco .aid-card, .aid--eco .aid-faq details { border: 1px solid var(--aid-line); }
.aid--eco .aid-how__num { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; background: #fff7d6; color: #1f1a24; font-family: var(--aid-head); font-size: 16px; font-weight: 800; }
.aid--eco .aid-about__aside { background: #3a2b47; color: #fff; border: 0; }
.aid--eco .aid-about__aside h3 { color: #fff; }
.aid--eco .aid-about__aside dt { color: #f5c518; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.aid--eco .aid-about__aside dd { color: rgba(255, 255, 255, .78); }
.aid--eco .aid-cta__inner { background: #fff7d6; border: 0; }
.aid--eco .aid-chip:hover, .aid--eco .aid-chip.is-on { background: #3a2b47; border-color: #3a2b47; }
.aid--eco .aid-card__room { color: #7a6683; }
.aid-modal__icon { background: #f5c518; color: #1f1a24; }
@media (max-width: 980px) {
  .aid--eco .aid-hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .aid--eco .aid-hero__art { padding: 14px; }
  .aid--eco .aid-hero__facts { gap: 12px 26px; }
}
