/* =====================================================================
   МОНОЛИТ-С · v3 «Modern Corporate 1C»
   Палитра: глубокий синий, белый, коралл, мята
   Типографика: Onest (basis) + JetBrains Mono (technical labels)
   ===================================================================== */

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

:root {
  /* Brand */
  --navy:        #0a2540;
  --navy-deep:   #061a30;
  --navy-soft:   #1c3754;
  --coral:       #ff6b35;
  --coral-deep:  #e85525;
  --coral-soft:  #ffe9df;
  --mint:        #00c896;
  --mint-soft:   #d6f5ea;
  --gold:        #f9c74f;

  /* Neutrals */
  --bg:          #fafbfc;
  --bg-alt:      #f1f4f9;
  --bg-card:     #ffffff;
  --ink:         #0e1626;
  --ink-soft:    #455368;
  --ink-mute:    #8993a4;
  --line:        #e3e8ef;
  --line-soft:   #eef1f6;

  /* Effects */
  --radius-lg:   24px;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 2px rgba(10, 37, 64, 0.04), 0 2px 4px rgba(10, 37, 64, 0.04);
  --shadow:      0 4px 12px rgba(10, 37, 64, 0.06), 0 12px 32px rgba(10, 37, 64, 0.05);
  --shadow-lg:   0 12px 32px rgba(10, 37, 64, 0.08), 0 24px 60px rgba(10, 37, 64, 0.10);
  --shadow-coral: 0 16px 40px rgba(255, 107, 53, 0.32);

  --pad-x:       clamp(20px, 4vw, 56px);
  --maxw:        1280px;

  --sans:        'Onest', system-ui, -apple-system, sans-serif;
  --mono:        'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "kern";
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--coral); color: #fff; }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* === ВЕРХНЯЯ ПОЛОСА === */
.topbar {
  background: var(--navy);
  color: #c8d4e3;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  flex-wrap: wrap;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.topbar-left, .topbar-right {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar a {
  color: #d8e1ee;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s;
}
.topbar a:hover { color: var(--coral); }
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(0, 200, 150, 0.15);
  color: var(--mint);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}
.topbar-pill::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.2); }
}

/* === ШАПКА === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 48px; height: 48px;
  object-fit: contain;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-mark { transform: scale(1.06) rotate(-4deg); }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding: 9px 16px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--navy); background: var(--bg-alt); }

/* === КНОПКИ === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
}
.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.45);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); background: #fff; }

.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { background: var(--bg-alt); transform: translateY(-2px); }

.btn-lg { padding: 16px 28px; font-size: 16px; }

/* === HERO === */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 7vw, 90px);
  overflow: hidden;
}
.hero::before {
  /* deco gradient mesh */
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 70%; height: 90%;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 107, 53, 0.18), transparent 55%),
    radial-gradient(ellipse at 30% 70%, rgba(0, 200, 150, 0.14), transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(10, 37, 64, 0.06), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  /* «1С» как водяной знак */
  content: "1С";
  position: absolute;
  bottom: -120px; right: -40px;
  font-weight: 800;
  font-size: clamp(280px, 38vw, 540px);
  line-height: 0.85;
  color: var(--navy);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.06em;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp .8s ease both;
}
.hero-badge-icon {
  width: 26px; height: 26px;
  background: var(--mint);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
}
.hero-badge-icon svg { width: 14px; height: 14px; }
.hero-badge b { font-weight: 700; }

.hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
  animation: fadeUp .9s ease .1s both;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--coral) 0%, var(--coral-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .strike {
  position: relative;
  color: var(--ink-mute);
  font-weight: 600;
}
.hero h1 .strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 56%;
  height: 4px;
  border-radius: 2px;
  background: var(--coral);
  transform: rotate(-2deg);
}

.hero-lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 32px;
  animation: fadeUp 1s ease .2s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeUp 1.1s ease .3s both;
}

.hero-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeUp 1.2s ease .4s both;
}
.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-feature svg {
  width: 18px; height: 18px;
  color: var(--mint);
  flex-shrink: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* HERO right deco — «карточки» */
.hero-art {
  position: relative;
  height: 460px;
  animation: fadeUp 1.2s ease .15s both;
}

.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.hero-card:hover { transform: translateY(-6px) scale(1.02); }

.hero-card-1 {
  top: 0; left: 8%;
  width: 240px;
  border-top: 4px solid var(--coral);
  animation: floatA 7s ease-in-out infinite;
}
.hero-card-2 {
  top: 32%; right: 0;
  width: 220px;
  border-top: 4px solid var(--mint);
  animation: floatB 8s ease-in-out infinite;
}
.hero-card-3 {
  bottom: 0; left: 0;
  width: 230px;
  border-top: 4px solid var(--gold);
  animation: floatA 9s ease-in-out infinite reverse;
}
.hero-card-4 {
  bottom: 2%; right: 8%;
  width: 170px;
  background: var(--navy);
  color: #fff;
  border: 0;
  text-align: center;
  padding: 22px 16px;
  animation: floatB 10s ease-in-out infinite;
}
@keyframes floatA {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}

.hero-card-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.hero-card-1 .hero-card-icon { background: var(--coral-soft); color: var(--coral); }
.hero-card-2 .hero-card-icon { background: var(--mint-soft); color: var(--mint); }
.hero-card-3 .hero-card-icon { background: rgba(249, 199, 79, 0.2); color: #b58a18; }
.hero-card-icon svg { width: 18px; height: 18px; }

.hero-card-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-card-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-card-num {
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--coral);
  margin-top: 4px;
}
.hero-card-4 .hero-card-num { color: #fff; font-size: 42px; }
.hero-card-4 .hero-card-meta { color: rgba(255,255,255,0.65); }

/* === ЧЕГО МЫ НЕ ДЕЛАЕМ === */
.donts {
  padding: 56px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.donts-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 32px;
}
.donts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dont {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.dont::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--coral);
  transform: translateX(-3px);
  transition: transform .25s;
}
.dont:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: var(--shadow-sm);
}
.dont:hover::before {
  transform: translateX(0);
}
.dont-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--coral-soft);
  color: var(--coral);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-6deg);
}
.dont-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dont-not {
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92em;
  margin-right: 4px;
}
.dont-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* === SECTION HEAD === */
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--coral);
}
.h2 {
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 760px;
}
.h2 .accent {
  background: linear-gradient(120deg, var(--coral) 0%, var(--coral-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head .lede {
  max-width: 380px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* === УСЛУГИ === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.service {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }

.service:nth-child(1)::before { background: var(--coral); }
.service:nth-child(2)::before { background: var(--mint); }
.service:nth-child(3)::before { background: var(--gold); }
.service:nth-child(4)::before { background: var(--navy); }
.service:nth-child(5)::before { background: linear-gradient(90deg, var(--coral), var(--gold)); }
.service:nth-child(6)::before { background: linear-gradient(90deg, var(--navy), var(--mint)); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--navy);
  margin-bottom: 18px;
  transition: background .3s, color .3s, transform .3s;
}
.service-icon svg { width: 24px; height: 24px; }
.service:nth-child(1) .service-icon { background: var(--coral-soft); color: var(--coral); }
.service:nth-child(2) .service-icon { background: var(--mint-soft); color: var(--mint); }
.service:nth-child(3) .service-icon { background: rgba(249, 199, 79, 0.2); color: #b58a18; }
.service:nth-child(4) .service-icon { background: rgba(10, 37, 64, 0.08); color: var(--navy); }
.service:nth-child(5) .service-icon { background: var(--coral-soft); color: var(--coral); }
.service:hover .service-icon { transform: rotate(-6deg) scale(1.05); }

.service h3 {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
  color: var(--ink);
}
.service h3 em { font-style: normal; color: var(--coral); }
.service > p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  text-wrap: pretty;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  border-radius: 100px;
}

.service-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1);
}
.service.is-open .service-detail { grid-template-rows: 1fr; }
.service-detail-inner {
  overflow: hidden;
}
.service-detail ul {
  list-style: none;
  margin: 14px 0 6px;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
}
.service-detail li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.service-detail li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 2px;
  background: var(--coral);
  border-radius: 1px;
}

