@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

@media (max-width: 900px){
  .layout--flex{ flex-direction: column; }
  .layout--grid{ grid-template-columns: 1fr; }

  /* картинка сверху */
  .col--media{ order: -1; }

  /* высота картинки при вертикальной раскладке */
  .col--media img{ height: 280px; }

  .col--text{ padding: 28px 20px 26px; }

  .section.hero{ background-attachment: scroll; }
  .layout--header{ justify-content: space-between; }
}

/* ======================================================================
   MOBILE NAV (checkbox toggle)
   - элементы существуют в index.html, но на десктопе скрыты
   ====================================================================== */
.nav-toggle{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nav-burger,
.nav-backdrop,
.nav__mobile-head,
.nav__mobile-extra,
.nav__item--cta{
  display: none;
}



/* ======================================================================
   ADAPTIVE — основной “вход” под планшет/мобилку
   (дальше — только уменьшение, как вы и любите)
   ====================================================================== */



@media screen and (max-width: 980px){

.about-media {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;	
}

.about-media__img--1 {
    flex-basis: 50%;
    border-top-right-radius: 0;
    box-shadow: none;	
}

.about-media__img--2 {
    flex-basis: 50%;
    margin-top: 0;
    border-bottom-left-radius: 0;
    box-shadow: none;	
}

.about-media__stat--years,
.about-media__stat--pros {
	display: none;	
}
	
}



@media screen and (max-width: 900px){

  :root{
    --gutter: 0 16px;
  }

  /* 100vh на мобилках иногда “прыгает” из-за адресной строки */
  html.has-os #os-root{
    height: 100vh;
    height: 100dvh;
  }

  /* чуть плотнее сетка/отступы секций */
  .section.hero{ padding: 120px 0 72px; }
  .info1,
  .services,
  .cases-carousel,
  .price,
  .about,
  .audit,
  .faq{
    padding-top: 84px;
    padding-bottom: 84px;
  }

  /* ==================================================================
     HEADER + MOBILE MENU
     ================================================================== */

  .site-header{
    padding: 12px 0;
  }

  .site-header .btn--primary{
    display: none; /* кнопка “Запросить аудит” уезжает внутрь моб. меню */
  }

  .logo img{ height: 30px; }

  .nav-burger{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 330;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-burger span{
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-burger span:nth-child(1){ transform: translateY(-7px); }
  .nav-burger span:nth-child(2){ transform: translateY(0); }
  .nav-burger span:nth-child(3){ transform: translateY(7px); }

  /* превращаем бургер в “крестик” */
  .nav-toggle:checked + .nav-burger span:nth-child(1){
    transform: translateY(0) rotate(45deg);
  }
  .nav-toggle:checked + .nav-burger span:nth-child(2){
    opacity: 0;
  }
  .nav-toggle:checked + .nav-burger span:nth-child(3){
    transform: translateY(0) rotate(-45deg);
  }

  /* затемнение фона */
  .nav-backdrop{
    display: block;
    position: fixed;
    inset: 0;
    background:
      radial-gradient(900px 520px at 80% 20%, rgba(124,58,237,.16), transparent 60%),
      radial-gradient(900px 520px at 90% 70%, rgba(236,72,153,.12), transparent 62%),
      rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 310;
    touch-action: none;
  }

  /* панель меню (скролл по всей панели .nav) */
  .nav{
    position: fixed;
    top: 0px;
    right: 0px;
    height: calc(100vh - 20px);
    height: 100dvh;
    width: min(88vw, 380px);

    border-radius: 0px;
    border: 1px solid rgba(255,255,255,.12);

    background:
      radial-gradient(780px 520px at 70% -10%, rgba(124,58,237,.22), transparent 60%),
      radial-gradient(760px 520px at 100% 18%, rgba(236,72,153,.16), transparent 62%),
      radial-gradient(760px 560px at 80% 110%, rgba(56,189,248,.14), transparent 60%),
      rgba(12, 15, 18, .92);

    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);

    box-shadow: 0 24px 90px rgba(0,0,0,.60);

    transform: translateX(120%);
    transition: transform .28s cubic-bezier(.2,.85,.2,1);
    z-index: 320;
    pointer-events: none;

    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
	touch-action: pan-y;
  }
  
  
  
  /* Firefox */
  .nav{
    scrollbar-width: none;         /* hide */
  }

  /* Chrome / Edge / Safari */
  .nav::-webkit-scrollbar{
    width: 0;
    height: 0;
  }
  .nav::-webkit-scrollbar-thumb{
    background: transparent;
  }
  .nav::-webkit-scrollbar-track{
    background: transparent;
  }

  /* на всякий случай, если где-то внутри есть прокручиваемые блоки */
  .nav *{
    scrollbar-width: none;
  }
  .nav *::-webkit-scrollbar{
    width: 0;
    height: 0;
  }  
  
  

  /* фирменная линия */
  .nav::before{
    content:"";
    position:absolute;
    left: 14px; right: 14px; top: 10px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
      rgba(0,245,255,.00) 0%,
      rgba(0,245,255,.65) 18%,
      rgba(106,92,255,.78) 48%,
      rgba(255,80,180,.58) 74%,
      rgba(255,138,61,.00) 100%);
    opacity: .95;
    pointer-events:none;
  }

  /* лёгкая аура */
  .nav::after{
    content:"";
    position:absolute;
    inset:-30%;
    background:
      radial-gradient(circle at 85% 18%, rgba(0,245,255,.14), transparent 55%),
      radial-gradient(circle at 88% 45%, rgba(106,92,255,.14), transparent 58%),
      radial-gradient(circle at 82% 76%, rgba(255,80,180,.10), transparent 60%);
    filter: blur(26px);
    opacity: .9;
    pointer-events:none;
    mix-blend-mode: screen;
  }

  .nav__mobile-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 14px 12px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,0));
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  /* если оставили простой заголовок "Меню" — тоже ок */
  .nav__mobile-title{
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .75;
  }

  /* если добавили бренд-блок (logo + name + tag) */
  .nav__mobile-brand{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255,255,255,.92);
    min-width: 0;
  }
  .nav__mobile-logo{
    height: 28px;
    width: 26px;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));        
	
	object-fit: cover;
    object-position: left center;
  }
  .nav__mobile-brandtext{
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    min-width: 0;
  }
  .nav__mobile-name{
    font-weight: 900;
    letter-spacing: .02em;
    font-size: 14px;
    white-space: nowrap;
  }
  .nav__mobile-tag{
    font-size: 11px;
    color: rgba(255,255,255,.62);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-close{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: .18s ease;
  }
  .nav-close:hover{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.22);
  }
  .nav-close span{
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255,255,255,.90);
  }
  .nav-close span:nth-child(1){ transform: rotate(45deg); }
  .nav-close span:nth-child(2){ transform: rotate(-45deg); }

  /* список пунктов — одной колонкой, без внутренних скроллов */
  .nav__list{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;

    gap: 10px;
    padding: 14px 12px 12px;
    margin: 0;

    overflow: visible;
  }
  .nav__list,
  .nav__list > li{
    list-style: none;
  }

  /* ссылки — “пилюли” без border-bottom */
  .nav__link{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 14px 14px 14px;
        font-size: 16px;
        font-weight: 400;
        text-transform: uppercase;
        /* border-radius: 16px; */
        /* border: 1px solid rgba(255, 255, 255, .08); */
        /* background: rgba(255, 255, 255, .04); */
        border-bottom: none !important;
        transition: transform .16s ease, background .16s ease, border-color .16s ease;
        position: relative;
  }

  .nav__link::before{
    content:"";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0,245,255,.95), rgba(106,92,255,.95), rgba(255,80,180,.90));
    opacity: 0;
    transition: opacity .16s ease, height .16s ease;
  }

  .nav__link:hover{
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.16);
  }
  .nav__link:hover::before{
    opacity: 1;
    height: 24px;
  }

  .nav__link:active{
    transform: translateY(1px) scale(.99);
  }

  .nav__link:focus-visible{
    outline: 2px solid rgba(56,189,248,.55);
    outline-offset: 2px;
  }

  /* CTA внутри списка — если у вас он ещё есть */
  .nav__item--cta{
    display: block;
    padding: 12px 12px 14px;
  }
  .nav__item--cta .btn{
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }

  /* нижний блок (если добавлен в HTML) */
  .nav__mobile-extra{
    display: block;
    position: relative;
    z-index: 2;
    padding: 14px 12px 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(to top, rgba(0,0,0,.18), rgba(0,0,0,0));
  }
  .nav__mobile-note{
    margin: 0 0 12px;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255,255,255,.68);
  }
  .nav__mobile-cta{
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    min-width: 0;
  }
  .nav__mobile-social{
    margin-top: 12px;
  }
  .nav .dlx-social{
    width: 40px;
    height: 40px;
  }

  /* открытие */
  .nav-toggle:checked ~ .nav{
    transform: translateX(0);
    pointer-events: auto;
    z-index: 99999;
  }
  .nav-toggle:checked ~ .nav-backdrop{
    opacity: 1;
    pointer-events: auto;
  }


  /* ==================================================================
     HERO
     ================================================================== */
  .hero__text{
    font-size: 16px;
    line-height: 1.65;
    max-width: 64ch;
  }
  .hero__content .buts{
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ==================================================================
     INFO1
     ================================================================== */
  .info1 .layout{
    flex-direction: column;
  }
  .info1 .col--1,
  .info1 .col--2{
    flex: 1 1 auto;
  }
  .info1 h2{
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 14px;
  }
  .info1 .col--1 p{
    font-size: 18px;
  }
  .info1 .col--2 .item{
    padding-left: 120px;
    padding-bottom: 26px;
  }
  .info1 .col--2 .item h3{
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 18px;
  }
  .info1 .col--2 .item::before{
    width: 96px;
    height: 96px;
    top: 22px;
  }
  .info1 .big-text{ display: none; }

  /* ==================================================================
     SERVICES
     ================================================================== */
  .services .l_title{
    padding-left: 0;
  }
  .services .l_title p{
    width: 100%;
    font-size: 22px;
    line-height: 1.25;
  }
  .promo-card{
    min-height: 310px;
    border-radius: 24px;
  }
  .promo-kicker{
    white-space: normal;
    font-size: 16px;
  }
  .promo-content{
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .promo-content h3{
    font-size: 24px;
    max-width: 100%;
  }
  .services .promo-card::before{
    background-position: right 10px top 10px, 0 0;
    background-size: 160px auto, cover;
  }

  /* ==================================================================
     CASES
     ================================================================== */
  .cases-carousel{
    --cc-card: min(78vw, 440px);
    --cc-gap: 18px;
  }
  .cases-carousel__head{
    padding-left: 0;
    margin-bottom: 28px;
  }
  .cases-carousel__btn{
    width: 46px;
    height: 46px;
  }

  /* ==================================================================
     PRICE
     ================================================================== */
  .price .l_title{ padding-left: 0; }
  .price .l1{ flex-direction: column; }
  .price .l1 .col{
    flex: 1 1 auto;
    padding: 30px 26px;
  }

  /* ==================================================================
     ABOUT
     ================================================================== */
  .about .l1{ padding: 26px; }
  .about-media__img--2{ margin-top: 0; }

  /* ==================================================================
     AUDIT
     ================================================================== */
  .audit__title{
    font-size: 44px;
    line-height: 1.1;
  }
  .audit__desc{
    font-size: 18px;
  }
  .audit-card{
    padding-left: 28px;
    padding-right: 28px;
  }
  .audit-list{
    margin-left: 0;
  }
  .audit .big-text{ display: none; }

  /* ==================================================================
     FAQ
     ================================================================== */
  .faq-q{
    padding: 14px 22px 14px 22px;
    font-size: 16px;
  }
  
  
.scene {
    display: none;
}

.waves-container {
    opacity: 0.6;
    width: 230%;
    left: -70%;
}

    .info1 .col--2 .item::before {
        z-index: 9;
    }
	
.cases-carousel__intro {
	display:flex;
	flex-direction:column;
        width: 100%;
}	

.faq__head {
    display: flex;
    flex-direction: column;
}

.price {
	padding-bottom:5px;
}

.about {
	padding-top:50px;
}
	
.services .l_title h2,
.cases-carousel__kicker,
.price .l_title h2,
.faq .faq__title {
    margin-inline: auto;
    font-size: 25px;	
        padding-top: 5px;
        padding-bottom: 5px;
}

    .dlx-footer__cols .dlx-footer__col:nth-child(1) {
        display: none;
    }	
  
}



@media screen and (max-width: 768px){

  :root{
    --gutter: 0 14px;
  }

  /* Hero */
  .section.hero{
    min-height: 100svh;
    padding: 110px 0 64px;
  }

  .hero__title{
    font-size: clamp(32px, 7.2vw, 44px);
  }

  /* INFO1 — иконки и отступы компактнее */
  .info1{
    padding-top: 76px;
    padding-bottom: 76px;
  }
  .info1 h2{ font-size: 38px; }
  .info1 .col--2 .item{
    padding-left: 96px;
  }
  .info1 .col--2 .item::before{
    width: 72px;
    height: 72px;
    top: 20px;
  }

  /* SERVICES */
  .services .l_title p{
    font-size: 20px;
  }
  .promo-top{
    left: 16px;
    top: 16px;
  }
  .promo-badge{
    width: 42px;
    height: 42px;
  }

  /* CASES */
  .cases-carousel{
    --cc-card: min(84vw, 420px);
  }
  .cc-card__title{
    font-size: 20px;
  }

  /* PRICE */
  .price .l1 .col{
    padding: 28px 22px;
  }
  .price .layout .title{
    font-size: 16px;
  }
  .price .layout .cont p{
    font-size: 16px;
  }
  .price .layout .pr span{
    font-size: 38px;
  }

  /* ABOUT */
  .about-title{
    font-size: clamp(28px, 6.2vw, 38px);
  }
  .stat-num{
    font-size: 46px;
  }
  .about-media__stat--years .stat-num{
    font-size: 44px;
  }

  /* AUDIT */
  .audit__title{
    font-size: 38px;
  }
  .audit__desc{
    font-size: 16px;
  }
  .audit-card{
    padding-left: 22px;
    padding-right: 22px;
  }

  /* FAQ */
  .faq{
    padding-top: 84px;
    padding-bottom: 84px;
  }
  .faq-q{
    border-radius: 18px;
    padding: 14px 18px;
  }

  /* --- ваши правки (как было) --- */
  .promo-content{
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: #1f282aa3;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    border-radius: 15px;
  }

  .promo-content h3{
    background-color: transparent;
    padding-left: 0;
    padding-top: 9px;
  }
	
	.waves-container {
		display:none;
	}	
	
  .dlx-decor .dot{
    animation: none !important;
    transform: none !important;
    opacity: 0.3;
  }	
	
}



@media screen and (max-width: 560px){

  /* Общие */
  .btn{ white-space: normal; }

  /* HEADER */
  .logo img{ height: 28px; }

  /* NAV panel чуть шире на телефонах */
  .nav{
    width: min(92vw, 360px);
  }

  /* HERO */
  .hero__text{ font-size: 15px; }
  .hero__content .buts{
    flex-direction: column;
    align-items: stretch;
  }
  .hero__content .buts .btn{
    width: 80%;
	margin-inline: auto;
  }

  /* SERVICES */
  .promo-card{
    min-height: 290px;
  }
  .services .promo-card::before{
    background-size: 135px auto, cover !important;
  }
  .promo-content h3{
    font-size: 22px;
  }

  /* CASES */
  .cases-carousel{
    --cc-card: min(88vw, 380px);
    --cc-gap: 16px;
  }
  .cc-card__body{
    padding: 16px 16px 18px;
  }
  .cc-card__title{
    font-size: 18px;
  }

  /* PRICE */
  .price .l_title h3{
    font-size: clamp(28px, 7vw, 40px);
  }
  .price .l1 .col{
    padding: 26px 18px;
  }
  .price .layout .pr span{
    font-size: 34px;
  }
  .price .layout .btn--st1{
    width: 100%;
    justify-content: center;
  }

  /* ABOUT */
  .about .l1{
    padding: 20px;
  }

  .about-media__img--1{
    border-bottom-left-radius: 30px;
  }
  .about-media__img--2{
    border-top-right-radius: 30px;
  }

  .about-text{
    max-width: none;
  }
  .about-btn{
    width: 100%;
    justify-content: center;
  }

  /* AUDIT */
  .audit{
    padding-top: 84px;
    padding-bottom: 84px;
  }
  .audit__title{
    font-size: 34px;
  }
  .audit-card{
    padding-left: 18px;
    padding-right: 18px;
  }
  .audit-input{
    font-size: 16px;
  }

  /* FAQ */
  .faq-q{
    font-size: 15px;
    padding: 14px 16px;
  }
  .faq-a__inner{
    padding-left: 16px;
    padding-right: 16px;
  }

  /* TO TOP */
  .to-top{
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
  .to-top svg{
    width: 20px;
    height: 20px;
  }
  
    .parallax-bg::before {
        background-position: right 33% center;
    }

.price .layout .btn--st1{
	width:80%;
	margin-inline:auto;
	margin-top:15px;
}
	
.services .l_title p,
.cases-carousel__intro,
.price .l_title,
.faq__head {
	text-align:center;
}
	
	
.dlx-footer__cta {
	display: none;
}

.dlx-footer__cols .dlx-footer__col:nth-child(2) {
	display: none;
}
	
}



@media screen and (max-width: 420px){

  /* NAV */
  .nav__link{
    padding: 13px 14px 13px 4px;
  }

  .nav__item--cta{
    padding: 10px 12px 14px;
  }

  /* INFO1 */
  .info1 h2{
    font-size: 34px;
  }
  .info1 .col--2 .item{
    padding-left: 0;
    padding-top: 86px;
  }
  .info1 .col--2 .item::before{
    left: 0;
    top: 16px;
  }
  .info1 .col--2 .item h3{
    font-size: 30px;
  }

  /* SERVICES */
  .promo-content{
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  /* AUDIT */
  .audit__title{
    font-size: 30px;
  }

  .info1 .layout{
	text-align:center;
}

.info1 .col--2 .item::before {
		left: calc(50% - 36px);	
}
	

}



@media screen and (max-width: 360px){

  :root{
    --gutter: 0 12px;
  }

  .hero__title{
    font-size: 32px;
  }

  .promo-card{
    border-radius: 20px;
  }

  .to-top{
    right: 14px;
    bottom: 14px;
  }
}
