:root{
  --bg: #ffffff;
  --bg-alt:#f6f3ee;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
  --accent:#f28c28; /* тёплый оранжевый CTA */
  --accent2:#ffb36a;
  --card: rgba(255,255,255,.85);
  --shadow: 0 14px 40px rgba(17,24,39,.08);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.45;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(1180px, 92%); margin:0 auto}

/* =======================
   HEADER
======================= */
.header{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.82);
  border-bottom:1px solid rgba(229,231,235,.85);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.logo{display:flex; align-items:center; gap:10px}
.logo__mark{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff; font-weight:800;
  box-shadow: 0 12px 26px rgba(242,140,40,.20);
}
.logo__text{font-weight:700}
.logo--footer .logo__mark{width:34px;height:34px;border-radius:12px}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  color:var(--muted);
  font-weight:700;
  font-size:14px;
  padding:10px 10px;
  border-radius: 12px;
  transition: .18s ease;
}
.nav a:hover{
  color:var(--text);
  background: rgba(242,140,40,.08);
  border: 1px solid rgba(242,140,40,.16);
}

.header__actions{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid var(--border);
  font-weight:800;
  font-size:14px;
  transition: .2s ease;
  cursor:pointer;
  background:#fff;
}
.btn:hover{transform: translateY(-1px)}
.btn--primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  box-shadow: 0 18px 45px rgba(242,140,40,.22);
}
.btn--primary:hover{
  box-shadow: 0 22px 55px rgba(242,140,40,.28);
}
.btn--ghost{background:transparent}
.btn--wa{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.08);
}

/* Disabled state (for slider buttons) */
.btn:disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.burger{
  display:none;
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
}
.burger span{display:block; height:2px; margin:7px 10px; background:var(--text); border-radius:2px}

.nav--open{
  display:flex !important;
  position:absolute;
  left:4%;
  right:4%;
  top:66px;
  background:#fff;
  border:1px solid var(--border);
  border-radius: 16px;
  padding:14px;
  box-shadow: var(--shadow);
  flex-direction:column;
  gap:12px;
}

