:root{
  --bg: #f6f8fc;
  --bg-soft: #edf4fb;
  --card: rgba(255,255,255,0.86);
  --card-solid: #ffffff;
  --text: #1c2635;
  --muted: #617089;
  --line: #dbe5f0;
  --primary: #2f7df6;
  --primary-dark: #1f65d1;
  --telegram: #27a7e7;
  --shadow: 0 20px 50px rgba(25, 55, 109, 0.10);
  --max-gradient: linear-gradient(135deg, #32C5FF 0%, #5A5BFF 48%, #C44BFF 100%);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter', Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(47,125,246,.10), transparent 28%),
    radial-gradient(circle at top right, rgba(196,75,255,.08), transparent 25%),
    var(--bg);
  line-height:1.6;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(1180px, calc(100% - 32px));margin:0 auto}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(219,229,240,.8);
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(12px);
}
.topbar__inner{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.topbar__items{display:flex;flex-wrap:wrap;gap:10px 18px;color:var(--muted);font-size:14px}
.topbar__items span{position:relative;padding-left:14px}
.topbar__items span::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--primary);
  position:absolute;left:0;top:9px;
}
.topbar__phone{font-weight:800;white-space:nowrap}

.hero{
  position:relative;
  overflow:hidden;
  padding:48px 0 38px;
}
.hero__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(246,248,252,.82), rgba(246,248,252,.94)),
    url('https://tver-septiks.ru/image/catalog/Blog/007/kak-vybrat-septik-tver-dlya-dachi-6.jpg') center/cover no-repeat;
  z-index:0;
}
.hero__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--primary);
  margin-bottom:16px;
}
.eyebrow::before{
  content:"";
  width:28px;height:2px;
  background:linear-gradient(90deg, var(--primary), transparent);
}
.eyebrow--light{color:#dcecff}
.eyebrow--light::before{background:linear-gradient(90deg, #ffffff, transparent)}

.hero h1{
  font-size:clamp(34px, 5vw, 62px);
  line-height:1.04;
  margin:0 0 18px;
  letter-spacing:-.03em;
}
.hero__lead{
  font-size:18px;
  color:var(--muted);
  max-width:760px;
  margin:0 0 22px;
}
.hero__badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding:11px 15px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(219,229,240,.95);
  border-radius:999px;
  box-shadow:0 10px 25px rgba(32,63,119,.05);
  font-size:14px;
  font-weight:600;
}
.chip--accent{
  color:#10335f;
  background:linear-gradient(180deg, #f9fdff 0%, #eaf4ff 100%);
  border-color:#cde2ff;
}
.hero__cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:28px;
}
.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:54px;
  padding:0 22px;
  border-radius:16px;
  font-weight:700;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, opacity .22s ease;
  box-shadow:0 14px 30px rgba(37,73,137,.10);
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(37,73,137,.16);
}
.btn--primary{background:var(--primary);color:#fff}
.btn--primary:hover{background:var(--primary-dark)}
.btn--telegram{background:rgba(39,167,231,.12);color:#0b7eb4;border:1px solid rgba(39,167,231,.25)}
.btn--telegram:hover{background:rgba(39,167,231,.18)}
.btn--telegram-light{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.28)}
.btn--max{background:var(--max-gradient);color:#fff}
.btn--white{background:#fff;color:#1d3660}
.btn--wide{min-width:210px}
.btn--small{min-height:44px;padding:0 16px;border-radius:14px;font-size:14px}

.hero__stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  max-width:720px;
}
.stat{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(219,229,240,.9);
  border-radius:20px;
  padding:18px 16px;
  box-shadow:var(--shadow);
}
.stat strong{display:block;font-size:20px;margin-bottom:4px}
.stat span{display:block;color:var(--muted);font-size:14px}

.hero-card{
  position:relative;
  overflow:hidden;
  border-radius:32px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(219,229,240,.9);
  box-shadow:var(--shadow);
  min-height:620px;
}
.hero-card > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-card__overlay{
  position:relative;
  z-index:1;
  min-height:620px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:22px;
  background:linear-gradient(180deg, rgba(18,36,61,0.02) 0%, rgba(18,36,61,0.62) 100%);
}
.hero-note{
  background:rgba(255,255,255,.92);
  border-radius:22px;
  padding:18px;
  box-shadow:0 18px 45px rgba(30,64,121,.16);
}
.hero-note__label{
  display:inline-block;
  margin-bottom:8px;
  color:var(--primary);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.hero-note strong{display:block;font-size:22px;line-height:1.25;margin-bottom:8px}
.hero-note p{margin:0;color:var(--muted)}
.hero-mini-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.hero-mini-grid div{
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  padding:12px 14px;
  border-radius:16px;
  font-weight:600;
  backdrop-filter:blur(10px);
}

.section{padding:46px 0}
.section--soft{background:linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(238,244,251,.86) 100%)}
.section-head{max-width:820px;margin-bottom:26px}
.section-head.center{text-align:center;margin-left:auto;margin-right:auto}
.section-head h2{
  margin:0 0 12px;
  font-size:clamp(28px, 4vw, 44px);
  line-height:1.1;
  letter-spacing:-.025em;
}
.section-head p{margin:0;color:var(--muted);font-size:17px}

.cards{display:grid;gap:18px}
.cards--4{grid-template-columns:repeat(4, minmax(0,1fr))}
.cards--3{grid-template-columns:repeat(3, minmax(0,1fr))}

.feature-card,.brand-card,.about__content,.about__gallery-main,.service-list,.service-visual,.info-card,.price-table,.price-side-image,.notice,.faq-item,.contact__box,.emergency__box,.step{
  background:rgba(255,255,255,.86);
  border:1px solid rgba(219,229,240,.88);
  box-shadow:var(--shadow);
}

.feature-card{
  border-radius:24px;
  padding:18px;
}
.feature-card__image{
  height:300px;
  border-radius:18px;
  overflow:hidden;
  margin-bottom:16px;
}
.feature-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.icon-badge{
  width:48px;height:48px;
  border-radius:14px;
  background:linear-gradient(180deg, #edf5ff 0%, #dcecff 100%);
  display:grid;place-items:center;
  color:var(--primary);
  font-weight:800;
  margin-bottom:18px;
}
.feature-card h3,.info-card h3,.step h3{margin:0 0 10px;font-size:20px}
.feature-card p,.info-card li,.step p,.price-note,.notice,.faq-item__body{color:var(--muted)}

.brands-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:14px;
}
.brand-card{
  overflow:hidden;
  border-radius:20px;
  text-align:center;
}
.brand-card img{
  width:100%;
  height:230px;
  object-fit:cover;
}
.brand-card span{
  display:block;
  padding:14px 12px;
  font-weight:700;
  color:#29466a;
}

.split{
  display:grid;
  gap:26px;
}
.split--about{
  grid-template-columns:1.08fr .92fr;
  align-items:stretch;
}
.about__content{
  border-radius:28px;
  padding:28px;
}
.about__content p{margin:0 0 14px;color:var(--muted)}
.about__content p:last-child{margin-bottom:0}
.about__gallery{
  display:grid;
  gap:14px;
}
.about__gallery-main{
  border-radius:28px;
  overflow:hidden;
}
.about__gallery-main img{
  width:100%;
  height:100%;
  min-height:320px;
  object-fit:cover;
}
.about__gallery-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.about__gallery-row img{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:20px;
  box-shadow:var(--shadow);
  border:1px solid rgba(219,229,240,.88);
}

.service-layout{
  display:grid;
  grid-template-columns:1fr .9fr 1fr;
  gap:18px;
  align-items:stretch;
}
.service-list{
  border-radius:24px;
  padding:22px 24px;
}
.service-list ul,.info-card ul{
  margin:0;
  padding-left:22px;
}
.service-list li,.info-card li{margin-bottom:10px}
.service-list li:last-child,.info-card li:last-child{margin-bottom:0}
.service-visual{
  position:relative;
  border-radius:26px;
  overflow:hidden;
  min-height:100%;
}
.service-visual img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
}
.service-visual__card{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 45px rgba(30,64,121,.18);
}
.service-visual__card strong{display:block;font-size:20px;margin-bottom:4px}
.service-visual__card span{color:var(--muted)}
.notice{
  border-radius:22px;
  padding:18px 20px;
  margin-top:18px;
  font-size:15px;
}

.info-card{
  border-radius:24px;
  padding:18px;
}
.info-card__img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:18px;
  margin-bottom:16px;
}

.price-wrap{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:18px;
  align-items:start;
}
.price-side-image{
  border-radius:28px;
  overflow:hidden;
}
.price-side-image img{
  width:100%;
  height:100%;
  min-height:100%;
  object-fit:cover;
}
.price-table{
  border-radius:28px;
  overflow:hidden;
}
.price-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  padding:18px 22px;
  border-bottom:1px solid rgba(219,229,240,.9);
  background:rgba(255,255,255,.86);
}
.price-row:nth-child(even){background:rgba(246,250,255,.9)}
.price-row:last-child{border-bottom:0}
.price-row--main{
  background:linear-gradient(180deg, #f6fbff 0%, #eaf4ff 100%) !important;
}
.price-service{font-weight:600}
.price-value{text-align:right;font-weight:800;white-space:nowrap}
.price-value span{
  display:block;
  white-space:normal;
  font-weight:600;
  color:var(--muted);
  font-size:13px;
}
.price-note{
  margin-top:14px;
  font-size:14px;
  color:var(--muted);
}

.emergency__box{
  overflow:hidden;
  border-radius:30px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  padding:0;
  background:linear-gradient(135deg,#1b75f5 0%, #225dd5 100%);
  color:#fff;
}
.emergency__image img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
}
.emergency__content{
  padding:30px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.emergency__content h2{
  margin:0 0 12px;
  font-size:clamp(28px, 4vw, 42px);
  line-height:1.1;
}
.emergency__content p{margin:0;color:rgba(255,255,255,.88)}
.emergency__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.steps{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
.step{
  border-radius:24px;
  padding:18px;
}
.step img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:14px;
}
.step span{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  margin-bottom:16px;
  background:linear-gradient(180deg, #edf5ff 0%, #dcecff 100%);
  color:var(--primary);
  font-weight:800;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.gallery-grid img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:var(--shadow);
  border:1px solid rgba(219,229,240,.88);
  transition:transform .22s ease, box-shadow .22s ease;
}
.gallery-grid img:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 50px rgba(25,55,109,.16);
}

.faq-list{display:grid;gap:14px}
.faq-item{
  border-radius:20px;
  padding:0;
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:20px 22px;
  font-weight:700;
  position:relative;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";
  position:absolute;
  right:22px;
  top:16px;
  font-size:24px;
  line-height:1;
  color:var(--primary);
}
.faq-item[open] summary::after{content:"–"}
.faq-item__body{
  padding:0 22px 20px;
  border-top:1px solid rgba(219,229,240,.88);
}

.contact__box{
  border-radius:30px;
  padding:22px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
  align-items:center;
}
.contact__content h2{
  margin:0 0 12px;
  font-size:clamp(28px, 4vw, 42px);
  line-height:1.1;
}
.contact__content p{margin:0;color:var(--muted)}
.contact__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.contact__image{
  border-radius:24px;
  overflow:hidden;
}
.contact__image img{
  width:100%;
  height:100%;
  min-height:320px;
  object-fit:cover;
}

.footer{
  padding:28px 0 120px;
  color:var(--muted);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-top:1px solid rgba(219,229,240,.9);
  padding-top:20px;
  font-size:14px;
}

.floating-messengers{
  position:fixed;
  right:18px;
  bottom:102px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:80;
}
.floating-messengers__btn{
  width:58px;height:58px;
  border-radius:18px;
  display:grid;place-items:center;
  color:#fff;
  font-weight:800;
  box-shadow:0 18px 35px rgba(30,64,121,.20);
  transition:transform .22s ease, box-shadow .22s ease;
}
.floating-messengers__btn:hover{transform:translateY(-2px) scale(1.02)}
.floating-messengers__btn--tg{background:#27a7e7}
.floating-messengers__btn--max{background:var(--max-gradient)}
.floating-messengers__btn span{font-size:14px;letter-spacing:.04em}

.sticky-cta{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:75;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(219,229,240,.95);
  backdrop-filter:blur(14px);
  box-shadow:0 20px 44px rgba(25,55,109,.16);
  border-radius:22px;
}
.sticky-cta__text{
  display:flex;
  flex-direction:column;
  line-height:1.25;
}
.sticky-cta__text strong{font-size:18px}
.sticky-cta__text span{font-size:13px;color:var(--muted)}
.sticky-cta__actions{display:flex;gap:10px;flex-wrap:wrap}

.feature-card,
.brand-card,
.about__content,
.about__gallery-main,
.service-list,
.service-visual,
.info-card,
.price-table,
.price-side-image,
.notice,
.faq-item,
.contact__box,
.emergency__box,
.step,
.gallery-grid img,
.hero-card,
.stat,
.btn{
  transition:transform .22s ease, box-shadow .22s ease;
}
.feature-card:hover,
.brand-card:hover,
.info-card:hover,
.step:hover,
.gallery-grid img:hover,
.hero-card:hover,
.price-side-image:hover,
.about__gallery-main:hover,
.contact__image:hover{
  transform:translateY(-4px);
}

@media (max-width: 1100px){
  .cards--4{grid-template-columns:repeat(2, minmax(0,1fr))}
  .brands-grid{grid-template-columns:repeat(4, minmax(0,1fr))}
  .split--about,
  .service-layout,
  .price-wrap,
  .contact__box,
  .hero__grid,
  .emergency__box{
    grid-template-columns:1fr;
  }
  .steps{grid-template-columns:repeat(2, minmax(0,1fr))}
}

@media (max-width: 820px){
  
  
  
  
  
  .hero{padding-top:26px}
  .hero__stats,
  .cards--3,
  .gallery-grid{
    grid-template-columns:1fr;
  }
  .price-row{grid-template-columns:1fr}
  .price-value{text-align:left;white-space:normal}
  .sticky-cta{
    left:12px;right:12px;bottom:12px;
    flex-direction:column;
    align-items:stretch;
  }
  .sticky-cta__actions{width:100%}
  .sticky-cta__actions .btn{flex:1}
  .floating-messengers{right:12px;bottom:142px}
}


@media (max-width: 640px){
  .container{width:min(100% - 20px, 1180px)}
  .hero h1{font-size:34px}
  .hero__lead{font-size:16px}
  .hero-mini-grid{grid-template-columns:1fr}
  .cards--4,
  .steps,
  .brands-grid{
    grid-template-columns:1fr;
  }
  .about__gallery-row{grid-template-columns:1fr}
  .btn,.btn--wide{width:100%}
  .hero__cta,.contact__actions,.emergency__actions{width:100%}
  .footer__inner{flex-direction:column;align-items:flex-start}
  .floating-messengers__btn{width:52px;height:52px;border-radius:16px}
  .sticky-cta__text strong{font-size:16px}

  .topbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    padding:8px 0;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(219,229,240,.95);
    box-shadow:0 8px 22px rgba(25,55,109,.10);
  }

  .topbar__inner{
    min-height:auto;
    flex-direction:row;
    align-items:center;
    justify-content:center;
  }

  .topbar__items{
    display:none;
  }

  .topbar__phone{
    display:block;
    width:100%;
    text-align:center;
    background:#2f7df6;
    color:#fff;
    padding:12px 14px;
    border-radius:12px;
    font-size:16px;
    font-weight:700;
    line-height:1.2;
  }

  body{
    padding-top:74px;
  }
}

.brand-card img{
  width:100%;
  height:335px;
  object-fit:cover;
}