/* ============================================================
 * cuctus client — общие стили внутренних страниц
 * Палитра и типографика — те же, что на остальных страницах сайта.
 * ============================================================ */
:root {
  --bg: #09090b;
  --surface: #0d0f12;
  --surface-2: #11151a;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --mint: #10b981;
  --mint-2: #059669;
  --mint-3: #34d399;
  --mint-4: #6ee7b7;
  --mint-5: #a7f3d0;
  --t1: #f4f4f5;
  --t2: #e4e4e7;
  --t3: #a1a1aa;
  --t4: #71717a;
  --t5: #52525b;
  --danger: #fb7185;
  --warn: #fbbf24;
  --shadow-lg: 0 28px 70px -30px rgba(0,0,0,.9);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans), "Onest", -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--t2);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, .display { font-family: var(--font-display), "Onest", sans-serif; }
::selection { background: rgba(52,211,153,.28); color: #fff; }

.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; position: relative; z-index: 1; }
main { position: relative; z-index: 1; }

/* ---------------- header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: center; padding: 20px;
  pointer-events: none;
}
.site-header nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line);
  background: rgba(9,9,11,.66);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 999px; padding: 9px 18px;
  font-size: 14px; font-weight: 600; color: var(--t2);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
  box-shadow: 0 18px 44px -26px rgba(0,0,0,.9);
}
.site-header nav::-webkit-scrollbar { display: none; }
.site-header nav .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.02em; }
.site-header nav .brand img { width: 22px; height: 22px; }
.site-header nav a.link {
  color: var(--t3); padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.site-header nav a.link:hover { color: var(--t1); background: rgba(255,255,255,.06); }
.site-header nav a.link.on { color: var(--mint-3); background: rgba(16,185,129,.12); }
.site-header nav .sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; flex: 0 0 auto; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--mint), var(--mint-2));
  color: #04231a; font-weight: 800; white-space: nowrap;
  transition: filter .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { filter: brightness(1.07); box-shadow: 0 12px 30px -12px rgba(16,185,129,.7); }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 168px 0 64px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(52,211,153,.3); background: rgba(16,185,129,.08);
  color: var(--mint-4); border-radius: 999px; padding: 7px 15px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-3); box-shadow: 0 0 10px var(--mint-3); }
.hero h1 {
  margin: 24px 0 18px;
  font-size: clamp(36px, 6vw, 68px); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; color: var(--t1);
}
.hero .lead { max-width: 640px; margin: 0 auto; color: var(--t3); font-size: clamp(15px, 1.5vw, 17px); }
.hero .cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------- sections ---------------- */
section.block { position: relative; padding: 76px 0; }
section.tight { padding: 26px 0 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mint-3);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--mint-3); opacity: .6; }
h2.title { margin: 16px 0 12px; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -.035em; color: var(--t1); font-weight: 500; }
.subtitle { max-width: 620px; color: var(--t3); font-size: 15px; }
.center { text-align: center; }
.center .subtitle { margin-inline: auto; }
.section-head { margin-bottom: 40px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-md); border: 1px solid transparent;
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--mint), var(--mint-2)); color: #04231a; box-shadow: 0 14px 34px -16px rgba(16,185,129,.85); }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.07); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--t2); }
.btn-ghost:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--mint-3); color: var(--t1); background: rgba(16,185,129,.08); }
.btn-solid-green { background: rgba(16,185,129,.14); border-color: rgba(52,211,153,.34); color: var(--mint-4); }
.btn-solid-green:hover:not(:disabled) { background: rgba(16,185,129,.22); color: var(--mint-5); }
.btn-sm { padding: 10px 18px; font-size: 13px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- cards / grids ---------------- */
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255,255,255,.022); padding: 26px 24px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s ease, background .3s ease;
}
.card.hoverable:hover { transform: translateY(-4px); border-color: rgba(52,211,153,.4); background: rgba(16,185,129,.05); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.grid-tight { gap: 12px; }

.feature .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(16,185,129,.13); border: 1px solid rgba(52,211,153,.26); color: var(--mint-3); margin-bottom: 18px;
}
.feature .ico svg { width: 20px; height: 20px; }
.feature h3 { font-size: 18px; letter-spacing: -.02em; color: var(--t1); font-weight: 600; }
.feature p { margin-top: 9px; color: var(--t3); font-size: 14px; }
.feature .tag {
  display: inline-block; margin-top: 16px; font-family: var(--font-mono), monospace;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-4); opacity: .8;
}

