:root{
  --headerH: 86px;
  --bg:#f5f8ff;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#334155;
  --muted2:#64748b;
  --line:rgba(15,23,42,.10);
  --accent:#008dd4;
  --accent2:#37b8ff;
  --good:#16a34a;
  --warn:#f59e0b;
  --shadow: 0 18px 50px rgba(2,6,23,.10);
  --radius: 18px;
  --radius2: 22px;
  --max: 1140px;
  --focus: 0 0 0 4px rgba(0,141,212,.16);
}

*{box-sizing:border-box}
html{min-height:100%; height:auto; scroll-behavior:smooth; overflow-y:auto; overflow-x:clip}
body{min-height:100%; height:auto}
section[id]{scroll-margin-top: calc(var(--headerH) + 14px)}
body{
  margin:0;
  overflow-x:hidden;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(0,141,212,.18), transparent 60%),
    radial-gradient(900px 600px at 110% 10%, rgba(55,184,255,.12), transparent 60%),
    radial-gradient(900px 700px at 40% 120%, rgba(22,163,74,.08), transparent 60%),
    var(--bg);
  line-height:1.45;
}

a{color:inherit}
button,input,textarea{font:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.muted{color:var(--muted2); font-size:12px}
.link-inline{color:inherit; text-decoration:none}
.link-inline:hover{text-decoration:underline}

.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#fff;
  border-radius:14px; border:1px solid var(--line); z-index:9999;
}

/* Header */
.header{
  position:fixed;
  left:0;
  right:0;
  top:0;
  z-index:200;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid var(--line);
}
.header__inner{display:flex; align-items:center; gap:14px; padding:12px 0}
.brand{display:flex; align-items:center; gap:12px; min-width:260px}
.brand__logo{
  width:40px; height:40px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(0,141,212,.14), rgba(55,184,255,.10));
  border:1px solid var(--line);
}
.brand__name{font-weight:900}
.brand__sub{font-size:12px; color:var(--muted2)}
.nav{display:flex; gap:10px; margin-left:auto; margin-right:auto}
.nav a{
  text-decoration:none; color:var(--muted);
  padding:9px 10px; border-radius:14px;
}
.nav a:hover{background:rgba(2,6,23,.04); color:var(--text)}

.header__cta{display:flex; align-items:center; gap:10px}
;
.header__phone{
  display:flex; flex-direction:column; gap:2px;
  text-decoration:none;
  padding:8px 10px; border-radius:16px; border:1px solid var(--line); background:rgba(255,255,255,.75);
}
.header__phoneLabel{font-size:11px; color:var(--muted2)}
.header__phoneValue{font-weight:900; letter-spacing:.2px}

.burger{display:none; width:44px; height:44px; border-radius:16px; border:1px solid var(--line); background:#fff; cursor:pointer}
.burger span{display:block; height:2px; background:var(--text); margin:6px 10px; border-radius:2px; opacity:.9}
.burger:focus{outline:none; box-shadow:var(--focus)}

.mobileNav{border-top:1px solid var(--line); padding:12px 0; background:rgba(255,255,255,.92)}
.mobileNav__inner{display:grid; gap:10px}
.mobileNav a{text-decoration:none; color:var(--muted); padding:10px 12px; border-radius:16px; border:1px solid var(--line); background:#fff}
.mobileNav__call{font-weight:900; color:var(--text)}
.mobileNav a:hover{color:var(--text)}

/* Buttons */
.btn{
  white-space:nowrap;
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
  user-select:none;
  transition: transform .08s ease, filter .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover{filter:brightness(.98)}
.btn:active{transform:translateY(1px)}
.btn:focus{outline:none; box-shadow:var(--focus)}

.btn--primary{
  background: linear-gradient(135deg, rgba(0,141,212,.98), rgba(55,184,255,.78));
  border-color: transparent;
  color:#fff;
  font-weight:900;
}
.btn--ghost{background:rgba(255,255,255,.75)}
.btn--wa{
  background: linear-gradient(135deg, rgba(22,163,74,.92), rgba(34,197,94,.70));
  border-color: transparent;
  color:#fff;
  font-weight:900;
}
.btn--wide{width:100%}
.btn--sm{padding:9px 12px; border-radius:14px; font-size:14px}

/* Hero */
.hero{padding:22px 0 26px; border-bottom:1px solid var(--line)}
.hero__grid{display:grid; grid-template-columns: 1.12fr .88fr; gap:14px; align-items:start}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.82);
  color:var(--muted);
}
.dot{
  width:10px; height:10px;
  border-radius:50%;
  background:var(--good);
  box-shadow:0 0 0 6px rgba(22,163,74,.12);
  position:relative;
}
.dot::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:50%;
  background:rgba(22,163,74,.18);
  z-index:-1;
  animation:dotPulse 1.6s ease-out infinite;
}
@keyframes dotPulse{
  0%{transform:scale(.25); opacity:.0}
  30%{opacity:.45}
  100%{transform:scale(1.25); opacity:0}
}
.hero__title{font-size:40px; line-height:1.07; margin:12px 0 10px}
.accent{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero__sub{margin:0 0 12px; color:var(--muted); font-size:15px; max-width:760px}

.hero__bullets{display:grid; gap:10px; margin:10px 0 12px}
.bullet{display:flex; gap:10px; align-items:flex-start; padding:12px; border-radius:18px; border:1px solid var(--line); background:rgba(255,255,255,.82)}
.bullet__ic{
  width:28px; height:28px; border-radius:12px;
  display:grid; place-items:center;
  background:rgba(22,163,74,.12);
  color:rgba(22,163,74,1);
  font-weight:900;
  flex:0 0 auto;
}

.hero__cta{display:flex; gap:10px; flex-wrap:wrap}
.hero__micro{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.microTag{
  font-size:12px; color:var(--muted);
  padding:7px 10px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.82);
}

/* Быстрая форма на первом экране вместо отдельных CTA-кнопок */
.heroLead{
  margin-top:12px;
  border:1px solid rgba(0,141,212,.16);
  border-radius:22px;
  background:rgba(255,255,255,.94);
  box-shadow:0 16px 42px rgba(2,6,23,.08);
  padding:14px;
}
.heroLead__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:10px;
}
.heroLead__title{font-size:18px; line-height:1.25; font-weight:900; margin-bottom:4px}
.heroLead__text{font-size:13px; color:var(--muted); max-width:58ch}
.heroLead__call{
  flex:0 0 auto;
  color:var(--accent);
  font-weight:900;
  text-decoration:none;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,141,212,.08);
  border:1px solid rgba(0,141,212,.14);
  font-size:13px;
}
.heroLead__call:hover{text-decoration:underline}
.heroLead__form{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  padding:0;
  display:grid;
  grid-template-columns:minmax(220px, 1fr) auto;
  gap:10px;
  align-items:end;
}
.heroLead__field{min-width:0}
.heroLead__form .btn{min-height:46px; padding-left:18px; padding-right:18px}
.heroLead__trust{
  grid-column:1 / -1;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:12px;
}
.heroLead__trust span{
  display:inline-flex;
  align-items:center;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(22,163,74,.08);
  border:1px solid rgba(22,163,74,.14);
}
.heroLead__form .form__meta,
.heroLead__form .form__status{grid-column:1 / -1}
.heroLead__form .form__meta{margin-top:0}

@media (max-width: 640px){
  .heroLead{padding:12px; border-radius:20px}
  .heroLead__head{display:grid; gap:8px}
  .heroLead__call{justify-self:start}
  .heroLead__form{grid-template-columns:1fr}
  .heroLead__form .btn{width:100%}
}

/* Hero card */
.heroCard{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:14px;
}
.heroCard__photo{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(0,141,212,.10), rgba(55,184,255,.06));
}
.heroCard__photo img{
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
  box-sizing: border-box;
}
.heroCard__name{margin-top:10px}
.name{font-weight:900; font-size:18px}
.role{font-size:12px; color:var(--muted2)}
.heroCard__rating{margin-top:10px; display:flex; justify-content:center}

.ratingBadgeLink{
  display:block;
  text-decoration:none;
  color:inherit;
}
.ratingBadgeLink:focus{outline:none}
.ratingBadgeLink:focus .ratingBadge{box-shadow:var(--focus)}
.ratingBadgeLink:hover .ratingBadge{transform: translateY(-1px); box-shadow: var(--shadow);}
.ratingBadge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,141,212,.18);
  background: linear-gradient(135deg, rgba(0,141,212,.10), rgba(55,184,255,.06));
  box-shadow: 0 10px 26px rgba(2,6,23,.08);
  font-size:13px;
  font-weight:800;
}
.ratingBadge__star{color:var(--warn); font-size:14px; line-height:1}
.ratingBadge__sep{color:var(--muted2); font-weight:900}
.ratingBadge__count{font-weight:800}
.ratingBadge__src{color:var(--muted2); font-weight:700}

