
:root{
  --bg:#f7f7f7;
  --text:#171717;
  --muted:#454545;
  --line:#e5e5e5;
  --dark:#171717;
  --purple:#5745c5;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.wrap{width:min(1180px,calc(100% - 100px));margin:0 auto}

.header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(247,247,247,.94);
  backdrop-filter:blur(14px);
}
.header.scrolled{box-shadow:0 10px 24px rgba(0,0,0,.06)}
.header__inner{
  height:76px;
  display:grid;
  grid-template-columns:140px 1fr auto;
  align-items:center;
  gap:24px;
}
.logo img{width:112px}
.nav{display:flex;justify-content:center;gap:42px}
.nav a{font-size:13px;font-weight:700}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 29px;
  border-radius:10px;
  border:0;
  background:#151515;
  color:#fff;
  font:inherit;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:.25s ease;
}
.button:hover{transform:translateY(-2px)}

.hero{
  position:relative;
  height:358px;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 4%, rgba(0,0,0,.07), transparent 170px),
    radial-gradient(circle at 95% 100%, rgba(0,0,0,.04), transparent 190px),
    #f7f7f7;
}
.hero__inner{
  height:100%;
  position:relative;
  display:grid;
  grid-template-columns:47% 53%;
  align-items:center;
}
.hero__copy{
  position:relative;
  z-index:2;
  padding-bottom:4px;
}
.hero h1{
  margin:0 0 20px;
  max-width:500px;
  font-size:43px;
  line-height:.98;
  letter-spacing:-.065em;
  font-weight:900;
}
.hero p{
  max-width:420px;
  margin:0 0 28px;
  color:#333;
  font-size:17px;
  line-height:1.38;
}
.facts{
  display:flex;
  align-items:center;
  gap:0;
  margin-bottom:26px;
}
.fact{
  min-height:42px;
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:8px;
  align-items:center;
  padding:0 17px;
  border-right:1px solid #d2d2d2;
}
.fact:first-child{padding-left:0}
.fact__icon{grid-row:1/3;color:#5b5b5b;font-size:18px}
.fact strong{
  display:block;
  font-size:12px;
  line-height:1.05;
  font-weight:900;
  white-space:nowrap;
}
.fact small{
  display:block;
  margin-top:3px;
  color:#555;
  font-size:10.5px;
  line-height:1.15;
}
.hero__button{width:154px}
.hero__visual{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:56%;
  z-index:1;
}
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .55s ease;
}
.hero-slide.active{opacity:1}
.hero-slide img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:right center;
}
.hero-arrow{
  position:absolute;
  z-index:4;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid #d0d0d0;
  background:rgba(255,255,255,.68);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.hero-arrow--left{left:16px}
.hero-arrow--right{right:16px}
.hero-dots{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:15px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
}
.dot{
  width:8px;
  height:8px;
  border:0;
  border-radius:99px;
  background:#c7c7c7;
  padding:0;
  cursor:pointer;
}
.dot.active{width:24px;background:#111}

.section{padding:28px 0 20px}
.section--compact{padding-top:24px}
.section h2,.contacts h2{
  margin:0 0 22px;
  font-size:28px;
  line-height:1;
  letter-spacing:-.045em;
  font-weight:900;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:17px;
}
.catalog-card{
  height:252px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:14px;
  background:linear-gradient(145deg,#fff,#f4f4f4);
  border:1px solid rgba(0,0,0,.055);
  box-shadow:0 8px 22px rgba(0,0,0,.045);
}
.catalog-card__image{
  height:132px;
  overflow:hidden;
  background:#f5f5f5;
  display:flex;
  align-items:center;
  justify-content:center;
}
.catalog-card__image img{
  display:block;
  width:100%;
  height:100%;
  box-sizing:border-box;
  padding:8px 12px 0;
  object-fit:contain;
  object-position:center center;
  transition:transform .5s ease;
}
.catalog-card:hover .catalog-card__image img{transform:scale(1.04)}
.catalog-card__body{
  height:120px;
  display:flex;
  flex-direction:column;
  padding:16px 18px 15px;
  background:rgba(255,255,255,.74);
  border-top:1px solid rgba(0,0,0,.04);
}
.catalog-card h3{
  margin:0 0 7px;
  font-size:18px;
  line-height:1.1;
  letter-spacing:-.04em;
  font-weight:900;
}
.catalog-card p{
  margin:0;
  color:#3e3e3e;
  font-size:12.5px;
  line-height:1.32;
}
.catalog-card__bottom{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.catalog-card__bottom span{
  font-size:12.5px;
  font-weight:900;
}
.catalog-card__bottom a{
  font-size:24px;
  line-height:1;
}

.steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(6,1fr);
}
.steps:before{
  content:"";
  position:absolute;
  top:42px;
  left:7%;
  right:7%;
  border-top:2px dashed #cfcfcf;
}
.step{
  position:relative;
  z-index:1;
  text-align:center;
  padding:0 8px;
}
.icon{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  margin:0 auto 12px;
  border:1.5px solid #c8c8c8;
  border-radius:50%;
  background:#fff;
}
.icon svg{
  width:30px;
  height:30px;
  fill:none;
  stroke:#222;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.step h3{
  margin:0 0 7px;
  font-size:14px;
  font-weight:900;
}
.step p{
  margin:0;
  color:#444;
  font-size:11.5px;
  line-height:1.33;
}

.methods{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:17px;
}
.methods article{
  min-height:100px;
  display:grid;
  grid-template-columns:55px 1fr;
  align-items:center;
  gap:13px;
  padding:18px 20px;
  border-radius:13px;
  background:linear-gradient(145deg,#fff,#f4f4f4);
  border:1px solid rgba(0,0,0,.055);
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}
.method-icon svg{
  width:42px;
  height:42px;
  fill:none;
  stroke:var(--purple);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.methods h3{
  margin:0 0 5px;
  font-size:15px;
  font-weight:900;
}
.methods p{
  margin:0;
  color:#444;
  font-size:11.5px;
  line-height:1.32;
}

.cases{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:19px;
}
.case{
  min-height:205px;
  display:grid;
  grid-template-columns:190px 1fr;
  overflow:hidden;
  border-radius:14px;
  background:linear-gradient(145deg,#fff,#f4f4f4);
  border:1px solid rgba(0,0,0,.055);
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}
.case__image{
  display:grid;
  place-items:center;
  background:#f2f2f2;
  overflow:hidden;
}
.case__image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
}
.case__body{
  padding:22px 22px 20px;
}
.case h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1;
  letter-spacing:-.04em;
  font-weight:900;
}
.case p{
  margin:0 0 10px;
  color:#333;
  font-size:12.5px;
  line-height:1.35;
}
.case ul{
  margin:0 0 13px;
  padding:0;
  list-style:none;
  color:#444;
  font-size:12px;
  line-height:1.58;
}
.case li:before{content:"✓";font-weight:900;margin-right:7px}
.case a{
  display:inline-flex;
  padding:8px 14px;
  border:1px solid #1a1a1a;
  border-radius:7px;
  font-size:12px;
  font-weight:800;
}
.center{text-align:center;margin-top:18px}

.contacts{
  margin-top:26px;
  padding:31px 0 34px;
  background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.96));
}
.contacts__grid{
  display:grid;
  grid-template-columns:.9fr 1.35fr .8fr;
  gap:22px;
  align-items:start;
}
.contacts h2{margin-bottom:12px}
.contacts p{
  margin:0 0 17px;
  color:#444;
  font-size:13px;
  line-height:1.45;
}
.contacts ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
  font-size:15px;
  font-weight:800;
}
form{
  display:grid;
  gap:10px;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
input,textarea{
  width:100%;
  border:1px solid #dedede;
  border-radius:7px;
  padding:13px 14px;
  background:#fff;
  font:inherit;
  font-size:13px;
}
textarea{
  height:94px;
  resize:vertical;
}
form .button{width:100%}
aside{
  display:grid;
  gap:12px;
}
aside div{
  min-height:92px;
  padding:20px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(0,0,0,.055);
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}
aside b{
  display:block;
  margin-bottom:7px;
  font-size:14px;
}
aside p{
  font-size:12px;
  line-height:1.35;
}

@media(max-width:1000px){
  .wrap{width:min(100% - 42px,1180px)}
  .catalog-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr);row-gap:25px}
  .steps:before{display:none}
  .methods{grid-template-columns:repeat(2,1fr)}
  .contacts__grid{grid-template-columns:1fr 1fr}
  aside{grid-column:1/-1;grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .header__inner{grid-template-columns:120px 1fr}
  .nav{display:none}
  .header .button{justify-self:end}
  .hero{height:auto;padding:38px 0 40px}
  .hero__inner{display:block}
  .hero__visual{position:relative;width:100%;height:260px;margin-top:20px}
  .hero h1{font-size:36px}
  .facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .fact{border:1px solid #ddd;border-radius:10px;padding:10px;background:#fff}
  .catalog-grid,.methods,.cases,.contacts__grid,.form-row{grid-template-columns:1fr}
  aside{grid-template-columns:1fr}
  .case{grid-template-columns:1fr}
}


/* v10 — controlled fixes only */
.header{
  position:sticky;
  top:0;
  z-index:100;
  overflow:visible;
}
.header__inner{
  grid-template-columns:140px 1fr auto auto;
  position:relative;
  z-index:3;
}
.logo img{width:112px;height:auto}
.header-contacts{
  display:grid;
  gap:5px;
  justify-items:start;
  white-space:nowrap;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
}
.header-contacts a{
  display:flex;
  align-items:center;
  gap:8px;
  transition:color .25s ease;
}
.header-contacts a:hover{color:#666}
.header-contact-icon{
  width:16px;
  height:16px;
  display:grid;
  place-items:center;
  flex:0 0 16px;
}
.header-contact-icon svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:#171717;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.nav a{position:relative;padding:6px 0}
.nav a::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:-6px;
  width:100%;
  height:2px;
  border-radius:999px;
  background:#151515;
  transform:translateX(-50%) scaleX(0);
  transform-origin:center;
  transition:transform .28s ease;
}
.nav a:hover::after{transform:translateX(-50%) scaleX(1)}

.site-cloud{
  position:absolute;
  pointer-events:none;
  user-select:none;
  z-index:1;
  display:block;
}

.contacts{
  position:relative;
  overflow:hidden;
}
.site-cloud--bottom{
  right:0;
  bottom:0;
  width:275px;
  height:250px;
  object-fit:cover;
  object-position:right bottom;
}
.contacts__grid{position:relative;z-index:3}

/* Banner: no card, no white rectangle, no source-image background */
.hero{
  background:#f7f7f7;
}
.hero__visual{
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
}
.hero-slide img{
  object-fit:contain;
  object-position:right center;
  background:transparent;
}

/* Keep the four info blocks in the original v6 alignment */
.facts{
  display:flex;
  align-items:center;
  gap:0;
  margin-bottom:26px;
  flex-wrap:nowrap;
}
.fact{
  min-height:42px;
  padding:0 17px;
  grid-template-columns:auto 1fr;
}
.fact:first-child{padding-left:0}
.fact:first-child .fact__icon{grid-row:1/3}

/* Catalog: preserve the approved v6 pictures, but fit them cleanly */
.catalog-card__image{
  height:148px;
  background:#f5f5f5;
  padding:6px 8px;
}
.catalog-card__image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#f5f5f5;
  image-rendering:auto;
}
.catalog-card:hover .catalog-card__image img{transform:scale(1.045)}
.catalog-card{height:260px}
.catalog-card__body{height:112px}

/* Approved hover interactions */
.step,.methods article{
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.step{
  border-radius:14px;
  padding:10px 8px 12px;
}
.step:hover{
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
  background:rgba(255,255,255,.82);
}
.methods article:hover{
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}
.method-icon svg{stroke:#171717}

@media(max-width:1000px){
  .header__inner{grid-template-columns:120px 1fr auto}
  .header-contacts{display:none}
  
  .site-cloud--bottom{width:220px;height:200px}
}


/* v11 — exact uploaded PNG logo and cloud artwork */
.header{
  background:rgba(247,247,247,.86);
}
.logo{
  position:relative;
  z-index:4;
}
.logo img{
  width:112px;
  height:auto;
  object-fit:contain;
}
.site-cloud{
  position:absolute;
  pointer-events:none;
  user-select:none;
  display:block;
  z-index:1;
}

.contacts{
  position:relative;
  overflow:hidden;
}
.site-cloud--bottom{
  right:0;
  bottom:0;
  width:390px;
  height:auto;
  object-fit:contain;
  object-position:right bottom;
  transform:none;
}
.header__inner,
.contacts__grid{
  position:relative;
  z-index:3;
}
@media(max-width:1000px){
  
  .site-cloud--bottom{width:310px}
}

/* v12: upper cloud belongs to hero and stays behind the headline */
.hero{
  position:relative;
  isolation:isolate;
}

.hero__inner{
  position:relative;
  z-index:2;
}
.hero__copy{
  position:relative;
  z-index:3;
}
.hero__visual{
  z-index:1;
}


/* v13 — верхнее облако находится внутри баннера, за заголовком */
.header > 

.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}

.hero > 

.hero__inner{
  position:relative;
  z-index:2;
}

.hero__copy{
  position:relative;
  z-index:3;
}

.hero__visual{
  position:absolute;
  z-index:1;
}

@media(max-width:1000px){
  .hero > 
}


/* =========================================================
   v15 — ЧИСТАЯ ФИКСИРОВАННАЯ СЕТКА БАННЕРА
   Остальные разделы сайта не затрагиваются
   ========================================================= */

@media (min-width: 761px) {
  .hero {
    position: relative !important;
    height: 430px !important;
    min-height: 430px !important;
    padding: 0 !important;
    overflow: hidden !important;
    isolation: isolate;
    background: #f7f7f7 !important;
  }

  .hero .hero__inner {
    position: relative !important;
    z-index: 2 !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%) !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .hero .hero__copy {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 !important;
    padding: 0 18px 0 0 !important;
    transform: none !important;
  }

  .hero h1 {
    max-width: 540px !important;
    margin: 0 0 18px !important;
    font-size: 46px !important;
    line-height: 0.98 !important;
    letter-spacing: -0.06em !important;
  }

  .hero p {
    max-width: 490px !important;
    margin: 0 0 26px !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
  }

  .hero .facts {
    width: 100% !important;
    max-width: 555px !important;
    margin: 0 0 28px !important;
    display: grid !important;
    grid-template-columns: 0.86fr 1.08fr 1.08fr 1.25fr !important;
    align-items: stretch !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
  }

  .hero .fact {
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 0 !important;
    border-right: 1px solid #d2d2d2 !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 7px !important;
    align-content: center !important;
    align-items: center !important;
  }

  .hero .fact:first-child {
    padding-left: 0 !important;
  }

  .hero .fact:last-child {
    border-right: 0 !important;
    padding-right: 0 !important;
  }

  .hero .fact__icon {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .hero .fact strong {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }

  .hero .fact small {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: block !important;
    min-width: 0 !important;
    margin: 3px 0 0 !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .hero .hero__button {
    width: 154px !important;
    margin: 0 !important;
  }

  .hero .hero__visual {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .hero .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .hero .hero-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: right center !important;
    background: transparent !important;
  }

  .hero .hero-dots {
    left: 50% !important;
    bottom: 15px !important;
  }
}

/* Нормальная компоновка баннера на узких экранах, без влияния на остальной сайт */
@media (max-width: 760px) {
  .hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 34px 0 38px !important;
  }

  .hero .hero__inner {
    display: block !important;
    height: auto !important;
  }

  .hero .hero__copy {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .hero .facts {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .hero .fact {
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.8) !important;
  }

  .hero .hero__visual {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 260px !important;
    margin-top: 22px !important;
  }
}


/* =========================================================
   v18 — ФИКСИРОВАННЫЕ БЛОКИ БАННЕРА
   Картинки не могут влиять на сетку текста и преимуществ
   ========================================================= */

@media (min-width: 1100px) {
  .hero .hero__inner {
    grid-template-columns: 555px minmax(0, 1fr) !important;
  }

  .hero .hero__copy {
    width: 555px !important;
    min-width: 555px !important;
    max-width: 555px !important;
  }

  .hero .facts {
    width: 555px !important;
    min-width: 555px !important;
    max-width: 555px !important;
    height: 50px !important;
    grid-template-columns: 112px 138px 138px 167px !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  .hero .fact {
    width: auto !important;
    min-width: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    align-content: center !important;
  }

  .hero .fact:first-child {
    padding-left: 0 !important;
  }

  .hero .fact:last-child {
    padding-right: 0 !important;
  }

  .hero .fact strong,
  .hero .fact small {
    white-space: nowrap !important;
  }

  .hero .hero__visual {
    min-width: 0 !important;
  }

  .hero .hero-slide img {
    object-fit: contain !important;
    object-position: right center !important;
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  .hero .hero__inner {
    grid-template-columns: 52% 48% !important;
  }

  .hero .facts {
    width: 100% !important;
    max-width: none !important;
    height: 52px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  .hero .fact {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 6px !important;
    grid-template-columns: 17px minmax(0, 1fr) !important;
    column-gap: 4px !important;
  }

  .hero .fact:first-child { padding-left: 0 !important; }
  .hero .fact:last-child { padding-right: 0 !important; }

  .hero .fact__icon {
    font-size: 14px !important;
  }

  .hero .fact strong {
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  .hero .fact small {
    font-size: 8.8px !important;
    line-height: 1.05 !important;
  }
}


/* =========================================================
   v19 — ТЕКСТ В БЛОКАХ БАННЕРА НЕ ВЫХОДИТ ЗА РАЗДЕЛИТЕЛИ
   Только эта локальная правка
   ========================================================= */

@media (min-width: 761px) {
  .hero .fact {
    overflow: hidden !important;
  }

  .hero .fact strong,
  .hero .fact small {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

@media (min-width: 1100px) {
  .hero .facts {
    height: 58px !important;
  }

  .hero .fact {
    height: 58px !important;
    min-height: 58px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .hero .fact strong {
    font-size: 11.5px !important;
    line-height: 1.08 !important;
  }

  .hero .fact small {
    font-size: 9.5px !important;
    line-height: 1.1 !important;
    margin-top: 3px !important;
  }
}


/* =========================================================
   v20 — ШИРЕ ПОЛОСА ИНФОРМАЦИОННЫХ БЛОКОВ В БАННЕРЕ
   ========================================================= */

@media (min-width: 1100px) {
  .hero .facts {
    width: 620px !important;
    max-width: none !important;
    grid-template-columns: 1.18fr 1.08fr 1.08fr 1.42fr !important;
  }

  .hero .fact:first-child {
    padding-right: 14px !important;
  }
}


/* =========================================================
   Меню по порядку разделов + отступ якорей от липкого хедера
   ========================================================= */

html {
  scroll-behavior: smooth;
}

#catalog,
#production,
#services,
#cases,
#contacts {
  scroll-margin-top: 110px;
}

@media (max-width: 760px) {
  #catalog,
  #production,
  #services,
  #cases,
  #contacts {
    scroll-margin-top: 88px;
  }
}


/* =========================================================
   v25 — мобильная адаптация. Десктоп v24 не меняется.
   ========================================================= */

.mobile-menu-toggle{
  display:none;
}

/* Планшеты */
@media (max-width: 900px) {
  .wrap{
    width:min(100% - 32px, 1180px) !important;
  }

  .section{
    padding-top:34px;
    padding-bottom:22px;
  }

  .section h2,
  .contacts h2{
    font-size:30px;
  }

  .catalog-grid{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }

  .steps{
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:18px 10px;
  }

  .methods{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }

  .cases{
    grid-template-columns:1fr !important;
  }

  .contacts__grid{
    grid-template-columns:1fr 1fr !important;
  }

  .contacts__grid aside{
    grid-column:1 / -1;
    grid-template-columns:1fr 1fr;
  }
}

/* Телефоны */
@media (max-width: 760px) {
  body{
    overflow-x:hidden;
  }

  .wrap{
    width:calc(100% - 28px) !important;
  }

  /* Header */
  .header{
    overflow:visible !important;
  }

  .header__inner{
    position:relative !important;
    height:66px !important;
    display:grid !important;
    grid-template-columns:auto 1fr auto !important;
    gap:10px !important;
    align-items:center !important;
  }

  .logo img{
    width:92px !important;
  }

  .header-contacts{
    display:none !important;
  }

  .header .button{
    height:40px !important;
    padding:0 15px !important;
    font-size:12px !important;
    justify-self:end !important;
  }

  .mobile-menu-toggle{
    width:42px;
    height:42px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:0;
    border:1px solid #d8d8d8;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    position:relative;
    z-index:102;
  }

  .mobile-menu-toggle span{
    width:18px;
    height:2px;
    border-radius:99px;
    background:#171717;
    transition:transform .25s ease, opacity .25s ease;
  }

  .mobile-menu-toggle.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }
  .mobile-menu-toggle.active span:nth-child(2){
    opacity:0;
  }
  .mobile-menu-toggle.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  .nav{
    position:absolute !important;
    top:66px;
    left:-14px;
    right:-14px;
    display:grid !important;
    gap:0 !important;
    padding:8px 14px 14px;
    background:rgba(247,247,247,.98);
    backdrop-filter:blur(14px);
    border-top:1px solid rgba(0,0,0,.05);
    box-shadow:0 14px 30px rgba(0,0,0,.09);
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    pointer-events:none;
    transition:.25s ease;
    z-index:101;
  }

  .nav.open{
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
  }

  .nav a{
    display:block;
    padding:13px 4px !important;
    border-bottom:1px solid #e4e4e4;
    font-size:14px !important;
  }

  .nav a:last-child{
    border-bottom:0;
  }

  .nav a::after{
    display:none !important;
  }

  /* Hero */
  .hero{
    height:auto !important;
    min-height:0 !important;
    padding:30px 0 28px !important;
    overflow:hidden !important;
  }

  .hero .hero__inner{
    height:auto !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
  }

  .hero .hero__copy{
    width:100% !important;
    max-width:none !important;
    padding:0 !important;
  }

  .hero h1{
    max-width:none !important;
    margin:0 0 16px !important;
    font-size:38px !important;
    line-height:1 !important;
    letter-spacing:-.055em !important;
  }

  .hero p{
    max-width:none !important;
    margin:0 0 22px !important;
    font-size:16px !important;
    line-height:1.42 !important;
  }

  .hero .facts{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:auto !important;
    margin:0 0 20px !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    overflow:visible !important;
  }

  .hero .fact{
    width:auto !important;
    height:auto !important;
    min-height:72px !important;
    padding:12px !important;
    display:grid !important;
    grid-template-columns:22px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    column-gap:8px !important;
    align-content:center !important;
    border:1px solid #ddd !important;
    border-radius:12px !important;
    background:#fff !important;
    overflow:hidden !important;
  }

  .hero .fact:first-child,
  .hero .fact:last-child{
    padding:12px !important;
  }

  .hero .fact__icon{
    grid-column:1 !important;
    grid-row:1 / 3 !important;
    align-self:center !important;
    font-size:17px !important;
  }

  .hero .fact strong{
    grid-column:2 !important;
    grid-row:1 !important;
    margin:0 !important;
    font-size:12px !important;
    line-height:1.12 !important;
    white-space:normal !important;
  }

  .hero .fact small{
    grid-column:2 !important;
    grid-row:2 !important;
    margin-top:4px !important;
    font-size:10.5px !important;
    line-height:1.18 !important;
    white-space:normal !important;
  }

  .hero .hero__button{
    width:100% !important;
    max-width:220px !important;
    height:48px !important;
  }

  .hero .hero__visual{
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:270px !important;
    margin:22px 0 0 !important;
    order:2;
  }

  .hero .hero-slide{
    inset:0 !important;
  }

  .hero .hero-slide img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center !important;
  }

  .hero-arrow{
    top:auto !important;
    bottom:126px !important;
    width:34px !important;
    height:34px !important;
  }

  .hero-arrow--left{
    left:8px !important;
  }

  .hero-arrow--right{
    right:8px !important;
  }

  .hero-dots{
    bottom:10px !important;
  }

  /* Sections */
  .section{
    padding:34px 0 18px !important;
  }

  .section--compact{
    padding-top:28px !important;
  }

  .section h2,
  .contacts h2{
    margin-bottom:18px !important;
    font-size:30px !important;
    line-height:1.04 !important;
  }

  /* Catalog */
  .catalog-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .catalog-card{
    height:auto !important;
    min-height:310px;
  }

  .catalog-card__image{
    height:190px !important;
    padding:10px 12px 0 !important;
  }

  .catalog-card__image img{
    padding:0 !important;
    object-fit:contain !important;
  }

  .catalog-card__body{
    height:auto !important;
    min-height:118px;
    padding:16px 17px 15px !important;
  }

  .catalog-card h3{
    font-size:19px !important;
  }

  .catalog-card p{
    font-size:13px !important;
  }

  /* Full cycle */
  .steps{
    grid-template-columns:1fr 1fr !important;
    gap:12px !important;
  }

  .steps:before{
    display:none !important;
  }

  .step{
    min-height:170px;
    padding:16px 10px 14px !important;
    border:1px solid rgba(0,0,0,.055);
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,.035);
  }

  .step:hover,
  .methods article:hover,
  .catalog-card:hover .catalog-card__image img{
    transform:none !important;
  }

  .icon{
    width:60px !important;
    height:60px !important;
  }

  .step h3{
    font-size:15px !important;
  }

  .step p{
    font-size:11.5px !important;
  }

  /* Branding */
  .methods{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .methods article{
    min-height:96px !important;
    grid-template-columns:52px 1fr !important;
    padding:16px 18px !important;
  }

  /* Cases */
  .cases{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .case{
    display:block !important;
    min-height:0 !important;
  }

  .case__image{
    height:230px !important;
  }

  .case__image img{
    padding:14px !important;
  }

  .case__body{
    padding:20px 18px 18px !important;
  }

  .center .button{
    width:100%;
    max-width:280px;
  }

  /* Contacts */
  .contacts{
    margin-top:28px !important;
    padding:34px 0 38px !important;
  }

  .contacts__grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  .contacts ul{
    font-size:14px !important;
  }

  .form-row{
    grid-template-columns:1fr !important;
  }

  input,
  textarea{
    font-size:16px !important;
  }

  .contacts__grid aside{
    grid-column:auto !important;
    grid-template-columns:1fr !important;
  }

  .site-cloud--bottom{
    width:230px !important;
    opacity:.55;
  }

  #catalog,
  #production,
  #services,
  #cases,
  #contacts{
    scroll-margin-top:82px !important;
  }
}

/* Очень узкие телефоны */
@media (max-width: 390px) {
  .header__inner{
    grid-template-columns:auto 1fr auto !important;
  }

  .header .button{
    padding:0 12px !important;
  }

  .hero h1{
    font-size:34px !important;
  }

  .hero .facts{
    grid-template-columns:1fr !important;
  }

  .steps{
    grid-template-columns:1fr !important;
  }

  .step{
    min-height:0;
  }

  .hero .hero__visual{
    height:230px !important;
  }

  .case__image{
    height:205px !important;
  }
}


/* =========================================================
   v26 — баннер спокойнее: без автосмены + верхнее выравнивание
   ========================================================= */

.hero .facts{
  align-items:stretch !important;
}

.hero .fact{
  align-content:start !important;
  align-items:start !important;
}

.hero .fact__icon{
  align-self:start !important;
}

@media (min-width: 761px){
  .hero .fact{
    padding-top:8px !important;
  }
}

@media (max-width: 760px){
  .hero .fact{
    align-content:start !important;
    padding-top:12px !important;
  }
}


/* =========================================================
   v27 — мобильный hero:
   заголовок → подзаголовок → одежда → преимущества → кнопка
   Десктоп: автосмена каждые 3 секунды
   Мобильный: ручное перелистывание + свайп
   ========================================================= */

@media (max-width: 760px) {
  .hero .hero__inner{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-areas:
      "copy"
      "visual" !important;
  }

  .hero .hero__copy{
    display:contents !important;
  }

  .hero h1{
    grid-area:auto !important;
    order:1 !important;
  }

  .hero .hero__copy > p{
    order:2 !important;
  }

  .hero .hero__visual{
    grid-area:visual !important;
    order:3 !important;
    height:250px !important;
    margin:14px 0 18px !important;
  }

  .hero .facts{
    order:4 !important;
    margin:0 0 18px !important;
  }

  .hero .hero__button{
    order:5 !important;
    margin:0 auto !important;
  }

  .hero h1,
  .hero .hero__copy > p,
  .hero .facts,
  .hero .hero__button{
    width:100% !important;
  }

  .hero-arrow{
    top:auto !important;
    bottom:unset !important;
  }

  .hero-arrow--left{
    left:8px !important;
  }

  .hero-arrow--right{
    right:8px !important;
  }

  .hero-dots{
    position:absolute !important;
    left:50% !important;
    bottom:8px !important;
    transform:translateX(-50%) !important;
  }

  .hero .hero__visual{
    position:relative !important;
  }

  .hero .hero__visual .hero-arrow,
  .hero .hero__visual .hero-dots{
    pointer-events:auto;
  }
}


@media (max-width: 760px) {
  .hero{
    position:relative !important;
  }

  .hero-arrow{
    top:305px !important;
    bottom:auto !important;
    z-index:8 !important;
  }

  .hero-dots{
    bottom:auto !important;
    top:540px !important;
    z-index:8 !important;
  }
}

@media (max-width: 390px) {
  .hero-arrow{
    top:285px !important;
  }

  .hero-dots{
    top:500px !important;
  }
}

.catalog-card__link{
  width:34px;height:34px;display:grid;place-items:center;border:1px solid #d8d8d8;border-radius:50%;
  text-decoration:none;transition:.25s ease;background:#fff;
}
.catalog-card:hover .catalog-card__link{background:#111;color:#fff;border-color:#111;transform:translateX(2px)}

/* v30 — кликабельны только фото и стрелка каталога */
.catalog-card__image-link{
  cursor:pointer;
  text-decoration:none;
}
.catalog-card__image-link:focus-visible,
.catalog-card__link:focus-visible{
  outline:2px solid #111;
  outline-offset:3px;
}

/* WordPress integration */
.section-lead{max-width:760px;margin:-18px 0 28px;color:#555;font-size:14px;line-height:1.55}
.icon{font-size:28px;font-weight:500;line-height:1}
.method-icon{display:grid;place-items:center;color:#171717;font-size:31px;line-height:1}
.case__details p{margin:0 0 9px}
.mika-content-page{min-height:65vh;padding-top:58px;padding-bottom:70px}
.mika-content-page>h1{font-size:clamp(38px,6vw,72px);line-height:.95;letter-spacing:-.055em}
.mika-content-page img{max-width:100%;height:auto}
.mika-post-list{display:grid;gap:18px}
.mika-post-list article{padding:24px;border:1px solid #e2e2e2;border-radius:14px;background:#fff}
.mika-post-list h2{margin-top:0}
.category-editor-content{max-width:900px}
.category-editor-content>*:first-child{margin-top:0}
.category-editor-content>*:last-child{margin-bottom:0}
.admin-bar .header{top:32px}
@media (max-width:782px){.admin-bar .header{top:46px}}
