:root {
  --bg: #0c0e10;
  --text-main: #ffffff;
  --text-body: #d9d9d9;
  --green: #35c66b;
  --purple: #827dc9;
  --border-green: #36c46c;
  --max-w: 1340px;
  --section-gap: 110px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.wide-wrap { max-width: 1656px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(236deg, #1a6034, #35c66b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== HERO ===== */
.hero { position: relative; padding-top: 64px; }
.hero-figure-zone { flex: 1 1 auto; position: relative; min-height: 520px; margin: 0 20px; overflow: visible; }
.hero-figure { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 900px; max-width: none; opacity: 0.95; pointer-events: none; z-index: 1; }
.hero-glow-left { position: absolute; left: -160px; top: 120px; width: 660px; height: 782px; pointer-events: none; z-index: 0; }
.hero-glow-middle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 150px)); width: 1042px; height: 655px; pointer-events: none; z-index: 0; }
.hero-glow-right { position: absolute; right: -260px; top: 20px; width: 782px; height: 782px; pointer-events: none; z-index: 0; }

header.site-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 0 64px; gap: 32px; position: relative; z-index: 20; }
.logo img {
  display: block;
  height: 50px;   /* подгони под свой размер */
  width: auto;
}
nav.main-nav { display: flex; gap: 16px; font-size: 16px; color: var(--text-body); flex: 1 1 auto; justify-content:left; }
nav.main-nav a:hover { color: var(--text-main); }

.header-utils { flex: 0 0 auto; display: flex; align-items: center; gap: 20px; }

/* language dropdown */
.lang-switch { position: relative; }
.lang-switch-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--text-main); font-size: 14px; font-weight: 600; letter-spacing: 0.5px; font-family: 'Montserrat', sans-serif; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.lang-switch-btn:hover, .lang-switch.open .lang-switch-btn { border-color: var(--green); background: rgba(53,198,107,0.08); }
.lang-caret { margin-left: 2px; transition: transform .2s ease; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: calc(100% + 10px); right: 0; min-width: 140px; background: #15181b; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 6px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; box-shadow: 0 16px 32px rgba(0,0,0,0.4); z-index: 30; }
.lang-switch.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown li { padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text-body); cursor: pointer; transition: background .15s ease, color .15s ease; }
.lang-dropdown li:hover { background: rgba(255,255,255,0.06); color: #fff; }
.lang-dropdown li.active { color: #fff; background: rgba(53,198,107,0.12); }

.social-icons { display: flex; align-items: center; gap: 12px; position: relative; z-index: 3; }
.social-icons a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); transition: background .2s ease, transform .2s ease, filter .2s ease; }
.social-icons a img { width: 20px; height: 20px; }
.social-icons a:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); filter: drop-shadow(0 4px 10px rgba(53,198,107,0.4)); }

/* burger button (mobile only) */
.burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); background: transparent; cursor: pointer; flex: 0 0 auto; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile slide-down menu */
.mobile-menu { display: none; }
.mobile-call-btn { display: none; }

