:root {
  --bg: #f3f6fb;
  --bg-soft: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-2: #111827;

  --text: #0f172a;
  --text-soft: #475569;
  --text-invert: #f8fafc;

  --line: #e2e8f0;
  --line-soft: rgba(15, 23, 42, 0.08);

  --primary: #2563eb; 
  --primary-dark: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.08);

  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.14);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --container: 1180px;
}

/* reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  inset: auto;
  pointer-events: none;
}

body::before {
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 68%);
  filter: blur(16px);
}

body::after {
  left: -180px;
  bottom: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
  filter: blur(20px);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  overflow: clip;
}

/* common */
.section-head {
  position: relative;
  max-width: 780px;
  margin-bottom: 46px;
}

.section-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(96, 165, 250, 0.3));
}

.section-title {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--text);
  text-wrap: balance;
}

.section-text {
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* section dividers */
.problems,
.results,
.process,
.advantages-home,
.services,
.cases-home,
.reviews-home,
.service-section {
  position: relative;
}

.problems::before,
.results::before,
.process::before,
.advantages-home::before,
.services::before,
.cases-home::before,
.reviews-home::before,
.service-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.06), transparent);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}

.header-logo {
  flex-shrink: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--primary);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-phone {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--primary);
}

.header-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.header-telegram:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: 0.2s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__inner {
  padding: 18px 0 28px;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__list li + li {
  margin-top: 10px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.mobile-nav-link.is-active {
  color: var(--primary);
}

.mobile-menu__contacts {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__phone {
  text-decoration: none;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

.mobile-menu__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* hero */
.hero,
.service-hero {
  position: relative;
  overflow: hidden;
}

.hero::after,
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 60%);
}

.hero {
  padding: 112px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 36px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 38px;
  align-items: stretch;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: var(--text);
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 0 34px;
  font-size: 22px;
  line-height: 1.65;
  color: var(--text-soft);
}

.hero-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.hero-phone:hover {
  color: var(--primary);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.hero-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.hero-telegram:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.hero-visual {
  display: flex;
  align-items: stretch;
}

.hero-panel {
  width: 100%;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.94) 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: var(--shadow-lg);
}

.hero-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-panel__label {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.hero-panel__status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 13px;
  font-weight: 700;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-metric {
  padding: 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.hero-metric__value {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-metric__label {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.hero-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-stack__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.hero-stack__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-panel__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-mini-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.hero-mini-card__title {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.hero-mini-card__text {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

/* home sections */
.problems,
.results,
.process,
.advantages-home,
.services,
.cases-home,
.reviews-home {
  padding: 104px 0;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ef4444 0%, #f97316 100%);
  opacity: 0.9;
}

.problem-card__title {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
}

.problem-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

.problems-note {
  margin: 34px 0 0;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--text);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.result-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.95) 100%);
  box-shadow: var(--shadow-md);
}

.result-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  margin-bottom: 20px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.result-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

.result-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.process-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 26px;
  align-items: start;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
}

.process-step__title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}

.process-step__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-card {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 30%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.14);
}

.advantage-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.advantage-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

.advantage-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 28%),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.service-card__title {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}

.service-card__text {
  margin: 0 0 24px;
  flex-grow: 1;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.service-card__link:hover {
  background: rgba(37, 99, 235, 0.14);
  color: var(--primary-dark);
}

.cases-home__head,
.reviews-home__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.cases-home__more,
.reviews-home__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.cases-home__more:hover,
.reviews-home__more:hover {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.18);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.case-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.case-card__title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  color: var(--text);
}

.case-card__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.case-card__result {
  margin-top: auto;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.case-card__result-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-card__result-value {
  display: block;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
}

.case-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.case-card__link:hover {
  color: var(--primary-dark);
}

/* shared reviews cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: space-between;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.review-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.review-card__person {
  min-width: 0;
}

.review-card__name {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
}

.review-card__position,
.review-card__role {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.review-card__text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.review-card__author {
  margin-top: auto;
}

/* contact cta */
.contact-cta {
  padding: 104px 0 0;
}

.contact-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 52px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.28), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #111827 50%, #172554 100%);
  color: var(--text-invert);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-cta__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.contact-cta__title {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
}

.contact-cta__text {
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.contact-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 280px;
}

.contact-cta__phone {
  text-decoration: none;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
}

.contact-cta__phone:hover {
  color: #bfdbfe;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.contact-cta__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.3);
}

.contact-cta__telegram:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* service pages */
.service-hero {
  padding: 96px 0 72px;
}

.service-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.service-hero__content,
.service-hero__card {
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.service-hero__content {
  padding: 40px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 30%),
    rgba(255, 255, 255, 0.9);
}

.service-hero__card {
  padding: 32px 28px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.92);
}