.heroCard__rating{width:100%}
.ratingBadge--wide{
  width:100%;
  justify-content:center;
  text-align:center;
  border-radius:16px;
}
.ratingBadge__stars{color:var(--warn); letter-spacing:1px; font-size:13px; line-height:1}

.heroCard__facts{display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-top:10px}
.fact{border:1px solid var(--line); border-radius:18px; background:#fff; padding:10px}
.fact__k{font-size:12px; color:var(--muted2)}
.fact__v{font-weight:900}
.heroCard__quote{margin-top:10px}
.quote{border-left:3px solid rgba(0,141,212,.35); padding-left:10px; color:var(--muted); font-size:13px}
.heroCard__actions{display:grid; gap:10px; margin-top:12px}
.heroCard__note{margin-top:12px; padding:10px 12px; border-radius:16px; border:1px solid var(--line); background:rgba(255,255,255,.75); color:var(--muted2); font-weight:700; text-align:center}
.small{margin-top:8px}

/* Sections */
.section{padding:28px 0}
.section--alt{
  background: rgba(255,255,255,.52);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{margin-bottom:12px}
.section__title{font-size:28px; margin:0 0 8px}
.section__sub{margin:0; color:var(--muted); max-width:860px}

.section--dividerTop{border-top:1px solid var(--line);}

/* About + trust */
/* About (единый блок: фото + "Обо мне") */
.aboutCard{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:16px;
}
.aboutCard__grid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:14px;
  align-items:stretch;
}
.aboutCard__media{
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
  /* Важно: левый блок не должен растягиваться по высоте до кнопок справа */
  align-self:start;
  min-width:0;
}
.aboutCard__text{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.aboutCard__text .section__title{margin-top:2px}
.aboutCard__text .section__sub{margin-top:0}

@media (max-width: 1020px){
  .aboutCard__grid{grid-template-columns:1fr}
}

.about{display:grid; grid-template-columns: 1fr 1fr; gap:14px; align-items:stretch}
.about__block{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:16px;
}
.about__list{display:grid; gap:8px; margin:12px 0 10px}
.item{padding:10px 12px; border:1px solid var(--line); border-radius:18px; background:#fff}
.about__cta{display:flex; gap:10px; flex-wrap:wrap}

.trust{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:16px;
}
.trust__title{font-weight:900; margin-bottom:10px}
.trust__grid{display:grid; grid-template-columns: repeat(2,1fr); gap:10px}
.trustCard{border:1px solid var(--line); border-radius:18px; background:#fff; padding:12px}
.trustCard__h{font-weight:900; margin-bottom:4px}
.trustCard__t{color:var(--muted); font-size:13px}
.trust__mini{display:flex; gap:10px; align-items:center; justify-content:space-between; margin-top:12px; padding-top:12px; border-top:1px solid var(--line)}
.miniLine{display:flex; gap:10px; align-items:center; color:var(--muted); font-size:13px}
.miniDot{width:10px; height:10px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 6px rgba(0,141,212,.10)}

/* v27: фото вместо блока "Почему ко мне обращаются" + поменяли местами с "Обо мне" */
.aboutMedia{
  order:1;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.about__block{ order:2; }

.aboutMedia__photo{
  flex:1;
  background: linear-gradient(135deg, rgba(0,141,212,.10), rgba(55,184,255,.06));
  height:100%;
}
.aboutMedia__photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.aboutMedia__body{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.aboutMedia__title{font-weight:900; font-size:18px}
.aboutMedia__text{color:var(--muted); font-size:13px}
.aboutMedia__badges{display:flex; flex-wrap:wrap; gap:8px}
.aboutMedia__cta{margin-top:auto; display:flex; gap:10px; flex-wrap:wrap}

@media (max-width: 560px){
  .aboutMedia__photo img{height:220px}
}


/* Cards grid */
.grid{display:grid; gap:10px}
.cases{grid-template-columns: repeat(3,1fr)}

/* casesUX: make whole cards obviously clickable */
#cases .card{
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
#cases .card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2,6,23,.12);
  border-color: rgba(0,141,212,.35);
  background: rgba(255,255,255,.98);
}
#cases .card:active{ transform: translateY(-1px); }
#cases .card:focus-visible{
  outline: 3px solid rgba(0,141,212,.35);
  outline-offset: 2px;
}
#cases .card:focus-within{
  outline: 3px solid rgba(0,141,212,.25);
  outline-offset: 2px;
}
.card{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:14px;
  display:flex; flex-direction:column;
  min-height:156px;
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0 0 12px; color:var(--muted); font-size:13px}

/* cases images (optional) */
#cases .card__img{
  margin:10px 0 12px;
  border-radius:18px;
  overflow:hidden;
  aspect-ratio:16/9;
  background: rgba(2,6,23,.04);
}
#cases .card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.no-case-images #cases .card__img{ display:none; }
.card__bottom{margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:10px}
.price{color:var(--muted)}
.link{
  background:none; border:none; color:var(--accent);
  cursor:pointer; padding:8px 10px; border-radius:12px;
}
.link:hover{background:rgba(2,6,23,.05)}
.link:focus{outline:none; box-shadow:var(--focus)}

.noteBox{
  margin-top:12px;
  border:1px solid rgba(0,141,212,.20);
  background: linear-gradient(135deg, rgba(0,141,212,.08), rgba(55,184,255,.05));
  border-radius:22px;
  padding:14px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.noteBox__h{font-weight:900}
.noteBox__t{color:var(--muted); font-size:13px}

/* Prices */
.prices{display:grid; grid-template-columns: 1.05fr .95fr; gap:14px; align-items:stretch}
.prices__table{
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
}
.row{display:flex; justify-content:space-between; gap:10px; padding:11px 14px; border-top:1px solid var(--line)}
.row:first-child{border-top:none}
.prices__side{display:grid; gap:10px}
.box{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:14px;
}
.box__h{font-weight:900; margin-bottom:8px}
.box__t{color:var(--muted); margin-bottom:10px}
.box__list{margin:0 0 10px 18px; color:var(--muted)}
.box--accent{background: linear-gradient(135deg, rgba(22,163,74,.08), rgba(34,197,94,.05))}

/* Reviews */
.reviews{grid-template-columns: repeat(3,1fr)}
.review{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:14px;
}
.review__top{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px}
.stars{color:var(--warn); letter-spacing:1px}
.review p{margin:0 0 10px; color:var(--muted)}

/* v27: отзывы-скриншоты */
.review--shot{display:flex; flex-direction:column}
.reviewShot{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  height: var(--reviewH);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: zoom-in;
  user-select:none;
}
.reviewShot img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.reviewShot__meta{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.reviewShot:focus{outline:none; box-shadow:var(--focus)}
.reviewShot:active{transform: translateY(1px)}

@media (max-width: 980px){
  .reviewShot{height:420px}
}
@media (max-width: 560px){
  .reviewShot{height:460px}
}

/* Reviews (скриншоты с Авито) */
.reviewsGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.reviewCard{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:12px;
  min-width:0;
}
.reviewShot--avito{
  /* Карточка = размер самого скриншота (без лишних полей) */
  height:auto;
  display:block;
  width:100%;
  padding:0;
  cursor: zoom-in;
  box-shadow:var(--shadow);
}
.reviewShot--avito img{
  width:100% !important;
  height:auto !important;
  max-width:100%;
  display:block;
  object-fit:contain !important;
  border-radius:0;
}
.reviewMeta{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.reviewsHint{margin-top:10px}

@media (max-width: 980px){
  .reviewsGrid{grid-template-columns:1fr}
}

/* v5.1: отзывы-скриншоты (как в v2, но без "раздутого" контейнера)
   Контейнер = размеру самого отзыва (без лишних паддингов/мета-блоков). */
.reviewsGrid--shots{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items:start;
}
.reviewsGrid--shots .reviewCard{display:none}
.reviewsGrid--shots .reviewShot--avito{
  padding:0;
  height:auto;
  width:100%;
  display:block;
  border-radius:18px;
}
.reviewsGrid--shots .reviewShot--avito img{
  width:100% !important;
  height:auto !important;
  border-radius:0;
  display:block;
}

/* v6.1: Карусель отзывов "столбиками" (2 отзыва в столбике)
   На десктопе видно 2 столбика (итого 4 отзыва). Перелистывание — по 1 столбику. */
.reviewsCarousel{
  --reviewColW: clamp(260px, 44vw, 460px);
  --reviewH: clamp(110px, 15vw, 160px);
  display:flex;
  align-items:center;
  gap:10px;
}
.rcNav{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  display:grid;
  place-items:center;
  cursor:pointer;
  flex: 0 0 auto;
}
.rcNav span{font-size:28px; line-height:1; transform: translateY(-1px)}
.rcNav[disabled]{opacity:.45; cursor:not-allowed}
.rcViewport{
  overflow:hidden;
  flex: 1 1 auto;
  width:auto;
  min-width:0;
  /* На десктопе показываем ровно 2 столбика (4 отзыва) */
  max-width: calc(var(--reviewColW) * 2 + 12px);
  margin: 0 auto;
}
.rcTrack{
  display:flex;
  gap:12px;
  will-change: transform;
  transition: transform .35s ease;
}
.reviewCol{
  flex: 0 0 var(--reviewColW);
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}

/* Карточка-скриншот фиксированного размера (одинаковая для всех отзывов)
   Независимо от реального размера изображения внутри. */
.reviewsCarousel .reviewShot--avito{
  width:100%;
  height: var(--reviewH);
  display:block;
  padding:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.reviewsCarousel .reviewShot--avito img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block;
  background:#fff;
}

@media (max-width: 720px){
  .reviewsCarousel{gap:8px}
  .rcNav{width:40px; height:40px; border-radius:14px}
  .rcNav span{font-size:26px}
  .rcViewport{max-width: var(--reviewColW)}
}

/* v27: лайтбокс для увеличения скриншотов */
.lightbox{
  position:fixed;
  inset:0;
  z-index:300;
  display:none;
  place-items:center;
}
.lightbox.is-open{display:grid}
.lightbox__overlay{
  position:absolute;
  inset:0;
  background: rgba(2,6,23,.65);
  backdrop-filter: blur(6px);
}
.lightbox__img{
  position:relative;
  width:min(980px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  border-radius:22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.lightbox__img img{
  width:100%;
  height:100%;
  max-height: calc(100vh - 24px);
  object-fit:contain;
  display:block;
}
.lightbox__close{
  position:absolute;
  top:10px;
  right:10px;
  width:44px;
  height:44px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  cursor:pointer;
  font-size:26px;
  line-height:1;
  font-weight:900;
}

/* Бейдж источника в лайтбоксе (Avito / Profi) */
.lightbox__badge{
  position:absolute;
  left:14px;
  top:14px;
  width:30px;
  height:30px;
  border-radius:12px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 6px 18px rgba(2, 6, 23, .10);
  display:grid;
  place-items:center;
  pointer-events:none;
}
.lightbox__badge[hidden]{ display:none; }
.lightbox__badge img{
  width:18px;
  height:18px;
  display:block;
}
.lightbox__close:focus{outline:none; box-shadow:var(--focus)}


/* FAQ */
.faq{display:grid; gap:10px}
.faq__item{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:10px 14px;
}
.faq__item summary{cursor:pointer; font-weight:900}
.faq__content{margin-top:8px; color:var(--muted)}

/* Lead */
.lead{display:grid; grid-template-columns: 1.05fr .95fr; gap:14px; align-items:start}
.lead__title{font-size:28px; margin:0 0 8px}

/* Lead card (used under "Популярные задачи и сроки") */
.lead--card{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.96);
  box-shadow:var(--shadow);
  padding:16px;
}
.lead--cases{ margin-top:18px; grid-template-columns: .9fr 1.1fr; }
/* Чтобы слева не было ощущения «пустоты», когда текста мало:
   на десктопе выравниваем левую колонку по центру по высоте формы. */
@media (min-width: 861px){
  .lead--cases{ align-items:center; }
  .lead--cases > div:first-child{ display:flex; flex-direction:column; justify-content:center; }
  .lead--cases > div:first-child .muted{ max-width: 56ch; }
}
/* На десктопе форма должна выглядеть как полноценная карточка (как в прежнем варианте):
   поле -> кнопка -> текст политики. Без "висящего" ряда/флекса, который визуально уменьшает блок. */
.lead--cases .form{ display:grid; gap:10px; align-items:stretch; }
.lead--cases .field{ min-width:0; }
.lead--cases .lead__btn{ width:100%; }
.lead--cases .form__meta{ margin-top:10px; }

@media (max-width: 860px){
  .lead{ grid-template-columns:1fr; }
  .lead__title{ font-size:22px; }
  .lead--cases{ grid-template-columns:1fr; }
  .lead--cases .form{ display:grid; }
  .lead--cases .field{ min-width:0; width:100%; }
  .lead--cases .lead__btn{ width:100%; }
}

.lead__mini{display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-top:12px}
.miniCard{border:1px solid var(--line); border-radius:22px; background:rgba(255,255,255,.92); box-shadow:var(--shadow); padding:12px}
.miniCard__h{font-weight:900}
.miniCard__t{font-size:12px; color:var(--muted2)}

.form{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:14px;
  display:grid; gap:10px;
}
.field{display:grid; gap:6px}
.field span{font-size:12px; color:var(--muted2)}
.field input, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.15);
  background: rgba(255,255,255,.98);
  color:var(--text);
}
.field input:focus, .field textarea:focus{outline:none; box-shadow:var(--focus); border-color: rgba(0,141,212,.35)}
.form__meta{font-size:12px; color:var(--muted2)}
.form__status{font-size:13px; color:var(--muted); min-height:18px}
.form__alt{display:grid; gap:8px; margin-top:2px}

/* Contacts */
.contacts{display:grid; grid-template-columns: 1fr; gap:14px; align-items:start}
.contactCards{display:grid; grid-template-columns: repeat(2,1fr); gap:10px; margin:12px 0}
.contact{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:12px;
}
.contact__k{font-size:12px; color:var(--muted2)}
.contact__v{text-decoration:none; font-weight:900}
.ctaRow{display:flex; gap:10px; flex-wrap:wrap}

.mapStub{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:14px;
}
.mapStub__h{font-weight:900; margin-bottom:6px}
.mapStub__t{color:var(--muted); font-size:13px; margin-bottom:10px}
.mapFrame iframe{width:100%; height:360px; border:0}
.contacts__right{display:grid; gap:10px}

/* Footer */
.footer{border-top:1px solid var(--line); padding:16px 0; background: rgba(255,255,255,.82)}
.footer__inner{display:flex; justify-content:space-between; align-items:center; gap:12px; color:var(--muted2); font-size:12px}
.footer__links{display:flex; gap:12px}
.footer__links a{text-decoration:none; color:var(--muted2)}
.footer__links a:hover{color:var(--text)}

/* Mobile sticky bar */
.mobileBar{
  position:fixed; left:0; right:0; bottom:0;
  display:none;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92);
  border-top:1px solid var(--line);
  z-index:80;
}
.mobileBar__btn{
  display:flex; align-items:center; justify-content:center;
  padding:12px 10px;
  border-radius:16px;
  text-decoration:none;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
}
.mobileBar__btn--call{background: linear-gradient(135deg, rgba(0,141,212,.95), rgba(55,184,255,.70)); color:#fff; border-color:transparent}
.mobileBar__btn--wa{background: linear-gradient(135deg, rgba(22,163,74,.92), rgba(34,197,94,.70)); color:#fff; border-color:transparent}
.mobileBar__btn--lead{background:rgba(255,255,255,.92)}

.float{
  position:fixed; right:16px; bottom:16px; display:grid; gap:10px; z-index:70;
}
.float__btn{
  width:54px; height:54px; border-radius:18px; display:grid; place-items:center;
  border:1px solid var(--line); background:#fff; box-shadow: var(--shadow);
  text-decoration:none;
}
.float__btn--wa{background: linear-gradient(135deg, rgba(22,163,74,.92), rgba(34,197,94,.70)); border-color:transparent}
.float__btn--call{background: linear-gradient(135deg, rgba(0,141,212,.95), rgba(55,184,255,.70)); border-color:transparent}
.float__btn svg{fill:#fff}
.float__btn:focus{outline:none; box-shadow:var(--focus)}

/* Modal */
.modal{position:fixed; inset:0; z-index:90; display:grid; place-items:center}
.modal[hidden]{display:none !important;}
.modal__overlay{position:absolute; inset:0; background: rgba(2,6,23,.55); backdrop-filter: blur(6px)}
.modal__dialog{
  position:relative;
  width:min(720px, calc(100% - 30px));
  border-radius:22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow);
  padding:14px;
}
.modal__close{
  position:absolute; right:10px; top:10px;
  width:40px; height:40px; border-radius:16px;
  border:1px solid var(--line); background:#fff; cursor:pointer;
}
.modal__close:focus{outline:none; box-shadow:var(--focus)}
.modal__content{color:var(--muted); margin:10px 0 14px}
.modal__actions{display:flex; gap:10px; flex-wrap:wrap}

/* Success modal */
.modal__dialog--success{
  width: min(560px, calc(100% - 30px));
}
.successTop{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:2px;
}
.successIcon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(22,163,74,.18), rgba(0,141,212,.10));
  border:1px solid var(--line);
  flex:0 0 auto;
}
.successIcon svg{fill: var(--good)}
.successActions{display:grid; gap:10px; margin-top:14px}

/* Responsive */
@media (max-width: 1020px){
  .nav{display:none}
  .burger{display:inline-grid}
  .hero__grid{
    display:flex;
    flex-direction:column;
    gap:14px;
  }
  .hero__left{display:contents}
  .heroCard{order:10}
  .heroLead{order:20; margin-top:0; width:100%}
  .cases{grid-template-columns: repeat(2,1fr)}
  .about{grid-template-columns:1fr}
  .prices{grid-template-columns:1fr}
  .lead{grid-template-columns:1fr}
  .contacts{grid-template-columns:1fr}
  .reviews{grid-template-columns:1fr}
}

@media (max-width: 560px){
  .container{padding:0 14px}
  .header__phone{display:flex; flex-direction:row; align-items:center; gap:8px; padding:8px 10px; max-width: 180px}
  .header__phoneLabel{display:none}
  .header__phoneValue{font-size:13px}
  .brand{min-width:0}
  .brand__text{min-width:0}
  .heroCard__facts{grid-template-columns:1fr 1fr}
  .hero__title{font-size:32px}
  .hero__cta{display:grid; grid-template-columns:1fr}
  .trust__grid{grid-template-columns:1fr}
  .cases{grid-template-columns:1fr}
  .lead__mini{grid-template-columns:1fr}
  .contactCards{grid-template-columns:1fr}
  .float{display:none}

  /* Mobile tightening: shorter first screen + less vertical spacing (2026-02-03) */
  :root{--headerH: 74px;}
  .header__inner{padding:8px 0;}
  .hero{padding:14px 0 18px;}
  .pill{padding:7px 10px;}
  .hero__title{font-size:30px; margin:8px 0 8px; line-height:1.08;}
  .hero__sub{font-size:14px; margin:0 0 10px;}
  .hero__bullets{gap:8px; margin:8px 0 10px;}
  .bullet{padding:10px; border-radius:16px;}
  .bullet__ic{width:26px; height:26px; border-radius:11px;}
  .hero__micro{margin-top:8px;}
  .microTag{padding:6px 9px;}
  .heroCard{padding:12px; border-radius:20px;}
  .heroCard__photo{border-radius:20px;}
  .heroCard__photo img{height:240px;}
  .heroCard__name{margin-top:8px;}
  .heroCard__rating{margin-top:8px;}
  .heroCard__facts{gap:8px; margin-top:8px;}
  .fact{padding:8px; border-radius:16px;}
  .section{padding:20px 0;}
  .section__head{margin-bottom:10px;}
  .section__title{font-size:24px; margin:0 0 6px;}
}


.aboutPhoto{
  border-radius:20px;
  overflow:hidden;
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(0,141,212,.10), rgba(55,184,255,.06));
  margin-bottom:12px;
}
.aboutPhoto img{width:100%; height:260px; object-fit:cover; display:block}


.mobileBar__btn--lead{
  background: linear-gradient(135deg, rgba(0,141,212,.98), rgba(55,184,255,.78));
  color:#fff;
  border-color:transparent;
}


.float__btn--lead{
  background: linear-gradient(135deg, rgba(0,141,212,.95), rgba(55,184,255,.70));
  border-color:transparent;
}
.float__btn--lead svg{fill:#fff}

main{padding-top: var(--headerH)}


.brand__sub{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:260px;
}
.header__phoneValue{white-space:nowrap}
.nav a{white-space:nowrap}
@media (max-width: 1240px){
  .header__cta{margin-left:auto}
  .nav{display:none}
  .burger{display:inline-grid}
}


.btn--green{
  background: linear-gradient(135deg, rgba(22,163,74,.92), rgba(34,197,94,.70));
  border-color: transparent;
  color:#fff;
  font-weight:900;
}


.about__block, .trust{height:100%; display:flex; flex-direction:column; min-width:0}
.about__cta{margin-top:10px}
.trust__mini{margin-top:auto}


.prices__table, .prices__side{height:100%}


.footer{padding:18px 0}
.footer__inner{flex-wrap:wrap}
.footer__links a{opacity:.9}
.footer__links a:hover{opacity:1}


/* v16: уменьшил фото на первом экране + рамка ровно по фото */
.heroCard__photo{
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(0,141,212,.10), rgba(55,184,255,.06));
}
.heroCard__photo img{
  display: block;
  width: auto;
  max-width: 100%;
  height: auto !important;
  max-height: 360px;   /* ← увеличено */
  object-fit: contain;
}


@supports not (width: fit-content){
  .heroCard__photo{display:inline-block}
  .heroCard{text-align:center}
}


/* v18: мелкие правки интерфейса */

/* Отступ между кнопками в блоке "Нужен срочный выезд?" */
.box--accent .btn--wide + .btn--wide{ margin-top: 10px; }

  .carouselBtn--next{ right: 6px; }
  .carouselTrack .review{ flex: 0 0 100%; }
}


  .carouselBtn{ width: 44px; height: 44px; border-radius: 14px; font-size: 22px; }
}



  .carouselBtn{ width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
}




