﻿.hero-v2 {
  position: relative;
  overflow: hidden;
  background: #1e1b1a;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-v2__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-v2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 27, 26, 0.86) 0%, rgba(30, 27, 26, 0.54) 48%, rgba(30, 27, 26, 0.24) 100%);
}

.hero-v2__container {
  position: relative;
  z-index: 1;
}

.hero-v2__content {
  max-width: 920px;
  padding: clamp(84px, 12vw, 160px) 0 clamp(40px, 6vw, 72px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-v2__title {
  margin: 0 0 16px;
  font-weight: 600;
  line-height: 1.15;
  font-size: clamp(26px, 3.2vw, 44px);
}

.hero-v2__subtitle {
  margin: 0 0 24px;
  font-size: clamp(13px, 1.2vw, 18px);
}

.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-v2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  text-decoration: none;
}

.hero-v2__btn--ghost {
  border: 2px solid var(--hero-brand, #ff6e24);
  color: #fff;
}

.home-page__center-button {
  display: flex;
  justify-content: center;
}

.home-page__center-button--spaced {
  margin-top: 80px;
}

.home-page__first-screen-reset {
  height: 0;
  padding: 0;
  margin: 0;
}

@media (max-width: 767.98px) {
  .hero-v2__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    justify-items: center;
  }

  .hero-v2__btn {
    height: 40px;
    padding: 0 14px;
    font-size: 12px;
    width: min(44vw, 220px);
    white-space: nowrap;
    text-align: center;
  }

  .hero-v2__btn:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

.about-page__row {
  align-items: center;
}
.about-page__img {
  width: 100%;
  height: 520px;
  object-fit: contain;   /* изображение целиком */
  background-color: #0f0f0f; /* цвет фона под стиль */
  padding: 30px;         /* ← уменьшает визуальный масштаб */
  border-radius: 10px;
}

/* Experience block */
.about-exp__row{
  align-items: stretch;
}
.about-exp__row > div{
  display: flex;
}

.about-exp__table{
  width: 100%;
  align-self: stretch;
  display: flex;              /* важно */
  flex-direction: column;     /* важно */
  border: 1px solid rgba(255, 122, 0, 0.7);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
}

.about-exp__item{
  color: #fff;
  padding: 14px 16px;
  font-size: 18px;
  line-height: 1.25;
  border-bottom: 1px solid rgba(255, 122, 0, 0.6);

  flex: 1 1 0;               /* ← делим высоту поровну */
  display: flex;             /* чтобы текст красиво по вертикали */
  align-items: center;       /* вертикальное выравнивание */
  min-height: 0;             /* на всякий случай */
}

.about-exp__item:last-child{
  border-bottom: none;
}

/* photo on the right */
.about-exp__photo{
  width: 100%;
  align-self: stretch;      /* ключ */
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 122, 0, 0.35);
}

.about-exp__photo .img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* mobile tweaks */
@media (max-width: 991px){
  .about-exp__photo{ 
      min-height: 320px; 
      margin-top: 24px;
  }
  .about-exp__item{ font-size: 16px; }
  
  .about-exp__table{
    display: block;        /* выключаем flex-таблицу */
  }

  .about-exp__item{
    flex: none;            /* отменяем равную высоту */
    display: block;        /* обычный блок */
    align-items: unset;
    height: auto;          /* авто под текст */
    white-space: normal;   /* разрешаем переносы */
    word-break: break-word;
  }
  
  
}

@media (max-width: 575px){

  .about-page__img{
    height: 360px;      /* было 520px → меньше и аккуратнее */
    padding: 16px;      /* меньше воздуха */
  }

}

@media (max-width: 770px) {
    .inner-page {
        padding: 50px 0 30px;
    }
}

:root {
  --hero-brand: #FF6E24;
  --use-bg: #342C28;      /* фон секции */
  --brand: #FF6E25;       /* акцентный оранжевый */
  --card-bg: #FFFFFF;     /* фон карточки */
  --text-main: #2F2A27;   /* текст в карточке */
  --cases-bg: #342C28;      /* фон секции */
  --cases-panel: #231E1B;   /* фон карточки */
  --brand: #FF6E25;
  --bg-dark: #3A312C;
  --panel: rgba(0,0,0,.25);
  --note: #2C2421;
  --white: #fff;
  --tile: #2C2421;
  --cmp-bg:#3A312C;
  --text:#2F2A27;

  
  
  
}


@media (max-width: 767.98px) {
  /* контейнеры лент */
  .cases__marque { 
    position: relative;
    overflow: hidden;
  }
  .cases__marque-wrapper {
    display: flex;
    flex-wrap: nowrap !important;   /* НИКОГДА не переносить */
    gap: 0 !important;              /* без зазоров между плитками */
    will-change: transform;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }

  /* сама “плитка” логотипа — делаем ее как карточку */
  .cases__marque-img {
    flex: 0 0 auto;
    display: block;
    height: 72px;                   /* подгони под макет (можно 64–80) */
    width: auto;
    object-fit: contain;

    /* оформление плитки */
    background: #fff;
    box-sizing: border-box;
    padding: 10px 16px;             /* поле вокруг логотипа — как на ПК */
    border: 1px solid #2D2522;      /* цвет рамки под твой дизайн */
    border-left: 0;                  /* ключ: чтобы соседние плитки “сливались” */
  }
  /* первая плитка в ряду стартует с левой рамкой */
  .cases__marque-wrapper > .cases__marque-img:first-child {
    border-left: 1px solid #2D2522;
  }

  /* чтобы между рядами не было “двойной” горизонтальной линии */
  .cases__marque-wrapper--second  > .cases__marque-img,
  .cases__marque-wrapper--third   > .cases__marque-img {
    border-top: 0;                  /* верхнюю границу убираем — остаётся одна линия от ряда выше */
  }

  /* чуть медленнее анимация на мобилке — плавнее глазом */
  .cases__marque-wrapper--left  { animation-duration: 40s !important; }
  .cases__marque-wrapper--right { animation-duration: 44s !important; }
  .cases__marque-wrapper--third { animation-duration: 42s !important; }
}






.hero-v2 {
  position: relative;
  overflow: hidden;
  background: #1e1b1a; /* подложка на всякий случай */
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  
}

/* фон */
.hero-v2__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%; /* при необходимости поправь фокус */
}