.service-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.service-hero__title {
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--text);
  text-wrap: balance;
}

.service-hero__subtitle {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: 20px;
  line-height: 1.75;
  color: var(--text-soft);
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.service-hero__phone {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.service-hero__phone:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.service-hero__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.service-hero__telegram:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.service-hero__card-title {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.service-hero__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.service-hero__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

.service-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.service-section {
  padding: 72px 0;
}

.service-section--soft {
  background: rgba(255, 255, 255, 0.45);
}

.service-section--compact {
  padding-top: 32px;
}

.service-cards,
.service-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-info-card,
.service-result-card {
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.service-info-card h3,
.service-result-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

.service-info-card p,
.service-result-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.audit-scope {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.audit-scope__item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.audit-scope__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 28px;
  font-weight: 800;
}

.audit-scope__item h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

.audit-scope__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* contacts */
.contact-link-big {
  color: var(--primary);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.contact-link-big:hover {
  color: var(--primary-dark);
}

.contact-text-big {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 800;
}

/* cases page */
.cases-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-page-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.case-page-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.case-page-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.case-page-card__title {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--text);
}

.case-page-card__block + .case-page-card__block {
  margin-top: 18px;
}

.case-page-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-page-card__block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.case-page-card__result {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.case-page-card__result-title {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-page-card__result p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
  font-weight: 600;
}

/* footer */
.site-footer {
  position: relative;
  margin-top: 88px;
  padding: 52px 0 24px;
  background: transparent;
  color: var(--text);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.22), transparent);
}

.footer-inner {
  padding-top: 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-logo:hover {
  color: var(--primary);
}

.footer-description {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-phone,
.footer-telegram {
  text-decoration: none;
  font-weight: 700;
}

.footer-phone {
  color: var(--text);
}

.footer-telegram {
  color: var(--primary);
}

.footer-phone:hover,
.footer-telegram:hover {
  transform: translateY(-1px);
}

.footer-bottom {
  padding-top: 18px;
}

.footer-copy {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* floating contact */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-contact__phone,
.floating-contact__telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(14px);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.floating-contact__phone {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.floating-contact__telegram {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
}

.floating-contact__phone:hover,
.floating-contact__telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.22);
}

.floating-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.floating-contact__phone .floating-contact__icon {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
}

.floating-contact__telegram .floating-contact__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.floating-contact__text {
  white-space: nowrap;
}

/* visual upgrade */
.problem-card,
.result-card,
.process-step,
.service-card,
.case-card,
.case-page-card,
.review-card,
.service-info-card,
.service-result-card,
.audit-scope__item,
.service-hero__content,
.service-hero__card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.problem-card:hover,
.result-card:hover,
.process-step:hover,
.service-card:hover,
.case-card:hover,
.case-page-card:hover,
.review-card:hover,
.service-info-card:hover,
.service-result-card:hover,
.audit-scope__item:hover,
.service-hero__content:hover,
.service-hero__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.14);
}

.nav-link,
.mobile-nav-link,
.service-card__link,
.case-card__link,
.cases-home__more,
.reviews-home__more,
.footer-phone,
.footer-telegram {
  transition:
    color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.hero-panel,
.service-hero__content,
.service-hero__card,
.contact-cta__inner {
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.service-hero__content::before,
.service-hero__card::before,
.contact-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%);
  pointer-events: none;
}

.header-telegram,
.hero-telegram,
.contact-cta__telegram,
.mobile-menu__telegram,
.service-hero__telegram {
  position: relative;
  overflow: hidden;
}

.header-telegram::before,
.hero-telegram::before,
.contact-cta__telegram::before,
.mobile-menu__telegram::before,
.service-hero__telegram::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
}

.header-telegram:hover::before,
.hero-telegram:hover::before,
.contact-cta__telegram:hover::before,
.mobile-menu__telegram:hover::before,
.service-hero__telegram:hover::before {
  animation: btnShine 0.8s ease;
}

@keyframes btnShine {
  100% {
    left: 150%;
  }
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal-group.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* responsive */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 58px;
  }

  .hero-inner {
    grid-template-columns: 1fr 280px;
  }

  .section-title,
  .contact-cta__title {
    font-size: 40px;
  }
}

@media (max-width: 900px) {
  .logo-image {
    height: 34px;
    max-width: 200px;
  }

  .footer-logo-image {
    height: 34px;
    max-width: 200px;
  }

  .task-types-home {
    padding: 72px 0;
  }

  .task-types-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .task-type-card {
    padding: 24px;
  }

  .task-type-card__title {
    font-size: 22px;
  }

  .footer-links {
    max-width: none;
  }

  .niches-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .niche-card {
    padding: 24px;
  }

  .niche-card__title {
    font-size: 22px;
  }

  .materials-home {
    padding: 72px 0;
  }

  .materials-home__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .materials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .material-card {
    padding: 24px;
  }

  .material-card__title {
    font-size: 22px;
  }

  .fit-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fit-card {
    padding: 24px;
  }

  .fit-card__title {
    font-size: 24px;
  }

  .case-single-grid {
    grid-template-columns: 1fr;
  }

  .case-single-sidebar {
    position: static;
  }

  .case-single-block {
    padding: 24px;
  }

  .case-single-block h3 {
    font-size: 24px;
  }

  .telegram-posts__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .telegram-post {
    padding: 14px;
  }

  .container {
    padding: 0 18px;
  }

  .section-head::after {
    width: 56px;
    margin-top: 18px;
  }

  .header-nav,
  .header-contacts {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-inner {
    min-height: 76px;
  }

  .logo-link {
    font-size: 21px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-panel {
    padding: 20px;
  }

  .hero-panel__bottom {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-contacts {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title,
  .contact-cta__title {
    font-size: 32px;
  }

  .section-text,
  .contact-cta__text {
    font-size: 16px;
  }

  .problems,
  .results,
  .process,
  .advantages-home,
  .services,
  .cases-home,
  .reviews-home {
    padding: 72px 0;
  }

  .problems-grid,
  .results-grid,
  .advantages-grid,
  .services-grid,
  .cases-grid,
  .reviews-grid,
  .cases-page-grid,
  .service-cards,
  .service-results {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .problem-card,
  .result-card,
  .service-card,
  .case-card,
  .review-card,
  .case-page-card,
  .service-info-card,
  .service-result-card,
  .advantage-card {
    padding: 24px;
  }

  .case-card__title,
  .advantage-card__title,
  .case-page-card__title,
  .process-step__title,
  .service-card__title,
  .result-card__title,
  .service-info-card h3,
  .service-result-card h3,
  .audit-scope__item h3 {
    font-size: 22px;
  }

  .contact-link-big,
  .contact-text-big {
    font-size: 20px;
  }

  .contact-cta {
    padding: 72px 0 0;
  }

  .contact-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .contact-cta__phone {
    font-size: 24px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-contacts {
    align-items: flex-start;
  }

  .cases-home__head,
  .reviews-home__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-hero {
    padding: 72px 0 56px;
  }

  .service-hero__inner {
    grid-template-columns: 1fr;
  }

  .service-hero__content,
  .service-hero__card {
    padding: 28px 24px;
  }

  .service-hero__title {
    font-size: 38px;
  }

  .service-hero__subtitle {
    font-size: 17px;
  }

  .service-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-hero__phone,
  .service-hero__telegram {
    width: 100%;
    justify-content: center;
  }

  .service-section {
    padding: 56px 0;
  }

  .audit-scope__item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .audit-scope__number {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    font-size: 22px;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }

  .floating-contact__phone,
  .floating-contact__telegram {
    min-height: 48px;
    padding: 0 16px;
  }

  .problem-card:hover,
  .result-card:hover,
  .process-step:hover,
  .service-card:hover,
  .case-card:hover,
  .case-page-card:hover,
  .review-card:hover,
  .service-info-card:hover,
  .service-result-card:hover,
  .audit-scope__item:hover,
  .service-hero__content:hover,
  .service-hero__card:hover,
  .advantage-card:hover {
    transform: none;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-card {
    padding: 24px;
  }

  .blog-card__title {
    font-size: 24px;
  }

  .blog-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }


}

@media (max-width: 560px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 17px;
    line-height: 1.65;
  }

  .section-title,
  .contact-cta__title {
    font-size: 28px;
  }

  .hero-phone,
  .hero-telegram,
  .contact-cta__telegram {
    width: 100%;
    justify-content: center;
  }

  .contact-cta__phone {
    font-size: 22px;
  }

  .hero-badge {
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  .hero-points li {
    font-size: 15px;
  }

  .floating-contact__text {
    display: none;
  }

  .floating-contact__phone,
  .floating-contact__telegram {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .floating-contact__icon {
    width: 20px;
    height: 20px;
    background: transparent !important;
  }
}

/* blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 30%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.blog-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card__date {
  color: var(--text-soft);
  font-size: 14px;
  white-space: nowrap;
}

.blog-card__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}

.blog-card__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
  flex-grow: 1;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.blog-card__link:hover {
  color: var(--primary-dark);
}

/* telegram posts */
.telegram-posts {
  padding: 72px 0;
}

.telegram-posts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.telegram-post {
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* single case */
.case-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.case-single-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-single-block {
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

.case-single-block h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}

.case-single-block p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-soft);
}

.case-single-block p:last-child {
  margin-bottom: 0;
}

.case-single-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.case-single-list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.8;
}

.case-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 110px;
}

.case-side-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.case-side-card__title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.case-side-card__text {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
  color: var(--text);
}

.related {
  padding: 80px 0;
}

.related__title {
  font-size: 28px;
  margin-bottom: 30px;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related__item {
  display: block;
  padding: 20px;
  border-radius: 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.related__item:hover {
  transform: translateY(-5px);
  background: #1a1a1a;
}

.service-info-card h3 a,
.service-result-card h3 a,
.case-card__title a,
.case-page-card__title a,
.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.service-info-card h3 a:hover,
.service-result-card h3 a:hover,
.case-card__title a:hover,
.case-page-card__title a:hover,
.blog-card__title a:hover {
  color: var(--primary);
}

/* materials home */
.materials-home {
  padding: 104px 0;
}

.materials-home__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.materials-home__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.materials-home__more:hover {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.18);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.material-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 30%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

.material-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.material-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.material-card__title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  color: var(--text);
}

.material-card__title a {
  color: inherit;
  text-decoration: none;
}

.material-card__title a:hover {
  color: var(--primary);
}

.material-card__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
  flex-grow: 1;
}

.material-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.material-card__link:hover {
  color: var(--primary-dark);
}

/* fit block */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fit-card {
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.94);
}

.fit-card--good {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.95);
}

.fit-card--bad {
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.07), transparent 28%),
    rgba(255, 255, 255, 0.95);
}

.fit-card__title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}

