﻿/* =============================================
   Р СџР вЂўР В Р вЂўР СљР вЂўР СњР СњР В«Р вЂў
   ============================================= */
:root {
  --bg: #ffffff;
  --bg2: #f8f9fb;
  --bg3: #f1f3f5;
  --accent: #e85d4a;
  --accent2: #1e3a5f;
  --text: #1e3a5f;
  --sub: #6b7280;
  --border: #e5e7eb;
}

[data-theme="dark"] {
  --bg: #1a1a24;
  --bg2: #22222e;
  --bg3: #2c2c3c;
  --accent: #f47b6b;
  --accent2: #e8e8f2;
  --text: #e8e8f2;
  --sub: #9898b8;
  --border: #38384f;
}

/* =============================================
   Р РЋР вЂР В Р С›Р РЋ Р В Р вЂР С’Р вЂ”Р С’
   ============================================= */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hp-field{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;tabindex:-1}
.grecaptcha-badge{visibility:hidden!important}
.recaptcha-note{font-size:11px;color:var(--sub);margin-top:10px;line-height:1.5}
.recaptcha-note a{color:var(--sub);text-decoration:underline}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* =============================================
   Р СџР В Р вЂўР вЂєР С›Р С’Р вЂќР вЂўР В 
   ============================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease;
}

.pl-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.5px;
  animation: pl-pulse 1.2s ease-in-out infinite;
}

.pl-logo span {
  color: var(--accent);
}

@keyframes pl-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* =============================================
   Р СњР С’Р вЂ™Р ВР вЂњР С’Р В¦Р ВР Р‡
   ============================================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 52px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}

[data-theme="dark"] nav {
  background: rgba(34, 34, 46, .92);
}
.logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent2);
  letter-spacing: -.5px;
  text-decoration: none;
}
.logo span {
  color: var(--accent);
}

.nl {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nl a {
  color: var(--sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nl a:hover {
  color: var(--accent2);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 8px;
  border: none;
  background: transparent;
  flex-shrink: 0;
  min-width: 0;
  transition: transform .2s;
}

.lang-switcher:hover {
  transform: translateY(-1px);
}

.lang-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 4px;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  box-shadow: 0 16px 30px rgba(15, 23, 42, .14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 100;
}

.lang-switcher.is-open .lang-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.lang-btn:hover {
  background: var(--bg3);
  color: var(--text);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-btn.is-active {
  background: var(--text);
  color: #fff;
}

[data-theme="dark"] .lang-btn.is-active {
  background: var(--accent);
}

/* Р С™Р Р…Р С•Р С—Р С”Р В° РЎвЂљРЎвЂР СР Р…Р С•Р в„– РЎвЂљР ВµР СРЎвЂ№ */
#theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
#theme-toggle:hover {
  border-color: var(--accent);
  background: var(--bg3);
}

.ncta {
  padding: 10px 26px;
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all .25s;
  border: 1.5px solid var(--accent);
  cursor: pointer;
}
.ncta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

[data-theme="dark"] .ncta {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}
[data-theme="dark"] .ncta:hover {
  background: var(--accent);
  color: #fff;
}

.hmb {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}
.hmb span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 52px 80px;
  max-width: 1300px;
  margin: 0 auto;
  gap: 80px;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

.hero-right {
  flex: 0 0 480px;
  display: flex;
  justify-content: flex-end;
}

.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--bg3);
  font-size: 13px;
  color: var(--sub);
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.h-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--accent2);
}

.acc {
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  color: var(--sub);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.hbtns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bp {
  padding: 15px 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all .25s;
  letter-spacing: -.1px;
  border: none;
  cursor: pointer;
}
.bp:hover {
  background: #d44a38;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 74, .25);
}

[data-theme="dark"] .bp:hover {
  background: #f09080;
}

.bs {
  padding: 15px 36px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all .25s;
  background: transparent;
  cursor: pointer;
}
.bs:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 12px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 28px;
  flex: 1;
  min-width: 120px;
  transition: all .3s;
}
.hs-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.hs-n {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
  line-height: 1;
}
.hs-l {
  font-size: 13px;
  color: var(--sub);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero РІР‚вЂќ Р С—Р В»Р В°Р Р†Р В°РЎР‹РЎвЂ°Р С‘Р Вµ Р С”Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р С‘ */
.h-visual {
  width: 440px;
  height: 460px;
  position: relative;
  transform: translateX(140px);
}

.hv-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  position: absolute;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .07);
  animation: float 4s ease-in-out infinite;
}
.hv-card:nth-child(2) {
  animation-delay: -2s;
}

