/* ===== Сантехник — лендинг. Сине-белый минимализм, mobile-first ===== */
:root{
  --blue:#1d6fc4;
  --blue-dark:#155a9e;
  --blue-light:#e8f1fb;
  --blue-soft:#cfe2f7;
  --green:#25d366;          /* WhatsApp */
  --green-dark:#1da851;
  --text:#1c2b3a;
  --muted:#5a7187;
  --bg:#ffffff;
  --line:#e3ebf4;
  --radius:16px;
  --shadow:0 6px 24px rgba(29,111,196,.10);
  --shadow-lg:0 14px 40px rgba(29,111,196,.16);
  --maxw:1140px;
}

*{box-sizing:border-box;margin:0;padding:0}

/* ===== SVG-иконки ===== */
.ic{width:24px;height:24px;flex:0 0 auto;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ic--btn{width:20px;height:20px;margin-right:2px}
.ic--inline{width:18px;height:18px;vertical-align:-3px;margin-right:6px;color:var(--blue)}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);background:var(--bg);line-height:1.65;font-size:16px;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
ul{list-style:none}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 16px}
.section{padding:48px 0}
.section--tint{background:var(--blue-light)}
.eyebrow{color:var(--blue);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:13px;margin-bottom:10px}
h1,h2,h3{line-height:1.2;font-weight:800;color:var(--text)}
h2{font-size:26px;margin-bottom:14px}
h3{font-size:19px;margin-bottom:8px}
.section > .container > p{color:var(--muted)}
.lead{font-size:17px;color:var(--muted);max-width:760px}
.intro__gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
.intro__gallery figure{margin:0}
.intro__gallery img{width:100%;aspect-ratio:6/5;object-fit:cover;border-radius:12px;display:block;
  box-shadow:var(--shadow)}
.intro__gallery figcaption{font-size:12.5px;color:var(--muted);text-align:center;margin-top:7px}
.center{text-align:center}
.center .lead{margin-left:auto;margin-right:auto}

/* ===== Кнопки ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;padding:14px 22px;border-radius:50px;font-weight:700;font-size:16px;
  border:2px solid transparent;cursor:pointer;transition:.18s ease;text-align:center;
}
.btn--call{background:var(--blue);color:#fff;box-shadow:var(--shadow)}
.btn--call:hover{background:var(--blue-dark)}
.btn--wa{background:var(--green);color:#fff;box-shadow:0 6px 24px rgba(37,211,102,.25)}
.btn--wa:hover{background:var(--green-dark)}
.btn--ghost{background:#fff;color:var(--blue);border-color:var(--blue-soft)}
.btn--ghost:hover{border-color:var(--blue)}
.btn--block{width:100%}

/* ===== Шапка ===== */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);
  backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--line)}
.header__row{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;color:var(--blue)}
.logo img{width:34px;height:34px}
.logo span small{display:block;font-size:11px;color:var(--muted);font-weight:600;letter-spacing:.02em}
.header__actions{display:flex;align-items:center;gap:8px}
.header__phone{display:none;font-weight:800;color:var(--text);font-size:18px;white-space:nowrap}
.header__phone:hover{color:var(--blue)}
.burger{display:flex;flex-direction:column;gap:5px;width:44px;height:44px;align-items:center;
  justify-content:center;background:var(--blue-light);border-radius:12px;border:0;cursor:pointer}
.burger span{display:block;width:22px;height:2px;background:var(--blue);border-radius:2px;transition:.2s}
.burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.nav{position:fixed;inset:64px 0 auto 0;background:#fff;border-bottom:1px solid var(--line);
  transform:translateY(-120%);transition:.25s ease;box-shadow:var(--shadow);z-index:40}
.nav.is-open{transform:translateY(0)}
.nav ul{display:flex;flex-direction:column;padding:8px 16px 16px}
.nav a{display:block;padding:13px 6px;font-weight:600;border-bottom:1px solid var(--line);color:var(--text)}
.nav a:hover{color:var(--blue)}
.nav__cta{display:flex;gap:8px;margin-top:12px}
.nav__cta .btn{flex:1}

/* ===== Hero ===== */
.hero{background:linear-gradient(180deg,#fff 0,var(--blue-light) 100%);padding:34px 0 44px}
.hero__grid{display:grid;gap:26px}
.badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--blue-soft);
  color:var(--blue);font-weight:700;font-size:13px;padding:7px 14px;border-radius:50px;margin-bottom:14px}
.hero h1{font-size:30px;margin-bottom:14px}
.hero h1 .accent{color:var(--blue)}
.hero p{color:var(--muted);font-size:17px;margin-bottom:22px}
.hero__cta{display:flex;flex-direction:column;gap:12px;margin-bottom:22px}
.hero__media img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow-lg)}
.hero__facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:6px}
.fact{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 10px;text-align:center}
.fact b{display:block;color:var(--blue);font-size:20px}
.fact small{color:var(--muted);font-size:12px;line-height:1.3;display:block}

/* ===== Услуги ===== */
.grid{display:grid;gap:16px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;
  box-shadow:var(--shadow);transition:.18s;overflow:hidden}