/* v22: Отзывы — стрелки по бокам карусели (не абсолют), видно 3, листаем по 1 */
.reviewsCarousel{
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.carouselViewport{
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 2px 0 10px;
}
.carouselViewport::-webkit-scrollbar{ display:none; }

.carouselTrack{
  display:flex;
  gap:14px;
  padding: 2px;
}

.carouselTrack .review{
  flex: 0 0 calc((100% - 28px)/3); /* 3 карточки */
  scroll-snap-align: start;
}

.carouselBtn{
  width:52px;
  height:52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display:grid;
  place-items:center;
  font-size: 24px;
  font-weight: 900;
}

@media (max-width: 980px){
  /* на телефоне — 1 карточка */
  .carouselTrack .review{ flex: 0 0 100%; }
  .reviewsCarousel{ grid-template-columns: 44px 1fr 44px; gap: 10px; }
  .carouselBtn{ width:44px; height:44px; border-radius: 14px; font-size: 22px; }
}


/* v23: правки стрелок отзывов */
.reviewsCarousel{
  /* стрелки ровно по центру относительно отзывов */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}

.carouselViewport{
  flex: 1 1 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 2px 0 10px;
}
.carouselViewport::-webkit-scrollbar{ display:none; }

.carouselTrack{
  display:flex;
  gap:14px;
  padding: 2px;
}

.carouselTrack .review{
  flex: 0 0 calc((100% - 28px)/3); /* 3 карточки на десктопе */
  scroll-snap-align: start;
}

.carouselBtn{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display:grid;
  place-items:center;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .10);
}