.hvc1 { width: 260px; top: 0;   left: 80px; }
.hvc2 { width: 250px; top: 140px; right: 0; animation-delay: -1.5s; }
.hvc3 { width: 240px; bottom: 0; left: 30px; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hvc-ico   { font-size: 24px; margin-bottom: 12px; color: var(--accent); display: flex; align-items: center; }
.hvc-name  { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.hvc-price { font-size: 18px; font-weight: 900; color: var(--accent); }
.hvc-sub   { font-size: 12px; color: var(--sub); margin-top: 4px; }

/* Р С’Р Р…Р С‘Р СР В°РЎвЂ Р С‘РЎРЏ Р В·Р В°Р С–Р С•Р В»Р С•Р Р†Р С”Р В° h1 */
.h1-rotate {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.06;
}
.h1-word {
  display: inline-block;
  white-space: nowrap;
  transform: translateY(0);
  opacity: 1;
}

/* =============================================
   Р РЋР вЂўР С™Р В¦Р ВР В (Р С•Р В±РЎвЂ°Р ВµР Вµ)
   ============================================= */
.sec {
  padding: 100px 52px;
  max-width: 1300px;
  margin: 0 auto;
}

.sec-hd {
  margin-bottom: 64px;
}

.tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--accent2);
}

.sub-txt {
  font-size: 18px;
  color: var(--sub);
  max-width: 520px;
  line-height: 1.65;
}

/* =============================================
   Р Р€Р РЋР вЂєР Р€Р вЂњР В / Р С™Р вЂўР в„ўР РЋР В«
   ============================================= */
.srv-g {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.del-g  { grid-template-columns: repeat(2, 1fr); }
.port-g { grid-template-columns: repeat(2, 1fr); }

.sc {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.sc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: .3s;
}
.sc:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(232, 93, 74, .08);
  transform: translateY(-4px);
}
.sc:hover::before {
  transform: scaleX(1);
}

.sc-ico   { font-size: 26px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(232, 93, 74, .08); border-radius: 14px; color: var(--accent); margin-bottom: 24px; }
[data-theme="dark"] .sc-ico { background: rgba(240, 112, 96, .12); }
.sc h3    { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 12px; color: var(--accent2); }
.sc p     { color: var(--sub); font-size: 15px; line-height: 1.65; margin-bottom: 24px; }

