/* ARVIS HOME 7 — «тёплая точность». Стили тестовой главной /v7.php (STYLE-8H, 23.09.2026). Подключается только вместе с home7.inc.php.
   База: фон #FAF8F7, спокойные поверхности #EFE6DF / диагностика #EEE4DB, текст #171412, подписи #59514C, бордовый #990400, Onest 400/500/600.
   Оболочка 1200 px; поля 48 (desktop) / 20 (mobile) / 16 (320). Секции 72 px desktop / 44 px mobile. Скругления 18–26, диагностика 40.
   Части: 1 общие; 2 шапка/панель на этой странице; 3 меню; 4 блоки; 5 сцены лечения (эталон пакета + полировка); 6 адаптив; 7 reduced motion. */

/* ===== 1. Общие ===== */
#arvis-home7{--h7-bg:#faf8f7;--h7-ink:#171412;--h7-text:#59514c;--h7-red:#990400;--h7-red-dark:#7a0300;--h7-warm:#efe6df;--h7-warm-2:#eee4db;--h7-panel:#f0eae5;--h7-line:#d8ccc3;--h7-pad:48px;color:var(--h7-ink);background:var(--h7-bg);font:400 17px/1.55 Onest,Arial,sans-serif;overflow-wrap:break-word}
#arvis-home7 *,#arvis-home7 *::before,#arvis-home7 *::after{box-sizing:border-box}
#arvis-home7 :is(h1,h2,h3,p,a,span,strong,b,small,li,button,address,figcaption){-webkit-text-fill-color:currentColor;text-shadow:none;opacity:1}
#arvis-home7 :is(h1,h2,h3){font-family:Onest,Arial,sans-serif;font-weight:600;color:var(--h7-ink);margin:0}
#arvis-home7 h1{font-size:clamp(56px,4.4vw,64px)!important;line-height:1.06!important;letter-spacing:-.035em!important}
#arvis-home7 h2{font-size:clamp(38px,3.05vw,44px)!important;line-height:1.12!important;letter-spacing:-.035em!important}
#arvis-home7 h2.h7-h2-small{font-size:26px!important;line-height:1.2!important;letter-spacing:-.02em!important}
#arvis-home7 h3{font-size:24px;line-height:1.2;letter-spacing:-.02em}
#arvis-home7 .h7-accent{color:var(--h7-red)}
#arvis-home7 :is(p,li,address,figcaption){margin:0;color:var(--h7-text);font-size:17px;line-height:1.55}
#arvis-home7 a{color:inherit;text-decoration:none}
#arvis-home7 img{display:block;max-width:100%;height:auto;filter:none;opacity:1}
#arvis-home7 ul,#arvis-home7 ol{list-style:none;margin:0;padding:0}
#arvis-home7 :is(a,button):focus-visible,.h7-nav :is(a,button):focus-visible,.h7-menubtn:focus-visible{outline:3px solid #990400;outline-offset:4px}
#arvis-home7 .h7-wrap{max-width:1200px;margin:0 auto;padding-left:var(--h7-pad);padding-right:var(--h7-pad)}
#arvis-home7 .h7-section{padding-top:72px;padding-bottom:0}
#arvis-home7 .h7-section:last-child{padding-bottom:64px}
#arvis-home7 .h7-sr,.h7-nav .h7-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
#arvis-home7 .h7-kicker{font-size:13px;line-height:1.4;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--h7-text)}
#arvis-home7 .h7-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 26px;border-radius:15px;background:var(--h7-red);color:#fff;font-size:16px;font-weight:500;line-height:1.3;text-align:center;transition:background-color .16s ease,transform .16s ease}
#arvis-home7 .h7-btn:hover{background:var(--h7-red-dark)}
#arvis-home7 .h7-btn:active{transform:translateY(1px)}
#arvis-home7 .h7-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--h7-red);font-size:16px;font-weight:500;line-height:1.3}
#arvis-home7 .h7-link:hover{text-decoration:underline;text-underline-offset:5px}
#arvis-home7 .h7-arrow{display:inline-block;flex:none;transition:transform .18s ease}
#arvis-home7 a:hover .h7-arrow{transform:translateX(3px)}
#arvis-home7 .h7-head{margin-bottom:32px}
#arvis-home7 .h7-head--row{display:flex;align-items:end;justify-content:space-between;gap:24px;flex-wrap:wrap}
#arvis-home7 [id]{scroll-margin-top:24px}

