:root{
  --bg:#0E0E0E;--text:#fff;--muted:#bdbdbd;
  --tg:#29ABEE;--wa:#24D366;
  --container:1440px;--border:rgba(255,255,255,.22);
  --accent:#8DD563;--header-h:62px;
  --hero-img:url("foto.jpg");

  /* reels */
  --reel-w:310px;
  --reel-gap:20px;
}

/* ===== Base ===== */
*{box-sizing:border-box}
html,body{height:100%;overflow-x:hidden}
body{
  margin:0;color:var(--text);background:var(--bg);
  font:16px/1.5 "Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
body.no-scroll{overflow:hidden;overscroll-behavior:none}

/* ===== Header ===== */
.site-header{
  position:sticky;top:0;z-index:1000;background:transparent;
  backdrop-filter:saturate(140%) blur(10px);-webkit-backdrop-filter:saturate(140%) blur(10px)
}
.header-row{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;column-gap:28px;min-height:var(--header-h)
}
.logo{display:flex;align-items:center}
.logo-img{height:24px;width:auto;display:block}

/* Nav */
.nav{display:flex;align-items:center;justify-content:center;min-width:0;gap:16px}
.nav-list{
  display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;
  gap:44px;list-style:none;margin:0;padding:0
}
.nav-list a{display:block;padding:10px 0;border-radius:8px;white-space:nowrap}
.nav-list a:hover{background:rgba(255,255,255,.06)}
.burger{
  display:none;width:40px;height:40px;background:transparent;color:#fff;cursor:pointer;
  transition:opacity .2s ease;padding:0;border:none;margin:0
}
.burger:hover{opacity:.8}
.burger img{width:100%;height:100%;object-fit:contain}

/* Right side */
.header-actions{display:flex;align-items:center;gap:16px;justify-self:end;min-width:0}
.contact-note{display:flex;flex-direction:column;justify-content:center;font-size:10px;color:#fff;opacity:.8;line-height:1.4}
.messenger-icons{display:flex;align-items:center;gap:10px}
.btn-icon{
  width:28px;height:28px;border-radius:8px;display:grid;place-items:center;border:1px solid var(--border);color:#0e0e0e
}
.btn-icon.tg{background:var(--tg)}.btn-icon.wa{background:var(--wa)}
.phones-box{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-radius:12px;background:transparent}
.phones-box a{
  font-weight:600;color:#fff;white-space:nowrap;letter-spacing:.2px;max-width:100%;overflow:hidden;text-overflow:ellipsis
}
.btn{padding:10px 16px;border-radius:12px;font-weight:600;border:none;cursor:pointer}
.cta-ghost{background:transparent;color:#fff;border:1px solid #fff}
.cta-ghost:hover{background:rgba(255,255,255,.06)}

/* ===== Hero ===== */
.hero{
  position:relative;margin-top:calc(-1 * var(--header-h));
  padding:calc(56px + var(--header-h)) 0 64px;
  background:
    linear-gradient(0deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.25) 100%),
    linear-gradient(to bottom,rgba(0,0,0,0) 0%,#0E0E0E 100%),
    var(--hero-img) center/cover no-repeat
}
.hero-inner{max-width:760px;margin:150px 0}
.hero-title{
  margin:0 0 18px;font-family:"Oswald",system-ui,sans-serif;font-weight:700;
  text-transform:uppercase;letter-spacing:.02em;line-height:1.05;font-size:52px
}
.hero-title .nowrap{white-space:nowrap}
.hero-lead{margin:20px 0 50px;max-width:720px;font:18px/1.6 "Muller",system-ui,sans-serif;color:rgba(255,255,255,.9)}
.btn-primary{
  display:inline-flex;align-items:center;justify-content:center;background:var(--accent);
  color:#0E0E0E;border:0;border-radius:10px;padding:16px 62px;font:600 16px "Muller",system-ui,sans-serif
}
.btn-primary:hover{filter:brightness(1.05)}

/* ===== Hero features ===== */
.hero-features{
  position:relative;z-index:10;margin:140px auto 0;padding:0 20px;max-width:var(--container);
  display:grid;grid-template-columns:repeat(4,325px);justify-content:space-between;align-items:stretch;gap:0
}
.fcard{
  position:relative;display:flex;align-items:center;gap:14px;padding:18px 22px;border:1px solid rgba(255,255,255,.18);border-radius:10px;
  background:
    radial-gradient(180px 140px at 12% 12%,rgba(255,255,255,.10),transparent 60%),
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 6px 18px rgba(0,0,0,.25)
}
.fcard p{margin:0;font:16px/1.35 "Muller",system-ui,sans-serif;color:rgba(255,255,255,.95);max-width:235px}
.fcard-icon{
  flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(180deg,#A7EA7C 0%,#78C54B 100%);box-shadow:0 2px 6px rgba(141,213,99,.45),inset 0 -2px 0 rgba(0,0,0,.18)
}
.fcard-icon svg{width:18px;height:18px;fill:#0E0E0E}
.rise-5{transform:translateY(-5px)}.drop-5{transform:translateY(5px)}

/* ===== Section titles ===== */
.section-title{margin:0 0 24px;font:700 46px/1.1 "Oswald",system-ui,sans-serif;text-transform:uppercase}
.section-title.title-big{margin:0 0 48px;line-height:1.05;font-size:34px}
.center{text-align:center}

/* ===== Services ===== */
.services{padding:56px 0 80px;background:url('line1.svg') center -300px/cover no-repeat}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch}
.service-card{
  position:relative;min-height:360px;height:100%;padding:28px;border-radius:12px;border:1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(600px 260px at 20% 0%,rgba(80,120,80,.25),transparent 60%),
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.25);
  display:flex;flex-direction:column;gap:18px
}
.card-title{margin:0;font:600 24px/1.2 "Oswald",system-ui,sans-serif;letter-spacing:.02em;color:#fff}
.card-title.accent{color:var(--accent)}
.chips{display:flex;flex-wrap:wrap;gap:12px}
.chip{
  display:inline-flex;align-items:center;max-width:100%;padding:6px 16px;border-radius:10px;background:rgba(255,255,255,.20);
  font:16px/1.2 "Muller",system-ui,sans-serif;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.chip--light{background:#fff;color:#0E0E0E}
.card-arrow{
  position:absolute;right:18px;bottom:18px;width:50px;height:50px;border-radius:12px;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.8);
  display:grid;place-items:center;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s
}
.card-arrow:hover{background:var(--accent);color:#0E0E0E;border-color:transparent;box-shadow:0 6px 16px rgba(141,213,99,.4);transform:translateY(-1px)}

/* ===== Why ===== */
.why{padding:16px 0 88px}
.why-wrap{display:grid;grid-template-columns:minmax(420px,540px) 1fr;gap:24px;align-items:stretch}
.why-media{margin:0;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04)}
.why-media img{display:block;width:100%;height:100%;min-height:612px;max-height:612px;object-fit:cover;object-position:0 0}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 36px;align-items:start}
.why-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.why-card:nth-child(2),.why-card:nth-child(4){margin-top:30px}
.why-badge{
  position:relative;width:56px;height:56px;border-radius:12px;border:1px solid rgba(255,255,255,.6);
  display:grid;place-items:center;background:transparent;margin-bottom:30px
}
.why-badge::before{
  content:"";position:absolute;inset:0;margin:auto;width:30px;height:30px;border-radius:50%;
  background:var(--accent);box-shadow:0 0 0 4px rgba(141,213,99,.15)
}
.why-badge svg{position:relative;z-index:1;width:20px;height:20px;fill:#0E0E0E}
.why-card h3{margin:0 0 6px;font:600 22px/1.1 "Oswald",system-ui,sans-serif;letter-spacing:.02em}
.why-card p{margin:0;color:rgba(255,255,255,.9);line-height:1.35}

/* ===== Splitpay ===== */
.splitpay{
  padding:24px 0 90px;position:relative;
  background:url("line2.svg") center/cover no-repeat,linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02))
}
.split-grid{display:grid;grid-template-columns:minmax(520px,.9fr) 1.1fr;gap:0;align-items:stretch}
.split-card{
  border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:36px 36px 28px;
  background:radial-gradient(420px 180px at 50% 85%,rgb(141 213 99 / 0%),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.25);
  display:flex;flex-direction:column;height:100%
}
.split-title{margin:0 0 30px;font:700 46px/1.1 "Oswald",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.01em}
.split-text{margin:0;color:rgba(255,255,255,.9);max-width:560px}
.split-btn{margin-top:auto;width:100%;max-width:390px;height:62px;display:inline-flex;align-items:center;justify-content:center}
.split-media{margin:0;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-left:none;background:#0a0a0a}
.split-media img{display:block;width:100%;height:100%;min-height:656px;object-fit:cover}

/* ===== Reviews / Reels ===== */
.reviews{padding:56px 0 80px}
.reel{
  position:relative;border:1px solid rgba(255,255,255,.18);border-radius:14px;overflow:hidden;background:#000
}
.reel-video{width:100%;height:100%;display:block;object-fit:cover;aspect-ratio:9/16}
.reel::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35);transition:.15s ease;pointer-events:none}
.reel[data-playing="true"]::after{opacity:0}
.play-center{
  position:absolute;inset:0;margin:auto;display:grid;place-items:center;width:118px;height:118px;border-radius:50%;
  background:linear-gradient(180deg,#A7EA7C 0%,#78C54B 100%);color:#0E0E0E;border:1px solid rgba(255,255,255,.28);
  box-shadow:0 14px 28px rgba(141,213,99,.35),inset 0 -2px 0 rgba(0,0,0,.22);
  cursor:pointer;transition:transform .15s,opacity .15s;z-index:2
}
.play-center:hover{transform:translateY(-2px)}
.play-center svg{width:70px;height:70px;margin:auto}
.reel[data-playing="true"] .play-center{opacity:0;pointer-events:none}

/* == Reels carousel (fixed) == */
.reels-container{
  position:relative;overflow:hidden;padding:0 60px;margin-top:40px;
}
.reels-track{
  display:flex;align-items:center;justify-content:flex-start;
  gap:0;
  will-change:transform;transform:translateX(0);
  transition:transform .35s ease;
}
.reels-track .reel{
  flex:0 0 var(--reel-w);
  max-width:var(--reel-w);
  height:530px;
  transition:height .2s ease;
  margin-right:var(--reel-gap);
}
.reels-track .reel:last-child{margin-right:0}

/* Arrows */
.reels-nav,.cr-nav{
  position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;z-index:10;outline:none
}
.reels-nav:hover,.cr-nav:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}
.reels-nav.prev{left:20px}.reels-nav.next{right:20px}
.reels-nav svg{width:20px;height:20px}

/* Dots */
.reels-dots,.cr-dots{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:32px}
.reel-dot,.cr-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.3);border:none;cursor:pointer;transition:all .3s ease;padding:0;outline:none}
.reel-dot.active,.cr-dot.active{width:24px;height:8px;border-radius:4px;background:var(--accent)}
.reel-dot:hover,.cr-dot:hover{background:rgba(255,255,255,.5)}
.reel-dot.active:hover,.cr-dot.active:hover{background:var(--accent)}