.carouselBtn:active{ transform: translateY(1px); }

@media (max-width: 980px){
  /* на телефоне — 1 карточка */
  .carouselTrack .review{ flex: 0 0 100%; }
  .reviewsCarousel{ gap: 12px; }
}

@media (max-width: 720px){
  .carouselBtn{ width: 40px; height: 40px; border-radius: 12px; font-size: 24px; }
}




/* v25: лёгкая подсветка CTA-кнопок (зелёные и основные) */
.btn--primary:hover,
.btn--primary:focus-visible{
  filter: brightness(1.02);
  box-shadow: 0 14px 28px rgba(0,141,212,.16), 0 0 0 4px rgba(0,141,212,.10);
}

.btn--green:hover,
.btn--green:focus-visible{
  filter: brightness(1.02);
  box-shadow: 0 14px 28px rgba(22,163,74,.16), 0 0 0 4px rgba(22,163,74,.10);
}

/* чтобы подсветка работала и на ссылках-кнопках */
.btn--primary, .btn--green{ will-change: box-shadow, filter; }


/* v27: пульс только на выбранных CTA (класс .btn--pulse) */
@keyframes ctaPulseBlue{
  0%, 86% { box-shadow: 0 12px 24px rgba(0,141,212,.10), 0 0 0 0 rgba(0,141,212,.00); filter: brightness(1); }
  90% { box-shadow: 0 18px 36px rgba(0,141,212,.16), 0 0 0 8px rgba(0,141,212,.10); filter: brightness(1.03); }
  94% { box-shadow: 0 14px 28px rgba(0,141,212,.12), 0 0 0 0 rgba(0,141,212,.00); filter: brightness(1); }
  100% { box-shadow: 0 12px 24px rgba(0,141,212,.10), 0 0 0 0 rgba(0,141,212,.00); filter: brightness(1); }
}
@keyframes ctaPulseGreen{
  0%, 86% { box-shadow: 0 12px 24px rgba(22,163,74,.10), 0 0 0 0 rgba(22,163,74,.00); filter: brightness(1); }
  90% { box-shadow: 0 18px 36px rgba(22,163,74,.16), 0 0 0 8px rgba(22,163,74,.10); filter: brightness(1.03); }
  94% { box-shadow: 0 14px 28px rgba(22,163,74,.12), 0 0 0 0 rgba(22,163,74,.00); filter: brightness(1); }
  100% { box-shadow: 0 12px 24px rgba(22,163,74,.10), 0 0 0 0 rgba(22,163,74,.00); filter: brightness(1); }
}