.hero-v2--center .hero-v2__content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: block; /* на случай если где-то переопределили */
}

.hero-v2--center .hero-v2__actions {
  justify-content: center;
}


/* контентная область */
.hero-v2__container {
  position: relative;
  z-index: 1;
}

.hero-v2__content {
  max-width: 920px;
  padding: clamp(84px, 12vw, 160px) 0 clamp(40px, 6vw, 72px);
}

/* заголовок и описание */
.hero-v2__title {
  margin: 0 0 16px;
  font-weight: 600;
  line-height: 1.15;
  font-size: clamp(26px, 3.2vw, 44px);
}

.hero-v2__subtitle {
  margin: 0 0 24px;
  font-size: clamp(13px, 1.2vw, 18px);

}


.hero-v2__actions { justify-content: center; }

/* кнопки */
.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-v2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: .2s ease;
  white-space: nowrap;
  background: #342C28;
  min-width: 205px;
  
}

.hero-v2__btn--ghost {
  border: 2px solid var(--hero-brand);
  color: #fff;
  
}
.hero-v2__btn--ghost:hover,
.hero-v2__btn--ghost:focus-visible {
  background: var(--hero-brand);
}


/* мобильные стили */
@media (max-width: 767.98px) {
  

  .hero-v2__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);   /* две колонки */
    gap: 12px 16px;                          /* вертикальный/горизонтальный отступ */
    justify-items: center;                   /* центрируем содержимое ячеек */
  }

  .hero-v2__btn {
    height: 40px;
    padding: 0 14px;
    font-size: 12px;
    border-radius: 10px;
    width: 100%;
    max-width: 220px;
    white-space: nowrap;                     /* верхние две — в одну строку */
    text-align: center;
    min-width: inherit;
  }

  /* третья кнопка — на отдельной строке по центру */
  .hero-v2__btn:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    /* если нужно разрешить перенос на 2 строки:
       white-space: normal; height: auto; line-height: 1.2; padding: 8px 14px; */
  }
}