.sc-features {
  list-style: none;
  margin-bottom: 28px;
}
.sc-features li {
  font-size: 14px;
  color: var(--sub);
  padding: 5px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.sc-features li::before {
  content: "\2192";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.sc-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.5px;
}

/* =============================================
   Р СџР С›Р вЂєР С›Р РЋР С’ CTA
   ============================================= */
.strip {
  background: var(--text);
  padding: 80px 52px;
  margin: 0;
}

[data-theme="dark"] .strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.strip-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.strip h2 { color: #fff; margin-bottom: 12px; }
.strip p  { color: rgba(255, 255, 255, .6); font-size: 18px; max-width: 500px; line-height: 1.6; }

[data-theme="dark"] .strip h2 { color: var(--text); }
[data-theme="dark"] .strip p  { color: var(--sub); }

.strip-cta {
  padding: 18px 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .25s;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}
.strip-cta:hover {
  transform: scale(1.03);
}

[data-theme="dark"] .strip-cta {
  background: var(--accent);
  color: #fff;
}

/* =============================================
   Р СџР В Р вЂўР ВР СљР Р€Р В©Р вЂўР РЋР СћР вЂ™Р С’
   ============================================= */
.ben-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bni {
  padding: 32px;
  border-radius: 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  transition: all .3s;
}
.bni:hover {
  background: var(--bg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
  transform: translateY(-3px);
}

.bni-ico { font-size: 22px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(232, 93, 74, .08); border-radius: 12px; color: var(--accent); margin-bottom: 16px; }
[data-theme="dark"] .bni-ico { background: rgba(240, 112, 96, .12); }
.bni h4  { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.3px; color: var(--accent2); }
.bni p   { font-size: 14px; color: var(--sub); line-height: 1.6; }

/* =============================================
   Р СџР В Р С›Р В¦Р вЂўР РЋР РЋ
   ============================================= */
.proc-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.ps {
  padding: 40px 32px;
  background: var(--bg);
  transition: background .3s;
}
.ps:hover {
  background: var(--bg2);
}

.ps-n { font-size: 36px; font-weight: 900; color: var(--accent); opacity: .25; line-height: 1; margin-bottom: 16px; }
.ps h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; color: var(--accent2); }
.ps p  { font-size: 14px; color: var(--sub); line-height: 1.6; }
.ps-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ps-tag  { font-size: 11px; font-weight: 700; color: var(--accent); background: rgba(232,93,74,.08); border-radius: 6px; padding: 3px 9px; white-space: nowrap; }

/* =============================================
   Р СћР вЂўР ТђР СњР С›Р вЂєР С›Р вЂњР ВР В
   ============================================= */
.tech-g {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}

.tp {
  padding: 14px 22px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-weight: 700;
  color: var(--sub);
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tp:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg3);
}

.tp img {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.tp img.ico-lg {
  width: 30px;
  height: 30px;
}

/* Kaspi Pay РІР‚вЂќ РЎвЂћР С‘РЎР‚Р СР ВµР Р…Р Р…РЎвЂ№Р в„– Р В±Р ВµР в„–Р Т‘Р В¶ */
.kaspi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #00b140;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 6px;
  flex-shrink: 0;
  line-height: 1;
}

/* =============================================
   Р С™Р С›Р СњР СћР С’Р С™Р СћР В«
   ============================================= */
#contact.sec {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding-top: 16px;
  padding-bottom: 16px;
  scroll-margin-top: -44px;
}

.ct-wrap {
  background: var(--bg2);
  border-radius: 24px;
  padding: 72px;
  border: 1px solid var(--border);
}

#contact .ct-wrap {
  padding: 40px 48px;
}

.ct-g {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-top: 52px;
}

#contact .ct-g {
  gap: 40px;
  margin-top: 28px;
}

.ct-info h3 { font-size: 26px; font-weight: 900; letter-spacing: -.8px; margin-bottom: 16px; }
.ct-info p  { color: var(--sub); font-size: 16px; line-height: 1.7; margin-bottom: 36px; }

.ci {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ci-i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ci-t { font-size: 15px; color: var(--sub); font-weight: 500; }
.ci-t a { color: var(--accent); text-decoration: none; font-weight: 700; }

.contact-note {
  color: var(--sub);
  font-size: 18px;
  line-height: 1.65;
  max-width: 760px;
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* =============================================
   Р В¤Р С›Р В Р СљР С’
   ============================================= */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#form-end {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  scroll-margin-top: 460px;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

label {
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
  letter-spacing: .8px;
  text-transform: uppercase;
}

input,
textarea {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: all .25s;
  width: 100%;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 93, 74, .1);
}

input.input-error,
textarea.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .1);
}

.field-error {
  font-size: 12px;
  color: #ef4444;
  font-weight: 600;
  min-height: 16px;
  display: block;
}

/* ===== КАСТОМНЫЙ SELECT ===== */
.csel-wrap {
  position: relative;
}

.csel-wrap select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  border: none;
}

.csel-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, border-radius .15s;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.csel-btn:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 93, 74, .1);
}

.csel-btn.open {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 93, 74, .1);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.csel-btn.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .1);
}

.csel-ico {
  display: none;
}

.csel-val {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csel-btn.csel-placeholder .csel-val {
  color: var(--sub);
}

.csel-arrow {
  width: 18px;
  height: 18px;
  stroke: var(--sub);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform .25s;
}

.csel-btn.open .csel-arrow {
  transform: rotate(180deg);
}

.csel-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 200;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .28s cubic-bezier(.4,0,.2,1), opacity .2s ease;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.csel-list.open {
  max-height: 320px;
  opacity: 1;
}

.csel-item {
  padding: 11px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  transition: background .15s;
  user-select: none;
}

.csel-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.csel-item:hover {
  background: var(--bg2);
}

.csel-item.csel-item-placeholder {
  color: var(--sub);
}

.csel-item-ico {
  display: none;
}

.csel-item-label {
  flex: 1;
}

.csel-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .15s;
}