/* пульс только на больших экранах (на мобиле часто раздражает) */
@media (min-width: 981px){
  .btn--pulse.btn--primary{ animation: ctaPulseBlue 6s ease-in-out infinite; }
  .btn--pulse.btn--green{ animation: ctaPulseGreen 6s ease-in-out infinite; }

  .btn--pulse:hover, .btn--pulse:focus-visible{
    animation: none; /* чтобы не мешал при взаимодействии */
  }
}

@media (prefers-reduced-motion: reduce){
  .btn--pulse{ animation: none !important; }
  .dot::after{ animation: none !important; }
}


/* v27: страница "Спасибо" */
.page{min-height:100vh; display:flex; flex-direction:column}
.pageMain{
  flex:1;
  display:grid;
  place-items:center;
  padding: calc(var(--headerH) + 22px) 0 40px;
}
.thanksCard{
  width:min(820px, 100%);
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:18px;
}
.thanksTop{display:flex; gap:12px; align-items:center}
.thanksIcon{
  width:56px; height:56px; border-radius:18px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(22,163,74,.18), rgba(0,141,212,.10));
  border:1px solid var(--line);
}
.thanksIcon svg{width:26px; height:26px; fill: var(--good)}
.thanksTitle{margin:0; font-size:26px}
.thanksSub{margin:6px 0 0; color:var(--muted); max-width:720px}
.thanksActions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.thanksHint{margin-top:14px}



/* ===== Отзывы: карусель "столбиками" 2×2 (фикс. ширина, чтобы скрины не раздувались) ===== */
:root{
  --reviewGap: 12px;
  --reviewColW: 420px;
}

.reviewsCarousel{
  display: grid;
  grid-template-columns: 44px auto 44px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.reviewsViewport{
  overflow: hidden;
  padding: 2px;
  width: calc(var(--reviewColW) * 2 + var(--reviewGap));
  max-width: 100%;
}

.reviewsTrack{
  display: flex;
  gap: var(--reviewGap);
  transition: transform .35s ease;
  will-change: transform;
}

.reviewsCol{
  flex: 0 0 var(--reviewColW);
  width: var(--reviewColW);
  display: flex;
  flex-direction: column;
  gap: var(--reviewGap);
  min-width: 0;
}

.reviewShot{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  display: block;
}
.reviewShot:focus{ outline:2px solid rgba(0,141,212,.35); outline-offset:2px; }
.reviewShot img{ width:100%; height:auto; display:block; }

.reviewsNav{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .10);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  user-select: none;
}
.reviewsNav[disabled]{ opacity:.35; cursor:default; }
.reviewsNav span{ font-size:28px; line-height:1; margin-top:-2px; }
.reviewsHint{ margin-top:10px; font-size:13px; }

@media (max-width: 980px){
  :root{ --reviewColW: 520px; }
  .reviewsCarousel{ grid-template-columns: 40px auto 40px; gap: 10px; }
  .reviewsViewport{ width: min(var(--reviewColW), 100%); }
  .reviewsCol{ flex: 0 0 100%; width: 100%; }
}

/* Страховка от горизонтального скролла перенесена в финальный блок v29, чтобы не создавать двойной вертикальный скролл */

/* v9: Отзывы как в v2, но с фиксированным контейнером чуть больше скриншота */
.reviewsGrid{justify-items:center}
.reviewCard{width:100%; max-width:520px}
.reviewShot--avito{
  width:100%;
  aspect-ratio: 935 / 160;
  padding:4px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.reviewShot--avito img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  border-radius:14px;
  display:block;
}


/* ===== Отзывы: v2-стиль + карусель 2×2 (2 столбика × 2 отзыва) ===== */
:root{
  --reviewGap: 12px;
}

.reviewsCarousel{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items:center;
  width:100%;
  max-width:100%;
  margin-top: 14px;
}

/* Вьюпорт растягиваем до границ контейнера */
.reviewsViewport{
  overflow:hidden;
  padding:2px;
  width:100%;
  max-width:100%;
  /* ширина одного столбика = половина видимой области (минус gap) */
  --reviewColW: calc((100% - var(--reviewGap)) / 2);
}

.reviewsTrack{
  display:flex;
  gap: var(--reviewGap);
  transition: transform .35s ease;
  will-change: transform;
}

.reviewsCol{
  flex: 0 0 var(--reviewColW);
  width: var(--reviewColW);
  display:flex;
  flex-direction:column;
  gap: var(--reviewGap);
  min-width:0;
}

/* Рамки НЕ меняем: только даём аккуратный воздух внутри */
.reviewsCarousel .reviewCard{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  padding:12px;
  min-width:0;
}

/* Фиксированный прямоугольник под Авито-скрин */
.reviewsCarousel .reviewShot{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  aspect-ratio: 935 / 160;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: zoom-in;
  user-select:none;
  padding:10px;
}

.reviewsCarousel .reviewShot img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block;
  background:#fff;
}

@media (max-width: 720px){
  .reviewsCarousel{
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
  }
  .reviewsViewport{
    --reviewColW: 100%;
  }
  .rcNav{width:40px; height:40px}
}

/* ===== PATCH v13: Отзывы как v2, 2×2 + карусель, но растянуто до границ контейнера и без серого фона позади ===== */
#reviews .reviewsCarousel{
  width:100%;
  max-width:100%;
  justify-content: stretch;
}

#reviews .reviewsViewport{
  width:100%;
  max-width:100%;
  padding:0;
  background: transparent;
  border: none;
  box-shadow: none;
}

#reviews .reviewsTrack{
  width:100%;
}

/* Два столбика заполняют всю видимую ширину */
#reviews .reviewsCol{
  flex: 0 0 calc((100% - var(--reviewGap)) / 2);
  width: calc((100% - var(--reviewGap)) / 2);
}

/* Фиксированный прямоугольник (как Авито-скрин), но не квадрат */
#reviews .reviewsCarousel .reviewShot{
  aspect-ratio: 15 / 4;
}

@media (max-width: 720px){
  #reviews .reviewsCol{
    flex-basis: 100%;
    width: 100%;
  }
}


/* ===== v16: Отзывы — визуал как в v2, но с каруселью 2×2 и без лишних подложек ===== */
#reviews{
  /* Переопределяем тень ТОЛЬКО внутри блока "Отзывы" */
  --shadow: 0 18px 50px rgba(255, 255, 255, 0.1);

  /* Плотность/размеры отзывов */
  --reviewsGap: 6px;       /* расстояние между столбиками и карточками */
  --reviewsCardPad: 8px;   /* паддинг внешней карточки */
  --reviewsShotPad: 6px;   /* паддинг вокруг самого скриншота */

  /* Соотношение сторон области под скрин (под Avito-отзыв) */
  --reviewsShotW: 935;
  --reviewsShotH: 150;

  /* Размер бейджа источника (Avito / Profi) — можно менять вручную */
  --reviewsBadgeSize: 30px;
  --reviewsBadgeIcon: 18px;
  --reviewsBadgeInset: 10px;
  --reviewsBadgeRadius: 12px;
}

#reviews .reviewsCarousel{
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  overflow: visible;
}

/* стрелки не съедают ширину — лежат поверх */
#reviews .rcNav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .10);
}

/* Стрелки визуально вынесены наружу трансформацией (не создают горизонтальный скролл) */
#reviews .rcNav--prev{ left: 0; transform: translate(-120%, -50%); }
#reviews .rcNav--next{ right: 0; transform: translate(50%, -50%); }

#reviews .reviewsViewport{
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

#reviews .reviewsTrack{
  display: flex;
  gap: var(--reviewsGap);
  transition: transform .35s ease;
  will-change: transform;
}

/* 2 столбика заполняют всю ширину вьюпорта */
#reviews .reviewsCol{
  flex: 0 0 calc((100% - var(--reviewsGap)) / 2);
  width: calc((100% - var(--reviewsGap)) / 2);
  display: flex;
  flex-direction: column;
  gap: var(--reviewsGap);
  min-width: 0;
}

/* карточка как в v2 (рамку/скругление оставляем) */
#reviews .reviewCard{
  padding: var(--reviewsCardPad);
}

/* фиксированный прямоугольник: одинаковый размер для любых скриншотов */
#reviews .reviewShot,
#reviews .reviewShot--avito{
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  user-select: none;
  aspect-ratio: var(--reviewsShotW) / var(--reviewsShotH);
  border: none;            /* как в v2 — без лишней рамки у самой области */
  background: #fff;
  border-radius: 18px;
  padding: var(--reviewsShotPad); /* чуть больше самого скрина */
}