.fit-card__list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.fit-card__list li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.8;
}

/* niches block */
.niches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.niche-card {
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 28%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

.niche-card__title {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}

.niche-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
}

.footer-links__title {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.footer-link {
  color: var(--text-soft);
  text-decoration: none;
  line-height: 1.6;
}

.footer-link:hover {
  color: var(--primary);
}

.blog-grid + .blog-grid {
  margin-top: 24px;
}

/* task types home */
.task-types-home {
  padding: 104px 0;
}

.task-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.task-type-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 30%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

.task-type-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.task-type-card__title {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}

.task-type-card__text {
  margin: 0 0 22px;
  flex-grow: 1;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.task-type-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.task-type-card__link:hover {
  color: var(--primary-dark);
}

/* header dropdown */
.nav-item--dropdown {
  position: relative;
}

.nav-link--button {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-caret {
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.nav-item--dropdown.is-open .nav-caret {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1200;
  min-width: 300px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.nav-item--dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-item--dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu__link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.dropdown-menu__link:hover,
.dropdown-menu__link.is-active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

/* mobile dropdown */
.mobile-nav__item--dropdown {
  border-bottom: 0;
}

.mobile-nav-link--button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.mobile-nav-caret {
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.mobile-nav__item--dropdown.is-open .mobile-nav-caret {
  transform: rotate(225deg);
}

.mobile-submenu {
  display: none;
  padding: 4px 0 10px 14px;
}

.mobile-nav__item--dropdown.is-open .mobile-submenu {
  display: block;
}

.mobile-submenu__link {
  display: block;
  padding: 10px 0;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.mobile-submenu__link:hover,
.mobile-submenu__link.is-active {
  color: var(--primary);
}

/* ===== PREMIUM HEADER ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* контейнер */
.header-inner {
  min-height: 72px;
  gap: 20px;
}

/* логотип */
.logo-link {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* меню */
.nav-list {
  gap: 18px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--text);
}

/* кнопка "Услуги" */
.nav-link--button {
  color: var(--text-soft);
}

/* caret */
.nav-caret {
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}

/* контакты */
.header-contacts {
  gap: 10px;
}

/* телефон — делаем спокойным */
.header-phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.header-phone:hover {
  opacity: 1;
}

/* TELEGRAM — делаем как кнопку продукта */
.header-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 16px;

  border-radius: 999px;

  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.header-telegram:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
}

/* dropdown */
.dropdown-menu {
  min-width: 300px;

  border-radius: 14px;
  padding: 8px;

  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);

  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.dropdown-menu__link {
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 10px;
}

.dropdown-menu__link:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

/* мобильная шапка */
@media (max-width: 900px) {
  .site-header {
    background: rgba(255, 255, 255, 0.9);
  }

  .header-inner {
    min-height: 64px;
  }

  .logo-link {
    font-size: 19px;
  }

  .header-phone {
    display: none; /* на мобиле он мешает */
  }
}

/* logo image */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  display: block;
  height: 42px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-image {
  display: block;
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}



/* --------------------------------------------------------------------------------------------------------------------- */

.hero-owner-dashboard {
  width: 100%;
  padding: 16px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,247,252,0.96) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-owner-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.24), transparent 38%);
  pointer-events: none;
}

.hero-owner-dashboard__topbar,
.hero-owner-dashboard__switch-label,
.hero-owner-dashboard__mode-switch,
.hero-owner-dashboard__tabs,
.hero-owner-dashboard__screen,
.hero-owner-dashboard__cta {
  position: relative;
  z-index: 1;
}

.hero-owner-dashboard__window {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-owner-dashboard__window span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.10);
}

.hero-owner-dashboard__window span:nth-child(1) { background: rgba(239, 68, 68, 0.7); }
.hero-owner-dashboard__window span:nth-child(2) { background: rgba(245, 158, 11, 0.75); }
.hero-owner-dashboard__window span:nth-child(3) { background: rgba(34, 197, 94, 0.75); }

.hero-owner-dashboard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-owner-dashboard__eyebrow {
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-owner-dashboard__title {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
}

.hero-owner-dashboard__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-owner-dashboard__switch-label {
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-owner-dashboard__mode-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 8px 20px rgba(15, 23, 42, 0.08);
}

.hero-owner-dashboard__mode {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-owner-dashboard__mode.is-active {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.hero-owner-dashboard__mode:hover:not(.is-active) {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.hero-owner-dashboard__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-owner-dashboard__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  background: rgba(255,255,255,0.84);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-owner-dashboard__tab:hover {
  color: var(--text);
  border-color: rgba(37, 99, 235, 0.14);
}

.hero-owner-dashboard__tab.is-active {
  background: rgba(37, 99, 235, 0.10);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.hero-owner-dashboard__panel {
  display: none;
}

.hero-owner-dashboard__panel.is-active {
  display: block;
}

.hero-owner-dashboard__state {
  display: none;
}

.hero-owner-dashboard__state.is-active {
  display: block;
}

.hero-chaos-grid,
.hero-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-kpi-grid--compact,
.hero-chaos-grid {
  grid-template-columns: 1fr;
}

.hero-chaos-card,
.hero-kpi-card {
  padding: 14px 14px 13px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.hero-chaos-card--bad,
.hero-kpi-card--bad {
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.06), rgba(255,255,255,1));
  border-color: rgba(239, 68, 68, 0.10);
}

.hero-kpi-card--accent {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255,255,255,1));
  border-color: rgba(37, 99, 235, 0.12);
}

.hero-chaos-card__label,
.hero-kpi-card__label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-chaos-card__value,
.hero-kpi-card__value {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-chaos-card__note,
.hero-kpi-card__delta {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.hero-chaos-card__note {
  color: var(--text-soft);
}

.hero-kpi-card__delta.is-positive {
  color: #15803d;
}

.hero-kpi-card__delta.is-negative {
  color: #b91c1c;
}

.hero-progress {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-top: 2px;
}

.hero-progress__bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
}

.hero-progress__bar--bad {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.hero-dashboard-list {
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  margin-bottom: 12px;
}

.hero-dashboard-list--compact .hero-dashboard-list__row {
  padding: 8px 0;
}

.hero-dashboard-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.hero-dashboard-list__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-dashboard-list__row strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.hero-dashboard-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.14);
  margin-bottom: 12px;
}

.hero-dashboard-alert--bad {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.12);
}

.hero-dashboard-alert__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
}

.hero-dashboard-alert--bad .hero-dashboard-alert__dot {
  background: #ef4444;
}

.hero-dashboard-alert__text {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.hero-owner-dashboard__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255,255,255,0.98));
  border: 1px solid rgba(37, 99, 235, 0.10);
}

