:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f9fbff;
  --text: #1e2537;
  --muted: #66738f;
  --line: #d9e1f0;
  --primary: #3f48d7;
  --primary-2: #6b8dff;
  --accent: #ff465a;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 10px 26px rgba(24, 38, 84, 0.07);
  --shadow-lg: 0 18px 44px rgba(37, 56, 121, 0.16);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Suisse Intl", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -10%, rgba(95, 126, 255, 0.15), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(255, 90, 107, 0.10), transparent 22%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-splash-active {
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
main { padding-top: 22px; }
.section { padding: clamp(50px, 7.2vw, 84px) 0; }
h1,h2,h3,h4,p { margin: 0; }
h1, h2, h3, h4, .logo { font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif; }
h1 { font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.6rem); line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.035em; }
h3 { line-height: 1.14; letter-spacing: -0.025em; font-size: clamp(1.12rem, 1.35vw, 1.36rem); }
p { color: var(--muted); line-height: 1.58; }

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #ff5164, #ff465a 52%, #ff6f67); color: #fff; box-shadow: 0 16px 30px rgba(255, 70, 90, .24); }
.btn-primary:hover { background: #f8384f; }
.btn-secondary { background: rgba(255,255,255,.9); border: 1px solid var(--line); color: #212a41; box-shadow: 0 10px 24px rgba(33, 45, 84, 0.06); }
.btn-dark { background: linear-gradient(135deg, #1b2441, #23305a); color: #fff; box-shadow: 0 16px 30px rgba(23, 31, 57, 0.28); }
.hero .btn-secondary { color: #1f2638; font-weight: 700; min-width: 170px; }

.badge {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #3a49bf;
  font-size: .75rem;
  font-weight: 800;
  padding: 6px 12px;
  border: 1px solid rgba(210, 221, 246, 0.9);
  box-shadow: 0 8px 18px rgba(26, 39, 86, 0.06);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31, 45, 98, 0.12); border-color: #cdd8ec; }
.grid-2,.grid-3,.grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 225, 240, 0.78);
  box-shadow: 0 10px 28px rgba(24, 38, 84, 0.05);
}
.header-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto auto;
  align-items: center;
  gap: 12px;
}
.logo {
  font-weight: 800;
  color: #e23745;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-transform: lowercase;
}
.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #2f3550;
  white-space: nowrap;
  line-height: 1;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .96rem;
  transition: .2s ease;
}
.nav a:hover, .nav a.active {
  background: rgba(238, 243, 255, 0.9);
  color: #263a7a;
  box-shadow: inset 0 0 0 1px rgba(202, 214, 245, 0.75);
}
.head-meta {
  color: #4f5f7f;
  font-weight: 700;
  white-space: nowrap;
  font-size: clamp(.94rem, 1.35vw, 1.05rem);
  letter-spacing: .01em;
  display: none;
}
.menu-btn {
  display: none;
  background: #fff;
  border: 1px solid #d4def3;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  color: #33456e;
}

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 85vw);
  transform: translateX(100%);
  background: #fff;
  border-left: 1px solid var(--line);
  z-index: 60;
  padding: 18px;
  transition: .2s;
}
.mobile-drawer a { display: block; padding: 10px 0; border-bottom: 1px solid #f0f2f8; }
.mobile-drawer.open { transform: translateX(0); }
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,12,22,.35);
  opacity: 0;
  visibility: hidden;
  z-index: 50;
  transition: .2s;
}
.backdrop.show { opacity: 1; visibility: visible; }

.feedback-tab {
  position: fixed;
  left: 0;
  top: 56%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  padding: 12px 10px;
  background: #ff2642;
  color: #fff;
  border-radius: 0 10px 10px 0;
  font-weight: 700;
  z-index: 45;
}