/* секция 2*/
.use-v2{
  background: var(--use-bg);
  color: #fff;
  padding: clamp(40px, 6vw, 72px) 0;
}
.use-v2__title{
  margin: 0 0 clamp(20px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  font-size: clamp(24px, 2.8vw, 48px);
}

/* сетка карточек */
.use-v2__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

/* карточка */
.use-card{
  background: var(--card-bg);
  border-radius: 16px;
  padding: clamp(16px, 2.2vw, 28px);
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  color: var(--text-main);
}
.use-card__icon{
  display: grid;
  place-items: center;
  height: clamp(64px, 8vw, 96px);
  margin-bottom: 8px;
}
.use-card__svg{
  width: clamp(64px, 7vw, 90px);
  height: auto;
}

/* заголовок карточки */
.use-card__heading{
  margin: 8px 0 12px;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 500;
  color: var(--brand);
  text-align: center;
}

/* буллеты */
.use-card__bullets{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: #4a4a4a;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}
.use-li{
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  font-size: clamp(14px, 1.1vw, 18px);
}
.use-li__ico{
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

/* мобилка как в макете */
@media (max-width: 767.98px){
  .use-v2__title{ text-align: center; font-size: 28px; }
  .use-v2__list{ grid-template-columns: 1fr; gap: 16px; }
  .use-card{ border-radius: 14px; }
  .use-card__heading{ font-size: 22px; }
  .use-li{ font-size: 14px; gap: 10px; }
}

/* секция 3*/
.cases-v2{
  background: var(--cases-bg);
  color: #fff;
  padding: clamp(40px, 6vw, 72px) 0;
}
.cases-v2__title{
  margin: 0 0 clamp(20px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  font-size: clamp(24px, 2.8vw, 48px);
}

/* сетка карточек */
.cases-v2__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

/* карточка */
.cases-card{
  background: var(--cases-panel);
  border-radius: 20px;
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18) inset, 0 8px 24px rgba(0,0,0,.12);
  text-align: center;
}
.cases-card__title{
  margin: 0 0 10px;
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 28px);
}
.cases-card__text{
  margin: 0 0 clamp(14px, 2vw, 20px);
  opacity: .9;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.45;
  color: #9B9B9B;
}

/* белая «пилюля» с логотипами — у тебя это готовый webp */
.cases-card__logos{
  display: block;
  margin: 0 auto;
  width: 285px;  /* на ПК ~как в макете */
  height: auto;
  border-radius: 12px;     /* если у картинки нет скругления */
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

/* мобилка */

@media (max-width: 1400px){
  .cases-v2__list{ grid-template-columns: 1fr; }
}



@media (max-width: 767.98px){
  .cases-v2__title{ font-size: 28px; line-height: 1.25; }
  .cases-v2__list{ grid-template-columns: 1fr; gap: 14px; }
  .cases-card{ padding: 18px; border-radius: 16px; }
  .cases-card__title{ font-size: 22px; }
  .cases-card__text{ font-size: 14px; }
  .cases-card__logos{ width: 80%; max-width: 340px; }
  .aroma-button-wrapper {
        margin-top: 10px !important;
   }
}



 .aroma-title {
    text-align: center;
    font-size: clamp(24px, 2.8vw, 48px);
    margin-bottom: 16px;
    font-weight: 600;
  }

  .aroma-subtitle {
    text-align: center;
    color: #9F9F9F;
    font-size: 20px;
    margin-bottom: 32px;
  }

  .aroma-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    color: #111;
  }

  .aroma-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    flex: 1 1 calc(33.333% - 16px);
    box-sizing: border-box;
    min-width: 280px;
  }

  .aroma-card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #342C28;
  }

  .aroma-divider {
    background: #FF6E24;
    width: 100%;
    height: 2px;
    margin: 8px 0 12px 0;
  }

  .aroma-text {
    font-size: 18px;
    font-weight: 400;
    color: #4A4A4A;
  }

  .aroma-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 48px;
  }

  .aroma-button {
    background: #FF6E24;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 440px;
  }

  @media (max-width: 1024px) {
    .aroma-card {
      flex: 1 1 calc(50% - 12px);
    }
  }

  @media (max-width: 768px) {
    .aroma-title {
      font-size: 28px;
    }

    .aroma-subtitle {
      font-size: 18px;
    }

    .aroma-card-title {
      font-size: 20px;
    }

    .aroma-text {
      font-size: 16px;
    }

    .aroma-card {
      flex: 1 1 100%;
    }
    .aroma-button {
    font-size: 16px;
    
   
  }
  }
  
  /* секция */