.csel-item.selected .csel-check {
  opacity: 1;
}

.csel-item.selected {
  background: rgba(232, 93, 74, .05);
}

.csel-item.selected .csel-item-label {
  color: var(--accent);
  font-weight: 600;
}

[data-theme="dark"] .csel-item.selected {
  background: rgba(244, 123, 107, .08);
}
/* ===== /КАСТОМНЫЙ SELECT ===== */

textarea {
  height: 120px;
  resize: vertical;
}

.char-count {
  font-size: 12px;
  color: var(--sub);
  text-align: right;
  display: block;
  margin-top: -4px;
  transition: color .2s;
}

.char-count.near-limit {
  color: #f59e0b;
}

.char-count.at-limit {
  color: #ef4444;
  font-weight: 700;
}

.sbtn {
  padding: 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: -.1px;
}
.sbtn:hover {
  background: #d44a38;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 74, .25);
}

[data-theme="dark"] .sbtn:hover {
  background: #f09080;
}

.ok {
  display: none;
  text-align: center;
  padding: 48px 32px;
}
.ok-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34,197,94,.12);
  color: #22c55e;
  font-size: 28px;
  line-height: 64px;
  margin: 0 auto 20px;
}
.ok-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.4px;
}
.ok-sub {
  font-size: 15px;
  color: var(--sub);
  margin-bottom: 28px;
  line-height: 1.5;
}
.ok-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  color: var(--text);
  transition: border-color .2s, color .2s;
}
.ok-wa:hover {
  border-color: var(--text);
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--sub);
  border-bottom: 2px solid var(--sub);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .2s;
  margin-top: -3px;
  margin-left: auto;
}

.faq-list details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 3px;
  border-color: var(--accent);
}

.faq-list p {
  margin-top: 14px;
}

/* =============================================
   Р С™Р С’Р вЂєР В¬Р С™Р Р€Р вЂєР Р‡Р СћР С›Р В 
   ============================================= */
.calc-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
}

.calc-step {
  display: block;
}

.calc-step-hidden {
  display: none;
}

.calc-step-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--sub);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* Р РЃР В°Р С– 1 РІР‚вЂќ РЎвЂљР С‘Р С— Р С—РЎР‚Р С•Р Т‘РЎС“Р С”РЎвЂљР В° */
.calc-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.calc-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  border-radius: 18px;
  border: 2px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: all .25s;
  text-align: center;
}
.calc-type:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 93, 74, .1);
}
.calc-type.selected {
  border-color: var(--accent);
  background: rgba(232, 93, 74, .06);
  box-shadow: 0 0 0 4px rgba(232, 93, 74, .12);
}

[data-theme="dark"] .calc-type.selected {
  background: rgba(240, 112, 96, .1);
}

.calc-type-ico {
  font-size: 28px;
  line-height: 0;
  color: var(--accent);
}
.calc-type-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.calc-type-price {
  font-size: 12px;
  color: var(--sub);
  font-weight: 600;
}

/* Р РЃР В°Р С– 2 РІР‚вЂќ РЎвЂћРЎС“Р Р…Р С”РЎвЂ Р С‘Р С•Р Р…Р В°Р В» */
.calc-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.calc-feat-wrap {
  display: flex;
  flex-direction: column;
}
.calc-feat-levels {
  display: flex;
  gap: 6px;
  padding: 8px 18px 12px 52px;
}
.calc-lvl {
  flex: 1;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--sub);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.calc-lvl small {
  font-weight: 700;
  font-size: 11px;
  display: block;
  margin-top: 2px;
}
.calc-lvl:hover {
  border-color: var(--accent);
  color: var(--text);
}
.calc-lvl.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232,93,74,.06);
}
[data-theme="dark"] .calc-lvl.selected {
  background: rgba(244,123,107,.1);
}
.calc-feat-desc {
  padding: 0 18px 10px 52px;
  font-size: 12px;
  color: var(--sub);
  line-height: 1.4;
}
.calc-feat-included + .calc-feat-levels,
.calc-feat-included ~ .calc-feat-desc {
  display: none !important;
}