.site-splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}
.site-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-splash-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 92px;
  padding: 0 28px;
  border-radius: 999px;
  color: #e23745;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero {
  background:
    radial-gradient(circle at 12% -10%, rgba(255,255,255,.2), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(255,255,255,.18), transparent 35%),
    linear-gradient(135deg, #3642d3, #4858ea 50%, #5f8dff);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.hero p { color: rgba(255,255,255,.9); margin-top: 12px; max-width: 760px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero .hero-lead {
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 700;
  margin-top: 10px;
  color: #f2f5ff;
}
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 32px;
  align-items: stretch;
  min-height: 520px;
}
.home-hero-copy {
  display: grid;
  align-content: center;
}
.home-hero-aside {
  display: grid;
  gap: 18px;
  align-content: stretch;
}
.home-hero-card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.home-hero-card span,
.home-hero-card strong {
  display: block;
}
.home-hero-card span {
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}
.home-hero-card strong {
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1.05;
}
.home-hero-card p {
  margin-top: 12px;
}
.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-hero-stats article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  text-align: left;
}
.home-hero-stats strong,
.home-hero-stats span {
  display: block;
}
.home-hero-stats strong {
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
}
.home-hero-stats span {
  margin-top: 8px;
  color: rgba(255,255,255,.78);
}
.home-signal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 22px;
}
.home-signal-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid #d9e2f4;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(246,249,255,.95));
  box-shadow: 0 18px 40px rgba(35, 54, 110, 0.08);
}
.home-signal-card span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf2ff;
  color: #3048c6;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-signal-card h3 {
  margin-top: 20px;
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
}
.home-signal-card-accent {
  background: linear-gradient(135deg, #243159, #3247b9 54%, #5b7cff);
  border-color: #2e43ae;
}
.home-signal-card-accent span {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.home-signal-card-accent h3 {
  color: #fff;
}
.showcase-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}
.showcase-head h2 { margin-bottom: 0; }
.showcase-head p {
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.65;
}
.business-strip {
  background:
    radial-gradient(circle at top right, rgba(57, 72, 130, 0.09), transparent 28%),
    linear-gradient(180deg, transparent, rgba(239, 243, 252, 0.68));
}
.journey-strip {
  padding: 38px;
  border-radius: 32px;
  border: 1px solid #dce4f4;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(246,249,255,.96));
  box-shadow: 0 18px 42px rgba(29, 43, 92, 0.08);
}
.hero-services {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-service {
  width: 108px;
  height: 108px;
  border-radius: 22px;
  background: rgba(97, 146, 255, 0.32);
  border: 1px solid rgba(255,255,255,.24);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #fff;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.hero-service span { font-size: 1.42rem; line-height: 1; }
.hero-service b { font-size: 1.02rem; }
.hero-service.active,
.hero-service:hover {
  background: rgba(255,255,255,.2);
  box-shadow: 0 10px 22px rgba(22, 35, 86, 0.3);
  transform: translateY(-2px);
}
.hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.features-inline { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.features-inline span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .85rem;
}

.quick-links .card { padding: 22px; border-radius: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.quick-links .card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(27,39,87,.12); }

.tour-card {
  overflow: hidden;
  position: relative;
  min-height: 420px;
  color: #fff;
  border-radius: 28px;
  transition: none;
  border: 0;
  box-shadow: none;
  background: #dfe7f7;
}
.tour-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s ease; }
.tour-card .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 19, 45, 0.04) 0%, rgba(10, 19, 45, 0.18) 38%, rgba(7, 11, 27, 0.78) 100%);
}
.tour-card .content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}
.tour-card .btn-dark {
  min-height: 50px;
  border-radius: 18px;
  padding-inline: 18px;
}
.tour-card h3 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 10px 0 8px;
}
.tour-card p {
  color: rgba(255,255,255,.92);
  margin-bottom: 12px;
  font-size: 1.03rem;
  line-height: 1.45;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .93rem;
  color: #e6ebff;
  margin-bottom: 14px;
}
.tour-card .hover-ico {
  position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.42); color: #fff; font-size: 1.2rem; transform: scale(.85); opacity: .8; transition: .25s ease;
}
.tour-card:hover { transform: none; box-shadow: none; }
.tour-card:hover img { transform: scale(1.06); }
.tour-card:hover .hover-ico { transform: scale(1); opacity: 1; }