/* ===== Client reviews ===== */
.client-reviews{
  padding:28px 0 84px;position:relative;
  background:url("0DB73412-28A8-40C9-9093-AD2A39EB98C7 1.svg") center -300px/cover no-repeat
}
.cr-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.yandex-badge{
  flex:0 0 auto;padding:10px 90px;border-radius:12px;background:var(--accent);color:#0E0E0E;font-weight:700;
  border:1px solid rgba(255,255,255,.2);margin-bottom:30px
}
.cr-card{
  position:relative;scroll-snap-align:start;border:1px solid rgba(255,255,255,.18);border-radius:16px;overflow:hidden;
  padding:20px;background:radial-gradient(420px 220px at 85% 15%,rgba(141,213,99,.12),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.25);
  min-height:280px;display:flex;flex-direction:column
}
.cr-top{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.cr-ava{width:52px;height:52px;border-radius:12px;display:grid;place-items:center;font-size:28px;background:#fff;color:#111}
.cr-name{font:600 20px/1.1 "Oswald",system-ui,sans-serif}
.cr-date{font-size:12px;color:var(--muted)}
.cr-text{margin:8px 0 16px;color:rgba(255,255,255,.92)}
.cr-link{margin-top:auto;display:inline-block;color:var(--text);opacity:.9;text-decoration:underline}

.cr-container{position:relative;overflow:hidden;padding:0 60px}
.cr-track{display:flex;gap:24px;position:relative;justify-content:center;align-items:center}
.cr-track .cr-card{flex:0 0 325px;max-width:325px;height:365px;transition:all .4s ease}
.cr-nav.prev{left:20px}.cr-nav.next{right:20px}
.cr-nav svg{width:20px;height:20px}

/* ===== About ===== */
.about{padding:56px 0 88px}
.about-grid{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
.about-media{margin:0;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04)}
.about-media img{display:block;width:100%;height:100%;min-height:460px;object-fit:cover}
.about-card{
  position:relative;border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:32px 32px 28px;
  background:radial-gradient(520px 220px at 95% 90%,rgb(141 213 99 / 0%),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.25);
  display:flex;flex-direction:column
}
.about-title{margin:0 0 30px;font:700 46px/1.05 "Oswald",system-ui,sans-serif;text-transform:uppercase}
.accent-text{color:var(--accent)}
.about-text{margin:0 0 28px;font:16px/1.55 "Muller",system-ui,sans-serif;color:rgba(255,255,255,.9);max-width:720px}
.about-btn{margin-top:auto;width:100%;max-width:356px;height:62px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px}

/* ===== FAQ ===== */
.faq{position:relative;overflow:visible;isolation:isolate;padding:36px 0 96px;background:none}
.faq::before{
  content:"";position:absolute;inset:-310px;background:url("line3.svg") center/contain no-repeat;
  z-index:0;pointer-events:none;opacity:1;transform:translateZ(0);background-position-y:-192px
}
.faq::after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(800px 320px at 85% 20%,rgba(141,213,99,.10),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  z-index:1;pointer-events:none
}
.faq>*{position:relative;z-index:2}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.faq-item{
  border:1px solid rgba(255,255,255,.18);border-radius:14px;overflow:hidden;
  background:radial-gradient(420px 180px at 50% 85%,rgb(141 213 99 / 0%),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  align-self:start
}
.faq-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 22px 22px 26px;cursor:pointer;border:0;background:transparent;
  font:700 24px "Oswald",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.02em;color:#fff
}
.faq-toggle{
  flex:0 0 auto;width:48px;height:48px;border-radius:12px;background:var(--accent);position:relative;
  box-shadow:0 8px 20px rgba(141,213,99,.35),inset 0 -2px 0 rgba(0,0,0,.22)
}
.faq-toggle::before,.faq-toggle::after{content:"";position:absolute;inset:0;margin:auto;width:22px;height:3px;background:#0E0E0E;border-radius:2px}
.faq-toggle::after{transform:rotate(90deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;padding:0 26px}
.faq-a p{margin:0 0 22px;color:rgba(255,255,255,.9);line-height:1.55}
.faq-item.open .faq-a{max-height:320px;padding-top:6px}
.faq-item.open .faq-toggle::after{transform:rotate(0deg);opacity:0}

/* ===== Contacts ===== */
.contacts{padding:28px 0 86px}
#contacts-title{font:700 46px/1.1 "Oswald",system-ui,sans-serif;text-transform:uppercase;margin:0}
.contacts-grid{display:grid;grid-template-columns:.95fr 1.05fr;align-items:stretch}
.contacts-card{
  border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:32px;
  background:radial-gradient(800px 400px at 5% 5%,rgba(141,213,99,.10),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.25);display:flex;flex-direction:column;gap:8px
}
.contacts-sub{margin:30px 0 40px;font:16px "Muller",system-ui,sans-serif;color:rgba(255,255,255,.85)}
.contacts-block{margin:0}
.contacts-line{font:23px "Muller",system-ui,sans-serif;opacity:.95}
.contacts-phone{display:block;font:700 22px "Muller",system-ui,sans-serif;margin:10px 0 0}
.contacts-mail{display:inline-block;margin-top:10px;font:24px "Muller",system-ui,sans-serif;opacity:.95;text-decoration:underline}
.contacts-social{margin-top:18px;display:flex;gap:12px}
.btn-icon-lg{width:56px;height:56px;border-radius:12px;display:grid;place-items:center;color:#0E0E0E;border:1px solid rgba(255,255,255,.22)}
.btn-icon-lg svg{width:50px;height:50px}
.btn-icon-lg.tg{background:var(--tg)}.btn-icon-lg.wa{background:var(--wa)}
.contacts-map{border:1px solid rgba(255,255,255,.18);border-radius:16px;overflow:hidden;min-height:360px;background:#0a0a0a}
.contacts-map iframe{display:block;width:100%;height:100%;min-height:360px;border:0}

/* ===== Footer ===== */
.site-footer{position:relative;background:var(--accent);min-height:60px;display:flex;align-items:center;border-radius:18px 18px 0 0}
.footer-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 20px}
.footer-logo{height:22px;width:auto;display:block}
.footer-policy{color:#0E0E0E;font-weight:600;white-space:nowrap}
.footer-policy:hover{text-decoration:underline}

/* ===== Mobile menu ===== */
/* Оверлей статичен (без transform). Скролл — у панели .mobile-menu-content */
.mobile-menu{
  position:fixed;top:0;left:0;width:100%;
  height:100vh;height:100dvh;
  background:#000;z-index:9999;
  opacity:0;visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
}
.mobile-menu.open{opacity:1;visibility:visible}
.mobile-menu-content{
  width:100%;
  height:100vh;height:100dvh;
  background:#000;display:flex;flex-direction:column;box-sizing:border-box;
  overflow:auto; -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
  padding:20px;
  padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px));
  /* именно панель едет слева/справа */
  transform:translateX(100%);
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open .mobile-menu-content{transform:translateX(0)}
.mobile-menu-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:60px;padding-bottom:20px}
.mobile-menu-logo .logo-img{height:28px}
.mobile-menu-close{
  width:40px;height:40px;border-radius:10px;border:1px solid #fff;background:transparent;color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:all .2s ease
}
.mobile-menu-close:hover{background:rgba(255,255,255,.06)}
.mobile-nav{flex:1;display:flex;align-items:center;justify-content:center;margin-bottom:60px}
.mobile-nav-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:32px;text-align:center}
.mobile-nav-list a{
  display:block;font:600 32px "Oswald",system-ui,sans-serif;color:#fff;text-decoration:none;text-transform:uppercase;transition:color .2s ease
}
.mobile-nav-list a:hover{color:var(--accent)}
.mobile-menu-footer{
  display:flex;flex-direction:column;gap:24px;
  position:sticky;bottom:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%);
  padding-top:16px;
  padding-bottom:calc(16px + env(safe-area-inset-bottom, 0px));
}
.mobile-contact-section{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.mobile-contact-left{display:flex;flex-direction:column;gap:12px}
.mobile-contact-note{display:flex;flex-direction:column;font-size:14px;color:#fff;opacity:.8;line-height:1.4}
.mobile-messenger-icons{display:flex;gap:12px}
.mobile-phones-box{display:flex;flex-direction:column;gap:8px}
.mobile-phones-box a{font-weight:600;color:#fff;font-size:18px;font-family:"Muller",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.mobile-consult-btn{
  width:100%;text-align:center;padding:16px;font-size:16px;border:1px solid #fff;background:transparent;color:#fff;border-radius:10px;cursor:pointer;transition:all .2s ease
}
.mobile-consult-btn:hover{background:rgba(255,255,255,.06)}

/* ===== Body repair info ===== */
.body-repair-info{
  padding:56px 0 80px;
  background:radial-gradient(800px 320px at 12% 12%,rgb(141 213 99 / 0%),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  overflow:hidden
}
.bri-head{max-width:980px;margin:0}
.bri-intro{margin:10px 0 0;color:rgba(255,255,255,.9);line-height:1.55}
.bri-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.bri-col{min-width:0}
.bri-col--info{
  border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:22px;
  background:radial-gradient(520px 220px at 95% 90%,rgba(141,213,99,.12),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.25);
  display:flex;flex-direction:column;gap:14px
}
.bri-subtitle{margin:6px 0;font:700 22px/1.2 "Oswald",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.02em}
.bri-list{margin:0 0 6px;padding-left:18px;color:rgba(255,255,255,.92)}
.bri-list li{margin:6px 0}
.bri-note{color:var(--muted)}
.bri-cta{margin-top:6px}
.bri-figure{margin:0 0 14px;border:1px solid rgba(255,255,255,.18);border-radius:14px;overflow:hidden;background:rgba(255,255,255,.03)}
.bri-figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center}
.bri-steps{counter-reset:step;list-style:none;padding:0;margin:12px 0 8px;display:flex;flex-direction:column;gap:10px;min-width:0}
.bri-steps li{
  position:relative;border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:12px 12px 12px 52px;
  background:radial-gradient(520px 220px at 95% 90%,rgba(141,213,99,.12),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.25)
}
.bri-steps li::before{
  counter-increment:step;content:counter(step);
  position:absolute;left:12px;top:12px;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--border);
  background:linear-gradient(180deg,#A7EA7C 0%,#78C54B 100%);color:#0E0E0E;font-weight:700;font-size:14px;
  box-shadow:0 4px 12px rgba(141,213,99,.35),inset 0 -2px 0 rgba(0,0,0,.22)
}
.bri-step-title{display:block;font-weight:700;margin:0 0 2px}
.bri-steps p{margin:0;color:rgba(255,255,255,.92);line-height:1.45}
.bri-footnote{color:var(--muted);margin-top: 30px;}

/* ===== Type clamp ===== */
.hero-title{font-size:clamp(28px,4.2vw,52px)}
.section-title{font-size:clamp(26px,3.4vw,46px)}
.section-title.title-big{font-size:clamp(24px,2.6vw,40px)}
.card-title{font-size:clamp(18px,1.8vw,24px)}
.cr-name{font-size:clamp(16px,1.5vw,20px)}

/* ===== Media ===== */
/* header/nav tweaks */
@media (max-width:1440px){.nav{justify-content:flex-end}.nav-list{gap:36px}}
@media (max-width:1240px){.nav-list{gap:28px}}

/* Hero small */
@media (max-width:767px){
  :root{--header-h:60px}
  .hero{
    margin-top:calc(-1 * var(--header-h));
    padding:calc(10px + var(--header-h)) 0 44px;
    background:
      linear-gradient(0deg,rgba(0,0,0,0) 20%,rgba(0,0,0,.25) 100%),
      linear-gradient(to bottom,rgba(0,0,0,0) 0%,#0E0E0E 100%),
      var(--hero-img) center top/auto 60% no-repeat
  }
  .hero-inner{margin:80px 0 40px}
  .hero-title{font-size:34px;max-width:100%}
  .hero-title .nowrap{white-space:normal}
  .hero-lead{font-size:14px;margin-bottom:20px}
}

/* Hero features responsive */
@media (max-width:1440px) and (min-width:768px){
  :root{--header-h:80px}
  .hero-features{margin:150px auto 0;grid-template-columns:repeat(2,1fr);gap:20px;justify-content:center}
  .fcard p{max-width:none;font-size:15px}
  .hero-features .fcard:nth-child(1),.hero-features .fcard:nth-child(3){transform:translateY(-8px)}
  .hero-features .fcard:nth-child(2),.hero-features .fcard:nth-child(4){transform:translateY(8px)}
}
@media (max-width:767px){
  .hero-features{margin:40px auto 0;padding:0;grid-template-columns:1fr;gap:16px}
  .fcard{min-height:80px;padding:16px 20px;transform:none}
  .fcard p{max-width:none;font-size:14px}
  .fcard-icon{flex:0 0 28px;width:28px;height:28px}
  .fcard-icon svg{width:16px;height:16px}
}

/* Services responsive */
@media (max-width:1439px){
  .services-grid{grid-template-columns:1fr}
  .service-card{min-height:200px;height:200px}
}
@media (max-width:767px){
  .services{padding-top:16px;position:relative;background:none;overflow-x:hidden}
  .services::before{
    content:"";position:absolute;top:50%;left:50%;width:120vh;height:70%;
    background:url('line1.svg') center/cover no-repeat;transform:translate(-50%,-50%) rotate(90deg);z-index:-1
  }
  .services .section-title{font-size:32px;margin-bottom:20px}
  .chips{max-width:93%;gap:8px}.chip{font-size:14px}
}

/* Why responsive */
@media (min-width:1441px){
  .section-title.title-big.center{text-align:left;margin-left:30%}
  .why .section-title.title-big{font-size:46px;margin-bottom:48px}
  .why-card h3{font-size:24px}.why-card p{font-size:16px}
}
@media (max-width:1439px) and (min-width:960px){.why-media img{object-position:center}.why-wrap{grid-template-columns:300px 1fr}}
@media (max-width:959px){.why-wrap{grid-template-columns:1fr;gap:0}.why-media{display:none}.why-content{max-width:100%}}
@media (max-width:767px){.why-grid{grid-template-columns:1fr;gap:20px}.why .section-title.title-big{font-size:32px;margin-bottom:30px}}

/* Split responsive */
@media (max-width:959px){.split-grid{grid-template-columns:1fr;gap:24px}}
@media (min-width:960px) and (max-width:1440px){
  .splitpay{padding-top:12px}.split-grid{grid-template-columns:1fr 1fr}
  .split-card,.split-media{max-height:455px}
  .split-media img{min-height:0;object-position:center bottom}
}

/* Reels responsive */
@media (max-width:1199px) and (min-width:960px){
  :root{--reel-w:250px}
  .reels-track .reel{height:420px}
}
@media (max-width:959px) and (min-width:768px){
  :root{--reel-w:220px}
  .reels-track .reel{height:380px}
  .reels-nav{width:40px;height:40px}.reels-nav.prev{left:10px}.reels-nav.next{right:10px}
}
@media (max-width:767px){
  :root{--reel-w:200px}
  .reels-track .reel{height:350px}
  .reels-nav{width:36px;height:36px}.reels-nav.prev{left:8px}.reels-nav.next{right:8px}
  .reels-nav svg{width:16px;height:16px}
}
@media (max-width:560px){
  :root{--reel-w:180px}
  .reels-track .reel{height:320px}
}
@media (max-width:480px){
  .reels-nav{width:32px;height:32px}.reels-nav.prev{left:5px}.reels-nav.next{right:5px}
  .reels-nav svg{width:14px;height:14px}
  .cr-container{padding:0 30px}
  .cr-track .cr-card{flex:0 0 180px;max-width:180px}
}

/* Client reviews grid variants */
@media (min-width:960px) and (max-width:1440px){
  .client-reviews{background-position-y:0}
  .client-reviews .section-title{max-width:480px;font-size:42px}
  .cr-heading{max-width:1180px;margin:0 auto 22px;padding:0 60px}
  .cr-container{max-width:1180px;margin:0 auto;padding:0 60px}
  .cr-track{display:grid!important;grid-template-columns:repeat(3,1fr);gap:24px}
  .cr-track .cr-card{flex:none;max-width:none;width:100%;height:460px!important}
  .cr-track .cr-card:nth-child(n+4){display:none}
}
@media (min-width:768px) and (max-width:960px){
  .reviews .section-title.title-big.center{font-size:38px;text-align:left;margin-left:15%}
  .client-reviews{background-position-y:0}
  .client-reviews .section-title{font-size:38px;max-width:400px;margin-bottom:0}
  .cr-heading{padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px;width:100%}
  .yandex-badge{width:210px;height:52px;display:flex;align-items:center;justify-content:center}
  .cr-container{padding:0 20px;max-width:1200px;margin:0 auto}
  .cr-track{display:grid!important;grid-template-columns:1fr 1fr;gap:24px}
  .cr-track .cr-card{flex:none;max-width:none;width:100%;height:400px}
  .cr-track .cr-card:nth-child(n+3){display:none}
}
@media (max-width:767px){
  .reviews .section-title.title-big.center{font-size:32px;text-align:left;margin-left:5%}
  .client-reviews .section-title{font-size:32px;max-width:400px;margin-bottom:0}
  .cr-heading{padding:0 5px;flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:30px;width:100%}
  .yandex-badge{width:100%;max-width:350px;height:52px;display:flex;align-items:center;justify-content:center}
  .cr-container{padding:0 5px;max-width:1200px;margin:0 auto}
  .cr-track{display:grid!important;grid-template-columns:1fr;gap:24px}
  .cr-track .cr-card{flex:none;max-width:none;width:100%;height:400px}
  .cr-track .cr-card:nth-child(n+2){display:none}
}

/* About responsive */
@media (min-width:960px) and (max-width:1440px){.about-grid{grid-template-columns:1fr 1fr}.about-media,.about-card{max-height:420px}}
@media (min-width:768px) and (max-width:960px){
  .about{padding-top:0;padding-bottom:24px}
  .about-grid{grid-template-columns:1fr;grid-template-rows:auto auto}
  .about-title{font-size:36px;margin-bottom:20px}
  .about-text{font-size:14px;margin-bottom:40px;max-width:100%}
  .about-btn{padding:13px 0}
  .about-media{max-height:340px}
  .about-media img{max-height:340px;width:100%;object-fit:cover;object-position:left 80%}
}
@media (max-width:767px){
  .about{padding-top:0;padding-bottom:24px}
  .about-grid{grid-template-columns:1fr;grid-template-rows:auto auto}
  .about-card{order:1;padding:20px}
  .about-media{order:2;max-height:340px}
  .about-title{font-size:32px;margin-bottom:20px}
  .about-text{font-size:14px;margin-bottom:30px;max-width:100%}
  .about-btn{padding:13px 0}
  .about-media img{max-height:340px;width:100%;object-fit:cover;object-position:left 80%}
}

/* FAQ responsive */
@media (max-width:820px){.faq-grid{grid-template-columns:1fr}}
@media (min-width:768px) and (max-width:960px){
  .faq .section-title.title-big.center{font-size:40px;margin-bottom:30px}
  .faq{padding-bottom:52px}.faq-q{font-size:22px}
}
@media (max-width:767px){
  .faq .section-title.title-big.center{font-size:32px;margin-bottom:20px}
  .faq{padding-bottom:52px}.faq-q{font-size:20px;padding:20px 13px;text-align:left}
}

/* Contacts responsive */
@media (max-width:820px){.contacts-grid{grid-template-columns:1fr}.contacts-map{min-height:300px}}
@media (min-width:768px) and (max-width:960px){
  .contacts .section-title{font-size:46px}
  .contacts p{font-size:14px}
  .contacts-phone,.contacts-mail{font-size:22px}
  .contacts-social{margin-top:0;margin-left:0}
}
@media (max-width:767px){
  .contacts-card{padding:20px}
  .contacts .section-title{font-size:32px}
  .contacts p{font-size:14px;margin:10px 0 20px}
  .contacts-phone,.contacts-mail{font-size:20px}
  .contacts-social{margin-top:10px;margin-left:0}
}

/* Footer responsive */
@media (max-width:767px){
  .footer-row{flex-direction:column;align-items:center;gap:10px;padding:20px}
  .footer-logo{height:20px;width:130px;object-fit:contain}
  .footer-policy{font-size:14px;text-align:center}
  .site-footer{padding:20px 0 10px}
}

/* ===== HEADER responsive (как в эталонном файле) ===== */
@media (max-width:960px){.burger{display:block}.desktop-menu{display:none}}
@media (min-width:768px) and (max-width:960px){
  .header-row{grid-template-columns:auto minmax(0,1fr) auto;column-gap:20px;min-height:80px}
  .header-actions{gap:16px}
  .contact-note,.messenger-icons,.phones-box{display:none}
  .cta-ghost{height:40px;padding:0 20px;display:flex;align-items:center;justify-content:center;font-size:16px;border-radius:10px}
  /* ширина панели меню на 768–960 */
  .mobile-menu{width:60%;left:auto;right:0}
}
@media (min-width:960px) and (max-width:1440px){
  .header-row{grid-template-columns:auto minmax(0,1fr) auto;column-gap:40px;min-height:80px}
  .header-actions{gap:20px}
  .phones-box{display:flex;flex-direction:column;gap:4px;padding:0;background:transparent;height:40px;justify-content:center}
  .phones-box a{font-size:16px;font-weight:600;line-height:1;font-family:"Muller",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
  .cta-ghost{height:40px;padding:0 20px;display:flex;align-items:center;justify-content:center;font-size:16px;border-radius:10px}
  .burger{display:block}.desktop-menu{display:none}
  .contact-note{display:flex;flex-direction:column;font-size:12px;color:#fff;opacity:.8;margin-right:16px}
  .messenger-icons{display:flex;gap:10px}
  /* ширина панели меню на 960–1440 */
  .mobile-menu{width:50%;left:auto;right:0}
}

/* ===== Mobile menu responsive ===== */
@media (max-width:960px){
  .mobile-contact-section{flex-direction:row;justify-content:space-between;align-items:center;gap:20px}
  .mobile-contact-note{display:flex;flex-direction:column;gap:4px}
  .mobile-contact-left{display:flex;flex-direction:row;align-items:center;gap:16px}
  .mobile-messenger-icons{display:flex;gap:12px}
  .mobile-messenger-icons .btn-icon{width:30px;height:30px}
  .mobile-messenger-icons .btn-icon svg{width:18px;height:18px}
  .mobile-phones-box{text-align:right}
  .mobile-nav-list li a{text-transform:capitalize}
}
@media (min-width:960px){
  .mobile-contact-section{flex-direction:row;align-items:center;gap:40px}
  .mobile-contact-note{gap:2px;max-height:22px}
  .mobile-contact-note span{font-size:10px;line-height:1}
  .mobile-contact-left{flex-direction:row;align-items:center;gap:16px}
  .mobile-messenger-icons .btn-icon{width:33px;height:33px}
  .mobile-messenger-icons .btn-icon svg{width:18px;height:18px}
  .mobile-phones-box{text-align:right}
}
@media (max-width:767px){
  .header-row{grid-template-columns:auto minmax(0,1fr) auto;column-gap:16px;min-height:60px}
  .header-actions{gap:0}
  .contact-note,.messenger-icons,.phones-box,.cta-ghost{display:none}
  .mobile-menu{width:100%;left:0;right:0}
  .mobile-menu-content{padding:20px 40px calc(24px + env(safe-area-inset-bottom, 0px))}
  .mobile-contact-section{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:20px}
  .mobile-contact-note{line-height:.8;font-size:12px;gap:4px}
  .mobile-contact-left{gap:8px}
  .mobile-menu .cta-ghost{display:block !important;}
}

/* Small fixes */
@media (max-width:820px){.services-grid,.faq-grid,.contacts-grid{grid-template-columns:1fr}}
@media (max-width:767px){
  .service-card{min-height:300px!important;height:350px!important;font-size:14px!important}
  .card-title{font-size:20px!important}
  .mobile-contact-section{flex-direction:column;gap:20px}
  .mobile-phones-box,.mobile-contact-left{align-items:center;text-align:center}
}
@media (max-width:560px){
  .mobile-menu-content{padding:16px 16px calc(16px + env(safe-area-inset-bottom, 0px))}
  .mobile-nav-list li a{font-size:28px}
  .mobile-menu-header{margin-bottom:40px}
  .mobile-nav{margin-bottom:40px}
}

/* Large screens */
@media (min-width:1501px){
  .client-reviews{background-position-y:calc(-1 * (100vw - 1440px) / 2 - 250px)}
}

/* Extra adaptation */
.services-grid{grid-template-columns:repeat(3,1fr)}
@media (max-width:1279px){.services-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.services-grid{grid-template-columns:1fr}}
.service-card{min-height:auto!important;height:auto!important}
.chips{max-width:none}
.chip{font-size:clamp(13px,1.8vw,16px)}
@media (max-width:767px){
  .hero{padding:calc(12px + var(--header-h)) 0 40px}
  .hero-inner{margin:64px 0 28px}
  .hero-lead{font-size:14px;margin-bottom:18px}
}
@media (max-width:1279px) and (min-width:768px){
  .hero-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media (max-width:767px){
  .hero-features{grid-template-columns:1fr;gap:14px}
  .fcard{padding:16px 18px}
  .fcard p{font-size:14px}
}
@media (max-width:1439px) and (min-width:960px){
  .why-wrap{grid-template-columns:minmax(320px,420px) 1fr}
  .why-media img{min-height:480px;max-height:480px;object-position:center}
}
@media (max-width:959px){.why-media{display:none}}
.split-media img{min-height:0;height:auto;aspect-ratio:16/10;object-fit:cover}
@media (max-width:959px){.split-media img{aspect-ratio:16/9}}
@media (max-width:899px){.reels-nav,.cr-nav{width:40px;height:40px}}
@media (max-width:560px){
  .cr-track .cr-card{height:auto;min-height:320px}
}
.about-media img{min-height:0;height:auto;max-height:unset}
@media (max-width:960px){.about-media img{aspect-ratio:16/9;object-fit:cover;object-position:center}}
.about-card{gap:16px}.about-text{max-width:unset}
.faq-a{transition:max-height .3s ease}
@media (max-width:599px){
  .faq-q{font-size:18px;padding:18px 14px}
  .faq-item.open .faq-a{max-height:480px}
}
@media (max-width:1024px){.contacts-grid{grid-template-columns:1fr}}
.contacts-map iframe{min-height:clamp(280px,40vw,420px)}
@media (max-width:1100px){.contact-note,.messenger-icons,.phones-box{display:none}}
@media (max-width:797px){.btn-consult{padding:16px 48px}}
@media (max-width:767px){
  .mobile-menu{width:100%;left:0;right:0}
  .mobile-menu-content{padding-inline:24px}
  .bri-grid{display:block;}
  .bri-figure{margin-top:30px;}
  .about-media{margin-top:30px;}
  .split-btn{margin-top:30px;}
}
.bri-figure img{object-position:center;aspect-ratio:16/9}
@media (max-width:599px){
  .bri-steps li{padding-left:46px}
  .bri-steps li::before{left:10px;top:10px}
}

@media (max-width:360px){.burger{width:32px;height:32px}}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
}