/* ---------------- price card ---------------- */
.price-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255,255,255,.022); padding: 26px 24px 24px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s ease, background .3s ease;
}
.price-card:hover { transform: translateY(-5px); border-color: rgba(52,211,153,.4); }
.price-card.featured {
  border-color: rgba(52,211,153,.45);
  background: linear-gradient(180deg, rgba(16,185,129,.13), rgba(16,185,129,.02));
  box-shadow: 0 26px 60px -34px rgba(16,185,129,.85);
}
.price-card .flag {
  position: absolute; top: 16px; right: 16px;
  font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #04231a; background: linear-gradient(135deg, var(--mint-3), var(--mint-2));
  padding: 5px 9px; border-radius: 7px;
}
.price-card .p-name { font-size: 17px; font-weight: 700; color: var(--t1); letter-spacing: -.02em; }
.price-card .p-desc { margin-top: 8px; font-size: 13px; color: var(--t4); min-height: 36px; }
.price-card .p-price {
  margin-top: 20px; font-family: var(--font-display), sans-serif;
  font-size: 42px; line-height: 1; letter-spacing: -.035em; color: var(--mint-3);
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.price-card .p-price small { font-size: 18px; color: var(--mint-4); font-weight: 600; }
.price-card .p-price del { font-size: 17px; color: var(--t5); letter-spacing: 0; }
.price-card .p-note { margin-top: 10px; font-size: 12px; color: var(--t5); }
.price-card .p-note b { color: var(--mint-4); font-weight: 700; }
.price-card ul { list-style: none; margin: 20px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.price-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--t3); }
.price-card li svg { width: 15px; height: 15px; color: var(--mint-3); flex: 0 0 auto; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

.badge-discount {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251,191,36,.13); border: 1px solid rgba(251,191,36,.35); color: #fcd34d;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px;
}

/* ---------------- promo ---------------- */
.promo {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--r-lg);
  border: 1px solid rgba(52,211,153,.26);
  background: linear-gradient(120deg, rgba(16,185,129,.12), rgba(16,185,129,.02));
}
.promo label { font-size: 13px; color: var(--t3); font-weight: 600; }
.promo input { flex: 1 1 200px; min-width: 160px; }
.promo-msg { font-size: 13px; min-height: 20px; }
.promo-msg.ok { color: var(--mint-4); }
.promo-msg.err { color: var(--danger); }