#reviews .reviewShot img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
  border-radius: 12px;
}

/* Мини‑бейдж источника (Avito / Profi) поверх скриншота */
#reviews .reviewBadge{
  position: absolute;
  top: var(--reviewsBadgeInset);
  right: var(--reviewsBadgeInset);
  left: auto;
  width: var(--reviewsBadgeSize);
  height: var(--reviewsBadgeSize);
  border-radius: var(--reviewsBadgeRadius);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 6px 18px rgba(2, 6, 23, .10);
  display: grid;
  place-items: center;
  pointer-events: none; /* не мешает клику по отзыву */
  z-index: 2;
}

#reviews .reviewBadge img{
  width: var(--reviewsBadgeIcon);
  height: var(--reviewsBadgeIcon);
  display: block;
}


/* Режим "только скриншоты": убираем внешнюю рамку карточки, оставляем рамку у скриншота */
#reviews.reviews--shotsOnly .reviewCard{
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
#reviews.reviews--shotsOnly .reviewShot,
#reviews.reviews--shotsOnly .reviewShot--avito{
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (max-width: 720px){
  #reviews .reviewsCol{ flex-basis: 100%; width: 100%; }
  #reviews .rcNav{ width: 40px; height: 40px; border-radius: 12px; font-size: 24px; }
  #reviews .rcNav--prev{ left: 0; transform: translate(0, -50%); }
  #reviews .rcNav--next{ right: 0; transform: translate(0, -50%); }
}


/* ===== Conversion helpers (hero proof + chips) ===== */
.heroProof{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0 14px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:16px;
  background: rgba(255,255,255,.75);
}
.heroProof__stars{
  font-weight: 900;
  letter-spacing: 1px;
  opacity: .85;
}
.heroProof__text{
  color: var(--muted);
  font-size: 13px;
}
.heroProof__text b{ color: var(--text); }

/* === Conversion tweaks (tasks + steps) === */
.card__meta{ margin:0 0 10px; }
.steps .step{ min-height: 150px; }
.ctaRow--center{ justify-content:center; }

/* ===== Cases: visual polish ===== */
#cases .grid{gap:14px}
#cases .card{
  padding:16px 16px 14px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position:relative;
}
#cases .card:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 60px rgba(2,6,23,.12);
  border-color:rgba(15,23,42,.16);
}
#cases .card h3{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.22;
  letter-spacing:-.01em;
  display:flex;
  gap:10px;
}
#cases .card h3::before{
  content:"";
  width:10px; height:10px;
  border-radius:50%;
  margin-top:6px;
  background:radial-gradient(circle at 30% 30%, var(--accent2), var(--accent));
  box-shadow:0 0 0 6px rgba(0,141,212,.08);
  flex:0 0 10px;
}
#cases .card__meta{margin:-2px 0 10px}
#cases .pill{
  padding:7px 10px;
  font-size:12px;
  background:rgba(2,6,23,.03);
}
#cases .card p{
  font-size:13px;
  line-height:1.45;
  color:var(--muted2);
  margin:0 0 14px;
}
#cases .card__bottom{
  border-top:1px dashed var(--line);
  padding-top:10px;
}
#cases .price{font-size:13px; color:var(--muted2)}
#cases .price b{font-size:16px; color:var(--text)}
/* ===== /Cases ===== */

/* Honeypot anti-spam */
.hp-field{position:absolute !important; left:-9999px !important; top:auto !important; width:1px !important; height:1px !important; overflow:hidden !important; opacity:0 !important; pointer-events:none !important}


/* ====== CUSTOM (2026-02-03) ====== */
.brand__name--mobile{display:none}
@media (max-width: 1020px){
  .brand__name--desktop{display:none}
  .brand__name--mobile{display:block}
  .hero__micro{display:none}
  .fact--hours{display:none}
  .casesHead__tools{display:flex; justify-content:flex-end; margin-top:10px}
}
.casesHead__tools{display:none}
span[data-fill="cityIn"]{color:inherit !important}

/* v28: правки 2026-06-06 — одна прокрутка и прайс без боковых блоков */
.prices--only{
  grid-template-columns: 1fr !important;
  width: 100%;
  max-width: none;
  margin: 0;
}
.prices--only .prices__table{
  width: 100%;
}