.service-more {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  font-family: var(--sans);
}
.service-more::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  transition: transform .35s, background .25s, color .25s;
}
.service.is-open .service-more::after {
  transform: rotate(45deg);
  background: var(--coral);
  color: #fff;
}

.service-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border: 0;
  cursor: pointer;
}
.service-cta::before { display: none; }
.service-cta h3 { color: #fff; }
.service-cta > p { color: rgba(255,255,255,0.7); }
.service-cta .service-icon { background: rgba(255,255,255,0.1); color: #fff; }
.service-cta:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-cta .service-more { color: var(--coral); margin-top: 8px; }
.service-cta .service-more::after { background: rgba(255,107,53,0.18); color: var(--coral); }

/* === Услуга-карточка «Партнёр Teyca» — фирменные цвета teyca.ru === */
.service.is-teyca {
  --teyca-bg: #0F1115;
  --teyca-blue: #1D72FF;
  --teyca-blue-soft: #7BC0FE;
  background:
    radial-gradient(circle at 100% 0%, rgba(29,114,255,0.32), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(123,192,254,0.14), transparent 55%),
    linear-gradient(155deg, #14181F 0%, var(--teyca-bg) 100%);
  border-color: rgba(29,114,255,0.45);
  color: #fff;
  isolation: isolate;
  box-shadow: 0 14px 40px rgba(29,114,255,0.18);
}
.service.is-teyca {
  cursor: default;
  padding: 22px 22px;
}
.service.is-teyca .service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.service.is-teyca .service-icon svg { width: 20px; height: 20px; }
.service.is-teyca h3 { font-size: 19px; margin-bottom: 8px; }
.service.is-teyca > p { font-size: 13.5px; margin-bottom: 12px; }
.service.is-teyca .service-tags { margin-bottom: 10px; }
.service.is-teyca::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  height: auto;
  background: linear-gradient(115deg,
    transparent 38%,
    rgba(255,255,255,0.08) 47%,
    rgba(123,192,254,0.30) 50%,
    rgba(255,255,255,0.08) 53%,
    transparent 62%);
  background-size: 280% 100%;
  background-position: 200% 0;
  background-repeat: no-repeat;
  opacity: 0;
  animation: teyca-shimmer 9s ease-in-out infinite;
  transform: none;
  transition: none;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.service.is-teyca:hover::before { transform: none; }
@keyframes teyca-shimmer {
  0%, 100% { background-position: 200% 0; opacity: 0; }
  10%      { opacity: 1; }
  50%      { background-position: -200% 0; opacity: 1; }
  60%, 99% { background-position: -200% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .service.is-teyca::before { animation: none; }
}
.service.is-teyca > * { position: relative; z-index: 1; }
.service.is-teyca:hover {
  border-color: var(--teyca-blue-soft);
  box-shadow: 0 18px 48px rgba(29,114,255,0.32);
}
.service.is-teyca .service-icon {
  background: rgba(29,114,255,0.2);
  color: var(--teyca-blue-soft);
  border: 1px solid rgba(123,192,254,0.35);
}
.service.is-teyca h3 { color: #fff; }
.service.is-teyca > p { color: rgba(255,255,255,0.78); }
.service.is-teyca .tag {
  background: rgba(123,192,254,0.12);
  color: var(--teyca-blue-soft);
  border: 1px solid rgba(123,192,254,0.25);
}
.service.is-teyca .service-detail ul { border-top-color: rgba(123,192,254,0.25); }
.service.is-teyca .service-detail li { color: rgba(255,255,255,0.86); }
.service.is-teyca .service-detail li::before { background: var(--teyca-blue-soft); }
.service.is-teyca .service-more {
  color: var(--teyca-blue-soft);
  text-decoration: none;
}
.service.is-teyca .service-more::after {
  content: "↗";
  background: rgba(29,114,255,0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.service.is-teyca .service-more:hover::after {
  background: var(--teyca-blue);
}
.service.is-teyca .teyca-link {
  color: var(--teyca-blue-soft);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(123,192,254,0.45);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.service.is-teyca h3 .teyca-link { font-weight: 700; }
.service.is-teyca .teyca-link:hover {
  color: #fff;
  border-color: #fff;
}
.service.is-teyca .teyca-bonus {
  margin: 4px 0 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(29,114,255,0.28), rgba(123,192,254,0.10));
  border: 1px solid rgba(123,192,254,0.4);
  font-size: 12.5px;
  line-height: 1.45;
  color: #fff;
}
.service.is-teyca .teyca-bonus strong {
  color: var(--teyca-blue-soft);
  font-weight: 700;
}
.service.is-teyca .service-teyca-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--teyca-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(29,114,255,0.45);
}
.service.is-teyca:hover .service-icon {
  background: rgba(29,114,255,0.3);
  color: #fff;
}

/* === ЦИФРЫ === */
.numbers {
  background: var(--navy);
  color: #fff;
  padding: clamp(60px, 7vw, 90px) 0;
  position: relative;
  overflow: hidden;
}
.numbers::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.18), transparent 65%);
  pointer-events: none;
}
.numbers::after {
  content: "";
  position: absolute;
  bottom: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,200,150,0.12), transparent 65%);
  pointer-events: none;
}
.numbers-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.number {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.number-num {
  font-weight: 800;
  font-size: clamp(48px, 5.5vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.number-num .accent {
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.number-label {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  max-width: 200px;
}
.number-bar {
  height: 2px;
  width: 36px;
  background: var(--coral);
  margin: 6px 0 4px;
}

/* === КЛИЕНТЫ (детальные карточки) === */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.client-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 200px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.client-card::after {
  content: "Подробнее →";
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity .25s, transform .25s;
}
.client-card:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.client-card:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.client-card .client-title {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  transition: color .3s, transform .3s;
}
.client-card:hover .client-title { color: var(--coral); transform: scale(1.05); }

/* === ПРОЦЕСС === */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--mint) 100%);
  opacity: 0.25;
  z-index: 0;
}
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  z-index: 1;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--coral); }
.process-num {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25);
  position: relative;
  transition: background .3s, transform .3s;
}
.process-step:hover .process-num {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  transform: rotate(-8deg) scale(1.05);
  box-shadow: var(--shadow-coral);
}
.process-num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed var(--line);
  border-radius: 50%;
}
.process-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-align: center;
  color: var(--ink);
}
.process-desc {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
  text-wrap: pretty;
}