/* ===== 2. Шапка и панель на этой странице ===== */
/* Нижняя панель шаблона сохраняется (IR2-05). Верхняя шапка на телефоне прокручивается вместе со страницей. */
/* шаблонный бургер заменён кнопкой «Меню» на всех ширинах; на планшете 901–1279 шаблон держит шапку фиксированной (134 px при верхней строке) — отступ под неё */
body:has(#arvis-home7) .vc-header__burger{display:none!important}
@media (min-width:901px) and (max-width:1279px){ #arvis-home7{padding-top:134px} }
@media (max-width:900px){
  body:has(#arvis-home7) .vc-header{position:relative!important;top:auto!important;transform:none!important}
  /* резерв под панель = её фактическая высота (скрипт пишет --h7-mbar), подписи панели 11 px */
  body:has(#arvis-home7){padding-bottom:var(--h7-mbar,76px)!important}
  body:has(#arvis-home7) .apv-mbar__i{font-size:11px;letter-spacing:-.01em}
  body:has(#arvis-home7) .vc-header__burger{display:none!important}
  body:has(#arvis-home7) .apv-top,body:has(#arvis-home7) .apv-up,body:has(#arvis-home7) [class*="scroll-top"]{display:none!important}
}
@media (min-width:1280px){
  /* 24.09: верхняя строка шаблона (адрес, телефон, чат, версия для слабовидящих) видна и на главной — как на всех страницах */
  /* шапка шаблона на desktop — absolute поверх контента (80 px без верхней строки): первый экран начинается под ней */
  #arvis-home7 .h7-hero.h7-wrap{padding-top:174px}
  /* пять пунктов в ряду: «Акции» и «Ещё» доступны через кнопку «Меню» (акции — /specials/ в меню «О клинике»/подвале) */
  /* 24.09: ряд шапки = корень единого меню (/.top.menu.php), ничего не прячем */
}
/* Кнопка «Меню»: серверная разметка, скриптом переносится в ряд шапки */
.h7-menubtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:12px;border:1px solid #ded5ce;background:#fff;color:#171412;font:500 15px/1 Onest,Arial,sans-serif;white-space:nowrap}
.h7-menubtn:not(.h7-menubtn--placed){margin:12px 20px 0}
.h7-menubtn__i{display:inline-flex;flex-direction:column;gap:3px;width:16px}
.h7-menubtn__i i{display:block;height:2px;border-radius:2px;background:currentColor}
.h7-menubtn[aria-expanded="true"]{background:#171412;color:#fff;border-color:#171412}
body:has(#arvis-home7) .vc-header__icons-wrapper{gap:10px}
@media (max-width:900px){ body:has(#arvis-home7) .vc-header__icons-wrapper .h7-menubtn{margin-left:auto} }

/* ===== 3. Меню (один компонент для телефона и десктопа) ===== */
.h7-nav{position:fixed;inset:0;z-index:10050;background:rgba(23,20,18,.42);font:400 16px/1.5 Onest,Arial,sans-serif;color:#171412}
.h7-nav[hidden]{display:none}
#apv-nav:target{display:block!important}
.h7-nav__panel{position:absolute;top:0;right:0;bottom:0;width:100%;max-width:100%;background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 20px calc(24px + env(safe-area-inset-bottom,0px));outline:none}
.h7-nav__bar{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:64px;background:#fff;border-bottom:1px solid #ded5ce;margin:0 -20px 8px;padding:0 20px}
.h7-nav__title{grid-column:2;font-size:18px;font-weight:600}
.h7-nav__back{grid-column:1;justify-self:start;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;border:0;background:none;color:#990400;font:500 16px/1 Onest,Arial,sans-serif;cursor:pointer}
.h7-nav__back[hidden]{display:none}
.h7-nav__close{grid-column:3;justify-self:end;width:44px;height:44px;border:0;border-radius:12px;background:#f3eee9;color:#171412;font-size:26px;line-height:1;cursor:pointer}
.h7-nav__list li+li{border-top:1px solid #ede6e0}
.h7-nav__item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:14px 2px;border:0;background:none;text-align:left;color:#171412;font:500 18px/1.3 Onest,Arial,sans-serif;cursor:pointer}
.h7-nav__item--more span{color:#990400;font-size:22px}
.h7-nav__item--all{color:#990400}
.h7-nav__group{margin:20px 0 4px;color:#4d4540;font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.h7-nav__aux{margin-top:24px;padding-top:12px;border-top:1px solid #ded5ce}
.h7-nav__aux a{display:flex;align-items:center;gap:8px;min-height:44px;color:#4d4540;font-size:15px}
.h7-nav__aux a:hover{color:#171412}
.h7-nav__level[hidden]{display:none}
body.h7-nav-open{position:fixed;left:0;right:0;overflow:hidden;width:100%}
body.h7-nav-open .apv-mbar{display:none!important}
@media (min-width:761px){ .h7-nav__panel{max-width:420px;box-shadow:-8px 0 32px rgba(23,20,18,.18)} }


/* ===== 4. Блоки главной ===== */
/* 4.1 первый экран: текст слева, крупный реальный портрет справа; одна форма с одним более плавным углом */
#arvis-home7 .h7-hero{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);column-gap:64px;align-items:center;padding-top:48px;padding-bottom:24px}
#arvis-home7 .h7-hero__copy{min-width:0}
#arvis-home7 .h7-hero h1{margin:22px 0 24px;max-width:650px}
#arvis-home7 .h7-lead{font-size:18px;line-height:1.5;max-width:460px}
#arvis-home7 .h7-hero__cta{margin-top:30px}
#arvis-home7 .h7-hero__media{margin:0;min-width:0;justify-self:end;width:100%;max-width:520px}
#arvis-home7 .h7-hero__photo{width:100%;aspect-ratio:1.06;object-fit:cover;object-position:50% 30%;border-radius:26px 110px 26px 26px;background:var(--h7-warm)}
#arvis-home7 .h7-hero__media--b .h7-hero__photo{object-position:45% 50%}
#arvis-home7 .h7-hero__media figcaption{padding-top:8px;font-size:14px;line-height:1.4}
#arvis-home7 .h7-hero__media figcaption a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--h7-text)}
#arvis-home7 .h7-hero__media figcaption a:hover{color:var(--h7-red)}
/* 4.2 направления: одна выразительная бордовая плоскость профиля + крупные строки остальных */
#arvis-home7 .h7-dirs{padding-top:56px}
#arvis-home7 .h7-dirs__grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch}
#arvis-home7 .h7-dir-main{display:flex;flex-direction:column;justify-content:space-between;gap:20px;min-height:240px;padding:32px 34px;border-radius:24px;background:var(--h7-red);color:#fff;transition:background-color .16s ease}
#arvis-home7 .h7-dir-main:hover{background:var(--h7-red-dark)}
#arvis-home7 .h7-dir-main__body{display:block}
#arvis-home7 .h7-dir-main__title{display:block;font-size:34px;line-height:1.1;font-weight:600;letter-spacing:-.03em;color:#fff}
#arvis-home7 .h7-dir-main__text{display:block;margin-top:14px;max-width:400px;font-size:17px;line-height:1.5;color:#fff}
#arvis-home7 .h7-dir-main__go{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;font-size:16px;font-weight:500;color:#fff}
#arvis-home7 .h7-dir-list{display:flex;flex-direction:column;justify-content:space-between}
#arvis-home7 .h7-dir-list a{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:58px;border-bottom:1px solid var(--h7-line);font-size:22px;font-weight:500;line-height:1.2;letter-spacing:-.02em;color:var(--h7-ink)}
#arvis-home7 .h7-dir-list li:last-child a{border-bottom:0}
#arvis-home7 .h7-dir-list a .h7-arrow{color:var(--h7-red)}
#arvis-home7 .h7-dir-list__kids a{color:var(--h7-red)}
/* 4.3 симптомы: спокойный список, три колонки, зона нажатия 48+ */
#arvis-home7 .h7-symp{padding-top:56px;padding-bottom:0}
#arvis-home7 .h7-symp h2{margin-bottom:12px}
#arvis-home7 .h7-symp__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 40px}
#arvis-home7 .h7-symp__grid a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;border-bottom:1px solid var(--h7-line);font-size:17px;font-weight:500;color:var(--h7-ink)}
#arvis-home7 .h7-symp__grid a .h7-arrow{color:var(--h7-red)}
#arvis-home7 .h7-symp__more{display:flex;flex-wrap:wrap;gap:4px 28px;margin-top:14px}
/* 4.4 врачи: одна сетка и масштаб фото, тёмные имена 20 px, персональная запись */
#arvis-home7 .h7-docs__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
#arvis-home7 .h7-doc{display:flex;flex-direction:column;min-width:0}
#arvis-home7 .h7-doc__photo{display:block;border-radius:20px;overflow:hidden;background:var(--h7-warm)}
#arvis-home7 .h7-doc__photo img{width:100%;aspect-ratio:1.08;object-fit:cover;object-position:50% 20%}
#arvis-home7 .h7-doc h3{font-size:20px;line-height:1.25;letter-spacing:-.015em;margin:20px 0 8px}
#arvis-home7 .h7-doc h3 a{display:inline-block;padding:6px 0;margin:-6px 0}
#arvis-home7 .h7-doc h3 a:hover{color:var(--h7-red)}
#arvis-home7 .h7-doc__spec{font-size:14px;line-height:1.45}
#arvis-home7 .h7-doc__book{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:10px;min-height:44px;color:var(--h7-red);font-size:15px;font-weight:500}
#arvis-home7 .h7-docs__foot{margin-top:20px}
/* 4.5 диагностика: тёплая поверхность, оригинальная кассета в естественных пропорциях */
#arvis-home7 .h7-diag{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;padding:52px 58px;border-radius:40px;background:var(--h7-warm-2)}
#arvis-home7 .h7-diag h2{margin:18px 0}
#arvis-home7 .h7-diag__lead{max-width:460px;font-size:18px;margin-bottom:22px}
#arvis-home7 .av4-chip{margin:0;background:transparent;min-width:0;display:grid;place-items:center;min-height:390px;padding:0}
#arvis-home7 .av4-chip img{display:block;width:min(100%,340px);max-width:370px;max-height:398px;height:auto;object-fit:contain;object-position:center;transform:none;filter:none;opacity:1;mix-blend-mode:normal}
/* 4.6 лечение: два метода рядом на одной поверхности, объём из эталонных сцен */
#arvis-home7 .h7-treat__grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
#arvis-home7 .h7-method{padding:28px 30px 30px;border-radius:26px;background:var(--h7-panel);min-width:0}
#arvis-home7 .h7-method h3{margin-top:18px}
#arvis-home7 .h7-method p{margin:14px 0 0;max-width:440px;font-size:16px}
#arvis-home7 .h7-method__steps{display:flex;flex-wrap:wrap;gap:10px 20px;margin:14px 0 4px;font-size:14px;color:var(--h7-text)}
#arvis-home7 .h7-method__steps li{font-size:14px;color:var(--h7-text)}
#arvis-home7 .h7-method__steps b{color:var(--h7-red);font-weight:600;margin-right:4px}
#arvis-home7 .h7-method .h7-link{margin-top:8px}
#arvis-home7 .h7-method p.h7-method__price{font-size:14px;margin-top:8px;max-width:none}
/* 4.7 клиника: реальное пространство, один адрес, вход, маршрут, карта по действию */
#arvis-home7 .h7-clinic__grid{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:start}
#arvis-home7 .h7-clinic__visual{min-width:0}
#arvis-home7 .h7-clinic__visual .h7-map{margin-top:16px}
#arvis-home7 .h7-clinic__photo{width:100%;aspect-ratio:1.3;object-fit:cover;border-radius:26px 26px 100px 26px;background:var(--h7-warm)}
#arvis-home7 .h7-clinic h2{margin:14px 0 22px}
#arvis-home7 .h7-clinic__addr{font-style:normal;display:grid;gap:6px}
#arvis-home7 .h7-clinic__addr strong{font-size:19px;line-height:1.3;color:var(--h7-ink)}
#arvis-home7 .h7-clinic__addr span{font-size:15px}
#arvis-home7 .h7-clinic__hours{margin-top:16px;color:var(--h7-ink)}
#arvis-home7 .h7-clinic__tel{margin-top:4px}
#arvis-home7 .h7-clinic__tel a{display:inline-flex;align-items:center;min-height:44px;color:var(--h7-ink);font-weight:500}
#arvis-home7 .h7-clinic__links{display:flex;flex-wrap:wrap;gap:4px 24px;margin-top:8px}
#arvis-home7 .h7-clinic__entry{margin:22px 0 0;max-width:260px}
#arvis-home7 .h7-clinic__entry img{width:100%;aspect-ratio:1.4;object-fit:cover;border-radius:16px;background:var(--h7-warm)}
#arvis-home7 .h7-clinic__entry figcaption{padding-top:8px;font-size:14px}
#arvis-home7 .h7-map{margin-top:22px}
#arvis-home7 .h7-map__btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--h7-line);border-radius:12px;background:#fff;color:var(--h7-ink);font:500 15px/1 Onest,Arial,sans-serif;cursor:pointer;transition:border-color .16s ease}
#arvis-home7 .h7-map__btn:hover{border-color:#b98e7e}
#arvis-home7 .h7-map__btn[hidden],#arvis-home7 .h7-map--open .h7-map__btn{display:none}
#arvis-home7 .h7-map__frame{border-radius:16px;overflow:hidden;background:var(--h7-warm)}
#arvis-home7 .h7-map__frame[hidden]{display:none}

/* ===== 5. Сцены лечения — эталон пакета (reference/components/clinical-visuals.css + scene-polish.css), без изменений геометрии ===== */
.av4-scene,.av4-alt,.av4-chip{box-sizing:border-box;color-scheme:light}
.av4-scene *,.av4-scene *::before,.av4-scene *::after,.av4-alt *,.av4-alt *::before,.av4-alt *::after{box-sizing:border-box}
.av4-scene{height:251px;position:relative;display:grid;place-items:center;perspective:900px;container-type:inline-size;container-name:arvis-scene;background:radial-gradient(ellipse at 55% 85%,#e7d6ca77,transparent 61%)}
.av4-scene::after{content:"";position:absolute;width:220px;height:26px;bottom:22px;left:calc(50% - 95px);background:#bc9888;opacity:.22;filter:blur(13px);transform:rotate(-13deg);pointer-events:none}
.av4-stairs{position:relative;width:248px;height:190px;transform-style:preserve-3d;transform:rotateX(56deg) rotateZ(-33deg);z-index:1}
.av4-step{position:absolute;left:calc(var(--i)*62px);top:40px;width:62px;height:120px;transform:translateZ(calc(20px + var(--i)*28px));transform-style:preserve-3d;background:linear-gradient(135deg,#fcf4ed,#e2c4b6);border-radius:2px;box-shadow:inset 0 1px 1px #fff,inset 1px 0 0 #fff}
.av4-step::before{content:"";position:absolute;left:0;top:100%;width:62px;height:calc(20px + var(--i)*28px);transform-origin:top;transform:rotateX(-90deg);background:linear-gradient(#cca28f,#c0917d);border-radius:0 0 2px 2px}
.av4-step::after{content:"";position:absolute;left:100%;top:0;width:calc(20px + var(--i)*28px);height:120px;transform-origin:left;transform:rotateY(90deg);background:linear-gradient(90deg,#b88573,#d6b3a3)}
.av4-alt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;list-style:none;padding:20px 0;margin:0;min-height:217px;container-type:inline-size;container-name:arvis-alt;color:#171412;font:400 15px/1.4 Onest,Arial,sans-serif}
.av4-alt li{text-align:center;min-width:0;position:relative}
.av4-alt li+li::before{content:"";position:absolute;left:calc(-50% + 30px);right:calc(50% + 30px);top:46px;height:1px;background:#c8b3a6}
.av4-puck-wrap{height:92px;display:grid;place-items:center;perspective:450px;position:relative}
.av4-puck{display:block;position:absolute;width:64px;height:64px;transform-style:preserve-3d;transform:rotateX(48deg) rotateZ(-20deg);background:#c59f8c;border-radius:50%;box-shadow:0 1px #c49b87,0 2px #c49b87,0 3px #c49b87,0 4px #c49b87,0 5px #c49b87,0 6px #c49b87,0 18px 18px #7142291c}
.av4-puck::before{content:"";position:absolute;inset:0;border-radius:50%;transform:translateZ(7px);background:linear-gradient(145deg,#fff8f2,#e2c3b2);box-shadow:inset 0 1px 2px #fff}
.av4-number{position:relative;color:#633927;font-size:15px;font-weight:600;z-index:1;transform:translateY(-3px)}
.av4-label{display:block;color:#171412;line-height:1.4}
@container arvis-scene (max-width:380px){.av4-stairs{transform:scale(.88) rotateX(56deg) rotateZ(-33deg)}}
@container arvis-scene (max-width:290px){.av4-stairs{transform:scale(.76) rotateX(56deg) rotateZ(-33deg)}}
@container arvis-alt (max-width:320px){.av4-label{font-size:13px}.av4-puck{width:56px;height:56px}}
/* scene-polish.css: верхний запас, нейтральный тёплый материал, подписи 16 px */
[data-arvis-section="treatment"] .av4-scene{height:276px;padding-top:24px;overflow:visible;background:radial-gradient(ellipse at 55% 85%,#ded6cc77,transparent 61%)}
[data-arvis-section="treatment"] .av4-step{background:linear-gradient(135deg,#fffaf6,#d9c9be)}
[data-arvis-section="treatment"] .av4-step::before{background:linear-gradient(#c6b09f,#b49b88)}
[data-arvis-section="treatment"] .av4-step::after{background:linear-gradient(90deg,#a9907e,#cebaac)}
[data-arvis-section="treatment"] .av4-puck{background:#baa697}
[data-arvis-section="treatment"] .av4-puck::before{background:linear-gradient(145deg,#fffaf6,#d9c9be)}
[data-arvis-section="treatment"] .av4-label{font-size:16px;color:#171412}
[data-arvis-section="treatment"] .av4-number{color:#4d4540}
[data-arvis-section="treatment"] .av4-alt{min-height:276px}

/* ===== 6. Адаптив ===== */
@media (max-width:1100px){
  #arvis-home7 .h7-hero{column-gap:36px}
  #arvis-home7 .h7-docs__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #arvis-home7 .h7-diag{gap:36px;padding:44px 40px}
}
@media (max-width:900px){
  #arvis-home7{--h7-pad:24px}
  #arvis-home7 .h7-dirs__grid{grid-template-columns:1fr;gap:12px}
  #arvis-home7 .h7-dir-main{min-height:200px}
  #arvis-home7 .h7-symp__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
  #arvis-home7 .h7-diag{grid-template-columns:1fr;gap:20px;padding:36px 28px;border-radius:28px}
  #arvis-home7 .h7-diag__chip{grid-row:2}
  #arvis-home7 .h7-treat__grid{grid-template-columns:1fr;gap:20px}
  #arvis-home7 .h7-clinic__grid{display:flex;flex-direction:column;gap:26px}
  #arvis-home7 .h7-clinic__visual{display:contents}
  #arvis-home7 .h7-clinic__photo{order:0}
  #arvis-home7 .h7-clinic__info{order:1}
  #arvis-home7 .h7-clinic__visual .h7-map{order:2;margin-top:0}
}
@media (max-width:760px){
  #arvis-home7{--h7-pad:20px;font-size:16px}
  #arvis-home7 :is(p,li,address,figcaption){font-size:16px}
  #arvis-home7 .h7-section{padding-top:44px}
  #arvis-home7 .h7-section:last-child{padding-bottom:40px}
  #arvis-home7 h1{font-size:36px!important;line-height:1.07!important}
  #arvis-home7 h2{font-size:30px!important;line-height:1.13!important}
  #arvis-home7 h2.h7-h2-small{font-size:22px!important}
  /* первый экран на телефоне: шапка → краткий H1 → фото → короткое пояснение → одно действие */
  #arvis-home7 .h7-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:18px;padding-bottom:22px}
  #arvis-home7 .h7-hero__copy{display:contents}
  #arvis-home7 .h7-hero .h7-kicker{order:0;font-size:11px;margin-bottom:12px}
  #arvis-home7 .h7-hero h1{order:1;margin:0 0 18px;max-width:none}
  #arvis-home7 .h7-hero__media{order:2;max-width:none;justify-self:stretch;margin-bottom:16px}
  #arvis-home7 .h7-hero__photo{aspect-ratio:auto;height:226px;object-fit:contain;object-position:50% 50%;background:#eee7e0;border-radius:20px 65px 20px 20px}
  #arvis-home7 .h7-hero__media--b .h7-hero__photo{object-fit:cover;object-position:45% 50%}
  #arvis-home7 .h7-hero__media figcaption{padding-top:3px;font-size:13px}
  #arvis-home7 .h7-lead{order:3;font-size:16px;line-height:1.45;max-width:none;margin-bottom:18px}
  #arvis-home7 .h7-hero__cta{order:4;margin-top:0}
  #arvis-home7 .h7-btn{width:100%}
  #arvis-home7 .h7-dirs{padding-top:34px}
  #arvis-home7 .h7-head{margin-bottom:22px}
  #arvis-home7 .h7-head--row{align-items:start;gap:8px}
  #arvis-home7 .h7-dirs__grid{gap:8px}
  #arvis-home7 .h7-dir-main{min-height:174px;padding:23px 24px;border-radius:20px;gap:12px}
  #arvis-home7 .h7-dir-main__title{font-size:27px}
  #arvis-home7 .h7-dir-main__text{margin-top:10px;font-size:16px}
  #arvis-home7 .h7-dir-list a{min-height:60px;font-size:20px}
  #arvis-home7 .h7-symp{padding-top:30px}
  #arvis-home7 .h7-symp__grid{grid-template-columns:1fr;gap:0}
  #arvis-home7 .h7-symp__grid a{min-height:52px;font-size:16px}
  /* врачи: две колонки, лица в одном масштабе, имена не обрезаются */
  #arvis-home7 .h7-docs__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}
  #arvis-home7 .h7-doc__photo{border-radius:16px}
  #arvis-home7 .h7-doc__photo img{aspect-ratio:.9}
  #arvis-home7 .h7-doc h3{font-size:18px;margin-top:13px}
  #arvis-home7 .h7-doc__book{font-size:14px}
  #arvis-home7 .h7-diag{padding:30px 22px;border-radius:24px;gap:16px}
  #arvis-home7 .h7-diag h2{font-size:29px!important;margin:14px 0}
  #arvis-home7 .h7-diag__lead{font-size:16px;margin-bottom:12px}
  #arvis-home7 .av4-chip{min-height:0;padding:6px 0 0}
  #arvis-home7 .av4-chip img{width:min(100%,280px);max-width:296px;max-height:315px}
  #arvis-home7 .h7-method{padding:24px 20px;border-radius:22px}
  #arvis-home7 .h7-method h3{font-size:22px;margin-top:14px}
  [data-arvis-section="treatment"] .av4-scene{height:260px}
  [data-arvis-section="treatment"] .av4-alt{min-height:200px}
  #arvis-home7 .h7-method__steps{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}
  [data-arvis-section="treatment"] .av4-label{font-size:15px}
  #arvis-home7 .h7-clinic__photo{aspect-ratio:1.38;border-radius:22px 22px 65px 22px}
  #arvis-home7 .h7-clinic h2{margin:10px 0 16px}
  #arvis-home7 .h7-clinic__entry{max-width:none}
  #arvis-home7 .h7-clinic__entry img{aspect-ratio:1.6}
}
@media (max-width:360px){
  #arvis-home7{--h7-pad:16px}
  #arvis-home7 .h7-hero__photo{height:200px}
  #arvis-home7 .h7-docs__grid{grid-template-columns:1fr}
  #arvis-home7 .h7-doc__photo img{aspect-ratio:1.16}
  [data-arvis-section="treatment"] .av4-scene{height:230px}
  .h7-nav__panel{padding-left:16px;padding-right:16px}
}

/* ===== 7. Reduced motion ===== */
/* ===== 24.09 · замечания Ирины ===== */
/* A11: портрет — не отдельная ссылка; имя врача — одна ссылка, растянутая на карточку; «Записаться» — отдельная кнопка поверх */
#arvis-home7 .h7-doc{position:relative}
#arvis-home7 .h7-doc__link::after{content:"";position:absolute;inset:0;border-radius:20px}
#arvis-home7 .h7-doc__link:focus-visible{outline:none}
#arvis-home7 .h7-doc__link:focus-visible::after{outline:3px solid #990400;outline-offset:4px}
#arvis-home7 .h7-doc:hover .h7-doc__link{color:var(--h7-red)}
#arvis-home7 .h7-doc__book{position:relative;z-index:1;align-self:flex-start}
/* Лечение (24.09, по решению Виктора): возвращены объёмные ступени АСИТ и площадки АЛТ из версии 23.09 — стили .av4-* выше */

@media (prefers-reduced-motion:reduce){
  #arvis-home7 *,#arvis-home7 *::before,#arvis-home7 *::after,.h7-nav *,.av4-scene *,.av4-alt *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ===== 24.09 · Закрывашка первого экрана «ступени» (генерация Виктора) вместо портрета ===== */
#arvis-home7 .h7-hero__media--cover picture{display:block}
#arvis-home7 .h7-hero__media--cover .h7-hero__photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:72% 50%;border-radius:20px;background:#E6DBD2}
@media (max-width:760px){
  #arvis-home7 .h7-hero__media--cover .h7-hero__photo{aspect-ratio:3/2;height:auto;object-fit:cover;object-position:50% 50%}
}