html, body{
  max-width: 100%;
}
html.modal-open,
body.modal-open{
  overflow: hidden !important;
}
.modal{
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 0;
}
.modal__overlay{
  position: fixed;
}
.modal__dialog{
  margin: auto;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
@supports not (height: 100dvh){
  .modal__dialog{ max-height: calc(100vh - 32px); }
}
@media (max-width: 720px){
  .modal{ padding: 10px 0; }
  .modal__dialog{
    width: min(720px, calc(100% - 20px));
    max-height: calc(100dvh - 20px);
  }
}



/* v29: окончательная правка двойного вертикального скролла
   Причина: overflow-x:hidden на body может делать body отдельным scroll-контейнером.
   Оставляем единственную прокрутку страницы на html, body не должен иметь свою вертикальную полосу. */
html{
  min-height:100%;
  height:auto !important;
  overflow-y:auto !important;
  overflow-x:clip !important;
}
body{
  min-height:100%;
  height:auto !important;
  overflow-y:visible !important;
  overflow-x:clip !important;
}
@supports not (overflow: clip){
  html{
    overflow-x:hidden !important;
    overflow-y:auto !important;
  }
  body{
    overflow:visible !important;
  }
}
html.modal-open{
  overflow:hidden !important;
}
body.modal-open{
  overflow:visible !important;
}
.modal{
  max-width:100vw;
}


/* ===== PATCH v14: Direct leadgen tweaks, 2026-06-09 =====
   To rollback compact mobile hero card: remove class "hero-card-compact" from <body>.
   To rollback object-fit:cover hero photo: remove class "hero-photo-cover" from <body>. */

/* Reversible hero photo cover mode */
body.hero-photo-cover .heroCard__photo{
  width:100%;
  max-width:380px;
  height:330px;
  margin:0 auto;
  display:block;
}
body.hero-photo-cover .heroCard__photo img{
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center top;
}

@media (max-width: 560px){
  body.hero-photo-cover .heroCard__photo{
    max-width:none;
    height:240px;
  }
  body.hero-card-compact .heroCard{
    padding:10px;
    border-radius:18px;
  }
  body.hero-card-compact .heroCard__photo{
    height:210px;
    border-radius:18px;
  }
  body.hero-card-compact .heroCard__name{margin-top:6px}
  body.hero-card-compact .heroCard__rating{margin-top:6px}
  body.hero-card-compact .heroCard__facts{gap:7px; margin-top:7px}
  body.hero-card-compact .fact{padding:7px 8px; border-radius:14px}
  body.hero-card-compact .fact__k{font-size:11px}
  body.hero-card-compact .fact__v{font-size:12px}
  body.hero-card-compact .heroCard__quote{margin-top:7px}
  body.hero-card-compact .quote{font-size:12px; line-height:1.35; padding:8px 10px; border-radius:14px}
}

/* Subtle header phone accent */
.header__phone{
  border-color:rgba(0,141,212,.24) !important;
}
.header__phoneValue{
  color:var(--text);
  letter-spacing:-.01em;
}
@media (min-width: 721px){
  .header__phoneValue{color:var(--accent)}
}

/* Mobile one-button CTA: appears after a short scroll */
.mobileScrollCta{
  position:fixed;
  left:14px;
  right:14px;
  bottom:calc(12px + env(safe-area-inset-bottom));
  z-index:82;
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:56px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(22,163,74,.98), rgba(34,197,94,.82));
  color:#fff;
  font-weight:950;
  font-size:16px;
  cursor:pointer;
  box-shadow:0 18px 42px rgba(22,163,74,.28), 0 8px 22px rgba(15,23,42,.18);
  opacity:0;
  transform:translateY(16px);
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}
.mobileScrollCta__icon{
  width:24px;
  height:24px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.18);
  font-size:14px;
}
@media (max-width:720px){
  .mobileScrollCta{display:flex}
  .mobileScrollCta.is-visible{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  .footer{padding-bottom:88px}
}
@media (prefers-reduced-motion: reduce){
  .mobileScrollCta{transition:none}
}

/* Price CTA after price table */
.priceCta{
  margin-top:14px;
  border:1px solid rgba(0,141,212,.18);
  border-radius:22px;
  background:linear-gradient(135deg, rgba(255,255,255,.96), rgba(235,248,255,.84));
  box-shadow:var(--shadow);
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.priceCta__text{display:grid; gap:4px; min-width:0}
.priceCta__text b{font-size:16px}
.priceCta__text span{font-size:13px; color:var(--muted)}
.priceCta__actions{display:flex; gap:10px; flex:0 0 auto}
@media (max-width:720px){
  .priceCta{display:grid; gap:12px}
  .priceCta__actions{display:grid; grid-template-columns:1fr; width:100%}
  .priceCta__actions .btn{width:100%}
}

/* Mobile issue photos are enabled again: keep them compact and useful */
@media (max-width:560px){
  #cases .card__img{margin:8px 0 10px; border-radius:16px; aspect-ratio:16/10}
  #cases .card p{font-size:13px; line-height:1.45}
}

/* ===== PATCH v15: mobile hero corrections, 2026-06-09 =====
   Fixes: full-width hero bullets, hide facts on mobile, restore non-cropped hero photo on mobile. */
@media (max-width:560px){
  .hero__grid{
    align-items:stretch;
  }
  .hero__bullets{
    width:100%;
    max-width:none;
    align-self:stretch;
  }
  .hero__bullets .bullet{
    width:100%;
    box-sizing:border-box;
  }

  .heroCard__facts{
    display:none !important;
  }

  body.hero-photo-cover .heroCard__photo,
  body.hero-card-compact .heroCard__photo,
  .heroCard__photo{
    width:fit-content;
    max-width:100%;
    height:auto !important;
    display:block;
    margin:0 auto;
    border-radius:20px;
  }
  body.hero-photo-cover .heroCard__photo img,
  body.hero-card-compact .heroCard__photo img,
  .heroCard__photo img{
    display:block;
    width:auto !important;
    max-width:100% !important;
    height:auto !important;
    max-height:360px !important;
    object-fit:contain !important;
    object-position:center center !important;
  }
}


/* ===== PATCH v16: mobile hero CTA + desktop phone de-emphasis, 2026-06-09 ===== */
.heroCard__mobileCta{
  display:none;
}

@media (max-width:720px){
  .heroLead{
    display:none !important;
  }
  .heroCard{
    order:10;
  }
  .hero__bullets{
    order:15;
    margin-top:0;
  }
  .heroCard__mobileCta{
    display:flex;
    width:100%;
    min-height:48px;
    margin-top:10px;
  }
}

@media (min-width:721px){
  .header__phone{
    padding:6px 10px !important;
    border-radius:14px !important;
    border-color:rgba(15,23,42,.10) !important;
    background:rgba(255,255,255,.72) !important;
    box-shadow:none !important;
  }
  .header__phone:hover{
    border-color:rgba(0,141,212,.20) !important;
    background:rgba(255,255,255,.94) !important;
    box-shadow:0 6px 16px rgba(15,23,42,.05) !important;
  }
  .header__phoneLabel{
    color:var(--muted2) !important;
    font-weight:700 !important;
  }
  .header__phoneValue{
    color:var(--text) !important;
    font-weight:850 !important;
  }
}

/* ===== PATCH v18: tighter mobile title/subtitle spacing, 2026-06-09 ===== */
@media (max-width:560px){
  .hero__title{
    margin-top:8px;
    margin-bottom:3px;
  }
  .hero__sub{
    margin-top:0;
  }
}

/* ===== PATCH v19: tighter mobile hero vertical rhythm, 2026-06-09 =====
   Reduces extra air between status, title, subtitle and hero card without changing the chosen heroCard layout. */
@media (max-width:560px){
  .hero{
    padding-top:10px;
    padding-bottom:16px;
  }
  .hero__grid{
    gap:6px;
  }
  .pill{
    padding:6px 10px;
    font-size:13px;
    line-height:1.25;
  }
  .hero__title{
    margin-top:4px;
    margin-bottom:0;
    line-height:1.04;
  }
  .hero__sub{
    margin-top:0;
    margin-bottom:4px;
    line-height:1.34;
  }
  .heroCard{
    margin-top:2px;
  }
  .heroCard__mobileCta{
    margin-top:8px;
  }
  .hero__bullets{
    margin-top:2px;
    margin-bottom:8px;
  }
}


/* ===== PATCH v20: mobile rating arrows + smarter sticky CTA trigger, 2026-06-09 =====
   Adds small down arrows to the mobile rating badge and keeps the floating CTA hidden
   until the main heroCard CTA has been scrolled past. */
@media (max-width:560px){
  .heroCard__rating .ratingBadge--wide{
    position:relative;
    padding-left:42px;
    padding-right:42px;
  }
  .heroCard__rating .ratingBadge--wide::before,
  .heroCard__rating .ratingBadge--wide::after{
    content:"↓";
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:24px;
    height:24px;
    border-radius:10px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(0,141,212,.16);
    color:var(--accent);
    font-size:15px;
    line-height:1;
    font-weight:950;
    box-shadow:0 6px 14px rgba(2,6,23,.06);
  }
  .heroCard__rating .ratingBadge--wide::before{left:10px;}
  .heroCard__rating .ratingBadge--wide::after{right:10px;}
}


/* ===== PATCH v21: prevent mobile rating badge wrapping, 2026-06-09 =====
   Keeps the rating text on one line after adding side arrows. */
@media (max-width:560px){
  .heroCard__rating .ratingBadgeLink{
    width:100%;
    min-width:0;
  }
  .heroCard__rating .ratingBadge--wide{
    width:100%;
    min-width:0;
    max-width:100%;
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:center;
    gap:4px;
    white-space:nowrap;
    overflow:visible;
    padding:7px 24px;
    font-size:12px;
    line-height:1.15;
  }
  .heroCard__rating .ratingBadge--wide > span{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .heroCard__rating .ratingBadge__stars{
    letter-spacing:0;
    font-size:11.5px;
  }
  .heroCard__rating .ratingBadge__src{
    font-size:11.5px;
  }
  .heroCard__rating .ratingBadge--wide::before,
  .heroCard__rating .ratingBadge--wide::after{
    width:18px;
    height:18px;
    border-radius:8px;
    font-size:13px;
    background:rgba(255,255,255,.55);
    box-shadow:none;
  }
  .heroCard__rating .ratingBadge--wide::before{left:4px;}
  .heroCard__rating .ratingBadge--wide::after{right:4px;}
}

@media (max-width:360px){
  .heroCard__rating .ratingBadge--wide{
    gap:3px;
    padding-left:20px;
    padding-right:20px;
    font-size:11.5px;
  }
  .heroCard__rating .ratingBadge__stars{font-size:11px;}
  .heroCard__rating .ratingBadge__src{font-size:11px;}
  .heroCard__rating .ratingBadge--wide::before,
  .heroCard__rating .ratingBadge--wide::after{
    width:16px;
    height:16px;
    font-size:12px;
  }
  .heroCard__rating .ratingBadge--wide::before{left:3px;}
  .heroCard__rating .ratingBadge--wide::after{right:3px;}
}

/* ===== PATCH v22: mobile quote hidden + taller desktop hero card, 2026-06-09 =====
   To return the quote on mobile: remove this block or change `.heroCard__quote{display:none}` to `display:block` inside the max-width:720px media query. */
@media (max-width:720px){
  .heroCard__quote{
    display:none !important;
  }
}

@media (min-width:1021px){
  body.hero-photo-cover .heroCard__photo{
    height:390px;
  }
}


/* ===== PATCH v23: mobile header one-line brand, 2026-06-09 =====
   Чтобы вернуть текст в шапке как было: в script.js замените строку
   setFill("masterNameMobile", `Мастер ${SITE.masterName}`);
   обратно на:
   setFill("masterNameMobile", `Частный мастер ${SITE.masterName}`); */
@media (max-width:560px){
  .brand__name--mobile{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:13px;
    line-height:1.05;
    max-width:142px;
  }
  .brand__sub{
    font-size:10.5px;
    line-height:1.1;
    max-width:142px;
  }
}

/* ===== PATCH v24: hide fridge case images only on mobile, 2026-06-09 =====
   Чтобы вернуть картинки на мобильной версии: в index.php уберите класс
   hide-case-images у тега body. На ПК картинки остаются включёнными. */
@media (max-width:720px){
  .hide-case-images #cases .card__img{
    display:none !important;
  }
}


/* ===== PATCH v25: full mobile brand title without wrap, 2026-06-09 =====
   В шапке на мобильной показываем полный текст «Частный мастер Владимир»
   в одну строку. Для этого чуть сжаты логотип, телефон, отступы и шрифт. */
@media (max-width:560px){
  .header .container{
    padding-left:10px;
    padding-right:10px;
  }
  .header__inner{
    gap:8px;
  }
  .brand{
    flex:1 1 auto;
    gap:7px;
    min-width:0;
  }
  .brand__logo{
    width:34px;
    height:34px;
    border-radius:12px;
    flex:0 0 34px;
  }
  .brand__text{
    flex:1 1 auto;
    min-width:0;
  }
  .brand__name--mobile{
    white-space:nowrap;
    overflow:visible;
    text-overflow:clip;
    font-size:11.5px;
    line-height:1.05;
    letter-spacing:-.45px;
    max-width:none;
  }
  .brand__sub{
    font-size:10px;
    line-height:1.08;
    letter-spacing:-.2px;
    max-width:145px;
  }
  .header__phone{
    flex:0 0 auto;
    max-width:none;
    padding:7px 7px;
    border-radius:14px;
  }
  .header__phoneValue{
    font-size:11.5px;
    letter-spacing:-.35px;
  }
  .burger{
    width:40px;
    height:40px;
    border-radius:14px;
    flex:0 0 40px;
  }
}

@media (max-width:374px){
  .brand__logo{display:none}
  .brand__name--mobile{font-size:11px}
  .brand__sub{max-width:132px}
  .header__phoneValue{font-size:11px}
  .burger{width:38px; height:38px; flex-basis:38px}
}

/* ===== PATCH v29: balanced mobile availability pill, 2026-06-09 =====
   Делаем «Свободен сегодня» заметнее на мобильной, но не превращаем в навязчивый баннер.
   Если нужно вернуть маленький вариант — удалите этот блок. */
@media (max-width:720px){
  .hero .pill{
    width:100%;
    justify-content:center;
    padding:8px 12px;
    font-size:13.8px;
    line-height:1.25;
    gap:9px;
    border-radius:999px;
    border-color:rgba(22,163,74,.18);
    background:rgba(255,255,255,.9);
    box-shadow:0 8px 22px rgba(15,23,42,.05);
  }
  .hero .pill .dot{
    width:9px;
    height:9px;
    flex:0 0 9px;
    box-shadow:0 0 0 5px rgba(22,163,74,.12);
  }
}


/* ===== PATCH v31: remholod FAQ/prices fixes, 2026-06-16 ===== */
.priceNote{
  margin:14px 0 0;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(0,141,212,.07);
  border:1px solid rgba(0,141,212,.14);
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
.priceNote b{color:var(--text)}
.prices__table .row small{
  display:block;
  margin-top:2px;
  color:var(--muted2);
  font-size:12px;
  font-weight:700;
}
.faqSteps{
  margin:0;
  padding-left:20px;
  display:grid;
  gap:8px;
}
.faqSteps li{padding-left:2px}

/* ===== PATCH v24: Direct intent replacements, 2026-06-29 ===== */
#prices .row.intent-price-highlight{
  border-color: rgba(18, 150, 92, .34);
  background: linear-gradient(90deg, rgba(18, 150, 92, .10), rgba(255,255,255,.96));
  box-shadow: 0 8px 20px rgba(18, 150, 92, .08);
}
#prices .row.intent-price-highlight span{
  color: var(--text);
  font-weight: 900;
}
#prices .row.intent-price-highlight b{
  color: var(--green);
}

