/* Чистая верстка по предоставленным скринам (desktop). */

:root{
  --container: 1240px;
  --text: #121212;
  --muted: #7a7a7a;
  --line: #e9ecef;
  --chip: #e31e24;
  --orange1: #e31e24;
  --orange2: #c01a1f;
  --shadow: 0 16px 40px rgba(0,0,0,.10);
  --shadow2: 0 10px 24px rgba(0,0,0,.10);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:#fff}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.hp-field{position:absolute;left:-9999px;opacity:0;height:0;width:0;pointer-events:none}


/* Header */
.header{position:fixed;top:0;left:0;width:100%;background:#fff;z-index:1000;box-shadow:0 2px 8px rgba(0,0,0,.08)}
body{padding-top:70px}
.header__inner{height:70px;display:flex;align-items:center;gap:18px}
.logo img{height:58px;width:auto}

.header__mid{display:flex;align-items:center;gap:14px;margin-left:6px}
.social{display:flex;gap:10px}
.social__btn{width:48px;height:48px;border-radius:10px;background:#f4f6f8;display:grid;place-items:center}
.social__btn img{width:30px;height:30px;object-fit:contain}
.header__mid-text{font-size:14px;line-height:1.15;color:#222}

.header__right{margin-left:auto;display:flex;align-items:center;gap:16px}
.header__mail{font-size:14px;color:#7b7b7b;margin-right:4px}
.header__phone{display:flex;flex-direction:column;align-items:flex-end;margin-right:6px}
.phone{font-size:28px;font-weight:800;letter-spacing:-0.7px}
.phone__sub{font-size:13px;color:#6b7280;margin-top:2px}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4ade80;margin-right:6px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:none;cursor:pointer;font-weight:800;letter-spacing:.6px}
.btn__arrow{display:inline-flex;align-items:center;justify-content:center;font-size:18px}

.btn--orange{padding:14px 22px;border-radius:8px;background:#e31e24;color:#fff;text-transform:uppercase;font-size:12px}

.header__cta{padding:14px 20px}
.burger{width:44px;height:44px;border-radius:8px;border:2px solid #e31e24;background:#fff;display:grid;place-items:center;cursor:pointer}
.burger span{display:block;width:18px;height:2px;background:#e31e24;margin:2px 0;border-radius:2px}

/* Hero */
.hero{position:relative;background:#fff}
.hero__inner{display:flex;gap:24px;padding-top:46px;padding-bottom:24px}
.hero__left{flex:1}
.hero__right{width:420px;position:relative}

.hero__title{margin:0;font-size:54px;line-height:1.05;font-weight:800}
.hero__title-accent{font-weight:900}
.hero__chips{margin-top:18px;display:flex;flex-wrap:wrap;gap:12px}
.chip{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:14px;background:#e31e24;color:#fff;font-weight:800}
.chip--small{padding:8px 12px;border-radius:14px;background:#fff;border:1px solid rgba(227,30,36,.35);color:#e31e24;font-weight:700}

.hero__note{margin-top:32px;display:flex;gap:14px;align-items:flex-start}
.hero__note-ico{width:34px;height:34px;min-width:34px;border-radius:50%;background:#e31e24;display:grid;place-items:center;color:#fff;font-weight:900;flex-shrink:0;font-size:15px}
.hero__note-text{font-size:16px;line-height:1.35;color:#3b3b3b}

.btn--big{margin-top:28px;padding:18px 26px;border-radius:8px;background:#e31e24;color:#fff;font-size:14px;text-transform:uppercase}


.hero__rating{position:absolute;left:-110px;top:50px;width:340px;height:310px;z-index:2}
.hero__rating-badge{position:absolute;width:120px;filter:drop-shadow(0 8px 20px rgba(0,0,0,.16))}
.hero__rating-badge--1{left:0;top:0}
.hero__rating-badge--2{left:55px;top:90px}
.hero__rating-badge--3{left:110px;top:180px}

@keyframes badge-sway{
  0%,100%{transform:translateY(0) rotate(-1deg)}
  50%{transform:translateY(-10px) rotate(1deg)}
}
.hero__rating-badge--1{animation:badge-sway 3.8s ease-in-out infinite}
.hero__rating-badge--2{animation:badge-sway 4.4s ease-in-out infinite 0.6s}
.hero__rating-badge--3{animation:badge-sway 3.6s ease-in-out infinite 1.2s}
.hero__person{position:absolute;right:-10px;top:0;width:420px}
.hero__person img{width:100%;height:auto}

.hero__bar{margin-top:14px;padding:16px 0 22px}
.bar{background:#fff;border-radius:14px;padding:14px 22px;display:flex;gap:16px;align-items:center;justify-content:space-between;border:1px solid #edf0f4;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.bar__item{display:flex;align-items:center;gap:12px;color:#222;margin-top:10px;margin-bottom:10px;min-width:0}
.bar__check{width:32px;height:32px;border-radius:50%;background:#e31e24;display:grid;place-items:center;font-weight:900;color:#fff}
.bar__text{font-size:13px;line-height:1.15}
.bar__text b{font-weight:900}

/* Section headings */
.section-title{margin:0;text-align:center;font-size:40px;line-height:1.1;font-weight:900}
.section-title--left{text-align:left}
.section-subtitle{text-align:center;margin-top:10px;color:#7b7b7b}
.accent{color:#e31e24}

/* Services */
.services{padding:56px 0}
.cards{margin-top:30px}
.card{background:#fff;border-radius:12px;padding:14px 14px 18px;border:1px solid #e8eaed}
.card__media{position:relative;border-radius:8px;overflow:hidden;background:#ddd;height:168px}
.card__media img{width:100%;height:100%;object-fit:cover}
.tag{position:absolute;left:14px;bottom:12px;padding:8px 12px;border-radius:999px;background:#e31e24;color:#fff;font-weight:900;font-size:11px}
.card__title{margin:14px 6px 10px;font-size:18px;line-height:1.15;font-weight:900}
.price-pill{display:inline-flex;margin-left:6px;padding:8px 14px;border-radius:6px;background:#e31e24;color:#fff;font-weight:900}
.card__text{margin:12px 6px 16px;color:#6b7280;line-height:1.35;font-size:14px;min-height:76px}
.btn--outline{padding:14px 18px;border-radius:8px;background:transparent;border:1.5px solid #e31e24;color:#e31e24;font-weight:900}
.btn--outline:hover{background:#fff}
.btn--sm{padding:10px 14px;font-size:12px}

/* Calc */
.calc{padding:18px 0 56px;background:#f4f5f8}
.calc__box{background:#fff;border-radius:16px;padding:30px;border:1px solid #e8eaed}
.calc__left{flex:1}
.calc__right{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-end}
.calc__title{font-size:34px;font-weight:900;line-height:1.05}
.calc__field{margin-top:18px;position:relative}
.input{width:100%;padding:18px 54px 18px 22px;border-radius:10px;border:1.5px solid #d7dde5;outline:none;font-size:16px;background:#fff}
.input__btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:8px;border:none;background:#e31e24;color:#fff;font-weight:900;cursor:pointer}
.calc__chips{margin-top:14px;display:flex;flex-wrap:wrap;gap:10px}
.calc__hint{margin:16px 0 0;color:#6b7280;line-height:1.45}
.calc__badges{margin-top:14px;display:flex;gap:12px;flex-wrap:wrap}
.badge{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:8px;border:1px solid #f5c0c1;background:#fff;color:#b01519;font-weight:700;font-size:13px}
.badge__dot{width:8px;height:8px;border-radius:50%;background:#e31e24}
.calc__prices{width:100%;margin-bottom:16px}
.calc__row{display:flex;justify-content:space-between;gap:10px;color:#6b7280;margin:8px 0}
.rub{color:#d40000;font-size:18px}
.btn--wide{width:100%;padding:18px 20px;border-radius:8px}
.bolt{width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.10);display:grid;place-items:center}
.calc__small{margin-top:10px;text-align:right;color:#7b7b7b;font-size:13px;line-height:1.35}

.diag{margin-top:22px}
.diag__box{background:#e31e24;border-radius:12px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.diag__title{color:#fff;font-weight:900;font-size:22px}
.diag__text{color:rgba(255,255,255,.85);margin-top:2px}
.btn--white{padding:14px 18px;border-radius:8px;background:#fff;color:#e31e24;font-weight:900}

/* Promo blocks */
.promo{padding:10px 0 56px}
.promo__grid{}
.promo__card{border-radius:16px;padding:26px;min-height:240px;position:relative;overflow:hidden;border:1px solid #e8eaed}
.promo__card--dark{background:#161616;color:#fff}
.promo__dark-title{font-size:26px;font-weight:900;line-height:1.15}
.promo__dark-text{margin-top:12px;color:rgba(255,255,255,.8);line-height:1.35}
.promo__card--light{background:#fff;border:1px solid #f1f1f1}
.promo__light-title{font-size:26px;font-weight:900;line-height:1.15}
.promo__light-text{margin-top:12px;color:#6b7280;line-height:1.35}
.promo__img{position:absolute;right:18px;bottom:-10px;width:180px;height:180px;border-radius:22px;background:radial-gradient(circle at 30% 30%, rgba(227,30,36,.20), transparent 60%), #f3f4f6}
.remote{margin-top:26px;background:#fff;border-radius:16px;border:1px solid #e8eaed;padding:26px}
.remote__meta{font-size:12px;letter-spacing:.18em;color:#9aa0a6;font-weight:800}
.remote__grid{margin-top:12px}
.remote__title{margin:0;font-size:32px;font-weight:900;line-height:1.1}
.remote__text{margin:10px 0 0;color:#6b7280;line-height:1.45}
.remote__steps{margin-top:16px;display:grid;gap:10px}
.step{display:flex;gap:10px;align-items:flex-start;color:#3b3b3b}
.step__n{width:28px;height:28px;border-radius:50%;background:#fde8e8;color:#b01519;display:grid;place-items:center;font-weight:900}
.remote__gadget{width:100%;height:320px;border-radius:16px;background:#f3f4f6}

/* Advantages */
.advantages{padding:56px 0}
.adv-box{margin-top:24px;background:#fff;border:1px solid #edf0f4;border-radius:16px;padding:22px}
.adv-line{display:flex;justify-content:space-between;align-items:center;padding:12px 12px 6px;position:relative}
.adv-line:before{content:"";position:absolute;left:12px;right:12px;top:26px;height:2px;background:#d7dde5}
.adv-dot{width:26px;height:26px;border-radius:50%;background:#fff;border:2px solid #d7dde5;position:relative;z-index:1;display:grid;place-items:center}
.adv-dot span{width:8px;height:8px;border-radius:50%;background:#e31e24}
.adv-dot--active{border-color:#f0a0a2}
.adv-dot--active span{width:12px;height:12px;background:#e31e24;box-shadow:0 0 0 6px rgba(227,30,36,.18)}
.adv-top{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:10px}
.adv-top__item{color:#6b7280;text-align:center;font-weight:800}
.adv-top__item--active{color:#111}
.adv-top__item small{display:block;font-weight:600;color:#6b7280;margin-top:6px;line-height:1.2}
.adv-card{margin-top:16px;border:1px solid #edf0f4;border-radius:22px;padding:18px}
.adv-card__label{font-size:12px;letter-spacing:.2em;color:#9aa0a6;font-weight:900}
.adv-card__title{margin-top:8px;font-size:24px;font-weight:900}
.adv-card__text{margin-top:10px;color:#6b7280;line-height:1.55}

/* Brands */
.brands{padding:18px 0 56px}
.brands__grid{margin-top:26px}
.brand{background:#fff;min-height:100px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;display:grid;place-items:center}
.brand img{max-height:70px;width:auto;object-fit:contain;filter:saturate(1.05)}

/* Reviews */
.reviews{padding:10px 0 56px}
.reviews__grid{margin-top:26px}
.review{background:#fff;border:1px solid #edf0f4;border-radius:12px;padding:18px}
.review--highlight{background:#fff;border-color:#f5c0c1}
.review__head{display:flex;gap:12px;align-items:center}
.review__av{width:54px;height:54px;border-radius:50%;object-fit:cover}
.review__name{font-weight:900}
.review__text{margin-top:10px;color:#3b3b3b;line-height:1.45}
.review__rate{margin-top:12px;display:flex;gap:10px;align-items:center;color:#c01a1f;font-weight:900}
.stars{letter-spacing:2px}
.rate{color:#6b7280;font-weight:800}

/* Contract */
.contract{padding:18px 0 56px}
.contract__box{background:#fff;border-radius:16px;border:1px solid #edf0f4;padding:34px 28px}
.contract__title{margin:0;text-align:center;font-size:40px;line-height:1.1;font-weight:900}
.contract__items{margin-top:22px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.contract__item{display:flex;gap:14px}
.contract__n{width:30px;height:30px;border-radius:50%;background:#e31e24;color:#fff;display:grid;place-items:center;font-weight:900}
.contract__h{font-weight:900;line-height:1.15}
.contract__t{margin-top:8px;color:#6b7280;line-height:1.45}
.contract__actions{margin-top:22px;display:flex;justify-content:center;gap:16px;flex-wrap:wrap}

/* Cities */
.cities{padding:18px 0 56px}
.cities__head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.cities__sub{margin-top:10px;color:#7b7b7b}
.cities__search{margin-top:12px;max-width:520px}
.tabs{display:flex;gap:10px;margin-top:18px}
.tab{padding:10px 14px;border-radius:8px;border:1px solid #d7dde5;background:#fff;font-weight:700;color:#6b7280;cursor:pointer}
.tab--active{border-color:#f0a0a2;color:#e31e24;background:#fff5f5}
.cities__grid{margin-top:18px}
.city{background:#fff;border:1px solid #edf0f4;border-radius:12px;padding:6px}
.city__head{display:flex;justify-content:space-between;align-items:center}
.city__name{font-weight:900;font-size:18px}
.city__tag{padding:6px 10px;border-radius:6px;border:1px solid #f5b0b2;background:#fff5f5;color:#e31e24;font-weight:700;font-size:12px}
.city__desc{margin-top:10px;color:#6b7280;line-height:1.45}
.city__actions{margin-top:12px;display:flex;gap:12px;align-items:center}
.city__more{color:#e31e24;font-weight:900}

/* Contacts */
.contacts{padding:18px 0 56px}
.contacts__grid{}
.contacts__left{background:#fff;border-radius:16px;border:1px solid #edf0f4;padding:30px}
.contacts__title{margin:0;font-size:38px;line-height:1.1;font-weight:900}
.contacts__text{margin-top:14px;color:#6b7280;line-height:1.45}
.form{margin-top:22px;display:grid;gap:14px;max-width:560px}
.select{height:62px;border-radius:18px;background:#f3f4f6;display:flex;justify-content:space-between;align-items:center;padding:0 18px;color:#6b7280;font-weight:700}
.select__chev{color:#111;font-weight:900}
.phone-input{display:flex;align-items:center;gap:10px}
.flag{width:42px;height:62px;display:grid;place-items:center;border-radius:18px;background:#f3f4f6}
.input--phone{padding-left:18px;padding-right:18px}
.agree{color:#9aa0a6;font-size:12px}
.agree a{color:#e31e24;text-decoration:underline}
.form-policy{
  display:flex;
  align-items:flex-start;
  gap:8px;
  width:100%;
  font-size:12px;
  line-height:1.35;
  color:#6b7280;
}
.form-policy__input{
  width:16px;
  height:16px;
  margin:1px 0 0;
  flex:0 0 auto;
  accent-color:#e31e24;
}
.form-policy__text{display:block}
.form-policy a{color:#e31e24;text-decoration:underline}
.form-policy--dark{color:rgba(255,255,255,.7)}
.form-policy--dark a{color:rgba(255,255,255,.9)}

.contacts__right{background:#141414;border-radius:16px;padding:28px;color:#fff;position:relative;overflow:hidden}
.contacts__r-title{font-size:24px;font-weight:900;line-height:1.15}
.citem{margin-top:18px;display:flex;gap:12px;align-items:flex-start}
.cico{width:44px;height:44px;border-radius:50%;background:#e31e24;display:grid;place-items:center;font-weight:900}
.clabel{color:rgba(255,255,255,.8);font-weight:900;font-size:12px}
.cval{margin-top:4px;font-weight:800;line-height:1.25}
.contacts__phoneimg{position:absolute;right:-20px;bottom:-40px;width:320px;height:420px;border-radius:24px;background:rgba(255,255,255,.06);transform:rotate(10deg)}

/* ===== CTA Footer section ===== */
.cta-footer{
  background:#272b34;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.018) 0px,
      rgba(255,255,255,.018) 1px,
      transparent 1px,
      transparent 12px
    );
  padding:48px 0 36px;color:#fff
}

.cta-footer__top{
  display:flex;justify-content:space-between;align-items:center;
  gap:32px;padding-bottom:36px
}
.cta-footer__title{
  margin:0 0 14px;font-size:34px;font-weight:900;line-height:1.15;color:#fff
}
.cta-footer__desc{margin:0;font-size:15px;color:rgba(255,255,255,.65);line-height:1.55}
.cta-footer__desc b{color:#fff;font-weight:800}
.cta-footer__cta-btn{
  flex-shrink:0;padding:18px 32px;border-radius:8px;
  background:#e31e24;color:#fff;font-weight:900;font-size:15px;
  border:none;cursor:pointer;white-space:nowrap;
  box-shadow:0 8px 24px rgba(227,30,36,.4)
}

.cta-footer__divider{border:none;border-top:1px solid rgba(255,255,255,.1);margin:0 0 30px}

.cta-footer__bottom{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}

/* Brand column */
.cta-footer__brand-col{display:flex;flex-direction:column;gap:16px;min-width:260px}
.cta-footer__brand{display:flex;align-items:center;gap:14px}
.cta-footer__miele{
  display:inline-block;background:#e31e24;color:#fff;
  font-weight:900;font-size:17px;padding:5px 14px;border-radius:4px;letter-spacing:.3px;
  flex-shrink:0
}
.cta-footer__brand-text{font-size:13px;color:rgba(255,255,255,.7);line-height:1.35}
.cta-footer__address{
  font-size:13px;color:rgba(255,255,255,.55);line-height:1.6;
  display:flex;align-items:flex-start;gap:8px
}
.cta-footer__addr-ico{flex-shrink:0;font-size:15px;color:rgba(255,255,255,.35);margin-top:2px}

/* Middle column */
.cta-footer__mid-col{
  flex:1;display:flex;flex-direction:column;gap:14px;
  align-items:flex-start;padding:0 28px
}
.cta-footer__call-btn{
  padding:12px 28px;border-radius:8px;border:1.5px solid rgba(255,255,255,.3);
  background:transparent;color:#fff;font-weight:700;font-size:14px;cursor:pointer;
  transition:border-color .15s
}
.cta-footer__call-btn:hover{border-color:rgba(255,255,255,.65)}
.cta-footer__copy{margin:0;font-size:11px;color:rgba(255,255,255,.3);line-height:1.55;max-width:340px}
.cta-footer__payments{display:flex;gap:14px;align-items:center}
.cta-footer__pay-item{
  font-size:12px;font-weight:800;color:rgba(255,255,255,.3);letter-spacing:.06em
}
.cta-footer__pay-mc{font-size:18px;line-height:1;letter-spacing:-4px;color:rgba(255,255,255,.3)}

/* Phone column */
.cta-footer__phone-col{text-align:right;flex-shrink:0}
.cta-footer__phone{
  display:block;font-size:26px;font-weight:900;color:#fff;
  text-decoration:none;line-height:1.1
}
.cta-footer__phone-sub{margin-top:6px;font-size:13px;color:rgba(255,255,255,.45)}
.cta-footer__24{
  display:inline-flex;width:20px;height:20px;border-radius:50%;
  background:rgba(255,255,255,.15);color:#fff;font-size:10px;font-weight:900;
  align-items:center;justify-content:center;margin-left:4px;vertical-align:middle
}

/* Footer */
.footer{background:#0f0f0f;color:#fff;padding:26px 0 30px}
.footer__inner{display:flex;justify-content:space-between;align-items:center;gap:20px}
.footer__nav{display:flex;gap:26px;flex-wrap:wrap;color:rgba(255,255,255,.85)}
.footer__nav a{font-weight:700}
.footer__phone{font-size:26px;font-weight:900}
.footer__bottom{margin-top:18px;gap:16px;color:rgba(255,255,255,.65);font-size:13px}
.footer__right{text-align:right}
.made{margin-top:14px;color:rgba(255,255,255,.45)}
.tilda{display:inline-block;padding-left:6px}

/* ===== Faults section ===== */
.faults{padding:56px 0;background:#f4f5f8}

.faults__title{
  margin:0;text-align:center;font-size:36px;font-weight:900;line-height:1.2;
  display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap
}
.faults__title::before,.faults__title::after{
  content:'';display:block;width:44px;height:3px;background:#e31e24;flex-shrink:0
}
.faults__sub{text-align:center;color:#e31e24;font-weight:700;margin-top:8px;font-size:15px}

.faults__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;margin-top:28px
}

/* Обычная карточка */
.fault{
  background:#fff;border-radius:10px;box-shadow:0 8px 32px rgba(0,0,0,.10),0 2px 8px rgba(0,0,0,.05);
  padding:18px 18px 14px;position:relative;overflow:hidden;
  display:flex;flex-direction:column
}
/* Карточка 01 — featured */
.fault--featured{
  grid-column:span 2;
  display:flex;flex-direction:row;align-items:flex-start;gap:0;
  border:none;box-shadow:0 8px 32px rgba(0,0,0,.10),0 2px 8px rgba(0,0,0,.05);overflow:hidden
}
.fault__content{flex:1;display:flex;flex-direction:column;padding:4px 0}

.fault__head{display:flex;align-items:flex-start;gap:12px}
.fault__ico{
  width:44px;height:44px;border-radius:50%;background:#edf0f4;
  display:grid;place-items:center;flex-shrink:0;font-size:20px
}
.fault__name{margin:0;font-size:19px;font-weight:900;line-height:1.2}

.fault__list{margin:12px 0 0;padding-left:18px;color:#3b3b3b;line-height:1.65;font-size:13px}
.fault__list li{margin:2px 0}

.fault__btn{
  display:inline-flex;align-items:center;padding:10px 22px;border-radius:999px;
  background:#e31e24;color:#fff;font-weight:900;font-size:14px;
  margin-top:16px;width:fit-content;text-decoration:none
}

/* Фото машинки в featured */
.fault__machine{
  width:210px;height:auto;object-fit:contain;
  align-self:flex-end;flex-shrink:0;
  margin-right:-18px;margin-bottom:-14px
}

/* Большой номер-ватермарк */
.fault__num{
  position:absolute;right:10px;bottom:4px;
  font-size:72px;font-weight:900;line-height:1;
  color:rgba(0,0,0,.06);pointer-events:none;user-select:none
}

/* CTA карточка */
.fault-cta{
  background:#4b5368;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.10),0 2px 8px rgba(0,0,0,.05);padding:18px;
  display:flex;flex-direction:column;gap:10px
}
.fault-cta form{display:flex;flex-direction:column;gap:10px}
.fault-cta__title{margin:0;color:#fff;font-size:20px;font-weight:900}
.fault-cta__text{margin:0;font-size:13px;color:rgba(255,255,255,.75);line-height:1.45}
.fault-cta__input{
  padding:13px 16px;border-radius:10px;
  border:1.5px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);
  color:#fff;font-size:15px;width:100%;outline:none
}
.fault-cta__input::placeholder{color:rgba(255,255,255,.5)}
.fault-cta__btn{
  padding:13px;border-radius:10px;background:#fff;color:#222;
  font-weight:900;border:none;cursor:pointer;font-size:14px
}
.fault-cta__agree{font-size:11px;color:rgba(255,255,255,.45);line-height:1.4}
.fault-cta__agree a{color:rgba(255,255,255,.65);text-decoration:underline}

/* ===== Promo offer section ===== */
.promo-offer{padding:0 0 40px;background:#f4f5f8}

/* Outer flex wrapper: red card + white card side by side */
.promo-offer__wrap{
  display:flex;gap:16px;align-items:stretch
}

/* Red left card */
.promo-offer__box{
  flex:1;border-radius:20px;
  padding:32px 40px;display:flex;flex-direction:column;gap:0;
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#b8151b 0%,#e31e24 55%,#f03040 100%)
}
.promo-offer__box::before{
  content:'';
  position:absolute;
  right:-30px;bottom:-20px;
  width:260px;height:260px;
  background:url('./assets/stir.webp') no-repeat right bottom / contain;
  opacity:0.08;
  pointer-events:none
}
.promo-offer__title{
  margin:0 0 8px;color:#fff;font-size:26px;font-weight:900;line-height:1.2
}
.promo-offer__timer{
  color:rgba(255,255,255,.9);font-size:15px;margin-bottom:20px
}
.promo-offer__timer strong{font-weight:900;letter-spacing:.04em}
.promo-offer__form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.promo-offer__input{
  padding:13px 18px;border-radius:10px;
  border:1.5px solid rgba(255,255,255,.45);background:transparent;
  color:#fff;font-size:15px;width:220px;outline:none
}
.promo-offer__input::placeholder{color:rgba(255,255,255,.65)}
.promo-offer__btn{
  padding:13px 28px;border-radius:10px;background:#fff;color:#222;
  font-weight:900;border:none;cursor:pointer;white-space:nowrap;font-size:14px
}
.promo-offer__agree{
  display:block;margin-top:12px;
  color:rgba(255,255,255,.6);font-size:12px
}
.promo-offer__agree a{color:rgba(255,255,255,.8);text-decoration:underline}

/* White right card */
.promo-offer__right{
  background:#fff;border-radius:20px;padding:20px 22px;
  min-width:260px;flex-shrink:0;
  display:flex;flex-direction:column;gap:12px;
  border:1px solid #e5e7eb
}
/* Red hero block at top of white card */
.promo-offer__right-hero{
  background:#e31e24;border-radius:10px;padding:12px 16px;text-align:center
}
.promo-offer__right-label{
  display:block;color:rgba(255,255,255,.8);font-size:11px;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;margin-bottom:2px
}
.promo-offer__right-price{
  color:#fff;font-size:28px;font-weight:900;line-height:1.1
}
.promo-offer__right-q{
  font-size:14px;font-weight:800;color:#222;line-height:1.35
}
.promo-offer__right-list{
  margin:0;padding-left:18px;font-size:13px;color:#3b3b3b;line-height:1.75
}
.promo-offer__right-list li{margin:2px 0}

/* ===== Advantages Pro section ===== */
.adv-pro{padding:56px 0;background:#f4f5f8}
.adv-pro__title{
  margin:0;text-align:center;font-size:36px;font-weight:900;line-height:1.2;
  display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap
}
.adv-pro__title::before,.adv-pro__title::after{
  content:'';display:block;width:44px;height:3px;background:#e31e24;flex-shrink:0
}
.adv-pro__sub{text-align:center;color:#e31e24;font-weight:700;margin-top:8px;font-size:15px}
.adv-pro__grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:14px;margin-top:28px
}
.adv-pro__card{
  background:#fff;border-radius:16px;border:1px solid #e5e7eb;
  padding:24px 22px;position:relative
}
.adv-pro__num{font-size:68px;font-weight:900;color:#e31e24;line-height:1;margin-bottom:16px}
.adv-pro__name{margin:0 0 8px;font-size:17px;font-weight:900;line-height:1.25}
.adv-pro__text{margin:0;font-size:13px;color:#6b7280;line-height:1.55}
.adv-pro__cta{
  background:#e31e24;border-radius:16px;padding:26px 22px;
  display:flex;flex-direction:column;gap:14px;justify-content:space-between
}
.adv-pro__cta-title{margin:0;color:#fff;font-size:22px;font-weight:900;line-height:1.2}
.adv-pro__cta-text{margin:0;font-size:13px;color:rgba(255,255,255,.85);line-height:1.55}
.adv-pro__cta-btn{
  padding:14px 24px;border-radius:10px;background:#fff;color:#222;
  font-weight:900;border:2px solid #fff;cursor:pointer;font-size:14px;width:fit-content;
  margin-top:auto
}

/* ===== Machine types section ===== */
.machine-types{padding:56px 0;background:#fff}
.machine-types__title{margin:0 0 24px;font-size:36px;font-weight:900;line-height:1.2}
.machine-types__brand{color:#e31e24}

.machine-types__tabs{display:flex;gap:12px;margin-bottom:36px}
.machine-types__tab{
  padding:14px 44px;border-radius:10px;border:1.5px solid #e5e7eb;
  background:#fff;color:#e31e24;font-weight:700;font-size:15px;cursor:pointer;
  transition:background .15s,color .15s
}
.machine-types__tab--active{background:#111;color:#fff;border-color:#111}

.machine-types__grid{display:flex;gap:8px;justify-content:space-between;align-items:flex-end}
.machine-types__item{
  display:flex;flex-direction:column;align-items:center;gap:18px;flex:1;text-align:center
}
.machine-types__item img{width:100%;max-width:200px;height:210px;object-fit:contain}
.machine-types__label{font-size:15px;font-weight:500;color:#222;line-height:1.35}

/* ===== Masters section ===== */
.masters{padding:56px 0;background:#fff}

.masters__top{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:24px;margin-bottom:36px
}
.masters__left{flex:1;max-width:620px}
.masters__title{margin:0 0 12px;font-size:36px;font-weight:900;line-height:1.2}
.masters__brand{color:#e31e24}
.masters__sub{margin:0;font-size:15px;color:#6b7280;line-height:1.45}

.masters__right{display:flex;flex-direction:column;align-items:flex-end;gap:16px;flex-shrink:0}
.masters__certs{display:flex;gap:8px}
.masters__certs img{width:90px;height:auto;border-radius:6px;border:1px solid #e5e7eb;object-fit:cover}
.masters__nav{display:flex;gap:8px;justify-content:flex-end}
.masters__nav-btn{
  width:44px;height:44px;border-radius:50%;border:1.5px solid #d7dde5;
  background:#fff;font-size:16px;cursor:pointer;display:grid;place-items:center;color:#222
}
.masters__nav-btn:hover{border-color:#e31e24;color:#e31e24}

.masters__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.masters__card{display:flex;flex-direction:column}
.masters__photo{
  width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:14px;
  background:#f3f4f6;margin-bottom:14px
}
.masters__name{font-size:16px;font-weight:900;line-height:1.25;margin-bottom:4px;color:#111}
.masters__role{font-size:13px;color:#6b7280;margin-bottom:10px;line-height:1.35}
.masters__exp{display:inline-flex;padding:7px 16px;border-radius:8px;border:1.5px solid #e5e7eb;font-size:13px;font-weight:700;color:#222;width:fit-content}

/* ===== Discount CTA section ===== */
.disc-cta{
  background:#272b34;
  background-image:
    repeating-linear-gradient(
      110deg,
      transparent 0px, transparent 80px,
      rgba(255,255,255,.025) 80px, rgba(255,255,255,.025) 81px
    );
  padding:52px 0;
  color:#fff;
}
.disc-cta__inner{
  display:flex;align-items:center;justify-content:space-between;gap:40px
}
.disc-cta__content{flex:1;max-width:640px}
.disc-cta__head{
  display:flex;align-items:flex-start;gap:28px;margin-bottom:28px
}
.disc-cta__badge{
  font-size:28px;font-weight:900;color:#fff;white-space:nowrap;flex-shrink:0
}
.disc-cta__desc{
  margin:0;font-size:15px;color:rgba(255,255,255,.7);line-height:1.55
}
.disc-cta__form{display:flex;gap:12px;flex-wrap:wrap}
.disc-cta__input{
  flex:1;min-width:200px;padding:15px 20px;border-radius:8px;
  border:1.5px solid rgba(255,255,255,.2);background:rgba(255,255,255,.07);
  color:#fff;font-size:15px;outline:none
}
.disc-cta__input::placeholder{color:rgba(255,255,255,.45)}
.disc-cta__btn{
  padding:15px 36px;border-radius:8px;background:#e31e24;color:#fff;
  font-weight:900;font-size:15px;border:none;cursor:pointer;white-space:nowrap;
  box-shadow:0 8px 24px rgba(227,30,36,.4)
}
.disc-cta__agree{
  margin-top:12px;font-size:12px;color:rgba(255,255,255,.35)
}
.disc-cta__agree a{color:rgba(255,255,255,.5);text-decoration:underline}

/* Phone widget */
.disc-cta__phone{flex-shrink:0;width:180px;height:260px;display:flex;align-items:center}
.disc-cta__phone-card{
  width:140px;min-height:200px;background:#1a1e26;border-radius:22px;
  border:1.5px solid rgba(255,255,255,.12);padding:20px 16px 24px;
  display:flex;flex-direction:column;align-items:center;gap:10px;
  box-shadow:0 24px 60px rgba(0,0,0,.5);margin:auto
}
.disc-cta__phone-avatar{
  width:56px;height:56px;border-radius:50%;
  background:linear-gradient(135deg,#8a9bb0,#5a6a7e);
  border:2px solid rgba(255,255,255,.15)
}
.disc-cta__phone-label{
  text-align:center;font-size:13px;font-weight:700;color:#fff;line-height:1.3
}
.disc-cta__phone-ring-wrap{
  position:relative;width:56px;height:56px;
  display:flex;align-items:center;justify-content:center;margin-top:4px
}
.disc-cta__ring{
  position:absolute;border-radius:50%;border:2px solid rgba(255,255,255,.25);
  animation:disc-ring 1.8s ease-out infinite
}
.disc-cta__ring:nth-child(1){width:56px;height:56px}
.disc-cta__ring--2{width:76px;height:76px;animation-delay:.6s}
.disc-cta__ring-ico{font-size:22px;z-index:1;position:relative}
@keyframes disc-ring{
  0%{opacity:.7;transform:scale(.8)}
  100%{opacity:0;transform:scale(1.4)}
}

/* Desktop only (как скрины) */
@media (max-width: 1200px){
  .cards{margin-top:30px}
  .hero__inner{flex-direction:column}
  .hero__right{width:100%;height:300px;margin-top:16px}
  .hero__rating{display:none}
  .hero__person{position:relative;right:auto;top:auto;width:100%;text-align:center}
  .hero__person img{width:auto;max-height:280px;display:block;margin:0 auto}
  .bar{border-radius:24px}
  .reviews__grid{margin-top:26px}
  .cities__grid{margin-top:18px}
  .contacts__grid{}
}

/* ===== Tablet & Mobile (≤ 768px) ===== */
@media (max-width: 768px){

  /* Discount CTA */
  .disc-cta__inner{flex-direction:column;align-items:flex-start}
  .disc-cta__phone{display:none}
  .disc-cta__head{flex-direction:column;gap:12px}

  /* Hero: уменьшить заголовок без правой панели */
  .hero__title{font-size:36px}

  /* Уменьшить крупные заголовки на планшете */
  .section-title{font-size:28px}
  .contract__title{font-size:28px}
  .contacts__title{font-size:32px}
  .cta-footer__title{font-size:26px}

  /* Bar: 1 пункт в строку → 4 строки */
  .bar{border-radius:24px;display:grid;grid-template-columns:1fr;gap:10px;padding:14px 18px}
  .bar__item{min-width:0}

  /* Diag box: кнопка под текстом */
  .diag__box{flex-direction:column;align-items:flex-start}

  /* Advantages: 6 колонок → 3 */
  .adv-top{grid-template-columns:repeat(3,1fr)}

  /* Cities head: заголовок + вкладки в столбик */
  .cities__head{flex-direction:column}
  .tabs{justify-content:flex-start}

  /* Contract items: 3 колонки → 2 */
  .contract__items{grid-template-columns:repeat(2,1fr)}

  /* Contacts title: 54px → 36px */
  .contacts__title{font-size:36px}

  /* CTA Footer */
  .cta-footer__top{flex-direction:column;align-items:flex-start}
  .cta-footer__title{font-size:24px}
  .cta-footer__bottom{flex-direction:column;gap:28px}
  .cta-footer__mid-col{padding:0}
  .cta-footer__phone-col{text-align:left}

  /* Promo декоративный блок перекрывает текст — скрыть */
  .promo__img{display:none}

  /* Faults: 4 cols → 2 cols */
  .faults__grid{grid-template-columns:repeat(2,1fr)}
  .fault--featured{grid-column:span 2;flex-direction:column}
  .fault__machine{width:100%;max-height:180px;object-fit:contain;margin:12px 0 0;align-self:center}
  .faults__title{font-size:26px}
  .faults__title::before,.faults__title::after{display:none}

  /* Promo offer: stacked on tablet */
  .promo-offer__wrap{flex-direction:column}
  .promo-offer__box{padding:28px 24px}
  .promo-offer__right{min-width:0}
  .promo-offer__input{width:100%}
  .promo-offer__form{flex-direction:column;align-items:stretch}
  .promo-offer__title{font-size:20px}

  /* Adv-pro: 3 cols → 2 */
  .adv-pro__grid{grid-template-columns:repeat(2,1fr)}
  .adv-pro__title{font-size:26px}
  .adv-pro__title::before,.adv-pro__title::after{display:none}

  /* Machine types: 5 items → scroll */
  .machine-types__title{font-size:26px}
  .machine-types__grid{overflow-x:auto;padding-bottom:8px}
  .machine-types__item{min-width:140px}
  .machine-types__tabs{flex-wrap:wrap}

  /* Masters: 4 → 2 cols */
  .masters__title{font-size:26px}
  .masters__top{flex-direction:column}
  .masters__right{align-items:flex-start}
  .masters__grid{grid-template-columns:repeat(2,1fr)}
}

/* ===== Mobile header fix ===== */
/* Masters horizontal slider on mobile */
@media (max-width: 600px){
  .masters__grid{
    display:flex;flex-direction:row;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:14px;
    padding-bottom:14px;
    /* hide scrollbar */
    scrollbar-width:none;
    margin:0 -16px;
    padding-left:16px;
    padding-right:16px;
  }
  .masters__grid::-webkit-scrollbar{display:none}
  .masters__card{
    flex:0 0 72vw;
    max-width:260px;
    scroll-snap-align:start;
  }
}
@media (max-width: 480px){

  body{padding-top:115px}

  /* ── Header ── */
  .header__inner{
    height:auto;
    padding:10px 8px 10px 14px;
    display:grid;
    justify-content: space-between;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "logo phone"
      "cta  cta";
    gap:8px 12px;
    align-items:center;
  }

  .logo{grid-area:logo;align-self:center}
  .logo img{height:36px}

  .header__mid{display:none !important}
  .header__mail{display:none !important}
  .burger{display:none !important}

  .header__right{
    display:contents;
  }

  .header__phone{
    grid-area:phone;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    margin-right:0;
  }
  .phone{font-size:21px;font-weight:900;letter-spacing:.2px;line-height:1.1}
  .phone__sub{font-size:11px;white-space:nowrap}

  .header__cta{
    grid-area:cta;
    width:100%;
    justify-content:center;
    padding:12px 18px;
    font-size:13px;
    letter-spacing:.5px;
  }

  /* ── Typography ── */
  .hero__title{font-size:32px}
  .section-title{font-size:24px !important}
  .contract__title{font-size:24px}
  .contacts__title{font-size:28px}
  .cta-footer__title{font-size:22px}
  .adv-pro__title{font-size:22px}
  .faults__title{font-size:22px}
  .machine-types__title{font-size:22px}
  .masters__title{font-size:22px}
  .remote__title{font-size:22px}
  .promo__dark-title,.promo__light-title{font-size:20px}

  /* ── Faults grid ── */
  .faults__grid{grid-template-columns:1fr}
  .fault--featured{grid-column:span 1}

  /* ── Adv-pro grid ── */
  .adv-pro__grid{grid-template-columns:1fr}

  /* ── Contract ── */
  .contract__items{grid-template-columns:1fr}
  .contract__n{flex-shrink:0}

  /* ── Advantages tabs ── */
  .adv-top{grid-template-columns:repeat(2,1fr)}

  /* ── Bar items ── */
  .bar{border-radius:18px;gap:12px}

  /* ── Misc ── */
  .btn--big{font-size:13px;padding:15px 20px}
  .hero__chips{gap:8px}
  .chip{padding:8px 14px;font-size:13px}
}

/* Bootstrap container sizing to match макет */
@media (min-width: 1200px){
  .container{ max-width: 1240px; }
}

/* Prevent horizontal scroll */
html, body{ overflow-x:hidden; }

/* Row-cols-5 support (Bootstrap has row-cols-5, but keep safety for xl) */
@media (min-width: 1200px){
  .row-cols-xl-5 > *{ flex:0 0 auto; width:20%; }
}

/* ===== MODAL ===== */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:16px;
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease, visibility .22s ease;
}
.modal-overlay--active{
  opacity:1;
  visibility:visible;
}
.modal-card{
  background:#fff;
  border-radius:20px;
  padding:40px 36px 32px;
  max-width:440px;
  width:100%;
  position:relative;
  box-shadow:0 24px 64px rgba(0,0,0,.22);
  transform:scale(.96) translateY(10px);
  transition:transform .22s ease;
  text-align:center;
}
.modal-overlay--active .modal-card{
  transform:scale(1) translateY(0);
}

/* Кнопка закрытия */
.modal__close{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:#f3f4f6;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  transition:background .15s, color .15s;
  flex-shrink:0;
}
.modal__close:hover{ background:#e9ecef; color:#121212; }

/* Иконка */
.modal__icon{
  width:64px;
  height:64px;
  background:rgba(227,30,36,.10);
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 20px;
  color:#e31e24;
}

/* Заголовок */
.modal__title{
  font-size:24px;
  font-weight:800;
  color:#121212;
  margin-bottom:8px;
  line-height:1.2;
}
.modal__desc{
  font-size:14px;
  color:#7a7a7a;
  line-height:1.55;
  margin-bottom:24px;
}

/* Форма */
.modal__form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.modal__field{ text-align:left; }
.modal__label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:#121212;
  margin-bottom:6px;
}
.modal__input{
  width:100%;
  padding:14px 16px;
  border:2px solid #e9ecef;
  border-radius:10px;
  font-size:15px;
  font-family:inherit;
  color:#121212;
  outline:none;
  transition:border-color .15s;
  box-sizing:border-box;
}
.modal__input::placeholder{ color:#b0b0b0; }
.modal__input:focus{ border-color:#e31e24; }

/* Кнопка отправки */
.modal__submit{
  width:100%;
  padding:16px;
  background:#e31e24;
  color:#fff;
  border:none;
  border-radius:10px;
  font-size:15px;
  font-weight:700;
  font-family:inherit;
  cursor:pointer;
  transition:background .15s, transform .1s;
  margin-top:4px;
  box-shadow:0 8px 24px rgba(227,30,36,.35);
}
.modal__submit:hover{ background:#c01a1f; }
.modal__submit:active{ transform:scale(.98); }

/* Политика */
.modal__privacy{
  font-size:12px;
  color:#7a7a7a;
  margin-top:14px;
  line-height:1.5;
}
.modal__privacy a{ color:#e31e24; text-decoration:underline; }

.privacy-modal{
  position:fixed;
  inset:0;
  z-index:120000;
  display:none;
  font-family:inherit;
}
.privacy-modal.is-open{
  display:block;
}
.privacy-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,18,18,.62);
}
.privacy-modal__dialog{
  position:relative;
  width:min(94vw, 760px);
  max-height:min(84vh, 760px);
  margin:min(8vh, 58px) auto 0;
  overflow:auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
  padding:28px 26px 24px;
  z-index:1;
}
.privacy-modal__close{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:#f3f4f6;
  color:#6b7280;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  line-height:1;
}
.privacy-modal__close:hover{
  background:#e9ecef;
  color:#121212;
}
.privacy-policy{
  color:#121212;
  font-size:14px;
  line-height:1.58;
  padding-right:4px;
}
.privacy-policy h2{
  margin:0 48px 12px 0;
  font-size:24px;
  line-height:1.22;
  font-weight:800;
}
.privacy-policy h3{
  margin:18px 0 6px;
  font-size:15px;
  line-height:1.3;
  font-weight:800;
}
.privacy-policy p{
  margin:0 0 10px;
}
.privacy-policy a{
  color:#e31e24;
  font-weight:700;
}
html.privacy-modal-lock,
body.privacy-modal-lock{
  overflow:hidden;
}

/* Адаптив */
@media(max-width:480px){
  .modal-card{ padding:28px 20px 24px; }
  .modal__title{ font-size:20px; }
  .modal__icon{ width:52px; height:52px; border-radius:12px; }
  .privacy-modal__dialog{
    width:calc(100vw - 24px);
    max-height:calc(100vh - 32px);
    margin:16px auto 0;
    padding:24px 16px 18px;
    border-radius:14px;
  }
  .privacy-policy{
    font-size:13px;
  }
  .privacy-policy h2{
    font-size:20px;
  }
}

@media(prefers-reduced-motion:reduce){
  .modal-overlay, .modal{ transition:none; }
}
