/* ЛАВ 3.16 · этап 4 · только первый экран главной. Решение Антона 01.11.2026: расчёт главный, строка MAX/Позвонить, строка фактов, слоник с пылесосом. */
.v3-hero.lav316-hero{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center}
.lav316-hero .v3-hero-copy{min-width:0}
.lav316-hero .vova-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.lav316-hero .vova-hero-actions .btn{min-height:52px;justify-content:center}
.lav316-contact-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.lav316-contact-row .btn.lav316-small{min-height:44px;padding:8px 18px;font-size:15px;flex:0 0 auto}
.lav316-facts{font-size:14px!important;line-height:20px!important;color:#52646E!important;margin:12px 0 0!important}
.lav316-hero .v3-hero-photo.lav316-slonik{margin:0;height:auto;min-height:0;aspect-ratio:auto;border-radius:24px;background:#EAF6FD;display:flex;justify-content:center;align-items:center;padding:24px;overflow:visible}
.lav316-hero .lav316-slonik img{position:static!important;inset:auto!important;width:100%;max-width:420px;height:auto!important;aspect-ratio:1230/1259;object-fit:contain;transform:none!important;filter:none!important}
@media (max-width:767px){
 .v3-hero.lav316-hero{grid-template-columns:minmax(0,1fr);gap:16px}
 .lav316-hero .vova-hero-actions{grid-template-columns:1fr 1fr;gap:8px}
 .lav316-contact-row{gap:8px}
 .lav316-contact-row .btn.lav316-small{flex:1 1 0}
 .lav316-hero .v3-hero-photo.lav316-slonik{padding:16px}
 .lav316-hero .lav316-slonik img{max-width:256px}
}
@media (prefers-reduced-motion:reduce){.lav316-hero *{transition:none!important;animation:none!important}}
/* Компактная строка «Записаться в MAX / Позвонить»: меньше основных кнопок */
html body .v3-hero.lav316-hero .lav316-contact-row .btn.lav316-small{min-height:44px!important;height:auto!important;padding:8px 16px!important;font-size:15px!important;line-height:20px!important;width:auto!important;flex:0 0 auto!important;border-radius:10px}
/* Шапка телефона: логотип, город и иконки в одну строку (было три строки) */
@media (max-width:767px){
 html body #topbar .topbar-left{flex-wrap:nowrap!important;width:auto!important;gap:8px!important;align-items:center}
 html body #topbar .topbar-left .brand{width:auto!important;height:auto!important;padding:0!important;min-height:44px;align-items:center}
 html body #topbar .topbar-left .brand img{width:44px;height:44px}
 html body #topbar .header-city-picker{margin:0!important;padding:0 4px!important;min-height:44px!important;font-size:14px}
 html body #topbar .topbar-right{flex-wrap:nowrap!important;gap:0!important}
}
@media (max-width:359px){
 html body #topbar .topbar-left{gap:4px!important}
 html body #topbar .topbar-left .brand,html body #topbar .topbar-left .brand picture{width:40px!important}
 html body #topbar .topbar-left .brand img{width:40px;height:40px}
 html body #topbar .header-city-picker{padding:0!important}
 html body #topbar .topbar-right > a,html body #topbar .topbar-right > button{width:40px!important;min-width:40px!important}
 html body.lav-brandbook:is(.public-surface,.v3-static) #topbar{grid-template-columns:minmax(0,1fr) auto!important;column-gap:4px!important}
 html body.lav-brandbook:is(.public-surface,.v3-static) #topbar .topbar-left{grid-column:1!important;grid-row:1!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;width:auto!important}
 html body.lav-brandbook:is(.public-surface,.v3-static) #topbar .topbar-right{grid-column:2!important;grid-row:1!important}
 html body.lav-brandbook:is(.public-surface,.v3-static) #topbar .public-contactbar{grid-column:1 / -1!important;grid-row:2!important}
 html body.lav-brandbook:is(.public-surface,.v3-static) #topbar .brand{width:40px!important;min-width:40px!important;padding:0!important}
 .v3-hero.lav316-hero > .v3-hero-copy > p:not(.lav316-facts){display:none}
 html body .v3-hero.lav316-hero h1{font-size:30px!important;line-height:36px!important;letter-spacing:-.6px!important}
 html body .v3-hero.lav316-hero .v3-kicker{font-size:12px!important;letter-spacing:.4px!important}
}
/* Иконки шапки по одной оси (иконка кабинета стояла выше остальных) */
@media (max-width:767px){html body #topbar .topbar-right > a,html body #topbar .topbar-right > button{display:inline-flex!important;align-items:center!important;justify-content:center!important}}
/* 320 px: расчёт и звонок рядом, MAX и «Позвонить» одной строкой — чтобы всё было на первом экране */
@media (max-width:359px){
 html body .v3-hero.lav316-hero .vova-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 html body .v3-hero.lav316-hero .vova-hero-actions .btn{width:auto!important;min-width:0!important;padding:8px 10px!important;font-size:15px!important;line-height:20px!important}
 html body .v3-hero.lav316-hero .lav316-contact-row{flex-wrap:nowrap!important}
 html body .v3-hero.lav316-hero .lav316-contact-row .btn.lav316-small{flex:1 1 0!important;min-width:0!important;padding:8px 10px!important;white-space:nowrap}
}
/* Сетка: поля главной 16 px как у шапки (было 18) */
@media (max-width:767px){html body:has(.lav316-hero) #main-content{padding-left:16px!important;padding-right:16px!important}}
/* Строка MAX/«Позвонить» по тем же колонкам, что расчёт и звонок */
html body .v3-hero.lav316-hero .lav316-contact-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--lav316-gap,12px)}
html body .v3-hero.lav316-hero .lav316-contact-row .btn.lav316-small{width:100%!important;justify-content:center}
@media (max-width:359px){html body .v3-hero.lav316-hero{--lav316-gap:8px}}
@media (max-width:767px){html body .v3-hero.lav316-hero .lav316-contact-row .btn.lav316-small{padding:8px 10px!important;white-space:nowrap}}
@media (max-width:359px){html body .v3-hero.lav316-hero .lav316-contact-row .btn.lav316-small{white-space:normal!important;line-height:18px!important;padding:6px 8px!important}}
/* Пакет изображений v1: нейтральный слоник вместо голубой плитки, место под картинку задано заранее */
html body .v3-hero.lav316-hero .v3-hero-photo.lav316-slonik{background:#F5F2EC!important;padding:0!important;overflow:hidden!important;aspect-ratio:16/9;align-self:center}
html body .v3-hero.lav316-hero .lav316-slonik img{display:block;width:100%!important;max-width:none!important;height:100%!important;aspect-ratio:16/9!important;object-fit:cover;object-position:60% center}
@media (max-width:767px){html body .v3-hero.lav316-hero .lav316-slonik img{max-width:none!important}}
/* Шапка компьютера: VK и MAX только значками, «Отзывы» со звездой заметнее */
html body .public-utility a.lav316-icon-link{min-width:44px;min-height:44px;justify-content:center;gap:0}
html body .public-utility a.lav316-icon-link .v20-social-icon{margin-right:0!important}
html body .public-utility a.lav316-reviews{color:#049DEA!important;font-weight:700;font-size:14px;gap:6px}
html body .public-utility a.lav316-reviews .icon{width:18px;height:18px;fill:#049DEA;stroke:#049DEA}
html body .public-utility a:focus-visible{outline:2px solid #049DEA;outline-offset:2px;border-radius:8px}
/* Телефон: при переходе по клавиатуре элементы не прячутся под нижнее меню */
@media (max-width:767px){html:has(.lav316-hero){scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}}
/* Решение Антона 01.11 16:57: на первом экране две кнопки — «Рассчитать онлайн» и «Позвонить»; MAX — отдельный баннер перед услугами */
html body .v3-hero.lav316-hero .lav316-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:var(--lav316-gap,12px)!important}
html body .v3-hero.lav316-hero .lav316-actions .btn{min-height:52px;width:100%!important}
/* Шапка: ссылки на отзывы в Яндекс Картах и 2ГИС, без чисел и рейтинга */
html body .public-utility .lav316-review-srcs{display:inline-flex;align-items:center;gap:4px;margin-left:-10px}
html body .public-utility a.lav316-review-src{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 8px;color:#52646E!important;font-size:13px;font-weight:600;text-decoration:none;border-radius:8px}
html body .public-utility a.lav316-review-src:hover{color:#049DEA!important;background:#EAF6FD}
html body .public-utility .lav316-pin{width:16px;height:16px;fill:none;stroke:#049DEA;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body .public-utility .lav316-review-count{font-weight:700;color:#172B36}

/* Баннер MAX по образцу love-uslugi.ru, в цветах брендбука (navy Привилегии, ice-акцент) */
.lav316-max{--mx-bg:#102E48;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:24px 48px;margin:48px 0;padding:48px 56px;border-radius:24px;background:var(--mx-bg);color:#fff;overflow:hidden}
.lav316-max h2{margin:0 0 24px!important;color:#fff!important;font-size:36px!important;line-height:44px!important;font-weight:700!important;letter-spacing:-.5px}
.lav316-max h2 span{color:#BFE3F7}
.lav316-max-lead{margin:0 0 8px!important;color:rgba(255,255,255,.78)!important;font-size:16px;line-height:24px}
.lav316-max ul{margin:0 0 32px;padding:0 0 0 20px;color:rgba(255,255,255,.78);font-size:16px;line-height:28px}
.lav316-max ul b{color:#fff;font-weight:700}
.lav316-max-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.lav316-max-btn{display:inline-flex;align-items:center;gap:12px;min-height:56px;padding:8px 24px 8px 10px;border-radius:14px;background:#fff;color:#172B36!important;text-decoration:none;font-size:15px;line-height:18px;transition:transform .15s ease,box-shadow .15s ease}
.lav316-max-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.25)}
.lav316-max-btn:focus-visible,.lav316-max-vk:focus-visible{outline:3px solid #BFE3F7;outline-offset:3px}
.lav316-max-logo{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#1682e8,#7153c8);color:#fff;font-size:11px;font-weight:800;letter-spacing:.3px}
.lav316-max-btn-text small{font-size:15px;color:#52646E}
.lav316-max-btn-text b{font-weight:800}
.lav316-max-vk{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);color:#fff!important;font-weight:800;font-size:15px;text-decoration:none}
.lav316-max-vk:hover{background:rgba(255,255,255,.16)}
@media (max-width:1023px){.lav316-max{padding:40px 32px;gap:24px 32px}.lav316-max h2{font-size:30px!important;line-height:38px!important}}
@media (max-width:767px){
 .lav316-max{grid-template-columns:minmax(0,1fr);margin:32px 0;padding:32px 20px 8px;border-radius:20px}
 .lav316-max h2{font-size:26px!important;line-height:32px!important;margin-bottom:16px!important}
 .lav316-max ul{margin-bottom:24px;font-size:15px;line-height:26px}
 .lav316-max-btn{flex:1 1 auto;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.lav316-max-btn{transition:none}.lav316-max-btn:hover{transform:none}}
@media (max-width:359px){.lav316-max{padding:28px 16px 8px}.lav316-max h2{font-size:24px!important;line-height:30px!important}.lav316-max-actions{flex-wrap:nowrap;gap:8px}.lav316-max-btn{padding:8px 14px 8px 8px;gap:10px;min-width:0}.lav316-max-vk{flex:0 0 56px}}

/* Баннер MAX: вместо слонёнка — ультратонкий телефон с экраном сайта ЛАВ (CSS-рамка, без логотипов) */
.lav316-max{padding-bottom:0}
.lav316-phone{position:relative;margin:0;justify-self:center;align-self:end;width:260px;aspect-ratio:9/19.5;padding:7px;border-radius:44px;background:linear-gradient(145deg,#E9EDF1,#B9C2CB 45%,#F4F6F8 70%,#AEB8C2);box-shadow:0 0 0 1px rgba(255,255,255,.35) inset,0 24px 60px rgba(0,0,0,.45);transform:translateY(40px)}
.lav316-phone-screen{display:block;width:100%;height:100%;overflow:hidden;border-radius:37px;background:#fff}
.lav316-phone-screen img{display:block;width:100%;height:auto}
.lav316-phone-island{position:absolute;top:17px;left:50%;width:76px;height:22px;margin-left:-38px;border-radius:12px;background:#0B0F14;z-index:1}
@media (max-width:767px){.lav316-max{padding-bottom:0}.lav316-phone{width:220px;border-radius:38px;padding:6px;transform:translateY(32px);margin-top:8px}.lav316-phone-screen{border-radius:32px}.lav316-phone-island{top:14px;width:64px;height:19px;margin-left:-32px}}
.lav316-phone-screen{padding-top:34px;box-sizing:border-box}
@media (max-width:767px){.lav316-phone{transform:none;margin-bottom:-150px}.lav316-phone-screen{padding-top:28px}}

/* Баннер MAX: видео приложения с love-uslugi.ru в экране телефона */
.lav316-phone-screen{position:relative;background:#F4F6F8}
.lav316-phone-video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0;background:#F4F6F8}

/* Шапка: телефон, колокольчик и кабинет на одной оси (центр строки) */
html body #topbar .brand-phone,html body #topbar .lav-bell,html body #topbar .public-account{align-self:center;align-items:center}
html body #topbar .public-account{display:inline-flex;gap:0}
html body #topbar .public-account svg,html body #topbar .brand-phone svg{display:block;flex:0 0 auto;margin:0}
html body #topbar .lav-bell .icon{display:block;transform:translateY(-1px)}

/* Мобильная шапка (Антон, 01.11 21:06 МСК): полный логотип, без колокольчика и «Контакты и помощь»; отзывы, VK, MAX — второй строкой */
@media (max-width:767px){
 html body.public-surface #topbar{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;row-gap:4px;column-gap:8px}
 html body.public-surface #topbar .topbar-left{order:1;flex:1 1 auto;min-width:0;gap:4px}
 html body.public-surface #topbar .topbar-right{order:2;flex:0 0 auto;gap:0}
 html body.public-surface #topbar .brand,html body.public-surface #topbar .topbar-left .brand,html body.public-surface #topbar .topbar-left .brand picture{width:auto!important;max-width:none;flex:0 0 auto}
 html body.public-surface #topbar .topbar-left .brand img.lav-brand-logo{width:149px!important;height:36px!important;max-width:none}
 html body #topbar#topbar .lav-bell,html body #topbar#topbar .public-account{display:none!important}
 html body #topbar#topbar > .public-utility{order:3;display:flex!important;flex:1 0 100%;align-items:center;justify-content:space-between;gap:4px;margin:0;padding:0;border-top:1px solid #E6EDF1;min-height:44px}
 html body.public-surface .public-utility .lav316-review-srcs{margin-left:0;gap:0}
 html body.public-surface .public-utility a{min-height:44px}
 html body.public-surface .public-utility a.lav316-review-src{padding:0 6px}
 html body.public-surface .public-utility .lav316-icon-link{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}
}
@media (max-width:359px){
 html body.public-surface #topbar .topbar-left .brand img.lav-brand-logo{width:124px!important;height:30px!important}
 html body.public-surface .public-utility a.lav316-reviews{display:none!important}
}
/* «Контакты и помощь» убрано на всех ширинах (кратчайший путь к звонку/MAX/заявке) */
html body #topbar#topbar > div.public-contactbar.public-contactbar{display:none!important}
@media (max-width:767px){html body.public-surface #topbar .topbar-right > a.brand-phone,html body.public-surface #topbar .topbar-right > .menu-button,html body.public-surface #topbar .topbar-right > button{min-width:44px}}
@media (max-width:359px){html body #topbar#topbar .header-city-picker span,html body #topbar#topbar .header-city-picker .icon:last-child{display:none!important}html body #topbar#topbar .header-city-picker{width:44px!important;min-width:44px;padding:0!important;justify-content:center;flex:0 0 44px}}
@media (max-width:359px){html body #topbar#topbar .header-city-picker .icon:first-child{display:block!important;width:22px!important;height:22px!important}}
@media (max-width:767px){
 html body #topbar#topbar > .public-utility{gap:0;justify-content:space-between}
 html body #topbar#topbar > .public-utility a.lav316-reviews{padding:0 4px 0 0;gap:4px}
 html body #topbar#topbar > .public-utility a.lav316-review-src{padding:0 4px}
 html body #topbar#topbar > .public-utility .lav316-icon-link{margin:0}
}
@media (max-width:767px){html body #topbar#topbar > .public-utility a.lav316-reviews,html body #topbar#topbar > .public-utility a.lav316-review-src{font-size:13px!important;padding:0 2px!important;gap:3px}html body #topbar#topbar > .public-utility .lav316-icon-link{width:42px!important}}
/* SVG-стрелки вместо символов ↗ → */
svg.lav-arrow-svg{display:inline-block;width:1em;height:1em;vertical-align:-0.15em;flex:0 0 auto;margin-left:.15em}
/* Картинки AVIF + WebP (пакет LAV_Web_Quality_Speed_v1) */
picture.lav-pic{display:contents}
img.lav-svc-daily{object-position:60% center}
/* «Наша команда»: блок набора клинеров */
html body section.v3-section.lav316-rabota-block{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0 48px!important;padding:24px 32px!important;border:1px solid #DFE6EA;border-radius:20px;background:#fff}
html body section.lav316-rabota-block h2{margin:0!important;font-size:24px!important;line-height:32px!important}
@media (max-width:767px){html body section.v3-section.lav316-rabota-block{padding:20px 16px!important}html body .lav316-rabota-block .btn{width:100%;justify-content:center}}
/* Цветные портреты команды на фоне цвета логотипа (пакет Астрика LAV-Team-Color-v2) */
html body .person-portrait.portrait-premium,html body .team-person .portrait-team.portrait-premium{background:#1FB4FD}
html body .person-portrait img[data-person-portrait]{filter:none!important;object-fit:cover}