.hero-owner-dashboard__cta-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.hero-owner-dashboard__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  width: fit-content;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.hero-owner-dashboard__cta-link:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .hero-owner-dashboard__tabs {
    flex-wrap: wrap;
  }
}

/* more compact hero dashboard */
.hero {
  padding: 30px 0 72px;
}

.hero-owner-dashboard {
  padding: 14px;
}

.hero-owner-dashboard__head {
  margin-bottom: 10px;
}

.hero-owner-dashboard__switch-label {
  margin-bottom: 4px;
}

.hero-owner-dashboard__mode-switch {
  margin-bottom: 10px;
  padding: 5px;
}

.hero-owner-dashboard__mode {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.hero-owner-dashboard__tabs {
  margin-bottom: 10px;
}

.hero-owner-dashboard__tab {
  min-height: 32px;
  padding: 0 11px;
  font-size: 11px;
}

.hero-chaos-grid,
.hero-kpi-grid {
  gap: 8px;
  margin-bottom: 10px;
}

.hero-chaos-card,
.hero-kpi-card {
  padding: 12px 12px 11px;
}

.hero-chaos-card__value,
.hero-kpi-card__value {
  font-size: 21px;
}

.hero-chaos-card__note,
.hero-kpi-card__delta {
  font-size: 11px;
}

.hero-dashboard-list {
  padding: 12px;
  margin-bottom: 10px;
}

.hero-dashboard-list__row {
  font-size: 12px;
}

.hero-dashboard-list__row strong {
  font-size: 12px;
}

.hero-dashboard-alert {
  padding: 10px 12px;
  margin-bottom: 10px;
}

.hero-dashboard-alert__text {
  font-size: 12px;
}

.hero-owner-dashboard__cta {
  padding: 12px;
  gap: 8px;
}

.hero-owner-dashboard__cta-text {
  font-size: 13px;
}

.hero-owner-dashboard__cta-link {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .task-types-home {
    padding: 72px 0;
  }

  .task-types-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .task-type-card {
    width: 100%;
    min-width: 0;
    padding: 24px;
  }

  .task-type-card__title {
    font-size: 22px;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .task-type-card__text {
    font-size: 16px;
    line-height: 1.75;
  }

  .task-type-card__link {
    margin-top: 8px;
  }

  .materials-home {
    padding: 72px 0;
  }

  .materials-home__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .materials-home__more {
    align-self: flex-start;
  }

  .materials-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .material-card {
    width: 100%;
    min-width: 0;
    padding: 24px;
  }

  .material-card__title {
    font-size: 22px;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .material-card__text {
    font-size: 16px;
    line-height: 1.75;
  }

  .related {
    padding: 56px 0;
  }

  .related__title {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .related__grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .related__item {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 18px 20px;
    border-radius: 18px;
    font-size: 18px;
    line-height: 1.4;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .blog-card {
    width: 100%;
    min-width: 0;
    padding: 24px;
  }

  .blog-card__title {
    font-size: 22px;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .blog-card__title a {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .blog-card__text {
    font-size: 16px;
    line-height: 1.75;
  }

  .blog-card__link {
    margin-top: 8px;
  }

  .telegram-posts,
  .telegram-feed,
  .telegram-block {
    padding: 72px 0;
  }

  .telegram-posts__head,
  .telegram-feed__head,
  .telegram-block__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .telegram-posts__grid,
  .telegram-feed__grid,
  .telegram-block__grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .telegram-posts__grid > *,
  .telegram-feed__grid > *,
  .telegram-block__grid > * {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }

  .telegram-posts iframe,
  .telegram-feed iframe,
  .telegram-block iframe,
  .telegram-posts .tgme_widget_message,
  .telegram-feed .tgme_widget_message,
  .telegram-block .tgme_widget_message {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}