.calc-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: all .2s;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.calc-feat:hover {
  border-color: var(--accent);
  background: var(--bg3);
}
.calc-feat input[type="checkbox"] {
  display: none;
}
.calc-feat-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  position: relative;
}
.calc-feat input:checked ~ .calc-feat-check {
  background: var(--accent);
  border-color: var(--accent);
}
.calc-feat input:checked ~ .calc-feat-check::after {
  content: '';
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
  display: block;
}
.calc-feat input:checked ~ span:not(.calc-feat-check):not(.calc-feat-price) {
  color: var(--accent);
}

.calc-feat-price {
  margin-left: auto;
  font-size: 12px;
  color: var(--sub);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.calc-feat-included {
  opacity: .55;
  cursor: default;
  pointer-events: none;
  border-color: var(--accent) !important;
  background: transparent !important;
}
.calc-feat-included .calc-feat-check {
  border-color: var(--accent);
  background: var(--accent);
}
.calc-feat-included .calc-feat-check::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: absolute;
  top: 2px;
  left: 5px;
}
.calc-feat-included .calc-feat-price {
  color: var(--accent);
  font-weight: 700;
}

/* Шаг 2 — Тиры сложности */
.calc-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.calc-tier {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  border-radius: 18px;
  border: 2px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: all .25s;
  text-align: left;
}
.calc-tier:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 93, 74, .1);
}
.calc-tier.selected {
  border-color: var(--accent);
  background: rgba(232, 93, 74, .06);
  box-shadow: 0 0 0 4px rgba(232, 93, 74, .12);
}
[data-theme="dark"] .calc-tier.selected {
  background: rgba(240, 112, 96, .1);
}
.calc-tier-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.calc-tier-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.calc-tier-desc {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.5;
  margin-top: 4px;
}
.calc-tier-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.calc-tier-examples span {
  font-size: 11px;
  font-weight: 600;
  color: var(--sub);
  background: var(--bg3);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}
.calc-tier.selected .calc-tier-examples span {
  background: rgba(232, 93, 74, .1);
  color: var(--accent);
}

/* Кнопка «Назад» */
.calc-back-btn {
  margin-top: 20px;
  padding: 10px 24px;
  font-size: 14px;
}

/* Шаг 3 — экшены (назад + рассчитать) */
.calc-step-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.calc-step-actions .calc-next-btn {
  margin-left: auto;
}

.calc-next-btn {
  padding: 14px 32px;
  font-size: 15px;
}

/* Р РЃР В°Р С– 3 РІР‚вЂќ РЎР‚Р ВµР В·РЎС“Р В»РЎРЉРЎвЂљР В°РЎвЂљ */
.calc-result {
  text-align: center;
  padding: 24px 0;
}

.calc-result-range {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -2px;
  margin-bottom: 16px;
  line-height: 1;
}

.calc-result-note {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 32px;
}

.calc-result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   Р В¤Р Р€Р СћР вЂўР В 
   ============================================= */
footer {
  background: var(--text);
  padding: 52px;
  text-align: center;
}

[data-theme="dark"] footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.fl {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.fl span {
  color: var(--accent);
}

[data-theme="dark"] .fl {
  color: var(--text);
}

footer p {
  color: rgba(255, 255, 255, .45);
  font-size: 14px;
  margin-top: 6px;
}

[data-theme="dark"] footer p {
  color: var(--sub);
}

.footer-links {
  margin-top: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, .4);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, .7);
  border-bottom-color: rgba(255, 255, 255, .3);
}

[data-theme="dark"] .footer-links a {
  color: var(--sub);
}
[data-theme="dark"] .footer-links a:hover {
  color: var(--text);
}

/* =============================================
   Р С™Р СњР С›Р СџР С™Р С’ Р СњР С’Р вЂ™Р вЂўР В Р Тђ
   ============================================= */
#back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 93, 74, .35);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}

.back-top-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.back-top-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-top:hover {
  background: #d44a38;
  transform: translateY(-2px);
}

[data-theme="dark"] #back-top:hover {
  background: #f09080;
}

/* =============================================
   Р С’Р СњР ВР СљР С’Р В¦Р ВР В Р СџР С›Р Р‡Р вЂ™Р вЂєР вЂўР СњР ВР Р‡
   ============================================= */
.fu {
  opacity: 0;
  transform: translateY(28px);
  transition: all .65s cubic-bezier(.16, 1, .3, 1);
}
.fu.vis {
  opacity: 1;
  transform: none;
}