/* === О КОМПАНИИ === */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.about-visual {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-visual::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255,107,53,0.4), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.about-visual::after {
  content: "1С";
  position: absolute;
  bottom: -100px; right: -30px;
  font-weight: 800;
  font-size: 380px;
  line-height: 0.85;
  color: rgba(255,255,255,0.05);
  letter-spacing: -0.06em;
  pointer-events: none;
}
.about-visual-tag {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--coral);
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.about-visual-quote {
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.about-visual-quote em { font-style: italic; color: var(--coral); }
.about-visual-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.about-visual-meta b { color: #fff; font-weight: 600; }

.about-text {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
  text-wrap: pretty;
}
.about-text strong { color: var(--ink); font-weight: 700; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--coral-soft);
  color: var(--coral);
  display: grid;
  place-items: center;
}
.about-feature-icon svg { width: 20px; height: 20px; }
.about-feature h4 {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* === ЦЕНЫ === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.price-card.is-featured {
  border-color: var(--coral);
  box-shadow: var(--shadow);
}
.price-card.is-featured::after {
  content: "Популярный";
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--coral);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(255,107,53,0.32);
}
.price-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.price-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.price-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  min-height: 0;
  text-wrap: pretty;
}
.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.price-amount .price-from {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-amount .price-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: var(--sans);
}
.price-amount .price-unit {
  font-size: 14px;
  color: var(--ink-soft);
}
.price-note {
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 16px;
  line-height: 1.45;
}
.price-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 16px 0 0;
  border-top: 1px dashed var(--line);
  flex: 1;
}
.price-features li {
  position: relative;
  padding: 4px 0 4px 24px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  background: var(--mint-soft);
  border-radius: 50%;
}
.price-features li::after {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}
.price-card .btn {
  width: 100%;
  justify-content: center;
}
.price-action-hint {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Широкая выделенная карточка (Сопровождение) */
.price-card-wide {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,107,53,0.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(0,200,150,0.16), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-color: transparent;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  padding: 38px 40px;
  margin-top: 4px;
  overflow: hidden;
}
.price-card-wide:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(10,37,64,0.35);
  border-color: transparent;
}
.price-card-wide-left, .price-card-wide-right {
  display: flex;
  flex-direction: column;
}
.price-card-wide-right { justify-content: center; }
.price-card-wide .price-name { color: #fff; font-size: 26px; }
.price-card-wide .price-tag { color: rgba(255,255,255,0.55); }
.price-card-wide .price-desc { color: rgba(255,255,255,0.78); font-size: 15px; min-height: 0; margin-bottom: 20px; }
.price-card-wide .price-amount { margin-bottom: 8px; }
.price-card-wide .price-amount .price-value { color: #fff; font-size: 38px; }
.price-card-wide .price-amount .price-from { color: rgba(255,255,255,0.55); }
.price-card-wide .price-amount .price-unit { color: rgba(255,255,255,0.7); }
.price-card-wide .price-note { color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.price-card-wide .price-features {
  border-top: none;
  padding-top: 0;
  margin: 0;
}
.price-card-wide .price-features li { color: rgba(255,255,255,0.88); font-size: 14.5px; }
.price-card-wide .price-features li::before {
  background: rgba(0,200,150,0.22);
}
.price-card-wide .price-features li::after {
  border-color: var(--mint);
}
.price-card-wide .btn { width: auto; align-self: flex-start; }
.price-card-wide.is-exclusive { grid-template-rows: auto auto; }
.price-card-wide.is-exclusive .price-card-wide-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
  position: relative;
  z-index: 2;
}
.price-card-wide.is-exclusive .price-card-wide-bottom .btn { align-self: center; }
.price-card-wide .btn-primary {
  background: var(--coral);
  box-shadow: 0 10px 28px rgba(255,107,53,0.4);
}
.price-card-wide .btn-primary:hover {
  background: var(--coral-deep);
}
.price-badge {
  display: inline-flex;
  align-self: flex-start;
  gap: 6px;
  align-items: center;
  background: rgba(0,200,150,0.16);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px 6px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(0,200,150,0.4);
}

/* Эксклюзивная карточка «Иные проекты» — чёрный фон + переливающийся радужный бордюр */
.price-card-wide.is-exclusive {
  background: transparent;
  border: 2px solid transparent;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 24px;
}
.price-card-wide.is-exclusive::before {
  content: "";
  position: absolute;
  width: 240%;
  aspect-ratio: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    #b14cff 0%,
    #ff4c8b 18%,
    #ffaa00 36%,
    #00d4aa 54%,
    #4cb1ff 72%,
    #b14cff 100%
  );
  animation: exclusive-rotate 7s linear infinite;
  z-index: -2;
  pointer-events: none;
}
.price-card-wide.is-exclusive::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius) - 2px);
  background:
    radial-gradient(circle at 100% 0%, rgba(177,76,255,0.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(0,212,170,0.16), transparent 55%),
    linear-gradient(135deg, #0a0b0f 0%, #16171c 50%, #0a0b0f 100%);
  z-index: -1;
  pointer-events: none;
}
@keyframes exclusive-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .price-card-wide.is-exclusive::before { animation: none; }
}
.price-card-wide.is-exclusive:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  border-color: transparent;
}
.price-card-wide.is-exclusive .price-name { color: #fff; font-size: 26px; }
.price-card-wide.is-exclusive .price-tag { color: rgba(255,255,255,0.55); }
.price-card-wide.is-exclusive .price-desc { color: rgba(255,255,255,0.82); margin-bottom: 18px; }
.price-card-wide.is-exclusive .price-note { color: rgba(255,255,255,0.55); }
.price-card-wide.is-exclusive .price-features {
  display: grid;
  gap: 6px;
}
.price-card-wide.is-exclusive .price-features li {
  color: rgba(255,255,255,0.92);
  font-size: 14.5px;
  padding: 8px 0 8px 28px;
  line-height: 1.5;
}
.price-card-wide.is-exclusive .price-features li::before {
  content: "✦";
  position: absolute;
  left: 4px;
  top: 5px;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: #d8b3ff;
  font-size: 16px;
  text-shadow:
    0 0 6px rgba(216,179,255,0.7),
    0 0 14px rgba(177,76,255,0.5);
  animation: spark-twinkle 3.6s ease-in-out infinite;
}
.price-card-wide.is-exclusive .price-features li::after { content: none; }
.price-card-wide.is-exclusive .price-features li:nth-child(2)::before { animation-delay: 0.6s; color: #ffe1f0; text-shadow: 0 0 6px rgba(255,225,240,0.8), 0 0 14px rgba(255,76,139,0.45); }
.price-card-wide.is-exclusive .price-features li:nth-child(3)::before { animation-delay: 1.2s; color: #b8f0e0; text-shadow: 0 0 6px rgba(184,240,224,0.8), 0 0 14px rgba(0,212,170,0.45); }
.price-card-wide.is-exclusive .price-features li:nth-child(4)::before { animation-delay: 1.8s; }
.price-card-wide.is-exclusive .price-features li:nth-child(5)::before { animation-delay: 2.4s; color: #ffe1c2; text-shadow: 0 0 6px rgba(255,225,194,0.8), 0 0 14px rgba(255,170,0,0.45); }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0.55; transform: scale(0.92) rotate(0deg); }
  50%      { opacity: 1;    transform: scale(1.1)  rotate(45deg); }
}
.price-features-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent);
}
.price-card-wide.is-exclusive .price-amount {
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-flex;
  align-self: flex-start;
}
.price-card-wide.is-exclusive .price-value-text {
  font-size: 32px;
}
/* Декоративные искры по углам карточки */
.price-card-wide.is-exclusive .deco-spark {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 0;
  color: #fff;
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(216,179,255,0.9)) drop-shadow(0 0 16px rgba(177,76,255,0.5));
  animation: deco-pulse 3s ease-in-out infinite;
}
.price-card-wide.is-exclusive .deco-spark--tr { top: 26px;  right: 28px; width: 22px; height: 22px; animation-delay: 0.4s; }
.price-card-wide.is-exclusive .deco-spark--bl { bottom: 30px; left: 30px;  width: 18px; height: 18px; animation-delay: 1.2s; opacity: 0.7; }
.price-card-wide.is-exclusive .deco-spark--mid { top: 38%; right: 8%; width: 14px; height: 14px; animation-delay: 2.0s; opacity: 0.55; }
@keyframes deco-pulse {
  0%, 100% { transform: scale(0.85) rotate(0deg);   opacity: 0.5; }
  50%      { transform: scale(1.15) rotate(180deg); opacity: 1; }
}
.price-card-wide.is-exclusive .price-amount { margin-bottom: 8px; align-items: center; }
.price-value-text {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, #d8b3ff 30%, #ffe1f0 55%, #b8f0e0 80%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: exclusive-text-shimmer 5s ease-in-out infinite;
}
@keyframes exclusive-text-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.price-badge-rainbow {
  display: inline-flex;
  align-self: flex-start;
  gap: 6px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px 6px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  isolation: isolate;
}
.price-badge-rainbow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, #b14cff, #ff4c8b, #ffaa00, #00d4aa, #4cb1ff, #b14cff);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: rainbow-pan 5s linear infinite;
  pointer-events: none;
}
@keyframes rainbow-pan {
  to { background-position: 300% 0; }
}
.btn-exclusive {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .25s, transform .15s, box-shadow .25s;
}
.btn-exclusive::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255,255,255,0.22) 50%,
    transparent 70%);
  background-size: 280% 100%;
  background-position: 280% 0;
  animation: btn-exclusive-shimmer 6s linear infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes btn-exclusive-shimmer {
  from { background-position: 280% 0; }
  to   { background-position: -280% 0; }
}
.btn-exclusive:hover {
  border-color: rgba(255,255,255,0.75);
  box-shadow: 0 8px 22px rgba(177,76,255,0.25);
}