.machines-v2{
  background: var(--use-bg);
  color: var(--white);
  padding: clamp(40px, 6vw, 0) 0;
}

.machines-v2__title{
  margin: 0 0 clamp(18px, 3.5vw, 36px);
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
  font-size: clamp(24px, 2.6vw, 46px);
}

/* три факта */
.machines-stats{
  list-style: none;
  margin: 0 0 clamp(20px, 4vw, 36px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.machines-stat{
  text-align: center;
}
.machines-stat__h{
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 28px);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.machines-stat__h::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width: 206px;
  height: 2px;
  background: var(--brand);
  border-radius: 3px;
}
.machines-stat__p{
  margin: 0;
  opacity: .9;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.45;
}

/* тело: слева фото, справа карточки */
.machines-body{
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

/* фото + CTA */
.machines-media{
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #1b1816;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.machines-media img{
  display: block;
  width: 100%;
  height: auto;
}
.machines-cta{
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  background: var(--brand);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.machines-cta svg{ pointer-events:none; }

/* правые заметки */
.machines-notes{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(12px, 2vw, 18px);
}
.machines-note{
  background: var(--note);
  color: #fff;
  border-radius: 16px;
  padding: clamp(14px, 2vw, 20px);
  text-align: center;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

/* мобилка */
@media (max-width: 767.98px){
  .machines-v2__title{
    text-align: center;
    font-size: 26px;
  }

  /* ДВА В РЯД + ТРЕТИЙ НА ВСЮ ШИРИНУ */
  .machines-stats{
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 16px 18px;
    margin-bottom: 16px;
    text-align: center;
  }
  .machines-stats .machines-stat:nth-child(3){
    grid-column: 1 / -1;    /* третья карточка — на всю ширину */
  }

  .machines-stat__h{
    font-size: 20px;
    padding-bottom: 8px;
  }
  .machines-stat__h::after{
    width: 156px;            /* подчеркивание короче на мобилке */
    height: 1px;
  }
  .machines-stat__p{
    font-size: 13px;
    margin: -8px 0 0 0;
    line-height: 1.4;
  }

  .machines-body{
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
  }
  .machines-cta{
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    left: 12px; bottom: 12px;
  }
  .machines-notes{
    gap: 12px;
  }
  .machines-note{
    border-radius: 14px;
    padding: 16px;
    font-size: 15px;
  }
}

  
/* секция */
.oils-v2{
  background: var(--use-bg);
  color: var(--white);
  padding: clamp(40px, 6vw, 80px) 0;
}

.oils-v2__head{
  text-align: center;
  max-width: 980px;
  margin: 0 auto clamp(20px, 4vw, 36px);
}
.oils-v2__title-main{
  margin: 0 0 10px;
  font-weight: 500;
  line-height: 1.15;
  font-size: clamp(26px, 2.8vw, 48px);
  color: #fff;
}
.oils-v2__subtitle{
  
  opacity: .9;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.5;
  color: #9B9B9B;
}



.oils-v2__grid{
  display: grid;
  grid-template-columns: minmax(340px, 1.2fr) minmax(420px, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.oils-v2__title{
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 36px);
}

/* список преимуществ */
.oils-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(10px, 1.6vw, 14px);
}
.feat{
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 14px;
  background: #F5F6F7;
  color: #2F2A27;
  border-radius: 16px;
  padding: 14px 16px;
}
.feat__tile{
  width: 78px; height: 78px;
  border-radius: 14px;
  background: var(--tile);
  border: 2px solid var(--white);
  display: grid; place-items: center;
}
.feat__tile img{
  width: 64px; height: 64px; object-fit: contain;
  
}
.feat__text{
  margin: 0;
  line-height: 1.35;
  font-size: clamp(14px, 1.05vw, 18px);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: #4A4A4A;
}

/* правая картинка + CTA */
.oils-v2__media{
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #1b1816;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.oils-v2__media img{
  display: block;
  width: 100%; height: auto;
}
.oils-cta {
  position: absolute;
  right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px;
  border-radius: 12px;
  font-size: 16px;
  background: #2C2421; color: #fff; text-decoration: none;
  font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* мобильный лид (виден только на мобилке) */
.oils-v2__lead{ display: none; }
.oils-v2__lead-title{
  margin: 0 0 8px;
  font-weight: 800; line-height: 1.2; font-size: 26px;
}
.oils-v2__lead-text{
  margin: 0 0 16px; opacity: .9; font-size: 14px; line-height: 1.45;
}

/* мобилка */
@media (max-width: 767.98px){
  .oils-v2__lead{ display: block; }
  .oils-v2__grid{ grid-template-columns: 1fr; gap: 16px; }
  .oils-v2__title{ font-size: 22px;text-align: center; }
  .feat{ grid-template-columns: 64px 1fr; padding: 12px 14px; border-radius: 14px; }
  .feat__tile{ width: 64px; height: 64px; border-radius: 12px; }
  .feat__tile img{ width: 38px; height: 38px; }
  .feat__text{ font-size: 14px; }
  .oils-cta{ height: 44px; padding: 0 16px; left: 14px; bottom: 14px; }
  .oils-v2__head{
    text-align: center;
    margin-bottom: 16px;
  }
  .oils-v2__title-main{ font-size: 26px; }
  .oils-v2__subtitle{ font-size: 14px; }
  
  .choose-v2__btn {
    margin-left: -1px !important;    
    width: calc(100% - 8px);  
}  
}

  
  
  
  /* секция */
.corp-v2{
  background: var(--use-bg);
  color:#fff;
  padding: clamp(40px,6vw,80px) 0;
}
.corp-v2__title{
  margin:0 0 10px;
  text-align:center;
  font-weight:600;
  line-height:1.15;
  font-size: clamp(26px,2.8vw,48px);
}
.corp-v2__subtitle{
  margin:0 auto clamp(18px,3.2vw,28px);
  text-align:center;
  opacity:.9;
  max-width: 920px;
  font-size: clamp(14px,1.1vw,18px);
  line-height:1.5;
  color: #9B9B9B;
}

/* белые пилюли */
.corp-pills{
  list-style:none; margin:0 0 clamp(18px,3.2vw,28px); padding:0;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px,1.6vw,16px);
}
.corp-pill{
  background:#fff; color:#2F2A27;
  border-radius:16px;
  padding: 16px 22px;
  font-weight:600;
  text-align:center;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.corp-pill .accent{ color: var(--brand); }

/* галерея */
.corp-gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px,2vw,18px);
  margin-bottom: clamp(18px,3.2vw,28px);
}
.corp-photo{
  margin:0; border-radius:16px; overflow:hidden; background:#1b1816;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.corp-photo img{ display:block; width:100%; height:auto; }

/* CTA */
.corp-cta{
  display:flex; align-items:center; justify-content:center; margin:0 auto;
  height:50px; padding:0 26px; border:0; border-radius:12px;
  background: var(--brand); color:#fff; font-weight:600; font-size:16px;
  text-decoration:none; cursor:pointer; box-shadow:0 10px 24px rgba(0,0,0,.22);
  max-width: 440px;
}

/* мобилка */
@media (max-width: 767.98px){
  .corp-v2__title{ font-size:26px; text-align:center; }
  .corp-v2__subtitle{ font-size:14px; text-align:center; margin-left:0; margin-right:0; }

  .corp-pills{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    
  }
  .corp-pill{
    padding: 14px 12px;
    font-size: 14px;
    border-radius:14px;
    font-size: clamp(16px, 1.1vw, 18px);
  }

  .corp-gallery{
    grid-template-columns: repeat(2, 1fr);
    gap:12px;
  }

  .corp-cta{
    width: 100%;
    max-width: 420px;
    height: 48px;
    font-size: 15px;
  }
  
  .corp-gallery{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* скрываем 3-е изображение на мобилке */
  .corp-gallery .corp-photo:nth-child(3){
    display: none;
  }
  
  
  
  
}

.compare-v2{ background:var(--use-bg); color:#fff; padding: clamp(40px,6vw,80px) 0; }
.compare-v2__title{
  margin:0 0 clamp(18px,3vw,28px);
  text-align:center; font-weight:600; line-height:1.15;
  font-size: clamp(26px,2.6vw,46px);
}

/* Desktop grid */
.compare-v2__slider{
  display:grid; grid-template-columns: repeat(3,1fr);
  gap: clamp(12px,2vw,18px);
}

/* Card */
.compare-card{
  background:#fff; color:var(--text);
  border-radius:16px; padding: clamp(16px,2vw,22px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.compare-card--good{
  background: var(--brand); color:#fff;
}
.compare-card__title{
  margin:0 0 12px; font-weight:600;
  font-size: clamp(20px,1.8vw,28px);
   text-align:center;
}

/* List */
.compare-list{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.citem{ display:grid; grid-template-columns: 28px 1fr; gap:12px; align-items:start; line-height:1.45; }
.citem__ico{
  width:28px; height:28px; border-radius:8px; display:block; position:relative; top:2px;
}
/* чек для good */
.compare-card--good .citem__ico{ background:#fff; }
.compare-card--good .citem__ico::before{
  content:""; position:absolute; inset:0;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5 8.2 13.7 15 7' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/68% no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5 8.2 13.7 15 7' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/68% no-repeat;
  background: var(--brand);
}
/* крест для bad */
.citem--bad .citem__ico{ background: #FF6E24; }
.citem--bad .citem__ico::before{
  content:""; position:absolute; inset:0;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 6 14 14M14 6 6 14' stroke='black' stroke-width='2.2' stroke-linecap='round'/></svg>") center/62% no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 6 14 14M14 6 6 14' stroke='black' stroke-width='2.2' stroke-linecap='round'/></svg>") center/62% no-repeat;
  background: #fff; color: #4A4A4A;
}

/* CTA only in good card */
.compare-cta{
  display:inline-flex; align-items:center; justify-content:center;
  height:56px; padding:0 20px; margin-top:14px;
  background:#fff; color:#FF6E24; border-radius:8px;
  font-weight:600; text-decoration:none;
  width: 100%;
}

/* --- Mobile: горизонтальное листание --- */
@media (max-width: 767.98px){
    
    
    .compare-v2{
    --peek: 64px;      /* сколько пикселей следующей карточки видно справа (можно 48–72) */
    --gap: 12px;       /* расстояние между карточками */
    --pad: 16px;       /* внутренний отступ контейнера слева/справа */
  }
  .compare-v2__title{ text-align:center; font-size:26px; }
  
 .compare-v2__slider{
    display: grid;
    grid-auto-columns: calc(100% - var(--peek));
    scroll-padding-left: var(--pad);
    padding: 0 var(--pad) 16px var(--pad);
    grid-template-columns: none;   /* отключаем явные колонки */
    grid-auto-flow: column;        /* скроллим колонками */
    grid-auto-columns: 100%;       /* одна карточка = ширина вьюпорта */
    gap: 12px;                     /* поставь 0, если соседнюю не нужно «подглядывать» */
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .compare-card{
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
  }
  .compare-cta{ width:100%; height:46px; }
  .compare-v2__dots{ display:flex; gap:8px; justify-content:center; }
  
  
}



/* Доты под слайдером */
.compare-v2__dots{
  display:none;                 /* по умолчанию скрыты (ПК) */
  margin-top: 10px;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.compare-v2__dots .dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.25); /* неактивная */
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
  position: relative;
}

/* увеличить зону тапа */
.compare-v2__dots .dot::after{
  content:"";
  position:absolute; inset:-8px;
}

.compare-v2__dots .dot.is-active{
  background: #FF6E25;          /* активная — брендовая */
  transform: scale(1.06);
}

/* Показываем только на мобилке */
@media (max-width: 767.98px){
  .compare-v2__dots{ display:flex; }
}




.choose-v2{
  background: var(--use-bg);
  color: var(--white);
  padding: clamp(40px,6vw,80px) 0;
}
.choose-v2__title{
  margin: 0 0 8px;
  text-align: center;
  font-weight: 600;
  line-height: 1.15;
  font-size: clamp(26px,2.6vw,46px);
}
.choose-v2__subtitle{
  margin: 0 auto clamp(18px,3vw,28px);
  text-align: center;
  opacity: .9;
  max-width: 820px;
  font-size: clamp(14px,1.1vw,18px);
  line-height: 1.5;
}

/* сцена с абсолютами */
.choose-v2__stage{
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  min-height: clamp(520px, 56vw, 650px); /* подстраиваем высоту под картинку + подписи */
}
.choose-v2__img{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
  max-width: 50vw; /* ширина самой картинки */
  height: auto;
  display: block;
}

/* общие стили подписи */
.choose-v2__note{
  position: absolute;
  width: clamp(260px, 28vw, 360px);
  max-width: 36%;
}
.choose-v2__note h3{
  margin: 0 0 8px;
  font-size: clamp(18px,1.6vw,24px);
  font-weight: 600;
}
.choose-v2__note p{
  margin: 0;
  opacity: .9;
  line-height: 1.45;
  font-size: clamp(14px,1.05vw,18px);
}

/* позиции (ПК) — можно чуть подвинуть значения под свою картинку */
.choose-v2__note--left{  left: 0;  top: 90px; }
.choose-v2__note--right{ right: 0; top: 110px; }
.choose-v2__note--bottom{
  left: 50%;
  transform: translateX(-50%);
  bottom: -50px;                /* находится под картинкой в пределах сцены */
  width: clamp(320px, 36vw, 420px);
  max-width: 48%;
}

/* кнопка */
.choose-v2__btn{
  margin: clamp(18px,3vw,28px) auto 0;
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px;
  border-radius: 12px; background: var(--brand); color: #fff;
  font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.22);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* по умолчанию прячем мобильную версию */
.choose-mob{ display:none; }

/* Мобилка: показываем mobile-вариант и прячем desktop-сцену */
@media (max-width: 996.98px){
  .choose-v2__stage, #choose-v2{ display:none; }      /* ПК-вариант скрываем */
  .choose-mob{ display:block; padding: 12px 0 12px 12px; }

  .choose-mob__title{
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
  }
  .choose-mob__subtitle{
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.45;
    color: #fff;
    opacity: .9;
  }

  .choose-mob__stage{
    position: relative;
    padding: 6px 0 0;
    min-height: 540px;          /* подгони под высоту своей картинки */
  }

  /* сама картинка (машина+стрелки) фиксируется справа */
  .choose-mob__img{
    position: absolute;
    right: 0;                /* слегка «выпускаем» за край, как в макете */
    top: 120px;                 /* подгони под расположение стрелок */
    width: clamp(160px, 42vw, 220px);
    height: auto;
    user-select: none;
    pointer-events: none;
  }

  .choose-mob__block{
    max-width: 72%;             /* оставляем место картинке справа */
    margin: 18px 0;
    color: #fff;
  }
  .choose-mob__block h3{
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
  }
  .choose-mob__block p{
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    opacity: .9;
  }
  
  
  .choose-mob__block_2{
    max-width: 46%;             /* оставляем место картинке справа */
    margin: 18px 0;
    color: #fff;
  }
  .choose-mob__block_2 h3{
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
  }
  .choose-mob__block_2 p{
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    opacity: .9;
  }
  
  
  .choose-mob__block_3 {
    max-width: 50%;             /* оставляем место картинке справа */
    margin: 18px 0;
    color: #fff;
  }
  .choose-mob__block_3 h3{
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
  }
  .choose-mob__block_3 p{
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    opacity: .9;
  }
  
  
  

  .choose-mob__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    height: 48px;
    margin-top: 14px;
    border-radius: 12px;
    background: #FF6E25;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
  }
}



</style>



<script>
(function () {
  function eqHeroBtns() {
    const wrap = document.querySelector('.hero-v2__actions');
    if (!wrap) return;
    const btns = Array.from(wrap.querySelectorAll('.hero-v2__btn'));
    if (!btns.length) return;

    // Мобилка: ширина по 100%
    if (window.innerWidth < 768) {
      btns.forEach(b => b.style.width = '');
      return;
    }

    // Сбросить, замерить естественную ширину и выровнять по максимальной
    btns.forEach(b => b.style.width = '');
    let max = 0;
    btns.forEach(b => {
      const w = Math.ceil(b.getBoundingClientRect().width);
      if (w > max) max = w;
    });
    btns.forEach(b => b.style.width = max + 'px');
  }

  window.addEventListener('load', eqHeroBtns);
  window.addEventListener('resize', eqHeroBtns);
  // На случай подгрузки шрифтов
  if (document.fonts && document.fonts.ready) {
    document.fonts.ready.then(eqHeroBtns);
  }
})();
</script>


<script>
(function(){
  const scroller = document.querySelector('.compare-v2 [data-slider="compare"]');
  const dotsWrap = document.querySelector('.compare-v2 [data-dots="compare"]');
  if (!scroller || !dotsWrap) return;

  const cards = Array.from(scroller.children);
  const media = window.matchMedia('(max-width: 767.98px)');

  function buildDots(){
    dotsWrap.innerHTML = '';
    if (!media.matches) return;           // только мобилка
    cards.forEach((_, i) => {
      const dot = document.createElement('button');
      dot.type = 'button';
      dot.className = 'dot';
      dot.addEventListener('click', () => {
        const left = cards[i].offsetLeft - scroller.offsetLeft;
        scroller.scrollTo({ left, behavior: 'smooth' });
      });
      dotsWrap.appendChild(dot);
    });
    updateActive();
  }

  function activeIndex(){
    let idx = 0, min = Infinity;
    const base = scroller.scrollLeft;
    cards.forEach((el, i) => {
      const dist = Math.abs(base - (el.offsetLeft - scroller.offsetLeft));
      if (dist < min){ min = dist; idx = i; }
    });
    return idx;
  }

  function updateActive(){
    const dots = dotsWrap.querySelectorAll('.dot');
    const i = activeIndex();
    dots.forEach((d, k) => d.classList.toggle('is-active', k === i));
  }

  scroller.addEventListener('scroll', () => requestAnimationFrame(updateActive));
  window.addEventListener('resize', buildDots);
  media.addEventListener ? media.addEventListener('change', buildDots)
                         : media.addListener(buildDots); // для старых iOS
  buildDots();
})();
</script>