.card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.card__media{margin:-22px -22px 18px;aspect-ratio:16/10;background:var(--blue-light);overflow:hidden}
.card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.card:hover .card__media img{transform:scale(1.05)}
.card__icon{width:52px;height:52px;border-radius:14px;background:var(--blue-light);color:var(--blue);
  display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.card__icon .ic{width:28px;height:28px;stroke-width:1.7}
.card p{color:var(--muted);font-size:15px}
.card ul{margin-top:10px}
.card ul li{position:relative;padding-left:22px;color:var(--muted);font-size:14.5px;margin-bottom:5px}
.card ul li::before{content:"✓";position:absolute;left:0;color:var(--blue);font-weight:800}

/* ===== Этапы ===== */
.steps{display:grid;gap:16px;counter-reset:step}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 22px 22px 70px;
  position:relative;box-shadow:var(--shadow)}
.step::before{counter-increment:step;content:counter(step);position:absolute;left:18px;top:18px;
  width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;
  display:flex;align-items:center;justify-content:center}
.step p{color:var(--muted);font-size:15px}

/* ===== Преимущества ===== */
.perks{display:grid;gap:16px}
.perk{display:flex;gap:14px;align-items:flex-start}
.perk .ico{flex:0 0 auto;width:46px;height:46px;border-radius:12px;background:#fff;border:1px solid var(--blue-soft);
  color:var(--blue);display:flex;align-items:center;justify-content:center}
.perk .ico .ic{width:24px;height:24px}
.perk p{color:var(--muted);font-size:15px}

/* ===== Отзывы ===== */
.reviews{display:grid;gap:16px}
.review{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.review__stars{color:#f5a623;font-size:16px;letter-spacing:2px;margin-bottom:10px}
.review p{color:var(--text);font-size:15px;margin-bottom:16px}
.review__author{display:flex;align-items:center;gap:12px}
.review__author img{width:46px;height:46px;border-radius:50%}
.review__author b{display:block;font-size:15px}
.review__author small{color:var(--muted);font-size:13px}

/* ===== FAQ ===== */
.faq{display:grid;gap:12px;max-width:840px;margin:0 auto}
.faq__item{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.faq__q{width:100%;text-align:left;background:none;border:0;cursor:pointer;
  padding:18px 50px 18px 18px;font-weight:700;font-size:16px;color:var(--text);position:relative}
.faq__q::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);
  color:var(--blue);font-size:24px;font-weight:700;transition:.2s}
.faq__item.is-open .faq__q::after{content:"−"}
.faq__a{max-height:0;overflow:hidden;transition:max-height .28s ease}
.faq__a p{padding:0 18px 18px;color:var(--muted);font-size:15px}

/* ===== CTA-полоса ===== */
.cta{background:linear-gradient(135deg,var(--blue) 0,var(--blue-dark) 100%);color:#fff;text-align:center;border-radius:0}
.cta h2{color:#fff}
.cta > .container > p{color:#fff;opacity:.95;font-size:16.5px;max-width:640px;margin:0 auto 22px}
.cta__btns{display:flex;flex-direction:column;gap:12px;max-width:420px;margin:0 auto}
.cta .btn--call{background:#fff;color:var(--blue)}
.cta .btn--call:hover{background:var(--blue-light)}

/* ===== SEO-текст ===== */
.seo p{color:var(--muted);font-size:15px;margin-bottom:14px}
.seo h2{font-size:22px}
.seo h3{font-size:17px;margin-top:18px}

/* ===== Футер ===== */
.footer{background:#10243a;color:#c3d3e6;padding:40px 0 96px}
.footer a{color:#fff}
.footer__grid{display:grid;gap:26px}
.footer h4{color:#fff;font-size:16px;margin-bottom:12px}
.footer__contacts li{margin-bottom:10px;color:#c3d3e6}
.footer__contacts b{color:#fff}
.footer__note{border-top:1px solid rgba(255,255,255,.12);margin-top:26px;padding-top:18px;font-size:13px;color:#8da3bd}

/* ===== Плавающие кнопки (моб.) ===== */
.floating{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;gap:0;
  background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.07)}
.floating a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:58px;font-weight:800;font-size:16px}
.floating .f-call{color:var(--blue)}
.floating .f-wa{color:#fff;background:var(--green)}

/* ===== Адаптив ===== */
@media (min-width:600px){
  .hero__cta{flex-direction:row}
  .hero__cta .btn{flex:1}
  .grid{grid-template-columns:repeat(2,1fr)}
  .perks{grid-template-columns:repeat(2,1fr)}
  .cta__btns{flex-direction:row}
}
@media (min-width:768px){
  .section{padding:64px 0}
  h2{font-size:32px}
  .hero h1{font-size:38px}
  .reviews{grid-template-columns:repeat(3,1fr)}
  .footer__grid{grid-template-columns:2fr 1fr 1fr}
  .steps{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:960px){
  .header__phone{display:inline-block}
  .burger{display:none}
  .nav{position:static;transform:none;box-shadow:none;border:0;background:none;flex:1}
  .nav ul{flex-direction:row;justify-content:center;padding:0;gap:6px}
  .nav a{border:0;padding:8px 12px;font-size:15px}
  .nav__cta{display:none}
  .hero__grid{grid-template-columns:1.05fr .95fr;align-items:center}
  .hero h1{font-size:44px}
  .grid{grid-template-columns:repeat(3,1fr)}
  .steps{grid-template-columns:repeat(5,1fr)}
  .floating{display:none}
  .footer{padding-bottom:40px}
  .section--cta-wrap{padding:0}
}
@media (min-width:960px){
  .grid--services{grid-template-columns:repeat(4,1fr)}
}