.step {
  padding: 24px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f9fbff, #ffffff);
}
.step strong { font-size: 1.9rem; display: block; margin-bottom: 10px; line-height: 1.1; letter-spacing: -0.01em; }
.step::after {
  content: attr(data-step);
  position: absolute;
  right: 16px;
  bottom: -10px;
  font-size: 8rem;
  line-height: 1;
  color: rgba(31, 39, 66, 0.09);
  font-weight: 800;
}
.step-accent { background: linear-gradient(135deg, #3642d3, #598cff); border-color: #4151dd; }
.step-accent strong, .step-accent p { color: #fff; }
.step-accent::after { color: rgba(255,255,255,.2); }
.process-grid .card {
  background: linear-gradient(180deg, #ffffff, #f8faff);
  border-color: #d4ddf0;
}

.page-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(93, 124, 255, 0.08), transparent 28%),
    linear-gradient(160deg, #ffffff, #f8faff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 2.8vw, 30px);
  box-shadow: 0 10px 30px rgba(32, 46, 95, 0.06);
}
.page-hero p {
  margin-top: 10px;
  max-width: 780px;
  font-size: 1.02rem;
  line-height: 1.72;
  color: #5b6888;
}
.editorial-hero {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 30px;
  box-shadow: 0 20px 46px rgba(33, 47, 92, 0.09);
}
.editorial-hero-business {
  background:
    radial-gradient(circle at 90% 20%, rgba(87, 111, 191, 0.12), transparent 28%),
    linear-gradient(160deg, #ffffff, #f3f6fd);
}
.editorial-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.editorial-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  border: 1px solid #d6e1f7;
  color: #3048bd;
  font-weight: 700;
  font-size: .9rem;
  backdrop-filter: blur(8px);
}
.editorial-pills-business span {
  background: #eff3fb;
  color: #314160;
}
.filters { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  color: #4d5670;
}
.filters button.active { background: #e9efff; border-color: #c4d2ff; color: #2f40cb; }

.list-card { padding: 16px; background: #fff; }
.list-card {
  border-radius: 24px;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,255,.98));
  border-color: #d8e1f3;
  box-shadow: 0 18px 40px rgba(31, 45, 98, 0.07);
}
.list-card img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
  filter: saturate(1.03) contrast(1.02);
}
.list-card h3 { margin-bottom: 8px; font-size: clamp(1.15rem, 1.65vw, 1.35rem); }
.list-card h2 { margin-bottom: 12px; }
.list-card p { margin: 0; }
.list-card p + p { margin-top: 10px; }
.list-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #4d5875;
  line-height: 1.5;
}
.list-card li + li { margin-top: 6px; }
.list-card .price { font-weight: 800; color: #252d43; margin-top: 8px; }
.list-card .btn { margin-top: 10px; }

.accordion {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  color: #202b46;
}
.acc-body { display: none; padding: 0 18px 18px; }
.acc-body p { line-height: 1.62; }
.acc-item.open .acc-body { display: block; }

.form { display: grid; gap: 10px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.form-grid .textarea,
.form-grid button,
.form-grid [data-form-msg] {
  grid-column: 1 / -1;
}
.input, .textarea, select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c7d2ea;
  border-radius: 14px;
  font: inherit;
  color: #2a3147;
  background: rgba(255,255,255,.96);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input:focus, .textarea:focus, select:focus {
  outline: 0;
  border-color: #6f88de;
  box-shadow: 0 0 0 3px rgba(111, 136, 222, .15);
}
.textarea { min-height: 120px; }
.form-note { font-size: .86rem; color: var(--muted); }
.success { color: #17854c; font-weight: 600; }
.error { color: #bb2c3a; font-weight: 600; }

.footer {
  background:
    radial-gradient(circle at top left, rgba(96, 123, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #edf1fa, #e8edf8);
  border-top: 1px solid #d4ddec;
  padding: 60px 0 48px;
  margin-top: 82px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4,1fr); gap: 24px; }
.footer h4 { margin: 0 0 14px; font-size: .98rem; color: #29304a; letter-spacing: .04em; text-transform: uppercase; }
.footer p { color: #5d6785; max-width: 30ch; line-height: 1.7; }
.footer a { display: block; margin: 10px 0; color: #4c5470; transition: color .15s ease; }
.footer a:hover { color: #2e4cc8; }

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.modal { position: fixed; inset: 0; display: none; place-items: center; z-index: 80; }
.modal.show { display: grid; }
.modal-panel {
  width: min(560px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .container { width: min(var(--max), calc(100% - 30px)); }
  .header-row { grid-template-columns: auto 1fr auto auto; }
  .nav a { font-size: .86rem; padding: 8px 9px; }
  .head-meta { display: none; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .section { padding: 44px 0; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .hero { padding: 24px; }
  .hero-service {
    width: 92px;
    height: 92px;
    border-radius: 18px;
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .tour-card { min-height: 360px; }
  .auth-links { display: none; }
  .lang-switch select { min-width: 78px; height: 40px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 18px); }
  .section { padding: 34px 0; }
  .hero { padding: 20px; border-radius: 20px; }
  .feedback-tab { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-row { min-height: 68px; gap: 6px; }
  .logo { font-size: 1rem; }
  .menu-btn { width: 38px; height: 38px; }
}

.modal .backdrop { z-index: 0; opacity: 1; visibility: visible; }
.modal-panel { z-index: 1; }

/* UI quality & contrast states */
.btn:focus-visible, .nav a:focus-visible, .lang-switch button:focus-visible, .chat-fab:focus-visible, .voice-fab:focus-visible {
  outline: 3px solid #9db4ff;
  outline-offset: 2px;
}
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.lang-switch, .auth-links { display: inline-flex; gap: 6px; align-items: center; }
.lang-switch button, .auth-links a {
  border: 1px solid var(--line);
  background: #fff;
  color: #2b3552;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 600;
}
.lang-switch button.active { background: #e9efff; color: #2f40cb; border-color: #bfd0ff; }
.auth-links a {
  padding: 0 14px;
  border-radius: 999px;
  color: #34496f;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.auth-links a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
.lang-switch select {
  border: 1px solid #cbd6ee;
  background: #fff;
  color: #293a60;
  padding: 0 34px 0 14px;
  border-radius: 16px;
  font-weight: 700;
  height: 44px;
  font-size: .94rem;
  min-width: 90px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6a7898 50%),
    linear-gradient(135deg, #6a7898 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.auth-links a { height: 44px; white-space: nowrap; }

[data-fx] { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
[data-fx] small { color: var(--muted); font-size: .82rem; }

.chat-widget { position: fixed; right: 16px; bottom: 16px; z-index: 90; }
.chat-fab {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 0;
  background: linear-gradient(135deg, #1f2742, #3040cd);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 16px 36px rgba(39, 56, 130, 0.26);
}
.chat-panel {
  position: fixed; right: 16px; top: 94px; bottom: 16px; width: min(410px, calc(100vw - 24px));
  background: linear-gradient(180deg, #fbfcff, #f4f7ff 60%, #ffffff);
  border: 1px solid #d9e1f0;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(29, 45, 98, 0.22);
  display: none; overflow: hidden; flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-head {
  padding: 18px 20px 14px;
  background: linear-gradient(180deg, #eef3ff, #f8faff);
  border-bottom: 1px solid #e1e8f7;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.chat-close {
  border: 0; background: transparent; color: #1f2742;
  font-size: 2rem; line-height: 1; cursor: pointer;
  padding: 0;
}
.chat-title {
  display: grid;
  gap: 6px;
}
.chat-title strong {
  font-size: 1.5rem;
  line-height: 1.08;
  color: #1f2742;
}
.chat-body {
  flex: 1;
  overflow: auto;
  padding: 16px 14px 10px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.chat-msg {
  padding: 12px 14px;
  border-radius: 18px;
  font-size: .96rem;
  line-height: 1.42;
  max-width: 88%;
  box-shadow: 0 8px 18px rgba(28, 43, 99, 0.06);
}
.chat-msg.user {
  margin-left: auto;
  background: linear-gradient(180deg, #e8eeff, #dfe8ff);
  color: #24304d;
}
.chat-msg.bot {
  margin-right: auto;
  background: #ffffff;
  border: 1px solid #e3e9f7;
  color: #1f2742;
}
.chat-quick {
  padding: 8px 14px 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chat-quick button {
  border: 1px solid #d4ddef;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .82rem;
  color: #2f3956;
}
.chat-input-wrap {
  padding: 14px;
  border-top: 1px solid #e4eaf7;
  background: linear-gradient(180deg, #f8faff, #ffffff);
}
.chat-input-shell {
  display: grid;
  grid-template-columns: 1fr 52px 56px;
  gap: 8px;
  align-items: center;
}
.chat-form {
  display: contents;
}
.chat-form input {
  border: 1px solid #cfd8ee;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: .96rem;
  background: #fff;
}
.chat-send,
.voice-toggle {
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-send {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3040cd, #4e5fff);
  box-shadow: 0 12px 26px rgba(56, 74, 214, 0.28);
  font-size: 1.2rem;
}
.voice-toggle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff5a64, #ff7e66);
  box-shadow: 0 12px 26px rgba(255, 90, 100, 0.22);
  font-size: 1.15rem;
}
.voice-toggle.listening {
  background: linear-gradient(135deg, #1f2742, #3040cd);
}
.voice-toggle.thinking,
.voice-toggle.connecting {
  background: linear-gradient(135deg, #5a647e, #79829b);
}
.voice-toggle.speaking {
  background: linear-gradient(135deg, #178454, #21aa6a);
}
.voice-toggle:disabled,
.chat-send:disabled {
  opacity: .75;
  cursor: wait;
}
.voice-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.voice-bars span {
  width: 4px;
  border-radius: 999px;
  background: #c9d3ef;
  height: 6px;
  transition: height .18s ease, background .18s ease;
}
.voice-bars.listening span,
.voice-bars.speaking span {
  background: #4d63ff;
}
.voice-bars.listening span:nth-child(1),
.voice-bars.speaking span:nth-child(1) { height: 8px; }
.voice-bars.listening span:nth-child(2),
.voice-bars.speaking span:nth-child(2) { height: 14px; }
.voice-bars.listening span:nth-child(3),
.voice-bars.speaking span:nth-child(3) { height: 10px; }
.voice-bars.connecting span,
.voice-bars.thinking span {
  background: #8d97b2;
}

.voice-fab { display: none; }

.reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reviews-nav { display: flex; gap: 8px; }
.reviews-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.reviews-slider::-webkit-scrollbar { display: none; }
.reviews-slider .card { scroll-snap-align: start; }
.reviews-slider .list-card {
  padding: 14px 8px 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 26px;
}
.reviews-slider .list-card img { display: none; }
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg,#4d5fe4,#6f98ff);
  color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.review-card { border-bottom: 1px solid #cfd6eb; }

.concepts-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 2);
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.concepts-slider::-webkit-scrollbar { display: none; }
.concept-card {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 290px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d5deef;
  background: #ececf7;
  scroll-snap-align: start;
}
.concept-card img { width: 100%; height: 100%; object-fit: cover; }
.concept-content { padding: 26px; position: relative; }
.concept-sub { margin: 10px 0 8px; color: #3f4b68; font-weight: 700; }
.concept-go {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffffd9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.theme-rose { background: #f1e9ea; }
.theme-lilac { background: #e7e8f6; }
.theme-sand { background: #efe8de; }
.theme-mint { background: #e6f1ee; }

.news-home {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 26px;
}
.news-main {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #d6deed;
  min-height: 420px;
  box-shadow: 0 24px 52px rgba(31, 45, 98, 0.1);
}
.news-main img { width: 100%; height: 100%; object-fit: cover; }
.news-main-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(12, 18, 38, 0.06), rgba(10,16,34,.82));
}
.news-main-overlay h3, .news-main-overlay p { color: #fff; margin-top: 8px; }
.news-side { display: grid; gap: 14px; }
.news-side-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  border-radius: 22px;
  padding: 10px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(217, 225, 240, 0.92);
  box-shadow: 0 12px 30px rgba(31, 45, 98, 0.06);
}
.news-side-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 16px;
  filter: saturate(1.03) contrast(1.02);
}
.news-side-item h4 { margin: 8px 0 6px; font-size: 1.38rem; }
.news-side-item small { color: #6f7a94; }
.news-layout {
  display: grid;
  grid-template-columns: minmax(0,1.8fr) minmax(280px,1fr);
  gap: 28px;
}
.news-aside {
  border-left: 1px solid #dbe2f0;
  padding-left: 24px;
}
.news-aside-item {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e5f2;
}
.news-aside-item span { color: #7a859f; }
.news-related-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.news-related-slider::-webkit-scrollbar { display: none; }
.news-related-slider .card { scroll-snap-align: start; }

.tours-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: stretch;
}
.tours-intro-premium {
  gap: 30px;
  align-items: stretch;
}
.tours-intro-travel .page-hero {
  background:
    radial-gradient(circle at top right, rgba(74, 111, 255, 0.12), transparent 24%),
    linear-gradient(165deg, #ffffff, #f6f9ff);
}
.tours-intro-business .page-hero {
  background:
    radial-gradient(circle at top right, rgba(89, 104, 141, 0.12), transparent 24%),
    linear-gradient(165deg, #ffffff, #f3f6fb);
}
.tours-intro .page-hero p + p { margin-top: 14px; }
.tours-intro-media {
  overflow: hidden;
  border-radius: 30px;
  min-height: 380px;
  box-shadow: 0 24px 50px rgba(31, 46, 92, 0.12);
  background: linear-gradient(180deg, #ecf2ff, #dbe5fb);
}
.tours-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(1.04) contrast(1.02);
}

.tour-cards-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  align-items: stretch;
}
.tour-cards-slider::-webkit-scrollbar { display: none; }
.tour-cards-slider > * {
  scroll-snap-align: start;
  height: 100%;
}

.slider-shell {
  position: relative;
  overflow: visible;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(205, 216, 238, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: #23305a;
  font-size: 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 34px rgba(24, 41, 90, 0.14);
  z-index: 5;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.slider-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}
.slider-arrow-left { left: -24px; }
.slider-arrow-right { right: -24px; }

.tour-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}
.detail-hero .page-hero {
  min-height: 100%;
  border-radius: 32px;
  padding: clamp(28px, 4vw, 42px);
}
.detail-hero-travel .page-hero {
  background:
    radial-gradient(circle at top right, rgba(79, 120, 255, 0.1), transparent 25%),
    linear-gradient(160deg, #ffffff, #f7faff);
}
.detail-hero-business .page-hero {
  background:
    radial-gradient(circle at top right, rgba(88, 103, 142, 0.12), transparent 25%),
    linear-gradient(160deg, #ffffff, #f2f5fb);
}
.detail-hero-copy {
  display: grid;
  align-content: center;
  align-items: start;
  gap: 10px;
}
.detail-hero-copy h1 {
  margin-top: 6px;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: .95;
  letter-spacing: -0.06em;
  max-width: 10ch;
}
.detail-hero-copy p {
  max-width: 58ch;
}
.detail-hero-media {
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #edf3ff, #dfe9fb);
  box-shadow: 0 24px 56px rgba(27, 43, 90, 0.14);
}
.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 4px;
}
.detail-meta-row span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef3ff;
  border: 1px solid #dae3f8;
  color: #3045b8;
  font-weight: 700;
  font-size: .88rem;
}
.detail-meta-row-business span {
  background: #f0f4fb;
  color: #33425e;
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.detail-metric {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid #dce4f4;
  box-shadow: 0 16px 36px rgba(31, 46, 93, 0.08);
}
.detail-metric span,
.detail-metric strong {
  display: block;
}
.detail-metric span {
  color: #66779e;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  font-weight: 800;
}
.detail-metric strong {
  margin-top: 10px;
  color: #1f2a47;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}
.detail-panel {
  padding: 28px 30px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(28, 41, 86, 0.07);
}
.detail-panel h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  margin-bottom: 10px;
}
.detail-cta-card {
  background:
    radial-gradient(circle at top right, rgba(79, 107, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7faff);
}
.detail-cta-card-business {
  background:
    radial-gradient(circle at top right, rgba(86, 100, 134, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff, #f3f6fb);
}
.detail-gallery img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(28, 41, 86, 0.08);
  filter: saturate(1.04) contrast(1.03);
}
.detail-related-grid .tour-card {
  min-height: 360px;
}

.knowledge-hero,
.news-hero,
.certificate-hero,
.contacts-hero {
  border-radius: 32px;
}
.knowledge-search-hero {
  margin-top: 18px;
  max-width: 420px;
}
.knowledge-aside {
  border-radius: 28px;
  padding-top: 24px;
}
.knowledge-content {
  display: grid;
  gap: 22px;
}
.certificate-hero-shell .tours-intro-media,
.certificate-hero-shell .page-hero {
  min-height: 100%;
}
.certificate-card {
  min-height: 220px;
  display: grid;
  align-content: end;
}
.certificate-card h3 {
  font-size: clamp(1.6rem, 2vw, 2rem);
}
.certificate-info-grid .list-card {
  min-height: 240px;
}
.certificate-form-card {
  padding: 30px;
}
.contacts-metrics .list-card,
.contacts-info-card,
.contacts-form-card {
  border-radius: 28px;
}
.contacts-layout {
  align-items: start;
}
.contacts-form-card {
  padding: 28px;
}
.contacts-info-card {
  min-height: 100%;
}
.about-hero,
.reviews-hero,
.news-detail-hero {
  border-radius: 32px;
}
.news-detail-layout {
  align-items: start;
}
.news-article {
  padding: 28px;
}
.news-detail-image {
  margin-bottom: 22px;
  border-radius: 22px;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(31, 45, 98, 0.1);
}
.news-article-copy {
  margin-top: 18px;
  color: #39445f;
  font-size: 1.04rem;
  line-height: 1.8;
}
.news-detail-summary {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #d9e2f3;
}
.partner-steps .card {
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,248,255,.98));
}

/* Inner pages: cleaner text rhythm */
main .section .grid-2,
main .section .grid-3 {
  align-items: start;
}
main .section h2 + .grid-2,
main .section h2 + .grid-3,
main .section h2 + .grid-4 {
  margin-top: 12px;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}
.knowledge-layout aside {
  position: sticky;
  top: 96px;
}

.reviews-story-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(560px, 62%);
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.reviews-story-slider::-webkit-scrollbar { display: none; }
.review-story-card {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 360px;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid #d2dcf0;
  background: #fff;
}
.review-story-card > img { width: 100%; height: 100%; object-fit: cover; }
.review-story-body { padding: 18px; display: grid; align-content: start; gap: 10px; }
.review-meta { color: #596688; font-weight: 600; }

.partner-hero {
  background: linear-gradient(135deg, #252f7f, #3950c8 48%, #5a87ff);
  color: #fff;
  box-shadow: 0 24px 56px rgba(31, 45, 98, 0.16);
}
.partner-hero p { color: rgba(255, 255, 255, 0.92); max-width: 860px; }
.partner-hero .chips .badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: none;
}
.partner-metrics .card {
  text-align: center;
  padding: 20px 14px;
}
.partner-metrics strong {
  display: block;
  font-size: 2.05rem;
  color: #1f2a50;
  line-height: 1;
}
.partner-steps .card {
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.partner-steps .card::after {
  content: attr(data-step);
  position: absolute;
  right: 14px;
  bottom: -8px;
  font-size: 4.2rem;
  font-weight: 800;
  color: rgba(37, 48, 82, 0.08);
}
.partner-register {
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.auth-wrap {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 26px 16px;
}
.auth-shell {
  width: min(760px, 100%);
}
.auth-card {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #d5deef;
  box-shadow: 0 16px 36px rgba(30, 45, 97, 0.1);
}
.auth-title {
  margin-bottom: 12px;
}
.auth-sub {
  margin-bottom: 18px;
}

.crm-body {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(255, 92, 105, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(73, 93, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #eef2ff, #f7f9ff 30%, #f4f6fb);
}
.crm-app-page {
  width: min(1500px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 22px 0 40px;
}
.crm-app-page-detail {
  width: min(1380px, calc(100% - 32px));
}
[data-cabinet],
[data-lead-detail] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.crm-shell-host {
  min-height: calc(100vh - 62px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.crm-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.crm-shell-detail {
  grid-template-columns: 290px minmax(0, 1fr);
}
.crm-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(198, 207, 236, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.94)),
    linear-gradient(135deg, rgba(83, 108, 255, 0.1), transparent 48%);
  box-shadow: 0 30px 70px rgba(27, 39, 84, 0.12);
  backdrop-filter: blur(12px);
  min-width: 0;
  max-width: 100%;
}
.crm-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: #1d2b55;
}
.crm-brand strong,
.crm-brand small {
  display: block;
}
.crm-brand small {
  color: #697da9;
}
.crm-brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff5a66, #4254f3);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(70, 88, 202, 0.3);
}
.crm-profile-card,
.crm-sidebar-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #d9e2f4;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}
.crm-profile-card h3,
.crm-sidebar-card h4 {
  margin: 6px 0 8px;
}
.crm-profile-card p,
.crm-sidebar-card p {
  margin: 0;
  color: #5f7098;
}
.crm-profile-meta {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.crm-profile-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef3ff;
  color: #26365f;
  font-size: 0.92rem;
  border: 1px solid #d7e1f7;
}
.crm-nav {
  display: grid;
  gap: 10px;
}
.crm-nav-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  text-decoration: none;
  color: #23335d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d9e2f4;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.crm-nav-link span,
.crm-nav-link small {
  display: block;
}
.crm-nav-link small {
  color: #6c7da7;
}
.crm-nav-link:hover,
.crm-nav-link.is-current {
  transform: translateX(3px);
  border-color: #b8c8f6;
  box-shadow: 0 14px 28px rgba(52, 74, 141, 0.08);
}
.crm-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.crm-main {
  display: grid;
  gap: 22px;
  min-width: 0;
  max-width: 100%;
}
.crm-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px 30px;
  border-radius: 28px;
  border: 1px solid rgba(210, 220, 245, 0.96);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(36, 50, 100, 0.09);
  backdrop-filter: blur(14px);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.crm-topbar h1 {
  margin: 6px 0 0;
  font-size: clamp(1.75rem, 2.8vw, 2.7rem);
  line-height: 1.02;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.crm-topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.crm-stage {
  display: grid;
  gap: 16px;
  scroll-margin-top: 20px;
  min-width: 0;
}
.crm-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  min-width: 0;
}
.crm-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}
.crm-grid {
  align-items: start;
}
.crm-span-2 {
  grid-column: 1 / -1;
}
.crm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 20px;
  align-items: end;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #d9e2f4;
  background:
    radial-gradient(circle at top right, rgba(84, 122, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #fefefe, #eef3ff 52%, #f5f8ff);
  box-shadow: 0 20px 44px rgba(34, 52, 112, 0.1);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.crm-hero h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.crm-hero-aside {
  display: grid;
  gap: 12px;
  min-width: 220px;
}
.crm-hero-note {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #d8e2f5;
}
.crm-hero-note span {
  display: block;
  color: #60739f;
}
.crm-hero-note strong {
  display: block;
  margin-top: 6px;
  font-size: 1.8rem;
  color: #1f2b53;
}
.crm-kicker,
.crm-label {
  margin: 0;
  color: #5f73a7;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}
.crm-card,
.crm-metric {
  border-radius: 22px;
  border: 1px solid #d9e2f4;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 16px 38px rgba(32, 49, 102, 0.08);
  min-width: 0;
  max-width: 100%;
}
.crm-card {
  padding: 26px;
}
.crm-metric {
  padding: 26px;
}
.crm-metric span {
  display: block;
  color: #6175a8;
}
.crm-metric strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #1f2b53;
}
.crm-profile-panel {
  min-height: 100%;
}
.crm-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #2c385d;
}
.crm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.crm-stats div {
  padding: 16px;
  border-radius: 18px;
  background: #eef3ff;
  border: 1px solid #d8e1f5;
}
.crm-stats strong {
  display: block;
  font-size: 1.65rem;
  color: #1f2b53;
}
.crm-stats span {
  color: #6377a7;
  font-size: 0.95rem;
}
.crm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.crm-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}
.crm-section-head p:last-child {
  max-width: 420px;
  color: #5f6f95;
}
.crm-form textarea.input {
  min-height: 110px;
  resize: vertical;
}
.crm-pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
}
.crm-pipeline-col {
  min-width: 180px;
  padding: 14px;
  border-radius: 18px;
  background: #f4f7ff;
  border: 1px solid #d8e0f2;
}
.crm-pipeline-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  color: #24345f;
}
.crm-pipeline-head span {
  min-width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d5dff2;
  font-weight: 700;
}
.crm-pipeline-list {
  display: grid;
  gap: 10px;
}
.crm-mini-lead {
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d9e1f0;
}
.crm-mini-lead strong,
.crm-mini-lead span,
.crm-mini-lead small {
  display: block;
}
.crm-mini-lead span,
.crm-mini-lead small,
.crm-empty {
  color: #60729d;
}
.crm-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
.crm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}
.crm-table th,
.crm-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #e0e6f3;
  vertical-align: top;
}
.crm-table th {
  color: #5e719e;
  font-size: 0.92rem;
  font-weight: 700;
}
.crm-select {
  min-width: 140px;
  padding: 10px 12px;
}
.crm-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff3db;
  color: #9a6b00;
  border: 1px solid #f1d28b;
  font-size: 0.9rem;
  font-weight: 700;
}
.crm-pill.is-approved {
  background: #ebf4ff;
  color: #2d63af;
  border-color: #c8dbff;
}
.crm-pill.is-paid {
  background: #e9f9ef;
  color: #1f7a46;
  border-color: #bfe7cb;
}
.crm-table-btn {
  min-height: 42px;
  padding: 0 14px;
}
.crm-table-action {
  color: #1f7a46;
  font-weight: 700;
}
.crm-pill.is-danger {
  background: #fff0f1;
  color: #b53c49;
  border-color: #f4c0c6;
}
.crm-estimate {
  margin: 4px 0 2px;
  color: #5f6f95;
  font-size: 0.96rem;
}
.crm-leads-list {
  display: grid;
  gap: 18px;
}
.crm-lead-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid #d9e2f4;
  background:
    radial-gradient(circle at top right, rgba(90, 135, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 18px 42px rgba(28, 44, 91, 0.08);
  min-width: 0;
  overflow: hidden;
}
.crm-lead-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}
.crm-lead-head h3 {
  margin: 6px 0 8px;
}
.crm-lead-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}
.crm-lead-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.crm-lead-grid div,
.crm-notes > div {
  padding: 14px;
  border-radius: 18px;
  background: #f5f8ff;
  border: 1px solid #d9e2f4;
}
.crm-lead-grid span,
.crm-notes span,
.crm-admin-grid label span,
.crm-comment-meta span,
.crm-comment-meta time {
  display: block;
  color: #6a7ba6;
  font-size: 0.86rem;
}
.crm-lead-grid strong {
  display: block;
  margin-top: 6px;
  color: #233258;
  font-size: 1rem;
}
.crm-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.crm-notes p {
  margin-top: 8px;
}
.crm-inline-textarea {
  margin-top: 8px;
  min-height: 92px;
}
.crm-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  align-items: end;
}
.crm-admin-grid label {
  display: grid;
  gap: 8px;
}
.crm-comments-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dce3f2;
}
.crm-comments {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.crm-comment {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #d9e2f4;
  background: #fff;
}
.crm-comment.is-internal {
  background: #f8f2ff;
  border-color: #ddd0ff;
}
.crm-comment p {
  margin-top: 8px;
}
.crm-comment-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.crm-comment-meta strong {
  color: #22325a;
}
.crm-comment-form {
  display: grid;
  gap: 10px;
}
.crm-user-form {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #f6f9ff;
  border: 1px solid #d8e2f3;
}
.crm-inline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.crm-input-compact {
  min-height: 42px;
  padding: 10px 12px;
}
.crm-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.crm-filter-bar .input {
  min-width: 180px;
}
.crm-open-link {
  min-height: 40px;
}
.crm-files-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dce3f2;
}
.crm-files-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.crm-file-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #d5e0f4;
  background: #f6f9ff;
  color: #22345d;
  text-decoration: none;
}
.crm-file-link small {
  color: #6c7ea8;
}
.crm-file-form {
  display: grid;
  gap: 10px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 980px) {
  .home-hero,
  .home-signal-grid,
  .detail-hero,
  .detail-metrics {
    grid-template-columns: 1fr;
  }
  .home-hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .showcase-head {
    display: grid;
    align-items: start;
  }
  .lang-switch { margin-left: auto; }
  .reviews-slider { grid-auto-columns: calc((100% - 18px) / 2); }
  .concepts-slider { grid-auto-columns: 100%; }
  .news-home { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .news-aside { border-left: 0; padding-left: 0; }
  .news-related-slider { grid-auto-columns: calc((100% - 18px) / 2); }
  .tours-intro { grid-template-columns: 1fr; }
  .tour-cards-slider { grid-auto-columns: calc((100% - 18px) / 2); }
  .slider-arrow-left { left: -12px; }
  .slider-arrow-right { right: -12px; }
  .tour-detail-hero { grid-template-columns: 1fr; }
  .detail-hero-media { min-height: 380px; }
  .knowledge-layout { grid-template-columns: 1fr; }
  .knowledge-layout aside { position: static; }
  .knowledge-search-hero { max-width: 100%; }
  .certificate-info-grid,
  .contacts-metrics,
  .contacts-layout {
    grid-template-columns: 1fr;
  }
  .news-detail-layout {
    gap: 22px;
  }
  .news-article {
    padding: 24px;
  }
  .news-detail-image {
    max-height: 420px;
  }
  .reviews-story-slider { grid-auto-columns: 82%; }
  .review-story-card { grid-template-columns: 1fr; min-height: auto; }
  .review-story-card img { max-height: 260px; }
  .crm-shell,
  .crm-shell-detail,
  .crm-overview-grid,
  .crm-metrics-strip {
    grid-template-columns: 1fr;
  }
  .crm-sidebar {
    position: static;
  }
  .crm-topbar {
    display: grid;
    align-items: start;
  }
  .crm-topbar-actions {
    justify-content: start;
  }
  .crm-hero { grid-template-columns: 1fr; align-items: start; }
  .crm-section-head { display: grid; align-items: start; }
  .crm-stats {
    grid-template-columns: 1fr;
  }
  .crm-lead-head,
  .crm-notes,
  .crm-admin-grid,
  .crm-lead-grid {
    grid-template-columns: 1fr;
  }
  .crm-lead-head {
    display: grid;
  }
  .crm-lead-badges {
    justify-content: start;
  }
  .crm-inline-actions {
    display: grid;
  }
  .crm-filter-bar {
    display: grid;
  }
}
@media (max-width: 640px) {
  .home-hero-card,
  .journey-strip,
  .detail-panel,
  .detail-metric {
    padding: 20px;
  }
  .home-hero-stats,
  .detail-metrics {
    grid-template-columns: 1fr;
  }
  .detail-hero-media,
  .tours-intro-media {
    min-height: 300px;
  }
  .knowledge-hero,
  .news-hero,
  .certificate-hero,
  .contacts-hero,
  .about-hero,
  .reviews-hero,
  .news-detail-hero,
  .knowledge-aside,
  .contacts-metrics .list-card,
  .contacts-info-card,
  .contacts-form-card,
  .news-main,
  .news-side-item,
  .list-card,
  .certificate-form-card {
    border-radius: 22px;
  }
  .news-main-overlay,
  .news-article,
  .certificate-form-card,
  .contacts-form-card {
    padding: 20px;
  }
  .news-detail-image {
    max-height: 280px;
    border-radius: 18px;
    margin-bottom: 18px;
  }
  .news-article-copy {
    font-size: 1rem;
    line-height: 1.72;
  }
  .certificate-card,
  .certificate-info-grid .list-card {
    min-height: auto;
  }
  .crm-app-page,
  .crm-app-page-detail {
    width: min(100% - 20px, 100%);
    padding-top: 12px;
  }
  .crm-sidebar,
  .crm-topbar,
  .crm-hero,
  .crm-card,
  .crm-metric,
  .crm-lead-card {
    border-radius: 22px;
  }
  .head-meta { display: none; }
  .reviews-slider { grid-auto-columns: 100%; }
  .news-related-slider { grid-auto-columns: 100%; }
  .news-side-item { grid-template-columns: 1fr; }
  .tour-cards-slider { grid-auto-columns: 100%; }
  .slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
  .slider-arrow-left { left: 6px; }
  .slider-arrow-right { right: 6px; }
  .reviews-story-slider { grid-auto-columns: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .crm-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .crm-comment-meta {
    display: grid;
    gap: 6px;
  }
}

.stats-block {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #f1f2f6;
  min-height: 420px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  padding: 22px 44px 18px;
}
.stats-bg {
  position: absolute;
  inset: 0;
  font-size: clamp(11rem, 27vw, 26rem);
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(31, 39, 66, 0.055);
  transform: translateX(0);
  transition: transform .15s linear;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats-number {
  font-size: clamp(10rem, 17vw, 18rem);
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(115deg, #ff4a5f 0%, #5d73ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
  justify-self: start;
  align-self: end;
  transform: translateY(8px);
}
.stats-text {
  font-size: clamp(2.35rem, 4.3vw, 5.25rem);
  font-weight: 800;
  line-height: 0.98;
  max-width: 840px;
  background: linear-gradient(115deg, #ff4a5f 0%, #5d73ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  justify-self: start;
  align-self: center;
  margin-top: -20px;
}

@media (max-width: 980px) {
  .stats-block {
    min-height: 300px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 22px 16px;
  }
  .stats-number { transform: none; font-size: clamp(6.3rem, 20vw, 9.2rem); }
  .stats-text { font-size: clamp(1.6rem, 7vw, 2.7rem); margin-top: -8px; }
}