/* =======================
   HERO
======================= */
.hero{
  padding:54px 0 18px;
  background:
    radial-gradient(1100px 420px at 20% -10%, rgba(242,140,40,.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(255,179,106,.16), transparent 50%),
    linear-gradient(180deg, #fff, var(--bg-alt));
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:center;
}
.hero__content{max-width:620px}
.hero h1{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.1;
  letter-spacing:-0.6px;
  margin:0 0 12px;
}
.hero__sub{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:520px;
  margin:0;
}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin:22px 0 18px}
.hero__badges{display:flex; gap:10px; flex-wrap:wrap}
.badge{
  font-size:12px;
  color:var(--muted);
  padding:8px 12px;
  background: rgba(255,255,255,.75);
  border:1px solid rgba(229,231,235,.9);
  border-radius:999px;
}

.hero__media{display:flex; flex-direction:column; gap:10px}
.hero__note{margin:0; color:var(--muted); font-size:13px}

/* Before/After */
.before-after{
  position:relative;
  height: 360px;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid rgba(229,231,235,.9);
  background:#eee;
}
.before-after__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.before-after__img--after{
  clip-path: inset(0 0 0 55%);
}
.before-after__overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:16px;
  gap:10px;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.10));
}
.before-after__range{width:100%; accent-color: var(--accent);}
.before-after__labels{
  display:flex; justify-content:space-between;
  font-weight:900; font-size:12px;
  color:#fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.before-after__labels span{
  background: rgba(0,0,0,.28);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* =======================
   SECTIONS
======================= */
.section{padding:72px 0}
.section--alt{background:var(--bg-alt)}
.section__head{margin-bottom:22px}
.section__head h2{margin:0 0 8px; font-size:30px; letter-spacing:-0.2px}
.section__head p{margin:0; color:var(--muted); font-size:15px}

.grid{display:grid; gap:16px}
.grid--4{grid-template-columns: repeat(4, 1fr)}
.grid--3{grid-template-columns: repeat(3, 1fr)}

/* Cards */
.card{
  background: var(--card);
  border:1px solid rgba(229,231,235,.95);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card__img{
  height:160px;
  border-radius: 14px;
  background-size:cover;
  background-position:center;
  margin-bottom:12px;
}
.card h3{margin:0 0 6px; font-size:16px; letter-spacing:-0.2px}
.card p{margin:0 0 10px; color:var(--muted); font-size:13px}

.card:hover{
  transform: translateY(-5px);
  border-color: rgba(242,140,40,.28);
  box-shadow: 0 22px 55px rgba(17,24,39,.10);
}

.link{
  color:var(--accent);
  font-weight:900;
  display:inline-flex;
  gap:8px;
  align-items:center;
}
.link::after{content:"→"; transition:.18s ease}
.card:hover .link::after{transform: translateX(2px)}

/* Benefits */
.icon-card{
  background: rgba(255,255,255,.90);
  border:1px solid rgba(229,231,235,.95);
  border-radius: var(--radius);
  padding:18px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.icon-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(17,24,39,.08);
}
.icon{
  width:42px; height:42px;
  border-radius:14px;
  display:grid; place-items:center;
  background: rgba(242,140,40,.10);
  border: 1px solid rgba(242,140,40,.18);
  font-size:18px;
  margin-bottom:10px;
}
.icon-card h3{margin:0 0 6px}
.icon-card p{margin:0; color:var(--muted); font-size:14px}

/* Slider */
.slider{
  background: rgba(255,255,255,.80);
  border:1px solid rgba(229,231,235,.95);
  border-radius: 22px;
  padding:14px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
.slider__track{
  display:flex;
  gap:14px;
  transition: transform .35s ease;
  touch-action: pan-y;
  cursor: grab;
}
.slider__track:active{cursor:grabbing}
.slide{
  min-width: 72%;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(229,231,235,.95);
  background:#fff;
}
.slide img{height:340px; width:100%; object-fit:cover}
.slide__cap{
  padding:10px 12px;
  color:var(--muted);
  font-size:13px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.slide__cap strong{color:var(--text)}
.slider__controls{display:flex; gap:10px; justify-content:flex-end; margin-top:12px}

/* Testimonials */
.quote{
  background: rgba(255,255,255,.90);
  border:1px solid rgba(229,231,235,.95);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
.quote p{margin:0 0 10px; font-size:14px; line-height:1.65}
.quote__meta{color:var(--muted); font-weight:800; font-size:13px; opacity:.88}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}
.info-card{
  background: rgba(255,255,255,.90);
  border:1px solid rgba(229,231,235,.95);
  border-radius: var(--radius);
  padding:18px;
  margin-bottom:16px;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
.map{
  border:1px solid rgba(229,231,235,.95);
  border-radius: var(--radius);
  overflow:hidden;
  height: 260px;
  background:#fff;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
.map iframe{width:100%; height:100%; border:0}

.form{
  background: rgba(255,255,255,.90);
  border:1px solid rgba(229,231,235,.95);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
label{display:grid; gap:6px; font-weight:800; font-size:13px; margin-bottom:12px}
input, select, textarea{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(229,231,235,.95);
  font-family:inherit;
  font-size:14px;
  outline:none;
  background:#fff;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(242,140,40,.55);
  box-shadow: 0 0 0 4px rgba(242,140,40,.14);
}
.form button.btn--primary{
  width:100%;
  padding:14px 18px;
  font-size:15px;
}

/* Footer */
.footer{
  padding:26px 0;
  border-top:1px solid rgba(229,231,235,.95);
  background:#fff;
}
.footer__inner{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer__links{display:flex; gap:14px; color:var(--muted); font-weight:800}
.footer__links a:hover{color:var(--text)}

.muted{color:var(--muted)}
.small{font-size:12px}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr}
  .grid--4{grid-template-columns: repeat(2, 1fr)}
  .grid--3{grid-template-columns: repeat(1, 1fr)}
  .contact{grid-template-columns:1fr}
  .slide{min-width: 92%}
  .before-after{height:320px}
  .nav{display:none}
  .burger{display:inline-block}
  .section{padding:56px 0}
}
/* =======================
   FLOATING WHATSAPP
======================= */
.wa-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(37,211,102,.35);
  z-index: 50;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover{
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 55px rgba(37,211,102,.45);
}

/* =======================
   CTA POPUP
======================= */
.cta-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 60;
}
.cta-popup.is-visible{
  opacity: 1;
  pointer-events: auto;
}

.cta-popup__content{
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  width: min(420px, 90%);
  box-shadow: 0 30px 80px rgba(17,24,39,.25);
  text-align: center;
  position: relative;
  animation: popupIn .35s ease;
}

@keyframes popupIn{
  from{ transform: translateY(20px) scale(.96); opacity: 0 }
  to{ transform: translateY(0) scale(1); opacity: 1 }
}

.cta-popup__content h3{
  margin: 0 0 10px;
  font-size: 22px;
}
.cta-popup__content p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.cta-popup__close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  font-size: 20px;
  cursor: pointer;
}
.cta-popup__close:hover{
  background: #e5e7eb;
}
/* WhatsApp icon inside floating button */
.wa-float__icon{
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
