/* Victoria Plastic — вёрстка повторяет прежний сайт на Wix.
   Цвета и типографика сняты с боевой страницы, не выдуманы:
   синий rgb(11,45,145), жёлтый rgb(255,214,0), текст rgb(30,30,30),
   приглушённый rgb(86,86,86), плашки rgba(220,223,232,.5), шрифт Inter. */

/* Inter лежит у нас, а не грузится с CDN Google: в ЕС обращение к Google Fonts
   передаёт IP посетителя в США — за это уже штрафовали. Плюс так быстрее.
   Подмножества раздельные: польские ą ć ę ł ń ó ś ź ż живут в latin-ext,
   кириллица понадобится украинскому сайту. */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;
  src:url(../fonts/inter-latin-400.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;
  src:url(../fonts/inter-latin-ext-400.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;
  src:url(../fonts/inter-cyrillic-400.woff2) format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;
  src:url(../fonts/inter-latin-500.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;
  src:url(../fonts/inter-latin-ext-500.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;
  src:url(../fonts/inter-cyrillic-500.woff2) format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;
  src:url(../fonts/inter-latin-700.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;
  src:url(../fonts/inter-latin-ext-700.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;
  src:url(../fonts/inter-cyrillic-700.woff2) format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root{
  --blue:#0B2D91;
  --blue-dark:#08246f;
  --yellow:#FFD600;
  --ink:#1E1E1E;
  --muted:#565656;
  --panel:#EDEFF3;
  --line:#E2E5EC;
  --white:#fff;
  --radius:30px;
  --radius-sm:12px;
  --pill:300px;
  --shadow:0 6px 24px rgba(11,45,145,.08);
  --shadow-lg:0 10px 40px rgba(11,45,145,.12);
  /* 980px — ровно как на прежнем сайте: там всё содержимое живёт в колонке
     этой ширины, а не растягивается на весь экран. Замерено на боевой странице. */
  --wrap:980px;
  --hdr-h:76px;
}

*,*::before,*::after{box-sizing:border-box}
/* overflow-x:hidden живёт на html, не на body: если поставить его на body,
   Safari на iPhone теряет position:sticky у шапки — при прокрутке вниз и
   обратно вверх меню «отрывается» и повисает не на своём месте. На html
   этого бага нет, а от горизонтального расползания страницы защищает
   одинаково что там, что там. */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--hdr-h) + 12px);overflow-x:hidden}
body{
  margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;line-height:1.4;color:var(--ink);background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
/* Длинные слова обязаны переноситься. Украинские «СІЛЬСЬКОГОСПОДАРСЬКОЇ» и
   польские «ZBIORNIKÓW OPRYSKIWACZY» заглавными не влезают в узкий телефон и
   без этого распирают страницу вбок. От распирания держит overflow-wrap: он
   рвёт слово, только если оно и на отдельной строке не помещается.
   А вот hyphens:auto тут был лишним и вредил: словарь Chrome ставил переносы
   не по слогам — «PLASTIKOWY-CH» (внутри диграфа ch), «ZBIORN-IKÓW»,
   «РЕМ-ОНТУЄМО», — причём в самых крупных заголовках. Заголовки короткие, по
   словам они и так раскладываются, поэтому переносы по слогам отключены. */
h1,h2,h3,h4,h5{margin:0;font-weight:700;line-height:1.2;overflow-wrap:break-word;hyphens:manual}
p,li,a,span,td,th,figcaption,summary{overflow-wrap:break-word}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:4px}

/* Полезная ширина строго 980px: поля добавляем СВЕРХ неё, иначе содержимое
   оказывается уже, чем на прежнем сайте, и всё «съезжает». */
.wrap{width:100%;max-width:calc(var(--wrap) + 40px);margin:0 auto;padding:0 20px}
.wrap--narrow{max-width:860px}

.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--blue);color:#fff;padding:10px 16px}
.skip:focus{left:8px;top:8px}

/* ---------- кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;padding:14px 32px;border-radius:var(--pill);
  font-size:16px;font-weight:500;text-align:center;cursor:pointer;
  /* Межстрочный интервал задан явно, а не унаследован: внутри текста статьи
     (.article__body, line-height 1.65) те же кнопки получались на 2px выше,
     чем такие же в остальной вёрстке. */
  line-height:1.4;
  transition:transform .12s ease,box-shadow .2s ease,background .2s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn--blue{background:var(--blue);color:#fff;box-shadow:0 4px 14px rgba(11,45,145,.25)}
.btn--blue:hover{background:var(--blue-dark);box-shadow:0 6px 20px rgba(11,45,145,.32)}
/* Рамка нарисована ВНУТРЕННЕЙ тенью, а не border: настоящая рамка добавляла
   кнопке 2px высоты, и в герое «Позвонить» (синяя) и «Оценить ремонт» (светлая)
   вставали разной высоты — на телефоне, где они друг под другом, это видно. */
.btn--ghost{background:#fff;color:var(--ink);border:0;box-shadow:inset 0 0 0 1px var(--blue)}
.btn--ghost:hover{background:#f5f7ff}
.btn--yellow{background:var(--yellow);color:#111;box-shadow:0 4px 14px rgba(255,214,0,.35)}
.btn--yellow:hover{background:#ffdf33}

/* ---------- шапка ---------- */
.hdr{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);
  backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid transparent;
}
.hdr--scrolled{border-bottom-color:var(--line);box-shadow:0 2px 12px rgba(0,0,0,.05)}
.hdr__in{display:flex;align-items:center;gap:24px;height:var(--hdr-h)}
.hdr__logo img{width:auto;height:52px;object-fit:contain}
.hdr__nav{display:flex;align-items:center;gap:26px;margin-left:auto}
.hdr__nav a{font-size:16px;font-weight:500;color:var(--ink);padding:6px 0;position:relative}
.hdr__nav a::after{
  content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;
  background:var(--blue);transition:right .2s ease;
}
.hdr__nav a:hover::after{right:0}
.hdr__tel{margin-left:auto;min-height:46px;padding:12px 26px;font-weight:500}
.hdr__burger{display:none;width:44px;height:44px;flex-direction:column;justify-content:center;gap:5px;padding:0 10px}
.hdr__burger span{display:block;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s,opacity .2s}
.hdr__burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hdr__burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hdr__burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- герой ---------- */
/* Размеры сняты с боевой страницы: полотно 980x380, скругление 30px.
   Затемняющего слоя на прежнем сайте НЕТ — фотография сама по себе тёмная,
   и текст читается на ней без подложки. Свой градиент сюда не добавлять:
   он делает снимки грязными, это первое, что бросилось в глаза владельцу. */
.hero{padding:0}
.hero__box{position:relative;border-radius:30px;overflow:hidden;height:460px;
  display:flex;align-items:center;justify-content:center}
.hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero__body{position:relative;z-index:2;text-align:center;color:#fff;width:100%;padding:0 20px}
/* 34px — размер с боевой страницы, его и держим на десктопе. Но фиксированным
   его оставлять нельзя: на телефоне заголовок из трёх длинных строк заглавными
   разваливался на 8-9 строк и вылезал из полотна. Ниже ~770px плавно убавляем. */
.hero__h1{display:flex;flex-direction:column;font-size:clamp(24px,4.4vw,34px);
  line-height:1.1;font-weight:700}
.hero__h1 span{padding:7px 0}
.hero__btns{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin:26px 0 23px}
.hero__btns .btn{min-height:51px;padding:15px 34px}
.hero__sub{font-size:16px;font-weight:700;letter-spacing:.02em}
.hero__badge{margin-top:12px;font-size:29px;font-weight:700}
/* Белые буквы попадают на светлое жнивьё и на пыль от комбайнов — «GWARANCJA
   25 LAT» местами почти пропадает. Тень идёт от самих букв, фотографию не
   затемняет: слоя поверх снимка по-прежнему нет, снимок остаётся как есть.
   Тот же приём уже работает на странице «спасибо». */
.hero__h1,.hero__sub,.hero__badge{text-shadow:0 2px 14px rgba(0,0,0,.5)}

/* ---------- секции ---------- */
section{scroll-margin-top:calc(var(--hdr-h) + 8px)}
.sec-title{font-size:clamp(24px,3vw,40px);text-align:center;margin-bottom:28px}
.sec-title--left{text-align:left}

/* 4 колонки по 234px с зазором 15px — ровно так на прежнем сайте.
   Заголовок карточки там 14px, не крупнее. */
/* Раскладка карточек услуг у сайтов РАЗНАЯ, это не единый шаблон:
   на польском их четыре в ряд по 228px, на украинском — две по 458px.
   Замерено на обеих боевых страницах. */
.uslugi{padding:9px 0}
.uslugi__grid{display:grid;gap:15px}
.uslugi__grid--four{grid-template-columns:repeat(4,1fr)}
.uslugi__grid--two{grid-template-columns:repeat(2,1fr);gap:20px}
.uslugi__grid--two .card__title{font-size:16px;min-height:0}
.uslugi__grid--two .slider__slide{aspect-ratio:458/540}
/* Без подложки и тени: на прежнем сайте карточка — это просто заголовок,
   лента снимков и кнопка. Подложка добавляла ~100px высоты и уводила от оригинала. */
.card{display:flex;flex-direction:column;gap:12px}
.card__title{font-size:14px;font-weight:700;color:var(--blue);text-align:center;
  min-height:36px;display:flex;align-items:center;justify-content:center;line-height:1.25}
.card__btn{margin-top:auto;align-self:center;min-height:46px;padding:13px 26px}

/* ---------- слайдер ---------- */
.slider{position:relative;display:flex;flex-direction:column;background:transparent}
.slider__frame{position:relative;border-radius:var(--radius-sm);overflow:hidden}
/* scroll-snap оставляем только для пальца: при программной анимации он
   перехватывает движение и получается рывок вместо плавного хода. */
.slider__track{display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;
  scroll-behavior:auto}
@media (hover:none){
  .slider__track{scroll-snap-type:x mandatory}
  .slider__slide{scroll-snap-align:center}
}
.slider__track::-webkit-scrollbar{display:none}
/* 228x471 — размер ленты снимков в карточке услуг на прежнем сайте */
.slider__slide{flex:0 0 100%;margin:0;scroll-snap-align:center;aspect-ratio:228/471}
.slider__slide img{width:100%;height:100%;object-fit:cover;display:block}
.slider__nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.85);
  color:var(--ink);font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.15);transition:background .2s,opacity .2s;
}
.slider__nav:hover{background:#fff}
.slider__nav[disabled]{opacity:.25;cursor:default}
.slider__nav--prev{left:8px}
.slider__nav--next{right:8px}
.slider__dots{display:flex;gap:6px;justify-content:center;align-items:center;
  height:18px;flex:0 0 18px;margin-top:8px}
.slider__dots i{width:6px;height:6px;border-radius:50%;background:#c9cedb;
  transition:background .2s,transform .2s}
.slider__dots i.is-on{background:var(--blue);transform:scale(1.3)}

/* ---------- выезд к клиенту ----------
   Плашка СИНЯЯ (#0B2D91), скругление 30px, картинка прижата к правому краю,
   текст белый, кнопка жёлтая. Замерено на боевой странице. */
.dojazd{padding:10px 0}
/* Колонка под текст 420px — как на прежнем сайте, иначе заголовок ломается
   на три строки вместо двух. Снимок фургона с ПРОЗРАЧНЫМ фоном: он должен
   лежать прямо на синем, без белой плашки и без скругления. contain, а не
   cover — иначе кузов подрезается по краям. */
.dojazd__in{position:relative;display:grid;grid-template-columns:420px 1fr;
  gap:20px;align-items:center;background:var(--blue);border-radius:30px;
  padding:24px 40px 24px 58px;min-height:398px;overflow:hidden;color:#fff}
.dojazd__img{width:100%;max-width:619px;height:auto;max-height:300px;
  object-fit:contain;justify-self:end;background:none;border-radius:0}
.dojazd__body{max-width:420px}
.dojazd__lead{font-size:16px;color:#fff;margin-bottom:12px}
.dojazd__body h3{font-size:36px;line-height:1.2;margin-bottom:16px;color:#fff}
/* Про выезд в любое время: тише заголовка, но читаемо на синем — не серым,
   иначе на этом фоне контраст падает ниже нормы. */
.dojazd__note{font-size:16px;line-height:1.5;color:rgba(255,255,255,.92);margin-bottom:22px}
.dojazd__body .btn{min-height:46px;padding:13px 30px}

/* ---------- как проходит ремонт (4 шага) ---------- */
.proces{padding:20px 0}
.proces__grid{list-style:none;margin:28px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:none}
.proces__step{background:var(--panel);border-radius:20px;padding:24px 22px;position:relative}
.proces__num{display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;background:var(--yellow);
  font-weight:700;font-size:18px;color:#111;margin-bottom:14px}
.proces__step h3{font-size:18px;margin-bottom:8px;line-height:1.25}
.proces__step p{font-size:15px;line-height:1.45;color:var(--muted)}

/* ---------- лента марок техники ---------- */
.marki{padding:10px 0 26px}
.marki__track{display:flex;overflow:hidden;margin-top:22px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marki__list{display:flex;flex:0 0 auto;gap:16px;white-space:nowrap;animation:marki-scroll 32s linear infinite}
.marki__list span{display:flex;align-items:center;gap:10px;background:var(--panel);border-radius:var(--pill);
  padding:10px 24px 10px 16px;font-size:16px;font-weight:600;color:var(--blue);flex:0 0 auto}
.marki__list span i{width:10px;height:10px;border-radius:50%;flex:0 0 auto}
@keyframes marki-scroll{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media (prefers-reduced-motion: reduce){.marki__list{animation:none}}

/* ---------- модернизация ---------- */
.modern{padding:10px 0}
.modern .wrap{background:rgba(220,223,232,.8);border-radius:30px;padding:44px 40px}
.modern__in{display:grid;grid-template-columns:1fr 454px;gap:40px;align-items:center;margin-top:26px}
.modern__text{display:flex;flex-direction:column;gap:22px;font-size:16px;line-height:1.5}
.modern__video{width:454px;height:403px;object-fit:contain;border-radius:12px;background:#fff}

/* ---------- галерея кейсов ----------
   Кейс — горизонтальная плашка на всю ширину: слева лента снимков,
   справа марка, описание и жёлтая кнопка. */
.galeria{padding:20px 0}
.case{display:grid;grid-template-columns:506px 1fr;gap:33px;align-items:center;
  background:rgba(249,250,253,.55);border:1px solid var(--line);border-radius:20px;
  padding:21px 33px;margin-bottom:24px}
.case__slider .slider__slide{aspect-ratio:400/225}
.case__body{display:flex;flex-direction:column;gap:14px}
.case__brand{font-size:24px}
.case__text{color:var(--ink);line-height:1.5;font-size:16px}
.case__body .btn{align-self:flex-start;min-height:46px;padding:13px 30px}

/* ---------- что входит в модернизацию ---------- */
/* Две колонки 478 и 482 с зазором 20 — как на прежнем сайте. Форма справа
   лежит на ЖЁЛТОЙ плашке, кнопка внутри неё синяя. */
.zakres{padding:26px 0}
.zakres__in{display:grid;grid-template-columns:478fr 482fr;gap:20px;align-items:start}
.zakres__title{font-size:28px;margin-bottom:28px}
/* Жёлтые кружки с номером — так пронумерованы пункты на прежнем сайте. */
.ticks li{position:relative;padding-left:42px;margin-bottom:20px;line-height:1.4;min-height:32px;
  display:flex;align-items:center}
.ticks__num{position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;
  background:var(--yellow);color:var(--blue);font-weight:700;font-size:17px;
  display:flex;align-items:center;justify-content:center}
.extra-sec{padding:14px 0 26px}
.extra summary{cursor:pointer;font-weight:700;color:var(--blue);list-style:none;
  background:rgb(220,223,232);border-radius:10px;width:300px;max-width:100%;
  height:40px;display:flex;align-items:center;justify-content:center;font-size:24px}
.extra summary::-webkit-details-marker{display:none}
.extra[open] summary{margin-bottom:26px}
.extra__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.extra__grid li{position:relative;padding-left:41px;min-height:46px;display:flex;align-items:center;
  line-height:1.2;font-size:16px}
.extra__grid li::before{
  content:"";position:absolute;left:0;top:8px;width:30px;height:30px;border-radius:50%;
  background:var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17.5 8.5 11.4 15 8.9 12.5'/%3E%3C/svg%3E") center/30px no-repeat;
}
.zakres__note{margin-top:14px;font-size:14px;color:var(--muted);line-height:1.5;text-align:center}

/* ---------- наши преимущества ---------- */
/* Четыре колонки по 230 без рамок и подложек, иконка-галочка 46px слева. */
.zalety{padding:26px 0}
.zalety__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 20px;margin-top:28px}
.zalety__grid li{padding:16px 8px;font-size:16px;line-height:1.3;
  min-height:115px;display:flex;align-items:flex-start;gap:12px}
.zalety__icon{flex:0 0 46px;line-height:0}
.zalety__icon svg{width:46px;height:46px;display:block}

/* ---------- соцсети ---------- */
.social-sec{padding:26px 0}
.social-sec__in{display:grid;grid-template-columns:1fr 608px;gap:32px;align-items:start}
.social-sec__left{display:flex;flex-direction:column}
.tt{min-height:527px;border-radius:20px;background:var(--panel);overflow:hidden;max-width:100%;
  display:flex;align-items:center;justify-content:center;position:relative}
.tt__stub{display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px;text-align:center}
.tt__stub img{width:56px;height:56px;border-radius:50%}
.tt__stub p{font-size:18px;font-weight:700;max-width:280px;line-height:1.3}
/* Заглушку НЕ убираем совсем — она остаётся позади ленты. Если TikTok
   недоступен, медленный или зарезан блокировщиком, на его месте будет не
   серая дыра, а название канала и кнопка «Открыть TikTok». Проверено:
   без внешней сети раньше зияла пустая рамка. */
.tt--loaded{background:var(--panel)}
.tt__stub{position:absolute;inset:0;justify-content:center;z-index:0}
.tt iframe{position:relative;z-index:1}
/* Ленту вставляем своим iframe (их скрипт навязывал русский язык подписей),
   поэтому высоту задаём здесь — сам по себе iframe схлопывается до 150px. */
.tt iframe{width:100%;height:527px;border:0;display:block;border-radius:20px}
.tt .tiktok-embed{margin:0!important;max-width:100%!important;min-width:0!important}
/* пока лента грузится — она не должна занимать место поверх заглушки */
.tt:not(.tt--loaded) .tiktok-embed{position:absolute;opacity:0;pointer-events:none}
.social-sec__sub{color:var(--ink);font-size:16px;margin-top:14px;max-width:310px}
.social{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:32px}
.social a{display:inline-flex;align-items:center;justify-content:center;
  width:39px;height:39px;border-radius:50%;overflow:hidden;
  transition:transform .15s ease}
.social a:hover{transform:translateY(-2px)}
.social img{width:39px;height:39px;display:block}
.social svg{width:22px;height:22px;color:#fff;background:var(--blue);
  border-radius:50%;padding:8px;width:39px;height:39px}
/* На прежнем сайте это вертикальный список: круглая иконка 60px и подпись. */
.social--big{flex-direction:column;align-items:flex-start;gap:15px;margin-top:32px}
.social--big a{width:auto;height:auto;padding:0;border-radius:0;gap:15px;
  background:none;color:var(--ink);align-items:center}
.social--big a:hover{background:none;transform:none}
.social--big a > img{flex:0 0 60px;width:60px;height:60px;border-radius:50%;display:block}
.social--big a > svg{
  flex:0 0 60px;width:60px;height:60px;border-radius:50%;background:var(--blue);
  color:#fff;padding:16px;transition:background .2s;
}
.social--big a:hover > svg{background:var(--blue-dark)}
.social--big a:hover > img{opacity:.9}
.social--big span{font-weight:400;font-size:16px}

/* ---------- канал на YouTube (только украинский сайт) ---------- */
.youtube-sec{padding:26px 0}
/* Текст слева, ролики справа — той же парой, что и в блоке модернизации,
   чтобы страница не сбивалась с ритма. */
.youtube-sec__in{background:var(--panel);border-radius:30px;padding:44px 40px;
  display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
.youtube-sec__text{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.youtube-sec__kicker{font-size:14px;font-weight:700;letter-spacing:.06em;color:var(--blue)}
.youtube-sec .btn{margin-top:8px}
/* Место под плеер держим заранее: он приходит с задержкой, и без этого блок
   подпрыгивал бы, когда ролики наконец загрузились. */
.youtube-sec__player{position:relative;width:100%;aspect-ratio:16/9;
  border-radius:var(--radius-sm);overflow:hidden;background:#dfe3ea;
  display:flex;align-items:center;justify-content:center}
/* Подпись видна, пока плеер не встал (или если YouTube недоступен) —
   вместо пустого прямоугольника. */
.youtube-sec__player::before{content:attr(data-hint);position:absolute;
  padding:0 24px;text-align:center;color:var(--muted);font-size:15px;z-index:0}
.youtube-sec__player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (max-width:768px){
  .youtube-sec__in{grid-template-columns:1fr;padding:28px 20px;gap:22px}
}

/* ---------- о нас ----------
   Плашка ЖЁЛТАЯ (#FFD600), скругление 30px, три снимка в ряд 424/230/230
   высотой 201. Замерено на боевой странице. */
.o-nas{padding:20px 0}
.o-nas .wrap{background:var(--yellow);border-radius:30px;padding:40px 31px}
.o-nas__title{font-size:26px;line-height:1.35;margin-bottom:30px}
.o-nas__imgs{display:grid;grid-template-columns:424fr 230fr 230fr;gap:16px;margin-bottom:24px}
.o-nas__imgs img{width:100%;height:201px;object-fit:cover;border-radius:8px}
.o-nas__text{font-size:16px;line-height:1.5}

/* ---------- FAQ ---------- */
.faq{padding:40px 0 56px}
.faq__list{display:flex;flex-direction:column;gap:10px}
.faq{padding:26px 0 40px}
.faq__list{gap:0}
.faq__item{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0}
.faq__item summary{cursor:pointer;list-style:none;padding:26px 44px 26px 0;position:relative;
  font-weight:700;font-size:18px}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{
  content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);
  font-size:27px;font-weight:400;color:var(--ink);line-height:1;transition:transform .2s;
}
.faq__item[open] summary::after{content:"−"}
.faq__item p{padding:0 0 26px;color:var(--ink);line-height:1.45;font-size:16px}

/* ---------- контакты + форма ---------- */
/* Подвал с контактами: серая подложка, слева реквизиты, справа ЖЁЛТАЯ плашка
   с формой. Города набраны полужирным. Всё замерено на прежнем сайте. */
.kontakt{padding:54px 0 40px;background:rgba(220,223,232,.84)}
.kontakt__in{display:grid;grid-template-columns:1fr 483px;gap:44px;align-items:start}
/* Тот же clamp, что у .sec-title: раньше «KONTAKT» оставался 40px и на телефоне,
   где все прочие заголовки секций уже 24px. */
.kontakt__info h2{font-size:clamp(24px,3vw,40px);margin-bottom:26px}
.kontakt__info p{margin-bottom:12px;font-size:18px}
.kontakt__info a{color:var(--ink)}
.kontakt__info a:hover{text-decoration:underline}
.kontakt__addr-t{margin-top:20px;font-weight:400}
.kontakt__addr{color:var(--ink);font-weight:700}
.kontakt__form{padding:0}

.lead{display:flex;flex-direction:column;gap:14px}
.lead__title{font-size:28px}
.lead__sub{color:var(--ink);font-size:16px;line-height:1.4}
.lead__field{display:flex;flex-direction:column;gap:6px}
.lead__field span{font-size:15px;font-weight:500}
.lead__field i{color:#c00;font-style:normal;margin-left:2px}
/* 44px, а не 40: столько же в кнопке отправки под ними (было 40 против 44 —
   поля и кнопка стояли разной высоты), и это минимум, по которому палец
   уверенно попадает в поле на телефоне. */
.lead__field input{
  height:44px;padding:0 14px;border:1px solid transparent;border-radius:8px;
  font:inherit;background:#fff;transition:border-color .15s,box-shadow .15s;width:100%;
}

/* Форма на жёлтой плашке — так она выглядит и в блоке модернизации, и в подвале. */
/* Жёлтая плашка формы — как на прежнем сайте: подписи полей видны над ними,
   поля белые со скруглением 8, кнопка синяя во всю ширину. */
.lead--yellow{background:var(--yellow);border-radius:30px;padding:26px 20px 24px;text-align:center}
.lead--yellow .lead__field{text-align:left;gap:4px}
.lead--yellow .lead__field span{font-size:15px;font-weight:400;color:#3d3100}
/* Ровно 44px — как поля над ней; скругление общее для всех кнопок (--pill). */
.lead--yellow .lead__submit{width:100%;min-height:44px;padding:10px 20px;border-radius:var(--pill)}
.lead__field input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,45,145,.12)}
.lead__field input.is-bad{border-color:#c00;box-shadow:0 0 0 3px rgba(204,0,0,.1)}
.lead__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lead__submit{margin-top:4px}
.lead__submit[disabled]{opacity:.6;cursor:progress}
.lead__err{color:#c00;font-size:14px;line-height:1.45}
.lead__consent{font-size:14px;color:var(--muted);line-height:1.4;text-align:center}
.lead__consent a{text-decoration:underline}
.lead--yellow .lead__consent{color:#5a4a00}
.zakres__note{margin-top:16px}

/* ---------- подвал ---------- */
/* Подвал в одну строку: раньше ссылки переносились на вторую, а название
   фирмы шло третьей отдельной строкой с разделителем — на телефоне это
   съедало пол-экрана. Теперь всё в один ряд, разделители — точки. */
.ftr{background:var(--blue);color:#fff;padding:14px 0;font-size:14px}
.ftr__in{display:flex;gap:8px 18px;align-items:center;justify-content:center;
  flex-wrap:wrap;line-height:1.5}
.ftr__in > *{position:relative}
.ftr a:hover{text-decoration:underline}
.ftr__legal{display:contents}
.ftr__legal p{margin:0;color:rgba(255,255,255,.65)}

/* ---------- окно согласия на cookies ---------- */
/* Полоса снизу, а не модалка на весь экран: не перекрывает содержимое, значит
   не давит «нажми хоть что-нибудь». Контент читается и без ответа. */
.cc{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;
  box-shadow:0 -8px 32px rgba(11,45,145,.18);border-top:3px solid var(--yellow)}
.cc[hidden]{display:none}
.cc__in{max-width:var(--wrap);margin:0 auto;padding:18px 20px;
  display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cc__body{flex:1 1 420px;min-width:0}
.cc__title{margin:0 0 6px;font-weight:700;font-size:16px;color:var(--ink)}
.cc__text{margin:0;font-size:15px;line-height:1.5;color:var(--muted)}
.cc__text a{color:var(--blue);text-decoration:underline}
.cc__btns{display:flex;gap:12px;flex:0 0 auto}
/* Обе кнопки ОДИНАКОВЫЕ: одинаковый размер, цвет, вес шрифта. «Отклонить»
   не должна выглядеть слабее «Принять» — иначе согласие недействительно. */
.cc__btn{min-width:150px;padding:12px 20px;border:2px solid var(--blue);border-radius:var(--pill);
  background:var(--blue);color:#fff;font:inherit;font-weight:600;font-size:15px;
  cursor:pointer;transition:background .15s ease,color .15s ease}
.cc__btn:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.cc__btn:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
@media (max-width:768px){
  .cc__in{padding:16px;gap:14px}
  .cc__btns{width:100%}
  .cc__btn{flex:1 1 0;min-width:0;padding:12px 8px}
}
/* Полоса висит над низом экрана и целиком закрывала подвал: пока не ответишь,
   до ссылок на политику и регламент не добраться — а сама полоса на политику и
   ссылается. Пока полоса видна, добавляем подвалу столько же высоты снизу.
   Наращиваем именно подвал, а не body: иначе под синей плашкой была бы белая
   щель. Полоса живёт только на польском сайте, на украинском правило молчит. */
body:has(.cc:not([hidden])) .ftr{padding-bottom:160px}
@media (max-width:768px){
  body:has(.cc:not([hidden])) .ftr{padding-bottom:280px}
}

/* ---------- внутренние страницы ---------- */
.page{padding:40px 0 56px}
.page--center{min-height:52vh;display:flex;align-items:center}
.empty{color:var(--muted);font-size:17px;margin:20px 0}

.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin-top:24px}
.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.post-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.post-card__img{display:block;background:var(--panel)}
.post-card__img img{width:100%;aspect-ratio:3/2;object-fit:cover;object-position:center;display:block}
.post-card__body{padding:18px;display:flex;flex-direction:column;gap:8px}
.post-card__body h2,.post-card__body h3{font-size:19px;line-height:1.3}
.post-card__meta{color:var(--muted);font-size:14px}
.post-card__desc{color:var(--ink);font-size:15px;line-height:1.5}

.article h1{font-size:clamp(24px,3vw,36px);margin-bottom:10px}
.article__back{margin-bottom:16px}
.article__back a{color:var(--blue);font-weight:500}
.article__meta{color:var(--muted);font-size:15px;margin-bottom:20px}
.article__cover{width:100%;height:auto;max-height:520px;object-fit:contain;
  background:var(--panel);border-radius:var(--radius);margin-bottom:24px}
.article__cover-wrap{margin:0 0 24px}
.article__cover-wrap .article__cover{margin-bottom:8px}
.article__cover-wrap figcaption{font-size:14px;color:var(--muted);line-height:1.45;text-align:center}
.article__body{display:flex;flex-direction:column;gap:16px;font-size:17px;line-height:1.65}
.article__body h2{font-size:24px;margin-top:10px}
.article__body h3{font-size:20px;margin-top:8px}
.article__body ul{display:flex;flex-direction:column;gap:8px}
.article__body li{position:relative;padding-left:22px}
.article__body li::before{content:"";position:absolute;left:4px;top:10px;width:7px;height:7px;
  border-radius:50%;background:var(--blue)}
.article__body img{border-radius:var(--radius-sm);width:100%;max-height:560px;
  object-fit:contain;background:var(--panel);margin:6px 0}
.tt-video{margin:8px 0;display:flex;flex-direction:column;align-items:center;gap:12px}
.tt-video__stub{display:flex;flex-direction:column;align-items:center;gap:14px;padding:36px 24px;
  background:var(--panel);border-radius:16px;width:100%;max-width:605px}
.tt-video__stub img{width:48px;height:48px;border-radius:50%}
.tt-video--loaded .tt-video__stub{display:none}
.tt-video figcaption{font-size:14px;color:var(--muted);text-align:center;max-width:605px;line-height:1.45}
.tt-video{max-width:100%;overflow:hidden}
.tt-video .tiktok-embed{margin:0!important;max-width:100%!important;min-width:0!important}
.article__cta{display:flex;gap:14px;flex-wrap:wrap;margin:32px 0}
.article__more{font-size:24px;margin-top:20px}

.thanks{position:relative;border-radius:30px;overflow:hidden;min-height:520px;
  display:flex;align-items:center;justify-content:center;text-align:center}
.thanks__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.thanks__body{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;
  gap:22px;color:#fff;padding:40px 24px;max-width:760px}
.thanks__mark{width:76px;height:76px;border-radius:50%;background:var(--blue);color:#fff;
  font-size:38px;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 24px rgba(0,0,0,.35)}
.thanks h1{font-size:clamp(22px,2.8vw,32px);line-height:1.35;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.thanks__body .btn{box-shadow:0 6px 22px rgba(0,0,0,.3)}
/* Страница 404 берёт ту же плашку .thanks, но кладёт внутрь сразу h1/абзац/кнопку,
   без обёртки .thanks__body. Флекс по умолчанию строил их в РЯД: «404» уезжало
   за левый край и обрезалось до «04», кнопка — за правый. Ставим колонку.
   На /thank-you внутри одна обёртка, для неё направление роли не играет. */
.page--center .thanks{flex-direction:column;gap:20px;padding:40px 24px;min-height:360px}
.page--center .thanks h1{font-size:clamp(40px,7vw,64px);color:var(--blue);text-shadow:none}
.page--center .thanks p{color:var(--muted);font-size:17px}

/* ---------- планшет ---------- */
@media (max-width:1024px){
  .uslugi__grid{grid-template-columns:repeat(2,1fr)}
  /* Пропорция 228/471 нарисована под узкую карточку в четыре колонки. Когда
     колонок становится две, карточка вдвое шире, а пропорция оставалась — и
     снимок вытягивался почти на 1000px в высоту (польский сайт). Берём ту же
     пропорцию, что у украинского в двух колонках, чтобы сайты совпали. */
  .uslugi__grid--four .slider__slide{aspect-ratio:458/540}
  .zakres__in,.kontakt__in,.social-sec__in{grid-template-columns:1fr}
  .tt{min-height:420px}
  .zalety__grid{grid-template-columns:repeat(2,1fr)}
  .extra__grid{grid-template-columns:repeat(2,1fr)}
  .proces__grid{grid-template-columns:repeat(2,1fr)}
  .modern__in{grid-template-columns:1fr;gap:24px}
  /* Высота числом, а не auto: ролик грузится отложенно, и до его появления
     браузер держал под него дежурные 150px, а потом раздвигал место до 380 —
     вся страница ниже уезжала на 230px вниз. Из-за этого пункты меню на якоря
     (#galeria, #faq, #kontakt) с других страниц не доезжали до нужного блока:
     браузер целился по старой раскладке и останавливался на 230px выше.
     Выглядит ровно так же: 380px — это то, во что ролик и упирался раньше
     (object-fit:contain задан выше и вписывает кадр в эту рамку). */
  .modern__video{width:100%;height:380px}
  .dojazd__in{grid-template-columns:1fr;padding:24px;min-height:0;text-align:center}
  .dojazd__img{width:100%;height:auto;justify-self:center;order:-1;max-height:260px;object-fit:cover}
  .dojazd__body{max-width:none;padding:20px 0 0}
  .dojazd__body .btn{margin:0 auto}
  .case{grid-template-columns:1fr;gap:18px;padding:20px}
  .o-nas__imgs{grid-template-columns:1fr 1fr}
  .dojazd__in,.zakres__in,.social-sec__in,.kontakt__in{grid-template-columns:1fr}
  .galeria__grid{grid-template-columns:1fr}
  .o-nas__imgs{grid-template-columns:1fr 1fr}
  .o-nas__imgs img{height:200px}
}

/* ---------- мобильный ---------- */
@media (max-width:768px){
  :root{--hdr-h:64px}
  .hdr__burger{display:flex}
  .hdr__logo img{height:42px}
  .hdr__nav{
    position:fixed;top:var(--hdr-h);left:0;right:0;background:#fff;flex-direction:column;
    align-items:stretch;gap:0;padding:8px 20px 20px;box-shadow:0 12px 24px rgba(0,0,0,.12);
    transform:translateY(-130%);transition:transform .25s ease;margin:0;
  }
  .hdr__nav.is-open{transform:translateY(0)}
  .hdr__nav a{padding:14px 0;border-bottom:1px solid var(--line);font-size:17px}
  .hdr__nav a::after{display:none}
  /* 44px — минимум, в который палец попадает не целясь. Кнопка звонка в шапке
     на телефоне вообще главная кнопка сайта, ей быть мелкой нельзя. */
  .hdr__tel{margin-left:auto;padding:10px 16px;font-size:14px;min-height:44px}
  /* Стрелки лент и «дополнительные работы» тоже были меньше 44px. */
  .slider__nav{width:44px;height:44px;font-size:22px}
  .extra summary{height:44px}

  .hero{padding:12px 0 0}
  /* height:380px с десктопа никуда не девался, а min-height его не отменяет:
     полотно оставалось 420px, содержимое перерастало его на 250px и обрезалось
     сверху и снизу (overflow:hidden). На телефоне пропадала первая строка
     заголовка и целиком плашка «GWARANCJA 25 LAT». height:auto — полотно растёт
     под текст. Скругление тоже не занижаем: 30px, как у всех остальных плашек. */
  .hero__box{height:auto;min-height:420px}
  .hero__body{padding:40px 16px}
  .hero__btns{gap:10px;margin:22px 0 16px}
  .hero__btns .btn{width:100%;max-width:320px}

  .uslugi{padding:20px 0}
  .uslugi__grid{grid-template-columns:1fr;gap:20px}
  .slider__slide{aspect-ratio:4/5}
  /* Пропорция 4/5 задумана под телефон. От 560px и выше кладём услуги в два
     столбца: одна карточка в один столбец на планшете занимала 84% экрана —
     человек видел одну услугу вместо четырёх и не понимал, что их больше. */
  .case__slider .slider__slide{aspect-ratio:4/3}
  .zalety__grid{grid-template-columns:1fr}
  .zalety__grid li{min-height:0}
  .extra__grid{grid-template-columns:1fr}
  .proces__grid{grid-template-columns:1fr}
  .extra summary{width:100%}
  .o-nas__imgs{grid-template-columns:1fr}
  .o-nas__imgs img{height:220px}
  .dojazd__in,.zakres__in{padding:20px}
  /* 36px не убавлялись на телефоне: заголовок вставал в три строки высотой
     130px. Прочие заголовки секций тут уже 24px. */
  .dojazd__body h3{font-size:26px;margin-bottom:18px}
  .kontakt__form{padding:20px}
  .case .btn,.social--big a{width:100%}
  .social--big{flex-direction:column;align-items:stretch}
  .article__cta .btn{width:100%}
  .ftr__in{gap:6px 14px;font-size:15px}
}

/* ---------- большой внешний монитор ---------- */
/* На 24-27 дюймах полоса в 980px занимает меньше половины экрана: фото галерей
   выходят по 234px — с такого расстояния на них ничего не разглядеть. От 1800px
   даём содержимому дорасти до 1180. Порог высокий намеренно: ноутбуки и обычные
   мониторы (включая мак Дениса) под него не попадают и выглядят ровно так же,
   как прежний сайт. */
@media (min-width:1800px){
  :root{--wrap:1180px}
  body{font-size:17px}
  .hero__box{height:520px}
  .hero__h1{font-size:38px}
  .hero__sub{font-size:19px}
  .hero__badge{font-size:33px}
}

/* ---------- любое устройство с касанием ---------- */
/* Ширина не говорит о способе ввода: iPad Air это 834px, iPad альбомом — 1024,
   и там пальцы, а не мышь. Поэтому нормой 44px управляет hover:none, а не
   контрольная точка по ширине. На десктопе с мышью размеры остаются как на
   прежнем сайте. */
@media (hover:none){
  .hdr__nav a{min-height:44px;display:flex;align-items:center}
  .slider__nav{width:44px;height:44px}
  .kontakt__info p a{min-height:44px;display:inline-flex;align-items:center}
  .ftr__in a{min-height:44px;display:inline-flex;align-items:center}
}

/* ---------- крупный телефон и планшет книжкой ---------- */
@media (min-width:560px) and (max-width:768px){
  .uslugi__grid{grid-template-columns:repeat(2,1fr)}
  .zalety__grid{grid-template-columns:repeat(2,1fr)}
  .extra__grid{grid-template-columns:repeat(2,1fr)}
  .o-nas__imgs{grid-template-columns:repeat(2,1fr)}
}

/* ---------- узкий телефон (iPhone SE, старые Android) ---------- */
/* На 320px длинная надпись на кнопке («GALERIA ZREALIZOWANYCH PRAC») не
   помещалась даже в полную ширину экрана и распирала страницу вбок: появлялась
   горизонтальная прокрутка. Поля кнопки убавляем и разрешаем надписи
   переноситься на вторую строку — кнопка растёт вниз, а не вбок. */
@media (max-width:430px){
  .btn{padding-left:18px;padding-right:18px;max-width:100%;white-space:normal}
  .cc__btn{padding-left:10px;padding-right:10px}
  /* Номер телефона рвать нельзя: «+38 (063) 755-» на одной строке и «24-45» на
     второй читается как обрывок, а кнопка в шапке становится двухэтажной. */
  .hdr__tel{white-space:nowrap;padding-left:14px;padding-right:14px}
}

/* Палец не попадает по цели меньше 44px — это норматив, а не придирка.
   В подвале ссылки были высотой 21px: телефон, почта, политика. */
@media (max-width:600px){
  .ftr__in a{min-height:44px;display:inline-flex;align-items:center}
  .ftr{padding:8px 0}
  /* Телефон и почта в блоке «Контакты» — те самые ссылки, по которым звонят
     с телефона. Были 21px в высоту. Делаем строкой во всю ширину, чтобы
     промахнуться было невозможно. */
  .kontakt__info p a{min-height:44px;display:inline-flex;align-items:center}
  .kontakt__info p{margin-bottom:4px}
}
/* Ссылки внутри предложения (согласие под формой, текст про cookies) до 44px
   не растягиваем — это разорвало бы абзац. Но область нажатия чуть шире строки
   помогает попасть, а на вид не влияет: у строчного элемента поля сверху и
   снизу не двигают соседние строки. */
.lead__consent a,.cc__text a{padding:5px 2px}

/* ---------- просмотр фотографии во весь экран ---------- */
/* На прежнем сайте снимки в разделе «Галерея» и внутри статей открывались во
   весь экран по клику — на них видно саму работу: шов, трещину, подсиление.
   В лентах услуг вверху главной такого не было, и мы это повторяем: там
   картинки мелкие и подряд, увеличение сбивало бы просмотр.
   Фон светлый полупрозрачный, как у них: снимок на белом читается лучше,
   чем на чёрном, и не выглядит «кинотеатром». */
.lb[hidden]{display:none}
.lb{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;
  background:rgba(233,236,242,.94);backdrop-filter:blur(3px);padding:56px 20px 72px}
.lb__img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;
  border-radius:var(--radius-sm);box-shadow:0 20px 60px rgba(8,20,50,.28);
  animation:lb-in .18s ease-out}
@keyframes lb-in{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:none}}
.lb__x,.lb__prev,.lb__next{position:absolute;display:flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink);
  font-size:26px;line-height:1;box-shadow:0 4px 16px rgba(8,20,50,.18)}
.lb__x{top:12px;right:12px;font-size:30px}
.lb__prev{left:12px;top:50%;transform:translateY(-50%)}
.lb__next{right:12px;top:50%;transform:translateY(-50%)}
.lb__x:hover,.lb__prev:hover,.lb__next:hover{background:#fff}
.lb__prev[disabled],.lb__next[disabled]{opacity:.35;cursor:default}
.lb__cap{position:absolute;left:0;right:0;bottom:0;padding:14px 20px;text-align:center;
  font-size:15px;line-height:1.4;color:var(--ink);background:rgba(255,255,255,.9)}
.lb__cap:empty{display:none}
/* Курсор-лупа только там, где увеличение действительно есть. */
.case__slider .slider__slide img,.article__cover,.article__body img{cursor:zoom-in}
@media (max-width:600px){
  .lb{padding:52px 8px 64px}
  .lb__x,.lb__prev,.lb__next{width:46px;height:46px}
  .lb__prev{left:6px} .lb__next{right:6px}
}

/* ---------- окно «Заказать звонок» ---------- */
/* Открывается с любой кнопки и не уводит человека со страницы — так работал
   прежний сайт. Форма внутри та же, что и в блоке контактов, поэтому заявка
   уходит тем же путём и с теми же рекламными метками. */
.pop[hidden]{display:none}
.pop{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:20px}
.pop__back{position:absolute;inset:0;background:rgba(8,20,50,.55);backdrop-filter:blur(2px)}
.pop__box{position:relative;z-index:1;width:100%;max-width:440px;background:#fff;
  border-radius:var(--radius);padding:28px 24px 24px;box-shadow:0 24px 70px rgba(8,20,50,.35);
  max-height:calc(100vh - 40px);overflow-y:auto;animation:pop-in .18s ease-out}
@keyframes pop-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
/* Крестик крупный: на телефоне это единственный способ закрыть окно, если
   промахнуться по фону. 44px — та же норма, что и у остальных кнопок. */
.pop__x{position:absolute;top:6px;right:8px;width:44px;height:44px;font-size:30px;
  line-height:1;color:var(--muted);border-radius:50%}
.pop__x:hover{background:var(--panel);color:var(--ink)}
.pop .lead{gap:12px}
.pop .lead__title{font-size:24px;margin-bottom:2px}
.pop .lead__sub{color:var(--muted);font-size:15px;line-height:1.45}
body.pop-open{overflow:hidden}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ---------- карта выполненных ремонтов ---------- */
/* Отдельная страница /realizacje. Стили держим тут же, а не отдельным файлом:
   их немного, а лишний запрос на телефоне дороже пары килобайт. */
.mapa{padding:24px 0 60px}
.mapa__lead{font-size:17px;line-height:1.5;color:var(--muted);margin:10px 0 26px;max-width:620px}
/* подсказка про два пальца — только на тач-устройствах, скрипт её и добавляет */
.mapa__hint{font-size:13px;color:var(--muted);margin:8px 0 0;text-align:center}
.mapa__filters{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end;margin-bottom:20px}
.mapa__filter{display:flex;flex-direction:column;gap:6px;font-size:15px}
.mapa__filter span{color:var(--muted)}
.mapa__filter span{font-size:13px;font-weight:600;letter-spacing:.02em;
  text-transform:uppercase;color:var(--muted)}
/* Своя стрелка вместо системной: у каждого браузера она выглядит по-своему,
   и три разных селекта в ряд смотрятся неопрятно. */
.mapa__filter select{min-height:46px;padding:11px 40px 11px 16px;border:1px solid var(--line);
  border-radius:var(--pill);background:#fff;font:inherit;font-weight:500;color:var(--ink);
  min-width:210px;cursor:pointer;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B2D91' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;transition:border-color .15s}
.mapa__filter select:hover{border-color:var(--blue)}
.mapa__count{margin-left:auto;align-self:center;background:var(--blue);color:#fff;
  border-radius:var(--pill);padding:11px 20px;font-weight:600;font-size:15px;white-space:nowrap}

.mapa__box{height:520px;border-radius:var(--radius);overflow:hidden;background:var(--panel);
  position:relative;z-index:0}
/* Пока карту не открыли — на её месте объяснение и кнопка, а не серая дыра. */
.mapa__stub{position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:16px;text-align:center;padding:24px}
.mapa__stub p{color:var(--muted);font-size:16px;max-width:340px;line-height:1.5}
.mapa__empty{color:var(--muted);font-size:17px;padding:40px 0}

/* Точка на карте: свой кружок вместо стандартной «капли» Leaflet — она в
   фирменном синем и показывает, сколько ремонтов в этом городе. */
.mp__pin{background:var(--blue);border:2px solid #fff;border-radius:50%;
  box-shadow:0 2px 8px rgba(8,20,50,.35);display:flex;align-items:center;justify-content:center}
.mp__pin span{color:#fff;font-weight:700;font-size:14px;line-height:1}
/* Всплывашка на карте — это витрина работы, а не подпись к точке: город
   шапкой, дальше что чинили, что было сломано и снимки. */
.leaflet-popup-content-wrapper{border-radius:16px;box-shadow:0 14px 40px rgba(8,20,50,.22)}
.leaflet-popup-content{margin:0;font-family:inherit;width:300px!important}
.leaflet-popup-tip{box-shadow:none}
.mp__head{background:var(--blue);color:#fff;padding:12px 16px;border-radius:16px 16px 0 0}
.mp__place{font-weight:700;font-size:17px;line-height:1.2}
.mp__woj{font-size:13px;opacity:.85;margin-top:2px}
.mp__case{padding:14px 16px}
.mp__case + .mp__case{border-top:1px solid var(--line)}
.mp__title{font-weight:700;font-size:15px;line-height:1.3}
.mp__sub{font-size:14px;color:var(--muted);margin-top:3px}
.mp__dmg{font-size:14px;line-height:1.45;margin-top:8px}
.mp__dmg b{font-weight:600;color:var(--muted)}
.mp__photos{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.mp__photos figure{margin:0;position:relative}
.mp__photos img{width:100%;height:104px;object-fit:cover;border-radius:10px;display:block}
.mp__photos figcaption{position:absolute;left:6px;bottom:6px;background:rgba(255,255,255,.92);
  border-radius:6px;padding:2px 7px;font-size:12px;font-weight:700}
.mp__all{display:inline-block;margin-top:10px;color:var(--blue);font-weight:600;
  font-size:14px;text-decoration:underline}

/* Список кейсов под картой. Это не «мобильный вариант», а полноценный способ
   смотреть: с телефона попасть в мелкую точку тяжело. */
.mapa__list{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:28px}
.case-card{background:var(--panel);border-radius:var(--radius-sm);padding:20px;
  display:flex;flex-direction:column;gap:10px}
.case-card[hidden]{display:none}
.case-card__title{font-size:18px;line-height:1.25}
.case-card__sub{font-size:15px;color:var(--muted)}
.case-card__place{font-size:15px}
.case-card__date{color:var(--muted)}
.case-card__photos{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.case-card__ph{margin:0;position:relative;display:block;cursor:pointer}
.case-card__ph img{width:100%;height:170px;object-fit:cover;border-radius:10px;display:block}
.case-card__ph figcaption{position:absolute;left:8px;bottom:8px;background:rgba(255,255,255,.92);
  border-radius:6px;padding:3px 9px;font-size:14px;font-weight:700}
.case-card__more{font-size:14px;color:var(--muted)}

@media (max-width:768px){
  .mapa__box{height:400px}
  .mapa__list{grid-template-columns:1fr}
  .mapa__count{margin-left:0}
}
/* Планшет: три поля в ряд. Растянутые во всю ширину списки на 768 px выглядят
   как форма анкеты, а не как фильтр — здесь ширины хватает на строку. */
@media (min-width:560px) and (max-width:768px){
  .mapa__filter{flex:1 1 0;min-width:0}
  .mapa__filter select{width:100%;min-width:0}
  .mapa__count{flex-basis:100%;margin-top:4px}
}
/* Телефон: в строку не помещаются — каждый фильтр на свою строку. */
@media (max-width:559px){
  .mapa__filter select{min-width:0;width:100%}
  .mapa__filter{width:100%}
}
.case-card__text{font-size:15px;line-height:1.5;display:flex;flex-direction:column;gap:4px}
.case-card__text span{color:var(--muted)}
/* Кнопка «все фото» — обычная цель для пальца, значит не меньше 44px. */
.case-card__more{align-self:flex-start;background:none;border:0;padding:11px 0;min-height:44px;
  color:var(--blue);font-weight:600;font-size:15px;cursor:pointer;text-decoration:underline;
  display:inline-flex;align-items:center}

/* ---------- страницы выполненных работ ---------- */
.rz{padding:36px 0 60px}
.rz__crumbs{font-size:14px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.rz__crumbs a{color:var(--blue);text-decoration:none}
.rz__crumbs a:hover{text-decoration:underline}
.rz__h1{font-size:clamp(26px,4vw,40px);line-height:1.15;margin:0 0 10px}
.rz__meta,.rz__intro{color:var(--muted);font-size:17px;line-height:1.5;margin:0 0 22px;max-width:760px}
.rz__cities{font-size:15px;color:var(--muted);margin:-10px 0 22px;max-width:760px}
.rz__body{display:grid;gap:28px;margin-bottom:34px}
.rz__text h2{font-size:20px;margin:22px 0 8px}
.rz__text p{font-size:17px;line-height:1.6;margin:0;max-width:760px}
.rz__lead{font-size:18px;line-height:1.6;max-width:760px;color:#222;margin:0 0 6px}
.rz__facts{list-style:disc;margin:18px 0 0;padding-left:22px;font-size:16px;line-height:1.6;color:#333}
.rz__facts li{margin-bottom:4px}
.rz__photos h2{font-size:20px;margin:0 0 12px}
.rz__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.rz__ph{margin:0;border-radius:12px;overflow:hidden;background:#eef1f6}
.rz__ph img{width:100%;height:200px;object-fit:cover;display:block}

.rz__more-h{font-size:20px;margin:34px 0 14px}
.rz__more{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.rz__card{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit;
  background:#f4f6fa;border-radius:14px;padding:12px;transition:background .15s}
.rz__card:hover{background:#e9edf6}
.rz__card img{width:100%;height:150px;object-fit:cover;border-radius:10px;display:block;margin-bottom:4px}
.rz__card__t{font-weight:700;font-size:15px;line-height:1.3}
.rz__card__s{color:var(--muted);font-size:14px}
.rz__back{margin-top:30px;font-size:16px}
.rz__back a{color:var(--blue)}

/* на телефоне снимки крупнее: рассматривать ремонт с экрана 375 px иначе нечем */
@media (max-width:560px){
  .rz__grid{grid-template-columns:1fr 1fr;gap:8px}
  .rz__ph img{height:140px}
  .rz__more{grid-template-columns:1fr}
  .rz__card img{height:180px}
}

/* разделы под картой: марки, техника, воеводства */
.mapa__links{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:26px;
  margin-top:44px;padding-top:28px;border-top:1px solid var(--line)}
.mapa__links h2{font-size:16px;text-transform:uppercase;letter-spacing:.04em;
  color:var(--muted);margin-bottom:12px}
.mapa__links ul{display:flex;flex-direction:column;gap:7px}
.mapa__links a{font-size:16px;color:var(--blue)}
.mapa__links a:hover{text-decoration:underline}
.mapa__links span{color:var(--muted);font-size:14px}
.case-card__link{margin-top:2px}
.case-card__link a{color:var(--blue);font-size:15px;font-weight:500}
.case-card__link a:hover{text-decoration:underline}

/* «чаще всего чиним» — быстрые ссылки на связки марка+техника */
.mapa__combos{margin-top:40px;padding-top:26px;border-top:1px solid var(--line)}
.mapa__combos h2{font-size:16px;text-transform:uppercase;letter-spacing:.04em;
  color:var(--muted);margin-bottom:14px}
.mapa__combos__list{display:flex;flex-wrap:wrap;gap:10px}
.mapa__combos__list a{display:inline-flex;align-items:center;gap:6px;background:#f4f6fa;
  border-radius:300px;padding:9px 16px;font-size:15px;color:var(--blue);min-height:44px}
.mapa__combos__list a:hover{background:#e9edf6}
.mapa__combos__list span{color:var(--muted);font-size:14px}

/* блок на главной: карта работ и статьи */
.glowna-linki{padding:50px 0 60px;background:#f4f6fa}
.glowna-linki__in{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin-top:22px}
.glowna-linki__map{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:18px;
  padding:24px;text-decoration:none;color:inherit;transition:box-shadow .2s}
.glowna-linki__map:hover{box-shadow:var(--shadow)}
/* Мини-карта декоративная: pointer-events отключены, клик проходит на всю
   карточку-ссылку — так же, как и по остальной её площади. */
.glowna-linki__minimap{height:200px;border-radius:14px;overflow:hidden;background:var(--panel, #eef1f7);
  pointer-events:none}
.glowna-linki__minimap .leaflet-control-attribution{font-size:9px;padding:0 4px;background:rgba(255,255,255,.7)}
.glowna-linki__t{font-weight:700;font-size:19px;line-height:1.25;color:var(--blue)}
.glowna-linki__s{color:var(--muted);font-size:16px;line-height:1.5}
.glowna-linki__posts{display:flex;flex-direction:column;gap:10px}
.glowna-linki__posts a{background:#fff;border-radius:14px;padding:16px 18px;text-decoration:none;
  display:block;transition:box-shadow .2s}
.glowna-linki__posts a:hover{box-shadow:var(--shadow)}
.glowna-linki__posts .glowna-linki__t{font-size:16px}
.glowna-linki__all{font-weight:600;color:var(--blue);text-align:center}
/* Справа от карты — реальные примеры работ (фото + название), а не пустые
   ссылки на статьи: с картинкой карточка не выглядит пустой рамкой. */
.glowna-linki__cases{display:flex;flex-direction:column;gap:10px}
.glowna-linki__case{background:#fff;border-radius:14px;padding:10px;text-decoration:none;color:inherit;
  display:flex;align-items:center;gap:12px;transition:box-shadow .2s}
.glowna-linki__case:hover{box-shadow:var(--shadow)}
.glowna-linki__case img{width:64px;height:64px;border-radius:10px;object-fit:cover;flex:0 0 64px;
  background:var(--panel, #eef1f7)}
.glowna-linki__case .glowna-linki__t{font-size:15px;line-height:1.3}
.glowna-linki__case-city{display:block;color:var(--muted);font-size:13px;margin-top:2px}
@media (max-width:768px){
  .glowna-linki__in{grid-template-columns:1fr}
}

/* ссылка на выполненную работу внутри статьи */
.art-case{display:flex;flex-direction:column;gap:4px;background:#f4f6fa;border-left:4px solid var(--blue);
  border-radius:12px;padding:16px 18px;margin:22px 0;text-decoration:none;color:inherit}
.art-case:hover{background:#e9edf6}
.art-case__l{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.art-case__t{font-weight:700;font-size:17px;line-height:1.3;color:var(--blue)}
.art-case__s{color:var(--muted);font-size:15px;line-height:1.45}

/* «стоит прочитать» на странице работы */
.rz__reads{margin-top:34px;padding:20px 22px;background:#f4f6fa;border-radius:14px}
.rz__reads .rz__more-h{margin:0 0 10px}
.rz__reads ul{display:flex;flex-direction:column;gap:8px}
.rz__reads a{color:var(--blue);font-size:16px;line-height:1.4}
.rz__reads a:hover{text-decoration:underline}

/* статьи на странице карты работ */
.mapa__reads{margin-top:40px;padding:22px 24px;background:#f4f6fa;border-radius:16px}
.mapa__reads h2{font-size:16px;text-transform:uppercase;letter-spacing:.04em;
  color:var(--muted);margin-bottom:12px}
.mapa__reads ul{display:flex;flex-direction:column;gap:9px}
.mapa__reads a{color:var(--blue);font-size:16px;line-height:1.4}
.mapa__reads a:hover{text-decoration:underline}
.mapa__reads__all{margin-top:12px;font-weight:600}
/* название работы в карточке — ссылка */
.case-card__title a{color:var(--blue)}
.case-card__title a:hover{text-decoration:underline}
/* Номер детали по каталогу — по нему ищут точечно, поэтому выделяем. */
.rz__kat{margin:10px 0 0;padding:8px 12px;background:var(--panel);border-radius:8px;
  font-size:15px;display:inline-block}

/* ---------- кнопка мессенджера, висящая справа ---------- */
/* Человек читает про ремонт своего бака и хочет спросить цену прямо сейчас,
   а форма и телефон — наверху и внизу страницы. Кнопка всегда под рукой.
   На телефоне поднята выше края: там снизу панель браузера. */
.chat-fab{
  position:fixed;right:18px;bottom:22px;z-index:60;
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 18px 12px 14px;border-radius:999px;
  background:#25D366;color:#fff;text-decoration:none;font-weight:600;font-size:16px;
  box-shadow:0 6px 20px rgba(0,0,0,.22);
  transition:transform .15s ease, box-shadow .15s ease;
}
.chat-fab:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.28)}
.chat-fab:focus-visible{outline:3px solid #0B2D91;outline-offset:3px}
.chat-fab svg{width:26px;height:26px;flex:0 0 26px;color:#fff;fill:currentColor}
/* Украинский сайт зовёт в Viber — фирменный цвет другой. */
html[lang="uk"] .chat-fab{background:#7360F2}

@media (max-width:768px){
  /* На телефоне подпись убираем: кружок с иконкой меньше закрывает текст. */
  .chat-fab{right:14px;bottom:16px;padding:14px;gap:0}
  .chat-fab__t{display:none}
  .chat-fab svg{width:28px;height:28px;flex:0 0 28px}
}
@media (prefers-reduced-motion:reduce){
  .chat-fab{transition:none}
  .chat-fab:hover{transform:none}
}

/* ---------- телефон: порядок блоков главной ---------- */
/* Карта выполненных ремонтов — самое убедительное, что есть на сайте: 124
   реальные работы с городами и фото. Внизу страницы её видели единицы, поэтому
   на телефоне поднимаем её сразу после услуг. На компьютере порядок прежний:
   там до низа доскроллить проще. */
@media (max-width:768px){
  body.is-home #main{display:flex;flex-direction:column}
  body.is-home #main > section{order:5}
  body.is-home #main > .hero{order:1}
  body.is-home #main > .uslugi{order:2}
  body.is-home #main > .glowna-linki{order:3}
}

/* ---------- телефон: соцсети в столбик ---------- */
/* Ссылки растянуты на всю ширину, а содержимое до этой правки центрировалось —
   из-за разной длины подписей иконки стояли лесенкой. Прижимаем к левому краю. */
@media (max-width:768px){
  .social--big a{justify-content:flex-start}
}
