/* ============================================================
   AVE Web Studio — corporate premium / light + dark blocks
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-gray: #f4f8fc;
  --bg-gray-2: #eef4fa;
  --ink: #0a1726;
  --ink-2: #1c3247;
  --muted: #5b6c7e;
  --dim: #8b9aab;
  --blue: #1795ff;
  --blue-600: #0b7fe8;
  --blue-050: #eaf5ff;
  --cyan: #2bb3e7;
  --orange: #f47735;
  --orange-600: #e0641f;
  --navy: #06182c;
  --navy-2: #0a2b4d;
  --line: rgba(10, 23, 38, .09);
  --line-strong: rgba(10, 23, 38, .16);
  --grad: linear-gradient(100deg, #2bb3e7 0%, #1795ff 55%, #0b7fe8 100%);
  --grad-dark: linear-gradient(150deg, #071c33 0%, #0a2b4d 55%, #06182c 100%);
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --shadow-xs: 0 2px 8px rgba(13, 55, 100, .05);
  --shadow-sm: 0 16px 36px -20px rgba(13, 55, 100, .28);
  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: rgba(23, 149, 255, .22); }

.container { max-width: var(--container); padding-inline: 22px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 2000;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 10px; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nowrap { white-space: nowrap; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(23, 149, 255, .25);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: .78rem 1.3rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-lg { padding: .95rem 1.6rem; font-size: .98rem; border-radius: 12px; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; border-radius: 8px; }

.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(244, 119, 53, .8);
}
.btn-orange:hover, .btn-orange:focus-visible {
  background: var(--orange-600);
  border-color: var(--orange-600);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.btn-ghost-light:hover, .btn-ghost-light:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-blue-outline {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-blue-outline:hover, .btn-blue-outline:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* ---------- top bar ---------- */