.hero-body { display: flex; align-items: stretch; gap: 0; padding-bottom: 0; position: relative; z-index: 2; flex-wrap: wrap; }
.hero-text { max-width: 820px; flex: 0 0 auto; position: relative; z-index: 2; margin-top: 60px; }
.hero-text h1 { font-weight: 800; font-size: 64px; line-height: 1.1; letter-spacing: -1.6px; margin: 0 0 16px; }
.hero-text .subheading { font-weight: 800; font-size: 26px; letter-spacing: -0.6px; margin: 0 0 24px; }
.hero-text .desc { font-size: 18px; line-height: 1.6; color: var(--text-body); max-width: 620px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 24px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 22px 40px; border-radius: 60px; font-weight: 600; font-size: 20px; color: #fff; background: linear-gradient(250deg, #827ccb, #35c56b); border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(53,197,107,0.35); filter: brightness(1.08); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 22px 40px; border-radius: 60px; font-weight: 500; font-size: 20px; color: var(--text-body); background: #121517; border: 1px solid #dadada; cursor: pointer; transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; text-decoration: none; }
.btn-secondary:hover { border-color: #fff; color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(255,255,255,0.08); }

.stats { display: flex; flex-direction: column; justify-content: flex-start; gap: 56px; width: 220px; flex: 0 0 220px; position: relative; z-index: 2; padding-top: 0; margin-top: 60px; }
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-item .num { font-size: 44px; font-weight: 500; letter-spacing: -1.2px; white-space: nowrap; }
.infinity-sym { font-size: 1.5em; display: inline-block; transform: translateY(0.05em); }
.stat-item .label { font-size: 16px; color: var(--text-body); margin-top: 6px; }

/* ===== ОБЩИЕ СЕКЦИИ ===== */
section { padding-top: var(--section-gap); }
.plain-section { padding-top: var(--section-gap); }
.section-head { display: flex; gap: 48px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; margin-bottom: 56px; }
.section-head h2 { font-weight: 800; font-size: 52px; line-height: 1.1; letter-spacing: -1.4px; margin: 0; max-width: 480px; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--text-body); max-width: 480px; padding-top: 8px; }

/* ===== ПЛЮСЫ ===== */
.pluses { display: flex; gap: 32px; flex-wrap: wrap; }
.pluses.pluses-wide { justify-content: flex-start; }
.plus-card {
  flex: 1 1 800px;
  max-width: 800px;
  min-height: 245px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 48px 32px 40px;
  border-radius: 24px;
  border: 1px solid transparent;
  background-image:
    linear-gradient(4deg, rgba(217,217,217,0.09), rgba(115,115,115,0.02)),
    linear-gradient(#0d1015, #0d1015),
    linear-gradient(57deg, #39BF6F, #807DC8);
  background-origin: padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, border-box;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plus-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,0.35); }
.plus-card-wide { flex: 1 1 800px; max-width: 800px; }
.plus-card-icon { width: 108px; height: 108px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.plus-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.plus-card-body { display: flex; flex-direction: column; gap: 12px; }
.plus-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin: 0; }
.plus-card p { font-size: 16px; line-height: 1.6; color: var(--text-body); margin: 0; }

.plain-section .wide-wrap { max-width: 1704px; margin: 0 auto; padding: 0 24px; }

/* ===== ФУНКЦИИ ===== */
.func-section .wide-wrap { max-width: 1656px; margin: 0 auto; padding: 0 24px; }
.func-section .section-head { margin-bottom: 40px; }
.func-section .func-description { padding-top: 0; margin-top: 0; }
.func-grid { display: grid; grid-template-columns: repeat(3, 520px); gap: 50px; margin-top: 0; justify-content: start; }
.func-card { width: 520px; height: 250px; position: relative; }
.func-gray { width: 500px; height: 250px; background: #2b2f38; border-radius: 30px; display: flex; align-items: center; justify-content: flex-start; padding: 0; }
.func-text { width: 164px; height: 162px; margin: 44px 39px 44px 20px; display: flex; flex-direction: column; justify-content: space-between; flex-shrink: 0; }
.func-text h4 { font-size: 24px; font-weight: 500; line-height: 1.2; margin: 0; color: #fff; }
.func-btn { width: 164px; height: 70px; border-radius: 82px; font-size: 16px; font-weight: 600; color: #fff; background: #2b2f38; border: 2px solid transparent; background-clip: padding-box, border-box; background-origin: padding-box, border-box; background-image: linear-gradient(#2b2f38, #2b2f38), linear-gradient(90deg, #827dcb, #37c36d); cursor: pointer; transition: 0.2s; font-family: 'Montserrat', sans-serif; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.func-btn:hover { transform: scale(1.02); opacity: 0.8; }
.func-white { width: 300px; min-width: 300px; height: 220px; background: #f8f7f9; border-radius: 25px; transform: translateX(20px); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.func-white:hover { transform: translateX(20px) scale(1.03); box-shadow: 0 12px 28px rgba(0,0,0,0.35); }
.func-white img { width: 100%; height: 100%; object-fit: cover; display: block; }
.func-white::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20,22,26,0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center/16px no-repeat;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.func-white:hover::after { opacity: 1; }

/* ===== ПЕРЕКЛЮЧАТЕЛЬ ОПИСАНИЯ (мобильный) ===== */
.section-head-top { display: flex; align-items: center; gap: 16px; }
.desc-toggle-btn { display: none; }

/* ===== СТОИМОСТЬ (десктоп: горизонтально) ===== */
.price-section { padding: var(--section-gap) 0; }
.price-timeline { display: flex; align-items: flex-start; gap: 48px; margin-top: 56px; }
.price-item { position: relative; flex: 1 1 0; padding-top: 32px; }
.price-item::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.12); }
.price-dot { position: absolute; top: -7px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(53,198,107,0.15); z-index: 1; }
.price-item-2 .price-dot { background: #c9c9c9; box-shadow: 0 0 0 5px rgba(255,255,255,0.08); }
.price-item-3 .price-dot { background: var(--purple); box-shadow: 0 0 0 5px rgba(130,125,203,0.18); }
.price-item-sum { font-size: 28px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.price-item-1 .price-item-sum { color: var(--green); }
.price-item-2 .price-item-sum { color: var(--text-main); }
.price-item-3 .price-item-sum { color: var(--purple); }
.price-item-body p { color: var(--text-body); font-size: 15px; line-height: 1.6; margin: 0; }

/* ========================================================= */
/* ===== ПРИМЕР (НОУТБУК) ===== */
/* ========================================================= */
.example-section-outer { position: relative; }
.example-section-outer .wrap { position: relative; z-index: 1; }
.example-section {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.example-visual {
  flex: 1 1 480px;
  position: relative;
  min-height: 340px;
  order: 2;
}
.example-bg-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  max-width: none;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.laptop-frame, .floating-card { position: relative; z-index: 1; }
.laptop-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 560/360;
  background: #d9d9d9;
  border-radius: 18px 18px 4px 4px;
  padding: 14px 14px 30px;
}
.laptop-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 12px;
  background: #bdbdbd;
  border-radius: 0 0 6px 6px;
}
.laptop-screen {
  width: 100%;
  height: 100%;
  background: #111827;
  border-radius: 6px;
  display: flex;
  overflow: hidden;
}
.laptop-sidebar {
  width: 30%;
  background: #0c1220;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.laptop-sidebar .item {
  font-size: 11px;
  color: #cfd3da;
  padding: 8px 10px;
  border-radius: 20px;
}
.laptop-sidebar .item.active { background: rgba(255,255,255,0.12); color: #fff; }
.laptop-main {
  flex: 1;
  background: #f5f6f8;
  padding: 14px;
}
.laptop-main .row {
  height: 20px;
  background: #e6e8ec;
  border-radius: 6px;
  margin-bottom: 8px;
}
.laptop-main .row:first-child { width: 60%; background: #dfe3ff; }
.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.floating-card.menu {
  left: 4%;
  bottom: -6%;
  width: 44%;
  padding: 14px 14px 18px;
}
.floating-card.menu .top-pill {
  background: linear-gradient(90deg, #635be3, #37327d);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.floating-card.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floating-card.menu li {
  font-size: 12px;
  color: #111827;
  font-weight: 600;
}
.floating-card.small {
  right: 6%;
  top: 4%;
  width: 32%;
  height: 40%;
}
.example-text {
  flex: 1 1 420px;
  order: 1;
}
.example-text h2 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.4px;
  margin: 0 0 24px;
}
.example-text p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
}
.example-text .highlight { color: var(--purple); }

/* ========================================================= */
/* ===== КОНТАКТЫ ===== */
/* ========================================================= */
.contact-section-outer { position: relative; padding-top: 300px; padding-bottom: 140px; }
.contact-section-outer .wrap { position: relative; z-index: 1; }
.contact-panel {
  position: relative;
  max-width: 1656px;
  margin: 0 auto;
  min-height: 740px;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 40px;
  padding: 56px 72px 0 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.contact-section {
  display: flex;
  gap: 60px;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
}
.contact-visual {
  flex: 0 0 560px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.contact-play-btn {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(20,22,26,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.contact-play-btn:hover {
  border-color: var(--green);
  background: rgba(53,198,107,0.15);
  transform: scale(1.06);
}
.contact-glow {
  position: absolute;
  left: 960px;
  top: 170px;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(ellipse, rgba(130,124,203,0.35) 0%, rgba(130,124,203,0.12) 40%, rgba(130,124,203,0) 72%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.contact-photo {
  position: relative;
  z-index: 1;
  width: 100%;
}
.contact-photo-mobile { display: none; position: relative; z-index: 1; }
.contact-photo-glow {
  position: absolute;
  left: 40%;
  top: 10%;
  transform: translateX(-50%);
  width: 80%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(53,198,107,0.45) 0%, rgba(53,198,107,0) 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.contact-photo img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.contact-main { flex: 1 1 500px; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.contact-main h2 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.4px;
  margin: 0 0 40px;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  background:
    linear-gradient(#17191c, #17191c) padding-box,
    linear-gradient(90deg, var(--green), var(--purple)) border-box;
  transition: transform .25s ease, box-shadow .25s ease;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}
.contact-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s ease, transform .25s ease;
}
.contact-card .icon img { width: 24px; height: 24px; }
.contact-card:hover .icon {
  background: rgba(255,255,255,0.16);
  transform: scale(1.08);
}
.contact-card .txt strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-card .txt span {
  font-size: 14px;
  color: var(--text-body);
}

/* ========================================================= */
/* ===== ФУТЕР ===== */
/* ========================================================= */
footer.wrap {
  margin-top: var(--section-gap);
  padding: 56px 24px 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 320px; }
.footer-tagline {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col span.head {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: rgba(217,217,217,0.6);
  font-size: 15px;
  margin-bottom: 10px;
  transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }
.to-top {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 20px;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.to-top:hover {
  background: var(--green);
  color: #0c0e10;
  transform: translateY(-3px);
}
.footer-bottom {
  padding: 24px 0 32px;
  text-align: center;
  font-size: 13px;
  color: rgba(217,217,217,0.4);
}

/* ========================================================= */
/* ===== МОДАЛКА ЗАКАЗА ===== */
/* ========================================================= */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,7,8,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1000;
  padding: 32px 24px;
}
.order-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.order-modal {
  position: relative;
  width: 100%;
  max-width: 1800px;
  background: #141B28;
  border-radius: 32px;
  padding: 28px 48px 40px;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  transform: translateY(24px) scale(0.98);
  transition: transform .3s cubic-bezier(.2,.9,.25,1);
  max-height: 90vh;
  overflow-y: auto;
}
.order-modal-overlay.active .order-modal {
  transform: translateY(0) scale(1);
}
.order-modal-handle {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.18);
  margin: 0 auto 20px;
}
.order-modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: var(--text-body);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.order-modal-close:hover {
  border-color: var(--green);
  color: #fff;
  transform: rotate(90deg);
}

.order-modal-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.order-modal-head h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}
.order-modal-head p {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
  opacity: .75;
}

.order-modal-body {
  display: flex;
  gap: 40px;
}
.order-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-col-mid,
.order-col-contact {
  padding-left: 40px;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.order-col-head { display: flex; gap: 12px; margin-bottom: 4px; }
.order-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}
.order-col-head-text { display: flex; flex-direction: column; gap: 3px; }
.order-col-head-text strong { font-size: 15px; font-weight: 600; color: #fff; }
.order-col-head-text span { font-size: 12px; color: var(--text-body); opacity: .65; }

.order-field {
  width: 306px;
  max-width: 100%;
  height: 46px;
  background: #19202D;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 0 16px;
  outline: none;
  transition: border-color .2s ease;
}
.order-field::placeholder { color: rgba(217,217,217,0.45); }
.order-field:focus { border-color: var(--green); }

select.order-field {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23D9D9D9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
}
select.order-field option { background: #19202D; color: #fff; }

.order-textarea {
  height: 118px;
  padding: 12px 16px;
  resize: none;
  line-height: 1.5;
}

.order-contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.order-contact-inputs { display: flex; flex-direction: column; gap: 12px; }

.order-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 30px;
  border-radius: 60px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background: linear-gradient(250deg, #827ccb, #35c56b);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.order-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(53,197,107,.3);
  filter: brightness(1.05);
}

@media (max-width: 1100px) {
  .order-modal-body { flex-direction: column; gap: 28px; }
  .order-col-mid, .order-col-contact {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .order-modal-head { flex-direction: column; gap: 8px; }
  .order-field { width: 100%; }
  .order-contact-row { flex-direction: column; align-items: stretch; }
  .order-submit { width: 100%; }
}
@media (max-width: 560px) {
  .order-modal { padding: 24px 20px 28px; border-radius: 24px; }
  .order-modal-close { top: 18px; right: 18px; }
}

/* ========================================================= */
/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
/* ========================================================= */
@media (max-width: 968px) {
  :root { --section-gap: 56px; }

  /* header: hide desktop nav + socials + lang, show call icon + burger */
  nav.main-nav { display: none; }
  .header-utils .social-icons { display: none; }
  .header-utils .lang-switch { display: none; }
  .burger { display: flex; }
  header.site-header { padding: 16px 0 32px; gap: 12px; }
  .logo img { height: 30px; }

  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
    order: -1;
  }
  .mobile-call-btn img { width: 16px; height: 16px; }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: #101214;
    border-left: 1px solid rgba(255,255,255,0.08);
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 15;
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu nav { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
  .mobile-menu nav a { font-size: 20px; font-weight: 600; color: var(--text-main); }
  .mobile-menu-socials { display: flex; gap: 14px; margin-bottom: 28px; }
  .mobile-menu-socials a { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
  .mobile-menu-socials a img { width: 20px; height: 20px; opacity: 0.85; }
  .mobile-menu-socials a:hover img { opacity: 1; }
  .mobile-menu-langs { display: flex; gap: 10px; }
  .mobile-menu-langs button {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.16);
    background: transparent;
    color: var(--text-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
  }

  /* hero */
  .hero { padding-top: 0; }
  .hero-body { flex-direction: column; align-items: stretch; }
  .hero-text { max-width: 100%; margin-top: 12px; order: 3; }
  .hero-text h1 { font-size: 34px; }
  .hero-text .subheading { font-size: 17px; }
  .hero-text .desc { display: none; }
  .hero-buttons { flex-direction: row; gap: 12px; }
  .btn-primary, .btn-secondary { padding: 15px 12px; font-size: 15px; width: auto; flex: 1 1 0; white-space: nowrap; }

  .hero-figure-zone { min-height: 220px; margin: 8px 0 0; order: 1; }
  .hero-figure { width: 320px; }
  .hero-glow-left, .hero-glow-right { width: 280px; height: 320px; }
  .hero-glow-middle { width: 420px; height: 280px; }

  .stats { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; width: 100%; flex: 0 0 auto; gap: 12px; margin-top: 16px; order: 2; }
  .stat-item { flex: 1 1 30%; }
  .stat-item .num { font-size: 22px; }
  .stat-item .label { font-size: 11px; }

  /* generic section heads */
  .section-head { flex-direction: column; gap: 8px; margin-bottom: 28px; align-items: stretch; }
  .section-head-top { justify-content: space-between; }
  .section-head h2 { font-size: 30px; max-width: 100%; }
  .section-head p { font-size: 15px; max-width: 100%; padding-top: 0; }

  /* toggle-описание */
  .desc-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
  }
  .desc-toggle-btn:hover { border-color: var(--green); }
  .section-head-desc { display: none; margin-top: 4px; }
  .section-head.desc-open .section-head-desc { display: block; }

  /* plus cards */
  .pluses { gap: 16px; }
  .plus-card, .plus-card-wide { flex: 1 1 100%; max-width: 100%; padding: 22px 20px; min-height: unset; flex-direction: row; align-items: center; gap: 16px; }
  .plus-card-icon { width: 56px; height: 56px; }
  .plus-card h3 { font-size: 18px; }
  .plus-card p { font-size: 14px; line-height: 1.5; }

  /* функции */
  .func-section .section-head { margin-bottom: 24px; }
  .func-grid { grid-template-columns: 1fr; width: 100%; gap: 14px; }
  .func-card { width: 100%; height: auto; }
  .func-gray { width: 100%; height: auto; min-height: unset; padding: 16px; gap: 14px; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; align-items: center; }
  .func-white { width: 100px; min-width: 100px; height: 100px; align-self: center; transform: none; border-radius: 16px; margin-left: auto; }
  .func-white::after { width: 24px; height: 24px; top: 8px; right: 8px; background-size: 12px; }
  .func-text { margin: 0; width: auto; height: auto; gap: 14px; flex: 1 1 auto; }
  .func-text h4 { font-size: 16px; line-height: 1.25; }
  .func-btn { width: auto; padding: 0 18px; height: 42px; font-size: 13px; }

  /* стоимость (мобилка: вертикальный таймлайн) */
  .price-section { padding: var(--section-gap) 0; }
  .price-timeline { flex-direction: column; gap: 0; margin-top: 32px; }
  .price-item { flex: none; padding-top: 0; padding-left: 32px; padding-bottom: 40px; }
  .price-item:last-child { padding-bottom: 0; }
  .price-item::after { top: 20px; left: 6px; right: auto; bottom: -40px; width: 2px; height: auto; }
  .price-item:last-child::after { display: none; }
  .price-dot { top: 4px; left: 0; }
  .price-item-sum { font-size: 22px; }
  .price-item-body p { font-size: 14px; }

  /* пример / ноутбук */
  .example-section { gap: 40px; }
  .example-text h2 { font-size: 30px; }
  .example-text p { font-size: 15px; }
  .example-visual { min-height: 260px; }

  /* контакты */
  .contact-section-outer { padding-top: 80px; }
  .contact-panel { padding: 28px 18px; border-radius: 24px; min-height: unset; }
  .contact-section { flex-direction: column-reverse; gap: 20px; }
  .contact-main { padding: 0; justify-content: flex-start; flex: none; }
  .contact-visual { flex: none; width: 100%; height: 170px; overflow: hidden; border-radius: 18px; }
  .contact-photo { display: none; }
  .contact-photo-mobile {
    display: block;
    width: 100%;
    height: 100%;
  }
  /* Чтобы поменять картинку рук на мобильной версии — просто замени файл
     assets/contact-hands-mobile.png на свой. Если после замены картинка
     обрезается не там, где нужно, подвинь её через object-position
     (например "center top" или "50% 30%"). */
  .contact-photo-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .contact-main h2 { font-size: 28px; margin-bottom: 20px; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); gap: 14px; justify-items: center; align-items: center; }
  .contact-card.whatsapp { display: none; }
  .contact-card {
    position: relative;
    width: 68px;
    height: 68px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0;
  }
  .contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--green), var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
  }
  .contact-card .icon {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contact-card .icon img { width: 22px; height: 22px; }
  .contact-card .txt { display: none; }
  .contact-glow { left: 50%; width: 600px; height: 400px; }
  .contact-play-btn { width: 40px; height: 40px; top: 12px; left: 12px; }

  /* футер */
  footer.wrap { padding: 32px 20px 0; margin-top: var(--section-gap); }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-cols { gap: 28px 40px; }
  .to-top { align-self: flex-end; }
}

@media (max-width: 560px) {
  .hero-text h1 { font-size: 30px; }
  .hero-buttons { gap: 8px; }
  .btn-primary, .btn-secondary { padding: 14px 8px; font-size: 13px; }
  .func-text h4 { font-size: 14px; }
  .func-btn { padding: 0 14px; height: 38px; font-size: 12px; }
  .plus-card h3 { font-size: 16px; }
  .plus-card p { font-size: 13px; }
  .laptop-frame { max-width: 100%; }
  .floating-card.menu { width: 60%; }
  .floating-card.small { display: none; }
}
/* ========================================================= */
/* ===== ЛАЙТБОКС ФОТО ФУНКЦИЙ ===== */
/* ========================================================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,7,8,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1100;
  padding: 40px;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.96);
  transition: transform .25s ease;
  background: #f8f7f9;
}
.lightbox-overlay.active img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(20,22,26,0.5);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, transform .2s ease;
}
.lightbox-close:hover { border-color: var(--green); transform: rotate(90deg); }

/* ========================================================= */
/* ===== МОДАЛКА ФУНКЦИИ (маленькая, в стиле order-modal) ===== */
/* ========================================================= */
.func-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,7,8,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1050;
  padding: 24px;
}
.func-modal-overlay.active { opacity: 1; visibility: visible; }
.func-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #141B28;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: translateY(16px) scale(0.97);
  transition: transform .25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.func-modal-overlay.active .func-modal { transform: translateY(0) scale(1); }
.func-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: var(--text-body);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.func-modal-close:hover { border-color: var(--green); color: #fff; transform: rotate(90deg); }
.func-modal-photo {
  width: 100%;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background: #f8f7f9;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  transition: transform .2s ease;
}
.func-modal-photo:hover { transform: scale(1.02); }
.func-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.func-modal-body h3 { font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.func-modal-body p { font-size: 15px; line-height: 1.6; color: var(--text-body); margin: 0 0 24px; }
.func-modal-body .btn-primary { width: 100%; padding: 16px 24px; font-size: 16px; }

.callback-order-modal { max-width: 560px; }
.callback-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.callback-modal-body .order-field { width: 100%; }
.callback-modal-body .order-submit { width: 100%; margin-top: 4px; }

/* ========================================================= */
/* ===== МОДАЛКА О НАС (боковая панель) ===== */
/* ========================================================= */
.about-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,7,8,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1050;
  padding: 24px;
}
.about-modal-overlay.active { opacity: 1; visibility: visible; }
.about-modal {
  position: relative;
  width: min(480px, 92vw);
  max-height: 100%;
  margin: auto 0;
  background: #141B28;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  padding: 56px 44px;
  box-sizing: border-box;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: translateX(40px) scale(0.98);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.9,.25,1), opacity .35s ease;
}
.about-modal::-webkit-scrollbar { display: none; }
.about-modal-overlay.active .about-modal { transform: translateX(0) scale(1); opacity: 1; }
.about-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: var(--text-body);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.about-modal-close:hover { border-color: var(--green); color: #fff; transform: rotate(90deg); }
.about-modal-logo { font-size: 15px; letter-spacing: 2px; color: var(--green); font-weight: 700; margin-bottom: 20px; }
.about-modal h3 { font-size: 28px; font-weight: 700; margin: 0 0 20px; letter-spacing: -0.5px; }
.about-modal p { font-size: 15px; line-height: 1.7; color: var(--text-body); margin: 0 0 16px; }
.about-modal p.about-lead { font-size: 17px; font-weight: 600; color: var(--text-main); }
.about-modal p.about-lead-accent { color: var(--green); margin-bottom: 28px; }
.about-modal-socials { display: flex; gap: 12px; margin-bottom: 24px; }
.about-modal-socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.about-modal-socials a img { width: 18px; height: 18px; }
.about-modal-socials a:hover { border-color: var(--green); background: rgba(53,198,107,0.12); transform: translateY(-3px); }
.about-modal .btn-primary { width: 100%; padding: 16px 24px; font-size: 16px; }

@media (max-width: 560px) {
  .func-modal { padding: 28px; border-radius: 22px; }
  .func-modal-photo { height: 160px; }
  .about-modal-overlay { padding: 12px; }
  .about-modal { width: 100%; padding: 40px 24px; border-radius: 24px; }
  .about-modal h3 { font-size: 24px; }
}

/* ========================================================= */
/* ===== СОГЛАСИЕ НА ОБРАБОТКУ ДАННЫХ ===== */
/* ========================================================= */
.order-contact-submit-col { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  max-width: 306px;
}
.consent-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
  background: #19202D;
  cursor: pointer;
  position: relative;
  transition: border-color .2s ease, background .2s ease;
}
.consent-check input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--green), var(--purple));
  border-color: transparent;
}
.consent-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #0b0d10;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent-check span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-body);
}
.consent-check a { color: var(--text-main); text-decoration: underline; }
.consent-check a:hover { color: var(--green); }
.callback-modal-body .consent-check { max-width: 100%; margin-top: -6px; }

.privacy-modal .func-modal-body { max-height: 70vh; overflow-y: auto; padding-right: 8px; }
.privacy-text p { font-size: 14px; line-height: 1.7; color: var(--text-body); margin: 0 0 16px; }
.privacy-text h4 { font-size: 15px; font-weight: 700; color: var(--text-main); margin: 24px 0 10px; }
.privacy-text h4:first-of-type { margin-top: 20px; }
.privacy-text p:last-child { margin-bottom: 0; }
.privacy-text .privacy-updated { margin-top: 24px; font-size: 12px; opacity: .6; }

@media (max-width: 1100px) {
  .order-contact-submit-col { align-items: stretch; width: 100%; }
  .consent-check { max-width: 100%; }
}