.fd {
  opacity: 0;
  transform: translateY(28px);
  transition: all .65s .15s cubic-bezier(.16, 1, .3, 1);
}
.fd.vis {
  opacity: 1;
  transform: none;
}

/* =============================================
   Р СљР вЂўР вЂќР ВР С’ РІР‚вЂќ Р СџР вЂєР С’Р СњР РЃР вЂўР Сћ (РІвЂ°В¤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    gap: 60px;
    padding: 100px 32px 60px;
    align-items: flex-start;
  }
  .hero-right { display: none; }
  .srv-g      { grid-template-columns: 1fr; }
  .ben-g      { grid-template-columns: repeat(2, 1fr); }
  .proc-g     { grid-template-columns: repeat(2, 1fr); }
  .ct-g       { grid-template-columns: 1fr; gap: 40px; }
  .ct-wrap    { padding: 40px 32px; }
  .del-g,
  .port-g     { grid-template-columns: 1fr; }
  .calc-types { grid-template-columns: repeat(2, 1fr); }
  .calc-tiers { grid-template-columns: 1fr; }
  .calc-wrap  { padding: 32px 24px; }
}

/* =============================================
   Hover-анимация карточек услуг
   ============================================= */
.srv-g .sc:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 36px rgba(232, 93, 74, .1);
}
.srv-g .sc:hover::before {
  transform: scaleX(0);
}

/* =============================================
   Р СљР вЂўР вЂќР ВР С’ РІР‚вЂќ Р СљР С›Р вЂР ВР вЂєР В¬Р СњР В«Р в„ў (РІвЂ°В¤ 768px)
   ============================================= */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  h1 { font-size: clamp(24px, 7vw, 38px); }
  nav { padding: 0 20px; }
  .nl {
    display: none;
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
  }
  .nl li { list-style: none; }
  .nl a  { display: block; padding: 14px 20px; }

  [data-theme="dark"] .nl {
    background: rgba(26, 26, 32, .98);
  }

  body.nav-open .nl { display: flex; }
  body.nav-open .hmb span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hmb span:nth-child(2) { opacity: 0; }
  body.nav-open .hmb span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hmb { display: flex; }
  .ncta { display: none; }
  .nav-right { gap: 8px; }
  .lang-switcher { min-width: 0; padding: 0; }
  .lang-btn { min-width: 36px; height: 36px; padding: 0 10px; font-size: 11px; }
  .lang-panel { left: 0; right: 0; min-width: 0; padding: 2px; }
  .lang-panel .lang-btn { min-width: 0; padding: 10px 4px; height: auto; }

  .sec          { padding: 64px 20px; }
  .ben-g        { grid-template-columns: 1fr; }
  .proc-g       { grid-template-columns: 1fr; }
  .strip        { padding: 60px 20px; }
  .strip-inner  { flex-direction: column; align-items: flex-start; }
  h2            { letter-spacing: -1px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .bs { white-space: nowrap; justify-content: center; }

  .calc-types     { grid-template-columns: repeat(2, 1fr); }
  .calc-tiers     { grid-template-columns: 1fr; }
  .calc-features  { grid-template-columns: 1fr; }
  .calc-wrap      { padding: 24px 16px; }
  .calc-result-actions { flex-direction: column; }
  .calc-step-actions { flex-direction: column; }
  .calc-step-actions .calc-next-btn { margin-left: 0; width: 100%; }
  .calc-step-actions .calc-back-btn { width: 100%; }

  #back-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 18px; }
  .font-toggle { padding: 5px 8px; font-size: 13px; }
  .font-panel { right: -40px; min-width: 160px; }
}

/* =============================================
   ПЕРЕКЛЮЧАТЕЛЬ ШРИФТОВ (FONT SWITCHER)
   ============================================= */
.font-switcher { position: relative; }
.font-toggle {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color .25s, color .25s;
  line-height: 1;
}
.font-toggle:hover { border-color: var(--accent); color: var(--accent); }
.font-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 190px;
  z-index: 1001;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.font-panel.open { display: flex; flex-direction: column; gap: 2px; }
.font-opt {
  font-size: 14px;
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--sub);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.font-opt:hover { background: var(--bg2); color: var(--text); }
.font-opt.active { color: var(--accent); font-weight: 600; background: var(--bg2); }