/* ---------------- forms ---------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--t3); margin-bottom: 7px; letter-spacing: .02em; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 13px 15px; border-radius: var(--r-md);
  background: #0b0e11; border: 1px solid var(--line-2); color: var(--t1);
  font-size: 14px; font-family: inherit; outline: none; box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(16,185,129,.14); }
input::placeholder, textarea::placeholder { color: var(--t5); }
textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
select { appearance: none; cursor: pointer; }
select option { background: #0b0e11; color: var(--t1); }
.hint { margin-top: 7px; font-size: 12px; color: var(--t5); }

.form-alert {
  border-radius: var(--r-md); padding: 13px 16px; font-size: 13px; margin-bottom: 16px;
  border: 1px solid rgba(251,113,133,.35); background: rgba(251,113,133,.1); color: #fda4af;
}
.form-alert.ok { border-color: rgba(52,211,153,.35); background: rgba(16,185,129,.1); color: var(--mint-4); }
.form-alert[hidden] { display: none; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); color: var(--t3); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .2s ease;
}
.chip:hover { color: var(--t1); border-color: var(--line-2); background: rgba(255,255,255,.06); }
.chip.on { color: #04231a; background: linear-gradient(135deg, var(--mint-3), var(--mint-2)); border-color: transparent; }

/* ---------------- lists / statuses ---------------- */
.list { display: flex; flex-direction: column; gap: 12px; }
.row {
  display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255,255,255,.022); transition: border-color .25s ease, background .25s ease;
}
.row:hover { border-color: rgba(52,211,153,.32); background: rgba(16,185,129,.04); }
.row .r-main { min-width: 0; flex: 1 1 260px; }
.row .r-title { font-size: 15px; font-weight: 700; color: var(--t1); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row .r-sub { margin-top: 6px; font-size: 13px; color: var(--t4); word-break: break-word; }
.row .r-side { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--t3);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.open { color: #fcd34d; border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.1); }
.status.answered { color: var(--mint-3); border-color: rgba(52,211,153,.4); background: rgba(16,185,129,.1); }
.status.closed { color: var(--t4); }

.empty {
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  padding: 48px 24px; text-align: center; color: var(--t4); font-size: 14px;
}
.empty b { display: block; color: var(--t2); font-size: 16px; margin-bottom: 8px; }

.skeleton {
  border: 1px solid var(--line); border-radius: var(--r-lg); height: 120px;
  background: linear-gradient(100deg, rgba(255,255,255,.03) 30%, rgba(52,211,153,.09) 50%, rgba(255,255,255,.03) 70%);
  background-size: 220% 100%; animation: ccSkeleton 1.5s ease-in-out infinite;
}
@keyframes ccSkeleton { from { background-position: 120% 0; } to { background-position: -20% 0; } }

/* ---------------- security badge ---------------- */
.security {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; border-radius: var(--r-lg);
  border: 1px solid rgba(52,211,153,.3);
  background: linear-gradient(120deg, rgba(16,185,129,.14), rgba(16,185,129,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.security .shield {
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 15px;
  display: grid; place-items: center; color: var(--mint-3);
  background: rgba(16,185,129,.14); border: 1px solid rgba(52,211,153,.32);
}
.security .shield svg { width: 26px; height: 26px; }
.security h3 { font-size: 17px; color: var(--t1); letter-spacing: -.02em; }
.security p { margin-top: 6px; font-size: 13px; color: var(--t3); line-height: 1.55; }

/* ---------------- faq ---------------- */
.faq { display: grid; gap: 12px; }
details.faq-item {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,.022);
  padding: 0 22px; overflow: hidden; transition: border-color .25s ease, background .25s ease;
}
details.faq-item[open] { border-color: rgba(52,211,153,.35); background: rgba(16,185,129,.045); }
details.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 0;
  font-size: 15px; font-weight: 600; color: var(--t1);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: ""; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--mint-3); border-bottom: 2px solid var(--mint-3);
  transform: rotate(45deg); transition: transform .25s ease;
}
details.faq-item[open] summary::after { transform: rotate(-135deg); }
details.faq-item p { padding: 0 0 20px; color: var(--t3); font-size: 14px; max-width: 720px; }

/* ---------------- band / footer ---------------- */
.band {
  border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg, rgba(13,59,44,.7), rgba(4,22,15,.85));
  padding: 56px 40px; text-align: center; box-shadow: var(--shadow-lg);
}
.band h2 { font-size: clamp(26px, 3.6vw, 42px); letter-spacing: -.035em; color: var(--t1); font-weight: 500; }
.band p { margin: 14px auto 0; max-width: 540px; color: var(--t3); font-size: 15px; }
.band .cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 90px; padding: 46px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.foot-brand img { width: 24px; height: 24px; }
.foot-about { margin-top: 14px; max-width: 270px; color: var(--t5); font-size: 13px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col span { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--t5); }
.foot-col a { font-size: 13px; color: var(--t4); transition: color .2s ease; }
.foot-col a:hover { color: var(--mint-3); }
.foot-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--t5); font-size: 12px;
}
.muted { color: var(--t5); font-size: 13px; }
.mono { font-family: var(--font-mono), "Fira Code", monospace; }

@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-header { padding: 12px; }
  .site-header nav { padding: 7px 12px; font-size: 13px; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  section.block { padding: 58px 0; }
  .band { padding: 40px 22px; }
  .security { flex-direction: column; align-items: flex-start; }
}