/* Карточка «Запуск 1С с нуля» — выделение mint-цветом */
.price-card.is-startup {
  border-color: var(--mint);
  background:
    radial-gradient(circle at 100% 0%, rgba(0,200,150,0.10), transparent 55%),
    var(--bg-card);
}
.price-card.is-startup::after {
  content: "Старт";
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--mint);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0,200,150,0.32);
}

/* Карточка «Проект под ключ» — выделение navy */
.price-card.is-project {
  border-color: var(--navy);
  background:
    radial-gradient(circle at 100% 0%, rgba(10,37,64,0.07), transparent 55%),
    var(--bg-card);
}
.price-card.is-project::after {
  content: "Проект";
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--navy);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(10,37,64,0.28);
}

/* Tilt-эффект кнопок при движении мыши над карточкой тарифа */
.pricing-grid .price-card .btn {
  transform: perspective(600px) rotateX(var(--tilt-rx, 0deg)) rotateY(var(--tilt-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .12s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, filter .25s;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .pricing-grid .price-card .btn { transform: none !important; }
}

/* Перламутровая кнопка (slowly shifting iridescent) */
.btn-pearl {
  position: relative;
  border: 1px solid rgba(177,76,255,0.25);
  color: var(--ink);
  background:
    linear-gradient(120deg,
      #ffffff 0%,
      #e8f7f0 18%,
      #fff5e0 36%,
      #f1e5ff 54%,
      #ffe5ee 72%,
      #e5f1ff 90%,
      #ffffff 100%);
  background-size: 280% 100%;
  background-position: 0% 50%;
  animation: pearl-shift 7s ease-in-out infinite;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 1px 2px rgba(10,37,64,0.06);
  transition: box-shadow .25s, transform .15s, filter .25s;
}
.btn-pearl:hover {
  filter: saturate(1.35) brightness(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 6px 18px rgba(10,37,64,0.10);
}
.btn-pearl:active { transform: translateY(1px); }
@keyframes pearl-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-pearl { animation: none; }
}

/* ===========================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ТАРИФНЫХ КАРТОЧЕК
   =========================================== */

/* --- Стили карточек --- */

/* Aurora (голограмма) — статичная радужная рамка + углы со свечением */
.price-card.is-aurora {
  position: relative;
  background: linear-gradient(180deg, #0f1018 0%, #14151e 100%);
  border: 1.5px solid transparent;
  background-clip: padding-box;
  isolation: isolate;
}
.price-card.is-aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #b14cff 0%, #4cdfff 35%, #4cffd0 65%, #ff4c8b 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.price-card.is-aurora::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(177, 76, 255, 0.20), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(76, 255, 208, 0.15), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.price-card.is-aurora > * { position: relative; z-index: 1; }
.price-card.is-aurora .price-name,
.price-card.is-aurora .price-value { color: #fff; }
.price-card.is-aurora .price-tag,
.price-card.is-aurora .price-desc,
.price-card.is-aurora .price-note,
.price-card.is-aurora .price-features li { color: rgba(255, 255, 255, 0.82); }

/* Glass — стеклянная (frosted glass) */
.price-card.is-glass {
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
          backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.price-card.is-glass::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), transparent 40%);
  border-radius: inherit;
  pointer-events: none;
}

/* Neon — неоновое свечение по периметру */
.price-card.is-neon {
  border: 1.5px solid #4cffd0;
  background: linear-gradient(180deg, rgba(76,255,208,0.04), rgba(76,255,208,0.01));
  box-shadow: 0 0 20px rgba(76,255,208,0.28), inset 0 0 22px rgba(76,255,208,0.06);
  animation: neon-card-pulse 2.6s ease-in-out infinite;
}
@keyframes neon-card-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(76,255,208,0.22), inset 0 0 16px rgba(76,255,208,0.05); }
  50%      { box-shadow: 0 0 32px rgba(76,255,208,0.55), inset 0 0 28px rgba(76,255,208,0.14); }
}
@media (prefers-reduced-motion: reduce) { .price-card.is-neon { animation: none; } }

/* Cyber — киберпанк со скошенными углами */
.price-card.is-cyber {
  background: linear-gradient(135deg, #15001a, #0a0014 60%, #1a0030);
  border: 1px solid rgba(255, 76, 139, 0.4);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  position: relative;
  color: #fff;
}
.price-card.is-cyber::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 49%, rgba(255,76,139,0.6) 49.5%, rgba(255,76,139,0.6) 50.5%, transparent 51%) right top / 24px 24px no-repeat,
    linear-gradient(295deg, transparent 49%, rgba(76,217,255,0.55) 49.5%, rgba(76,217,255,0.55) 50.5%, transparent 51%) left bottom / 24px 24px no-repeat;
  pointer-events: none;
}
.price-card.is-cyber .price-name,
.price-card.is-cyber .price-value { color: #fff; }
.price-card.is-cyber .price-tag,
.price-card.is-cyber .price-desc,
.price-card.is-cyber .price-note,
.price-card.is-cyber .price-features li { color: rgba(255, 255, 255, 0.82); }

/* Elite — премиум золото с бегущим бликом */
.price-card.is-elite {
  background: linear-gradient(180deg, #1a1408 0%, #0f0a04 100%);
  border: 1px solid rgba(255, 215, 128, 0.4);
  box-shadow: 0 8px 28px rgba(180, 130, 40, 0.18), inset 0 1px 0 rgba(255, 215, 128, 0.18);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.price-card.is-elite::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 215, 128, 0.10) 50%, transparent 68%);
  background-size: 220% 220%;
  animation: elite-shine 5.5s linear infinite;
  pointer-events: none;
  border-radius: inherit;
}
@keyframes elite-shine {
  from { background-position: 220% 0; }
  to   { background-position: -220% 0; }
}
.price-card.is-elite .price-name,
.price-card.is-elite .price-value { color: #ffe9b8; }
.price-card.is-elite .price-tag,
.price-card.is-elite .price-desc,
.price-card.is-elite .price-note,
.price-card.is-elite .price-features li { color: rgba(255, 230, 180, 0.78); }
@media (prefers-reduced-motion: reduce) { .price-card.is-elite::after { animation: none; } }

/* --- Кнопки --- */

/* btn-neon */
.btn-neon {
  background: rgba(76, 255, 208, 0.08);
  color: #4cffd0;
  border: 1px solid rgba(76, 255, 208, 0.45);
  text-shadow: 0 0 8px rgba(76, 255, 208, 0.55);
  box-shadow: 0 0 16px rgba(76, 255, 208, 0.2), inset 0 0 12px rgba(76, 255, 208, 0.08);
  transition: all 0.2s ease;
}
.btn-neon:hover {
  background: rgba(76, 255, 208, 0.16);
  box-shadow: 0 0 26px rgba(76, 255, 208, 0.42), inset 0 0 18px rgba(76, 255, 208, 0.16);
}

/* btn-glass */
.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: all 0.2s ease;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

/* btn-frost — холодный сине-голубой, мягкий градиент */
.btn-frost {
  background: linear-gradient(135deg, #5a8fc4 0%, #4d7fb0 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(60, 100, 150, 0.28), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: all 0.2s ease;
}
.btn-frost:hover {
  background: linear-gradient(135deg, #6a9fd4 0%, #5a8fc4 100%);
  box-shadow: 0 6px 20px rgba(60, 100, 150, 0.4), inset 0 1px 0 rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

/* btn-outline — толстая обводка */
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent, #b14cff);
  color: var(--accent, #b14cff);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.22s ease;
}
.btn-outline:hover {
  background: var(--accent, #b14cff);
  color: #fff;
  box-shadow: 0 8px 24px rgba(177, 76, 255, 0.3);
}

/* btn-fire — огонь */
.btn-fire {
  background: linear-gradient(180deg, #ff8a3c 0%, #ff4c4c 100%);
  color: #fff;
  border: 0;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(255, 76, 76, 0.4), 0 0 30px rgba(255, 138, 60, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: all 0.2s ease;
}
.btn-fire:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(255, 76, 76, 0.55), 0 0 40px rgba(255, 138, 60, 0.32), inset 0 1px 0 rgba(255,255,255,0.22);
}

/* --- Бейджи (новые) --- */
.price-badge-shimmer,
.price-badge-gold,
.price-badge-fire,
.price-badge-electric,
.price-badge-neon-pulse {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
}

.price-badge-shimmer {
  background: linear-gradient(90deg, #c8c8d4, #ffffff, #c8c8d4);
  background-size: 220% 100%;
  color: #1a1a25;
  animation: badge-shimmer-shift 3.2s linear infinite;
  box-shadow: 0 4px 14px rgba(220, 220, 230, 0.25);
}
@keyframes badge-shimmer-shift {
  from { background-position: 220% 0; }
  to   { background-position: -220% 0; }
}

.price-badge-gold {
  background: linear-gradient(135deg, #b88a2e 0%, #ffd97a 50%, #b88a2e 100%);
  color: #2a1a00;
  box-shadow: 0 4px 14px rgba(255, 200, 60, 0.32), inset 0 1px 0 rgba(255,255,255,0.4);
}

.price-badge-fire {
  background: linear-gradient(135deg, #ff4c4c, #ff8a3c);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 76, 76, 0.4);
}

.price-badge-electric {
  background: linear-gradient(135deg, #4c8bff, #4cdfff);
  color: #fff;
  box-shadow: 0 0 16px rgba(76, 139, 255, 0.45);
}

.price-badge-neon-pulse {
  background: rgba(76, 255, 208, 0.12);
  color: #4cffd0;
  border: 1px solid rgba(76, 255, 208, 0.5);
  text-shadow: 0 0 6px rgba(76, 255, 208, 0.6);
  animation: neon-card-pulse 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .price-badge-shimmer, .price-badge-neon-pulse { animation: none; }
}

/* --- Выделения (highlights), накладываются поверх любого стиля --- */

/* hl-glow — мягкое свечение */
.price-card.hl-glow { box-shadow: 0 10px 44px rgba(177, 76, 255, 0.38), 0 0 0 1px rgba(177, 76, 255, 0.18); }

/* hl-ring — пульсирующее кольцо */
.price-card.hl-ring { position: relative; }
.price-card.hl-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid rgba(177, 76, 255, 0.55);
  animation: hl-ring-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes hl-ring-pulse {
  0%   { transform: scale(0.97); opacity: 0.85; }
  100% { transform: scale(1.05); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .price-card.hl-ring::before { animation: none; opacity: 0.3; } }

/* hl-spotlight — мягкое пятно света сверху */
.price-card.hl-spotlight { position: relative; overflow: hidden; }
.price-card.hl-spotlight::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 110px;
  background: radial-gradient(ellipse at top, rgba(177, 76, 255, 0.42), transparent 70%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.price-card.hl-spotlight > * { position: relative; z-index: 1; }

/* hl-ribbon — диагональная лента «Хит» */
.price-card.hl-ribbon { position: relative; overflow: hidden; }
.price-card.hl-ribbon::before {
  content: 'ХИТ';
  position: absolute;
  top: 16px; right: -36px;
  background: linear-gradient(90deg, #ff4c8b, #b14cff);
  color: #fff;
  padding: 5px 44px;
  font-size: 11px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.16em;
  transform: rotate(38deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
  z-index: 5;
}

/* hl-corner — угловой лейбл «★ TOP» */
.price-card.hl-corner { position: relative; }
.price-card.hl-corner::before {
  content: '★ TOP';
  position: absolute;
  top: -12px; right: 16px;
  background: linear-gradient(135deg, #ffea4c, #ff4c8b);
  color: #fff;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(255, 76, 139, 0.45);
  z-index: 5;
}

/* hl-crown — корона над карточкой */
.price-card.hl-crown { position: relative; overflow: visible; }
.price-card.hl-crown::before {
  content: '♛';
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: #ffd97a;
  text-shadow: 0 4px 12px rgba(255, 215, 128, 0.55);
  z-index: 5;
}

/* --- Градиенты фона (gr-*) --- */
.price-card[class*="gr-"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.price-card[class*="gr-"] .price-name,
.price-card[class*="gr-"] .price-value { color: #fff; }
.price-card[class*="gr-"] .price-tag,
.price-card[class*="gr-"] .price-desc,
.price-card[class*="gr-"] .price-note,
.price-card[class*="gr-"] .price-from,
.price-card[class*="gr-"] .price-unit,
.price-card[class*="gr-"] .price-features-title,
.price-card[class*="gr-"] .price-features li { color: rgba(255, 255, 255, 0.86); }
.price-card[class*="gr-"] .price-features li::before { color: #fff; }

.price-card.gr-sunset   { background: linear-gradient(180deg, #2a1410 0%, #4a1f2a 55%, #3a1a3a 100%); }
.price-card.gr-ocean    { background: linear-gradient(180deg, #0a1f2e 0%, #103040 55%, #0c4040 100%); }
.price-card.gr-forest   { background: linear-gradient(180deg, #0a2418 0%, #14342a 60%, #1a2e1a 100%); }
.price-card.gr-nebula   { background: linear-gradient(135deg, #14082e 0%, #2e1838 50%, #1a0e2a 100%); }
.price-card.gr-candy    { background: linear-gradient(135deg, #2a1428 0%, #281a3a 50%, #102438 100%); }
.price-card.gr-midnight { background: linear-gradient(180deg, #08070e 0%, #14132a 70%, #1c1a3a 100%); }

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item.is-open { border-color: var(--coral); box-shadow: var(--shadow); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  user-select: none;
}
.faq-q::after {
  content: "+";
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform .3s, background .25s, color .25s;
}
.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
  background: var(--coral);
  color: #fff;
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
}
.faq-a p {
  padding: 0 24px 24px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* === CTA === */
.cta-section {
  padding: clamp(60px, 8vw, 120px) 0;
}
.cta-card {
  background:
    radial-gradient(circle at 80% 30%, rgba(255,107,53,0.25), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0,200,150,0.15), transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "1С";
  position: absolute;
  bottom: -100px; right: -20px;
  font-weight: 800;
  font-size: 360px;
  line-height: 0.85;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.06em;
  pointer-events: none;
}
.cta-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 16px;
}
.cta-card h2 {
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.cta-card h2 em { font-style: italic; color: var(--coral); }
.cta-side p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  line-height: 1.55;
  text-wrap: pretty;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-card .btn-primary { box-shadow: 0 8px 24px rgba(255,107,53,0.45); }

/* === ПОДВАЛ === */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.5); }
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 320px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-social {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .2s, transform .2s;
}
.footer-social:hover { background: var(--coral); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer h4 {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14.5px;
  transition: color .2s, padding-left .2s;
}
.footer-col a:hover { color: var(--coral); padding-left: 4px; }
.footer-col a svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.6; }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .heart { color: var(--coral); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--coral); }
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-legal a {
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-legal a:hover { color: var(--coral); border-bottom-color: var(--coral); }

/* === МОДАЛКИ === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 38, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: overlayIn .25s ease both;
}
.modal-overlay.open { display: flex; }
@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px clamp(28px, 4vw, 44px);
  position: relative;
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1) both;
  box-shadow: 0 30px 80px rgba(10, 22, 38, 0.4);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, transform .2s;
}
.modal-close:hover { background: var(--coral); color: #fff; transform: rotate(90deg); }
.modal-mark {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.modal-mark .modal-title-text {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}
.modal-meta {
  display: inline-block;
  padding: 4px 12px;
  background: var(--coral-soft);
  color: var(--coral);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.modal h3 {
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--ink);
}
.modal p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* === ФОРМА ЛИДА === */
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-field.full { grid-column: 1 / -1; }
.lead-field span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.lead-field input,
.lead-field textarea {
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: 10px;
  transition: background .2s, border-color .2s;
  resize: vertical;
}
.lead-field input::placeholder,
.lead-field textarea::placeholder { color: var(--ink-mute); }
.lead-field input:focus,
.lead-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--coral);
}
.lead-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  cursor: pointer;
}
.lead-consent input { margin-top: 3px; accent-color: var(--coral); }
.lead-consent a { color: var(--coral); text-decoration: underline; }
.lead-submit {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 14px 20px;
  background: var(--coral);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(255,107,53,0.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.lead-submit:hover:not(:disabled) {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,107,53,0.45);
}
.lead-submit:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.lead-status {
  grid-column: 1 / -1;
  font-size: 13.5px;
  min-height: 18px;
  font-weight: 500;
}
.lead-status.success { color: #1f9a5e; }
.lead-status.error   { color: var(--coral); }

/* === САЛЮТ === */
.salute-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
}

/* === БУРГЕР И МОБИЛЬНОЕ МЕНЮ === */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, top .25s, opacity .2s;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 96px 24px 32px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
body.nav-open .mobile-nav { display: flex; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 10px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:active { background: var(--bg-alt); color: var(--coral); }
.mobile-nav .btn { margin-top: 18px; width: 100%; padding: 16px 20px; }

/* Sticky-header offset для якорной навигации */
section[id], footer[id] { scroll-margin-top: 84px; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 380px; max-width: 520px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list::before { display: none; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 280px; padding: 32px; }
  .cta-card { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card-wide { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .price-card-wide-right { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .header-inner > nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
  }
  .header-inner > .btn-primary { display: none; }
  .topbar-left, .topbar-right { gap: 14px; font-size: 12px; }
  section[id], footer[id] { scroll-margin-top: 72px; }
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .topbar-right span:not(.topbar-pill) { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  /* Модалка: чуть компактнее на планшетах/мобильных */
  .modal { padding: 32px 26px; }
  /* iOS zoom fix: при font-size < 16px Safari увеличивает страницу при фокусе */
  .lead-field input,
  .lead-field textarea { font-size: 16px; }
  /* Wide-карточка: чуть мельче заголовок */
  .price-card-wide .price-name { font-size: 22px; }
  .price-card-wide .price-amount .price-value { font-size: 32px; }
}
@media (max-width: 600px) {
  /* HERO ART: переводим карточки из абсолютов в простую сетку — без перекрытий */
  .hero-art {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 100%;
  }
  .hero-card {
    position: static;
    width: auto !important;
    animation: none !important;
    padding: 16px;
  }
  .hero-card-4 { padding: 18px 14px; align-items: center; }
  .hero-card-num { font-size: 30px; }
  .hero-card-4 .hero-card-num { font-size: 36px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); overflow-wrap: anywhere; }
  .hero-lede { font-size: 15.5px; overflow-wrap: anywhere; }
  .hero { padding-top: clamp(28px, 7vw, 56px); }
  /* Topbar: оставляем только телефон + pill */
  .topbar-left a:not([href^="tel:"]) { display: none; }
  /* Brand subtitle на мобильниках лишний */
  .brand-sub { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 18px; }
  /* Cекции — меньше отступы */
  .section { padding: clamp(48px, 11vw, 76px) 0; }
  .section-head { margin-bottom: 28px; gap: 12px; }
  .h2 { font-size: clamp(24px, 7vw, 34px); overflow-wrap: anywhere; }
  .lede { font-size: 14.5px; max-width: 100%; }
  .eyebrow { font-size: 11.5px; }
  /* Numbers */
  .numbers-grid { gap: 18px 16px; }
  .number-num { font-size: clamp(38px, 10vw, 52px); }
  .number-label { font-size: 13.5px; }
  /* Карточки услуг — компактнее */
  .service { padding: 22px 20px; }
  .service h3 { font-size: 19px; }
  /* About */
  .about-visual { padding: 28px 24px; min-height: 240px; }
  .about-visual::after { font-size: 200px; bottom: -50px; }
  .about-visual-quote { font-size: 18px; }
  /* CTA */
  .cta-card { padding: 36px 24px; }
  .cta-actions .btn { flex: 1 1 100%; }
  /* Process */
  .process-step { padding: 22px 18px; }
  .process-num { width: 48px; height: 48px; font-size: 18px; }
  /* Pricing — уплотняем малые карточки */
  .price-card { padding: 22px 18px 20px; }
  .price-card .price-name { font-size: 18px; }
  .price-card .price-amount .price-value { font-size: 26px; }
  .price-card.is-startup::after,
  .price-card.is-project::after,
  .price-card.is-featured::after {
    top: -10px; right: 16px;
    font-size: 10px;
    padding: 5px 10px;
    letter-spacing: 0.05em;
  }
  /* Pricing wide: вертикальный layout, меньше padding */
  .price-card-wide { padding: 26px 22px; gap: 20px; }
  .price-card-wide .price-name { font-size: 20px; }
  .price-card-wide .price-amount .price-value { font-size: 28px; }
  .price-card-wide .price-desc { font-size: 14px; }
  .price-card-wide .price-features li { font-size: 13.5px; }
  .price-card-wide .btn { width: 100%; }
  /* FAQ */
  .faq-q { padding: 18px 18px; font-size: 15.5px; gap: 10px; }
  .faq-q::after { width: 28px; height: 28px; font-size: 20px; }
  .faq-a p { padding: 0 18px 20px; font-size: 14.5px; }
  /* Footer */
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  /* Topbar более компактный */
  .topbar-inner { padding: 7px 0; gap: 10px; }
  .topbar-left, .topbar-right { gap: 10px; }
  /* Modal */
  .modal { padding: 26px 20px; border-radius: 16px; max-height: calc(100vh - 24px); }
  .modal-overlay { padding: 12px; }
  .modal h3 { font-size: 22px; }
  .modal-mark .modal-title-text { font-size: 24px; }
  .modal-mark { min-height: 72px; margin-bottom: 16px; padding-bottom: 16px; }
  .lead-submit { padding: 14px 18px; font-size: 16px; }
  /* Лента клиентов: компактная */
  .donts { padding: 36px 0; }
  .donts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dont { padding: 16px 16px 14px; gap: 8px; }
  .dont-x { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; }
  .dont-title { font-size: 15px; }
  .dont-desc { font-size: 12.5px; }
  /* Кнопки — крупный тач-таргет */
  .btn { padding: 14px 18px; font-size: 14.5px; }
  .btn-lg { padding: 16px 22px; font-size: 15.5px; }
  /* Header */
  .header-inner { padding: 10px 0; }
  /* Mobile-nav: подвинули pad сверху для кнопки бургера */
  .mobile-nav { padding: 88px 20px 28px; }
  .mobile-nav a { font-size: 17px; padding: 13px 14px; }
}
@media (max-width: 400px) {
  .clients-grid { grid-template-columns: 1fr; }
  .hero-art { grid-template-columns: 1fr; }
  .topbar-right .topbar-pill { display: none; }
  .footer-grid { gap: 24px; }
  /* Очень узкие экраны: ужать padding контейнера */
  :root { --pad-x: 16px; }
  .h2 { font-size: clamp(22px, 7vw, 28px); }
  .hero h1 { font-size: clamp(28px, 8.4vw, 34px); }
  .price-card-wide { padding: 22px 18px; }
  .modal-overlay { padding: 8px; }
}

/* Touch-устройства: отключаем tilt-трансформации кнопок */
@media (hover: none), (pointer: coarse) {
  .pricing-grid .price-card .btn { transform: none !important; }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
  padding: 18px 22px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 48px rgba(10,37,64,0.14), 0 4px 12px rgba(10,37,64,0.06);
  transform: translateY(120%);
  transition: transform .35s cubic-bezier(.2,.7,.4,1);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner.show { display: flex; }
.cookie-banner.in { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 240px; color: var(--ink-soft); }
.cookie-banner-text strong { color: var(--ink); font-weight: 600; }
.cookie-banner-text a { color: var(--coral); text-decoration: none; border-bottom: 1px solid currentColor; }
.cookie-banner-text a:hover { color: var(--coral-deep); }
.cookie-banner-btn {
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .2s;
  box-shadow: 0 6px 16px rgba(255,107,53,0.32);
}
.cookie-banner-btn:hover {
  transform: translateY(-1px);
  background: var(--coral-deep);
  box-shadow: 0 10px 22px rgba(255,107,53,0.42);
}
@media (max-width: 600px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; border-radius: 14px; }
  .cookie-banner-inner { gap: 12px; }
  .cookie-banner-btn { width: 100%; }
}

/* === СТРАНИЦЫ УСЛУГ === */
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); }
.service.is-static { cursor: default; }
.service.is-static ul { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); }
.service.is-static li { position: relative; padding: 5px 0 5px 22px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.service.is-static li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 2px; background: var(--coral); border-radius: 1px; }
.service.is-static .service-link { margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--coral); text-decoration: none; }
.service.is-static .service-link:hover { text-decoration: underline; }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.case-meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); margin-bottom: 8px; }
.case h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.case p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.other-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.other-service { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .2s, transform .2s; }
.other-service:hover { border-color: var(--coral); transform: translateY(-2px); }
.other-service svg { width: 18px; height: 18px; color: var(--coral); flex: none; }
.pricing-grid.is-compact { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-feature { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.product-feature .service-icon { width: 44px; height: 44px; margin: 0; flex: none; background: var(--coral-soft); color: var(--coral); }
.product-feature .service-icon svg { width: 20px; height: 20px; }
.product-feature h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.product-feature p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.product-card { position: sticky; top: 100px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px 24px; }
.product-card dl { margin: 0 0 22px; }
.product-card dt { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 14px; }
.product-card dt:first-child { margin-top: 0; }
.product-card dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; }
.product-note { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--coral-soft); color: var(--ink); font-size: 14px; line-height: 1.5; }
.product-note b { display: block; margin-bottom: 2px; }
.product-actions { display: flex; flex-direction: column; gap: 10px; }
.product-actions .btn { width: 100%; justify-content: center; }
.product-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr; } .product-card { position: static; } }
@media (max-width: 640px) { .product-features { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .page-hero h1 { font-size: clamp(28px, 8vw, 36px); } }

/* === ШАПКА НА СРЕДНИХ ЭКРАНАХ === */
.nav a, .brand-sub { white-space: nowrap; }
@media (max-width: 1480px) { .nav a { padding: 9px 11px; } }
@media (max-width: 1340px) { .nav .nav-opt { display: none; } }
@media (max-width: 1060px) { .brand-sub { display: none; } }