/* Управление блоком «С чем помогу» на мобильных через SITE.mobileCasesBlock в script.js */
@media (max-width: 720px){
  html.hide-cases-mobile #cases{display:none !important;}
  html.hide-cases-mobile .is-hidden-when-cases-mobile-hidden{display:none !important;}
}


/* ===== Quiz before cases ===== */
.quizSection{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(245,248,255,.96), rgba(255,255,255,.88));
}
.quizSection::before{
  content:"";
  position:absolute;
  inset:-120px -160px auto auto;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(55,184,255,.20), rgba(55,184,255,0) 66%);
  pointer-events:none;
}
.quiz{
  display:grid;
  gap:14px;
  align-items:start;
  width:100%;
  max-width:none;
  margin:0 auto;
}
.quiz__title{
  max-width:none;
  margin-bottom:0;
}
.quiz [hidden]{display:none !important;}
.quiz__card{
  position:relative;
  width:100%;
  border:1px solid rgba(0,141,212,.18);
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  box-shadow:0 24px 70px rgba(2,6,23,.12);
  padding:22px;
  display:grid;
  gap:14px;
  min-width:0;
}
.quiz__top{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:center;
}
.quiz__eyebrow{
  color:var(--accent);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.quiz__stepText{font-weight:900; margin-top:2px; white-space:nowrap}
.quiz__progress{
  height:10px;
  border-radius:999px;
  background:rgba(15,23,42,.07);
  overflow:hidden;
}
.quiz__progress span{
  display:block;
  width:25%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  transition:width .2s ease;
}
.quiz__steps{position:relative; min-height:0}
.quiz__step{display:none}
.quiz__step.is-active{display:block}
.quiz__step h3{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.18;
  letter-spacing:-.02em;
}
.quiz__options,
.quiz__options--problems,
.quiz__options--age,
.quiz__options--since{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.quizOption{display:block; min-width:0}
.quizOption > input[type="radio"]{position:absolute; opacity:0; pointer-events:none}
.quizOption span{
  display:flex;
  align-items:center;
  min-height:54px;
  height:100%;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:18px;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 22px rgba(2,6,23,.04);
  font-weight:850;
  line-height:1.22;
  cursor:pointer;
  transition:transform .12s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.quizOption span:hover{
  transform:translateY(-1px);
  border-color:rgba(0,141,212,.28);
}
.quizOption > input[type="radio"]:checked + span{
  border-color:rgba(0,141,212,.55);
  background:linear-gradient(135deg, rgba(235,248,255,.98), rgba(255,255,255,.96));
  box-shadow:0 12px 30px rgba(0,141,212,.12);
}
.quizOption > input[type="radio"]:focus-visible + span{box-shadow:var(--focus)}
.quizOption--other span{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  align-items:center;
  padding:8px;
}
.quizOtherInput{
  width:100%;
  min-height:38px;
  border:1px solid rgba(15,23,42,.14);
  border-radius:13px;
  background:#fff;
  padding:8px 10px;
  font:inherit;
  font-weight:700;
  color:var(--text);
  outline:none;
}
.quizOtherInput::placeholder{color:rgba(71,85,105,.68)}
.quizOtherInput:focus{box-shadow:var(--focus); border-color:rgba(0,141,212,.45)}
.quiz__hint{margin:0 0 12px; color:var(--muted); font-size:15px; line-height:1.55}
.quiz__hint--final{
  max-width:720px;
  font-size:17px;
  color:var(--text);
}
.quiz__hint--final strong{font-weight:950}
.quiz__phone{max-width:460px}
.quiz__step--contact.is-active{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, .95fr);
  gap:12px 18px;
  align-items:start;
}
.quiz__step--contact.is-active h3{grid-column:1 / -1; margin-bottom:0}
.quiz__step--contact.is-active .quiz__hint--final{
  max-width:none;
  margin:0;
  padding:14px 16px;
  border:1px solid rgba(0,141,212,.14);
  border-radius:18px;
  background:rgba(235,248,255,.62);
}
.quiz__step--contact.is-active .quiz__phone{max-width:none; margin:0}
.quiz__step--contact.is-active .quiz__meta{grid-column:2; margin:0}
.quiz__card.is-final .quiz__actions{display:grid; grid-template-columns:1fr}
.quiz__card.is-final .quiz__submit{width:100%; min-width:0}
.quiz__actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.quiz__actions .btn{min-width:168px}
.quiz__actions .quiz__next:not([hidden]){margin-left:auto}
.quiz__actions .quiz__submit:not([hidden]){margin-left:0}
.quiz__submit{font-weight:950; color:#fff; border-color:transparent; background:linear-gradient(135deg, rgba(22,163,74,.95), rgba(34,197,94,.72))}
.quiz__meta{margin:10px 0 0}
.quiz__status{min-height:18px}
.quiz__card.is-error{
  border-color:rgba(245,158,11,.45);
}
@media (max-width:720px){
  .quizSection{padding-top:22px}
  .quiz{gap:12px}
  .quiz__title{font-size:28px; line-height:1.12}
  .quiz__card{padding:14px; border-radius:22px; gap:12px}
  .quiz__top{grid-template-columns:1fr; gap:8px}
  .quiz__step h3{font-size:19px; margin-bottom:10px}
  .quiz__options,
  .quiz__options--problems,
  .quiz__options--age,
  .quiz__options--since{grid-template-columns:1fr; gap:8px}
  .quizOption span{min-height:50px; border-radius:16px}
  .quizOption--other span{grid-template-columns:1fr; gap:0; padding:8px}
  .quizOtherInput{min-height:42px}
  .quiz__step--contact.is-active{grid-template-columns:1fr; gap:10px}
  .quiz__step--contact.is-active h3,
  .quiz__step--contact.is-active .quiz__meta{grid-column:auto}
  .quiz__hint--final{font-size:15px}
  .quiz__actions{display:grid; grid-template-columns:1fr}
  .quiz__actions .btn{width:100%; min-width:0; margin-left:0 !important}
  .quiz__phone{max-width:none}
}
/* ===== /Quiz before cases ===== */