.topbar {
  background: #04121f;
  color: #a9bfd3;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 38px;
}
.topbar-contacts, .topbar-actions { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s ease; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--blue); font-size: .82rem; }
.topbar-note { color: #6d8299; }

/* ---------- header ---------- */
.header-shell {
  position: sticky; top: 0; z-index: 1100;
  box-shadow: 0 12px 28px -24px rgba(13, 55, 100, .45);
}
.site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  transition: padding .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck {
  padding: 8px 0;
  box-shadow: 0 14px 30px -26px rgba(13, 55, 100, .55);
}

.navbar-brand { gap: 11px; padding: 0; }
.brand-logo { width: 40px; height: 38px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: var(--sans);
  font-weight: 700; font-size: 1.18rem; letter-spacing: -.03em;
  text-transform: uppercase; color: var(--ink);
}
.brand-word span { color: var(--blue); text-transform: lowercase; }
.brand-sub {
  font-size: 12px; letter-spacing: .04em; color: var(--dim);
  margin-top: 5px; text-transform: lowercase;
}

.navbar-nav .nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: .92rem;
  padding: .5rem .72rem;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.navbar-nav .nav-link:hover { color: var(--ink); background: var(--bg-gray); }
.navbar-nav .nav-link.active { color: var(--blue); background: var(--blue-050); }

.navbar-toggler { padding: .35rem; }
.toggler-lines { display: grid; gap: 6px; width: 26px; }
.toggler-lines i { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* mobile offcanvas */
.mobile-nav { background: #fff; border-left: 1px solid var(--line); width: min(340px, 86vw); color: var(--ink); }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line); padding: 18px 20px; }
.mobile-nav-list { list-style: none; padding: 6px 0 0; margin: 0; display: grid; }
.mobile-nav-list a {
  display: block; padding: 13px 4px;
  font-family: var(--sans); font-weight: 500; font-size: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-list a:hover { color: var(--blue); }
.mobile-phone { display: block; font-weight: 600; margin-bottom: 6px; }
.mobile-mail { display: block; color: var(--muted); font-size: .9rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: #fff;
  padding: clamp(30px, 3.6vw, 54px) 0 0;
  overflow: hidden;
}
.hero-glow {
  position: absolute; width: 760px; height: 760px;
  right: -220px; top: -280px;
  background: radial-gradient(circle, rgba(23, 149, 255, .38), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  background: rgba(255, 255, 255, .06);
  font-size: 12px; color: #cfe0f0;
  backdrop-filter: blur(6px);
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(43, 179, 231, .2);
}

.hero-title {
  font-size: clamp(2.2rem, 4.1vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 22px 0 18px;
  color: #fff;
}
.hero-title .grad-text { display: inline; }

.hero-lead { color: #b9cbdd; font-size: 1.05rem; max-width: 48ch; margin: 0; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-points {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: .88rem; color: #a9bfd3;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i {
  width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .62rem; color: #04121f; background: var(--cyan);
}

/* hero visual: type switcher */
.hero-visual { position: relative; padding: 0 0 6px; max-width: 560px; margin-left: auto; }

.fv { position: relative; }
.fv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.fv-tabs { display: flex; flex-wrap: wrap; gap: 6px; }

.fv-tab {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: #b9cbdd;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 11px;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.fv-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .34); }
.fv-tab.is-active { background: #fff; border-color: #fff; color: #0a1726; }

.fv-pause {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  color: #cfe0f0;
  display: grid; place-items: center;
  font-size: .7rem;
  cursor: pointer;
  flex: 0 0 auto;
  transition: .2s ease;
}
.fv-pause:hover { border-color: #fff; color: #fff; }

.fv-window {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #fff;
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .7);
}
.fv-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  background: #f6f9fd;
  border-bottom: 1px solid #e6eef7;
}
.fv-dot { width: 8px; height: 8px; border-radius: 50%; }
.fv-dot:nth-child(1) { background: #ffd0c7; }
.fv-dot:nth-child(2) { background: #ffe6b8; }
.fv-dot:nth-child(3) { background: #c6efd4; }
.fv-bar em {
  margin-left: 8px; font-style: normal;
  font-family: var(--mono); font-size: 12px; color: #7c8fa3;
  background: #fff; border: 1px solid #e6eef7; border-radius: 5px;
  padding: 3px 8px;
}
.fv-badge {
  margin-left: auto;
  font-size: 12px; font-weight: 600; color: var(--blue);
  background: var(--blue-050); border-radius: 100px; padding: 3px 9px;
  white-space: nowrap;
}

.fv-stage { position: relative; height: 330px; background: #fff; }
.fv-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.fv-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }

.fv-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 14px 10px 0 2px;
}
.fv-info strong { display: block; font-family: var(--sans); font-size: 1rem; color: #fff; letter-spacing: -.01em; }
.fv-info span { display: block; margin-top: 2px; font-size: .82rem; color: #a9bfd3; }
.fv-cost { text-align: right; }
.fv-cost b { display: block; font-family: var(--sans); font-size: 1.05rem; color: var(--orange); letter-spacing: -.01em; }
.fv-cost span { display: block; margin-top: 2px; font-size: 12px; color: #93a9bf; }

.fv-progress { height: 2px; margin-top: 12px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.fv-progress span { display: block; height: 100%; width: 0; background: var(--orange); }

/* mini site previews */
.mini {
  height: 100%;
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; color: #0a1726;
}
.mini strong { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; }
.mini-nav { display: flex; align-items: center; gap: 8px; }
.mini-nav b { font-family: var(--sans); font-size: .78rem; letter-spacing: -.02em; }
.mini-nav span { display: flex; gap: 6px; margin-left: auto; }
.mini-nav span i { width: 20px; height: 4px; border-radius: 2px; background: #e8eff7; }
.mini-nav em {
  font-style: normal; font-size: 12px; font-weight: 600;
  color: #fff; background: var(--blue);
  padding: 4px 8px; border-radius: 4px;
}
.mini-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
}
.mini-line { display: block; height: 5px; border-radius: 3px; background: #eef3f9; }
.w40 { width: 40%; } .w55 { width: 55%; } .w60 { width: 60%; } .w80 { width: 80%; }
.mini-cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: max-content;
  font-size: 11px; font-weight: 600; color: #fff;
  background: var(--orange); padding: 7px 11px; border-radius: 5px;
}
.mini-cta.ghost { background: #fff; border: 1px solid #dbe6f2; color: #0a1726; }

/* визитка */
.mini-visit-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mini-visit-hero strong { font-size: 1.5rem; line-height: 1.1; }
.mini-chips { display: flex; gap: 6px; margin-top: 4px; }
.mini-chips i { width: 54px; height: 18px; border-radius: 100px; background: #f2f8ff; border: 1px solid #e6f0fa; }
.mini-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-cols div { display: grid; gap: 6px; align-content: start; }
.mini-cols b { font-size: 12px; }
.mini-cols i { height: 5px; border-radius: 2px; background: #eef3f9; }
.mini-cols em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--blue); }

/* лендинг */
.mini-land-hero { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: stretch; }
.mini-copy { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.mini-copy strong { font-size: 1.15rem; line-height: 1.1; }
.mini-photo {
  position: relative; height: auto; min-height: 150px;
  border-radius: 8px;
  background: linear-gradient(150deg, #d9ecff, #eef7ff);
  border: 1px solid #dbe9f8;
}
.mini-photo i {
  position: absolute; inset: 16%; border-radius: 6px; background: #fff;
  box-shadow: 0 14px 24px -14px rgba(13, 55, 100, .4);
}
.mini-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-benefits i {
  height: 54px; border-radius: 6px; background-color: #f6faff; border: 1px solid #e8f1fa;
  background-image: linear-gradient(#e8f1fa, #e8f1fa), linear-gradient(#eef4fb, #eef4fb);
  background-size: 58% 5px, 36% 4px;
  background-position: 10px 14px, 10px 26px;
  background-repeat: no-repeat;
}

/* корпоративный */
.mini-corp-hero {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
  background: #f5faff; border: 1px solid #e6f0fa; border-radius: 8px;
  padding: 16px;
}
.mini-corp-hero strong { font-size: 1.2rem; line-height: 1.15; }
.mini-stats { display: flex; gap: 16px; }
.mini-stats b { font-family: var(--sans); font-size: .8rem; color: var(--blue); }
.mini-corp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-corp-grid > div { display: grid; gap: 6px; }
.mini-corp-grid i {
  height: 52px; border-radius: 5px; background-color: #f6faff; border: 1px solid #e9f1fa;
  background-image: linear-gradient(#e8f1fa, #e8f1fa), linear-gradient(#eef4fb, #eef4fb);
  background-size: 56% 5px, 34% 4px;
  background-position: 10px 14px, 10px 26px;
  background-repeat: no-repeat;
}
.mini-news i { height: 32px; }

/* магазин */
.mini-filters { display: flex; gap: 6px; }
.mini-filters i { width: 44px; height: 18px; border-radius: 100px; border: 1px solid #e4eef8; background: #fff; }
.mini-products { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 8px; }
.mini-product { display: grid; grid-template-rows: 1fr auto; gap: 4px; }
.mini-thumb { height: auto; min-height: 44px; border-radius: 6px; background: #f2f8ff; border: 1px solid #e6f0fa; }
.mini-product b { font-size: 12px; }
.mini-cart { background: var(--orange) !important; }

/* ---------- hero stats ---------- */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: clamp(30px, 4vw, 46px);
}
.hero-stat {
  padding: 20px 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero-stat:last-child { border-right: 0; }
.hero-stat b {
  display: block;
  font-family: var(--sans); font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600; letter-spacing: -.03em; color: #fff;
}
.hero-stat span { display: block; margin: 4px auto 0; font-size: 12px; color: #93a9bf; max-width: 24ch; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 6.4vw, 92px) 0; }
.section-gray { background: var(--bg-gray); border-block: 1px solid var(--line); }

.sec-head {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 10px 26px;
  align-items: start;
  margin-bottom: clamp(30px, 3.4vw, 44px);
}
.sec-head-stack { grid-template-columns: 1fr; }
.sec-title-wrap { max-width: 640px; }
.sec-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 8px;
}
.sec-title { font-size: clamp(1.6rem, 2.9vw, 2.45rem); }
.sec-lead { color: var(--muted); font-size: .98rem; margin: 0; padding-top: 22px; }

.sec-head-split { grid-template-columns: 1fr auto; align-items: center; }

/* dark blocks */
.block-dark {
  position: relative;
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.block-glow {
  position: absolute; width: 720px; height: 720px;
  right: -260px; top: -300px;
  background: radial-gradient(circle, rgba(23, 149, 255, .3), transparent 62%);
  pointer-events: none;
}
.block-glow-left { left: -260px; right: auto; top: auto; bottom: -320px; }

.sec-head-dark .sec-eyebrow { color: #7fa2c4; }
.sec-head-dark .sec-title { color: #fff; }
.sec-head-dark .sec-lead { color: #a9bfd3; }

/* ---------- types ---------- */
.type-card {
  height: 100%;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: rgba(23, 149, 255, .35); }
.type-card-accent { border-color: rgba(23, 149, 255, .35); }

.type-head {
  min-height: 42px;
  padding: 10px 13px;
  display: flex; align-items: center; justify-content: flex-end;
  background: #f5f9fb;
  border-bottom: 1px solid #e7eef3;
}
.type-category {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #75848e;
}

.type-art {
  position: relative;
  min-height: 200px;
  padding: 18px;
  display: grid; place-items: center;
  background: radial-gradient(120% 100% at 50% 0%, #eaf6ff 0%, #fff 72%);
  border-bottom: 1px solid var(--line);
}
.type-art-2 { background: radial-gradient(120% 100% at 50% 0%, #e7f3ff 0%, #fff 72%); }
.type-art-3 { background: radial-gradient(120% 100% at 50% 0%, #eef5ff 0%, #fff 72%); }
.type-art-4 { background: radial-gradient(120% 100% at 50% 0%, #e4f6ff 0%, #fff 72%); }
.type-art img { width: 100%; height: 200px; object-fit: contain; display: block; }

.type-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.type-body h3 {
  font-size: 1.14rem; margin-bottom: 7px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
  order: 0;
}
.type-body > p { order: 1; }
.type-list { order: 2; }
.type-foot { order: 3; margin-top: auto; }
.type-body > p { color: var(--muted); font-size: .94rem; margin: 0 0 13px; }
.type-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.type-list li { position: relative; padding-left: 17px; font-size: .9rem; color: var(--ink-2); }
.type-list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 8px; height: 5px;
  border-left: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}

.type-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.type-price {
  display: block;
  text-align: center;
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  letter-spacing: -.03em; line-height: 1.1;
  color: var(--ink);
}
.type-price-label {
  display: block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 3px;
}
.type-price small { font-family: var(--mono); font-size: 12px; color: var(--dim); font-weight: 400; letter-spacing: .06em; margin-left: 2px; }

.btn-order {
  width: 100%;
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  border-radius: 10px;
  padding: .9rem 1rem;
  font-size: .95rem;
  box-shadow: 0 12px 22px -14px rgba(244, 119, 53, .8);
}
.btn-order:hover, .btn-order:focus-visible {
  background: var(--orange-600);
  border-color: var(--orange-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 26px -14px rgba(224, 100, 31, .85);
}

/* ---------- included (dark) ---------- */
.price-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(6px);
}
.price-panel-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: #8ba8c6;
}
.price-panel strong {
  display: block;
  font-family: var(--sans); font-size: 2rem; font-weight: 600;
  letter-spacing: -.03em; color: #fff; margin: 6px 0 8px;
}
.price-panel strong small { font-family: var(--mono); font-size: 12px; color: #93a9bf; font-weight: 400; }
.price-panel p { color: #a9bfd3; font-size: .85rem; margin: 0 0 18px; }

.included-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.included-grid li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: .92rem; color: #dbe7f2;
}
.included-grid li:nth-child(-n+2) { border-top: 1px solid rgba(255, 255, 255, .12); }
.included-grid i {
  flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .62rem; color: #04121f; background: var(--cyan);
  margin-top: 2px;
}

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(23, 149, 255, .3); }
.work-card.is-hidden { display: none; }

.work-media { position: relative; background: var(--bg-gray-2); padding: 12px; }
.work-media img {
  width: 100%; height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.work-tag {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: #fff;
  border-radius: 100px; padding: 4px 9px;
  box-shadow: var(--shadow-xs);
}
.work-body { padding: 15px 17px 18px; }
.work-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.work-title-row h3 { font-size: 1.1rem; }
.work-year { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.work-body p { color: var(--muted); font-size: .94rem; margin: 7px 0 11px; }
.work-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.work-tags li {
  font-size: 12px; color: var(--muted);
  background: #fbfdff; border: 1px solid var(--line);
  border-radius: 100px; padding: 2px 9px;
}

.work-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 30px; }
.btn-load-more {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 10px;
  padding: .8rem 1.6rem;
  min-width: 220px;
}
.btn-load-more:hover, .btn-load-more:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}
.btn-load-more.is-done { display: none; }
.work-more-note { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

/* ---------- services ---------- */
.service-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(23, 149, 255, .28); }
.service-top {
  display: grid; place-items: center;
  min-height: 150px;
  margin-bottom: 18px;
  background: #f5fafc;
  border: 1px solid #edf4f7;
  border-radius: 12px;
}
.service-top img { width: 135px; height: 135px; object-fit: contain; display: block; }
.service-body { flex: 1; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.service-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.service-price {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-align: center; margin-bottom: 0;
}
.service-price span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.service-price strong { font-family: var(--sans); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.service-price small { font-family: var(--mono); font-size: 12px; color: var(--dim); font-weight: 400; letter-spacing: .06em; margin-left: 2px; }

/* ---------- process (dark) ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process-step {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 18px;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.process-step:hover { background: rgba(255, 255, 255, .09); border-color: rgba(43, 179, 231, .5); transform: translateY(-3px); }
.step-num {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(43, 179, 231, .16);
  color: var(--cyan);
  font-family: var(--mono); font-size: 12px;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1rem; color: #fff; margin-bottom: 6px; }
.process-step p { color: #a9bfd3; font-size: .88rem; margin: 0 0 12px; }
.step-time { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--orange); }

/* ---------- advantages (why us) ---------- */
.adv-layout { display: flex; }
.adv-panel {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  padding: 28px 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #0d2b4e 0%, #13619c 55%, #1f8fd6 100%);
  color: #fff;
  overflow: hidden;
}
.adv-panel::after {
  content: "";
  position: absolute; right: -70px; bottom: -80px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 70%);
  pointer-events: none;
}
.adv-panel-label {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 18px;
}
.adv-panel-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  color: #fff; font-size: 1.4rem;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.22);
}
.adv-panel h3 { font-size: 1.5rem; line-height: 1.25; color: #fff; margin-bottom: 10px; }
.adv-panel h3 span { color: #7fd0ff; }
.adv-panel p { color: rgba(255,255,255,.82); font-size: .96rem; margin-bottom: 20px; }
.adv-panel-bottom {
  margin-top: auto;
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18);
}
.adv-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  flex: 0 0 auto;
}
.adv-grid { height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adv-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.adv-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-xs); border-color: rgba(23, 149, 255, .3); }
.adv-item-icon {
  width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue);
  font-size: 1.05rem;
}
.adv-item h3 { font-size: 1rem; margin-bottom: 4px; }
.adv-item p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.5; }
@media (max-width: 575.98px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv-panel h3 { font-size: 1.3rem; }
}

/* ---------- faq ---------- */
.faq .accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq .accordion-item:last-child { margin-bottom: 0; }
.faq .accordion-button {
  background: #fff;
  color: var(--ink);
  font-family: var(--sans); font-weight: 500;
  font-size: 1.05rem; letter-spacing: -.02em;
  padding: 17px 46px 17px 18px;
  border-radius: 0;
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: var(--blue); background: #fbfdff; }
.faq .accordion-button:focus { box-shadow: none; }

.faq .accordion-button::before,
.faq .accordion-button::after {
  content: "";
  position: absolute; right: 18px; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  background-image: none; margin: 0;
  transition: transform .25s ease, opacity .25s ease;
  transform: translateY(-50%);
}
.faq .accordion-button::before { transform: translateY(-50%) rotate(90deg); }
.faq .accordion-button:not(.collapsed)::before { transform: translateY(-50%) rotate(0deg); opacity: 0; }

.faq .accordion-body { color: var(--muted); font-size: .94rem; padding: 0 46px 18px 18px; max-width: 72ch; }

/* ---------- contact (blue gradient) ---------- */
.contact-block {
  position: relative;
  background: linear-gradient(135deg, #062a4d 0%, #0b4f96 45%, #1795ff 100%);
  color: #fff;
  padding: clamp(56px, 6.5vw, 96px) 0;
  overflow: hidden;
}
.contact-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(60% 80% at 80% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(60% 80% at 80% 20%, #000 0%, transparent 70%);
}
.contact-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: #a9d4ff;
}
.contact-title {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  margin: 14px 0 16px;
  color: #fff;
}
.contact-title span { color: #ffd9c4; }
.contact-lead { color: #cfe4f8; font-size: .98rem; max-width: 42ch; margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: .9rem;
  flex: 0 0 auto;
}
.contact-list span { display: block; font-size: 12px; color: #a9d4ff; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a { font-size: 1.1rem; font-weight: 600; color: #fff; }
.contact-list a:hover { color: #ffd9c4; }

.contact-note { font-size: .85rem; color: #b7d6f2; border-left: 2px solid rgba(255, 255, 255, .35); padding-left: 12px; }

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
  color: var(--ink);
}
.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.form-head h3 { font-size: 1.2rem; }
.form-head-note { font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }

.form-label { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.form-label span { color: var(--orange); }

.form-control, .form-select {
  background: #fbfdff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 9px;
  padding: .7rem .85rem;
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-control::placeholder { color: #9dabbb; }
.form-control:focus, .form-select:focus {
  background: #fff;
  border-color: rgba(23, 149, 255, .7);
  box-shadow: 0 0 0 3px rgba(23, 149, 255, .14);
  color: var(--ink);
}
textarea.form-control { resize: vertical; min-height: 84px; }

.form-check.consent { display: flex; align-items: flex-start; gap: 9px; padding: 0; }
.consent .form-check-input {
  margin: .3rem 0 0; flex: 0 0 auto;
  width: 17px; height: 17px;
  background-color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}
.consent .form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.consent .form-check-label { font-size: 12px; color: var(--muted); line-height: 1.5; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.was-validated .form-control:invalid,
.was-validated .form-check-input:invalid,
.form-control.is-invalid,
.form-check-input.is-invalid {
  border-color: #e25555;
  background-image: none;
}
.invalid-feedback { font-size: 12px; color: #d14343; }

.form-success {
  display: flex; align-items: center; gap: 13px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(23, 149, 255, .25);
  background: var(--blue-050);
}
.form-success[hidden] { display: none; }
.form-success i { font-size: 1.4rem; color: var(--blue); }
.form-success strong { display: block; font-size: .9rem; }
.form-success span { font-size: .85rem; color: var(--muted); }

/* ---------- seo ---------- */
.seo-text p { color: var(--muted); font-size: .95rem; margin: 0 0 14px; max-width: 76ch; }
.seo-text p:last-child { margin-bottom: 0; }

/* ---------- footer (dark) ---------- */
.site-footer {
  background: var(--navy);
  color: #a9bfd3;
  padding: clamp(44px, 5.4vw, 66px) 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.site-footer .brand-word { color: #fff; }
.site-footer .brand-sub { color: #7d95ad; }
.footer-about { color: #93a9bf; font-size: .9rem; max-width: 36ch; margin: 12px 0 18px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px; border-radius: 9px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #a9bfd3;
  transition: .2s ease;
}
.socials a:hover { color: #04121f; background: var(--cyan); border-color: var(--cyan); }

.footer-title {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: #7d95ad;
  margin-bottom: 14px; font-weight: 400;
}
.footer-links, .footer-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; color: #93a9bf; }
.footer-links a:hover, .footer-contacts a:hover { color: #fff; }
.footer-requisites { font-size: 12px; color: #7d95ad; margin: 16px 0 0; line-height: 1.6; }

.footer-bottom {
  margin-top: 38px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12px; color: #7d95ad;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }

/* ---------- to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1020;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- modal ---------- */
.modal-content { background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); }
.modal-header, .modal-footer { border-color: var(--line); }
.modal-title { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; }
.modal-body { color: var(--muted); font-size: .92rem; }
.modal-body a { color: var(--blue); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity .65s cubic-bezier(.2, .8, .2, 1),
    translate .65s cubic-bezier(.2, .8, .2, 1),
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .sec-head { grid-template-columns: 1fr 300px; }
  .process { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
  .sec-head, .sec-head-split { grid-template-columns: 1fr; }
  .sec-lead { padding-top: 0; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: 1fr; }
  .included-grid li:nth-child(2) { border-top: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { padding-bottom: 20px; }
  .fv-stage { height: 300px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2n) { border-right: 0; }
}

@media (max-width: 767.98px) {
  .topbar-note, .topbar-actions { display: none; }
  .hero { padding-top: 30px; }
  .hero-title { font-size: clamp(1.95rem, 8.6vw, 2.7rem); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 16px 12px; }
  .fv-stage { height: 290px; }
  .fv-tab { font-size: 12px; padding: 6px 9px; }
  .process { grid-template-columns: 1fr; }
  .type-art img { height: 170px; }
  .faq .accordion-body { padding-right: 18px; }
}

@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .fv-stage { height: 268px; }
  .mini { padding: 12px; }
  .mini-visit-hero strong { font-size: 1.08rem; }
  .mini-copy strong { font-size: .95rem; }
  .mini-photo { height: 104px; min-height: 104px; }
  .mini-thumb { height: 44px; min-height: 44px; }
  .fv-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .fv-cost { text-align: left; }
  .form-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .form-head h3 { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: 0 0; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.motto {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  margin: 0 0 10px;
}
.motto-latin {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.motto-ru { font-size: .85rem; color: #a9bfd3; }



