/* Hortly.ru – чистый дизайн-слой (без Tailwind/внешних шрифтов) */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #9b0d26;
  --brand-hover: #7d091d;
  --brand-soft: #fdf2f4;
  --brand-border: rgba(155, 13, 38, 0.22);

  --bg-warm: #faf7f5;
  --bg-warm-alt: #f3ece8;
  --bg-white: #ffffff;
  --bg-dark: #222222;
  --bg-dark-card: #2c2c2c;

  --text: #222222;
  --text-muted: #5e5753;
  --text-soft: #7a726d;

  --border: #e9e2de;
  --border-strong: #d4cac4;

  --radius-sm: 10px;
  --radius-btn: 12px;
  --radius-card: 18px;
  --radius-hero: 24px;

  --shadow-sm: 0 4px 14px rgba(34, 24, 20, 0.05);
  --shadow-md: 0 12px 32px rgba(34, 24, 20, 0.08);
  --shadow-lg: 0 20px 48px rgba(34, 24, 20, 0.14);

  --header-h: 76px;
}

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

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

body.hortly-body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.is-hidden {
  display: none !important;
}

.is-rotated {
  transform: rotate(180deg);
}

.sr-only-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Иконки */
.icon-xs {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.icon-sm {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-md {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.icon-lg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* Контейнер и ритм секций */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 68px 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--compact {
  padding: 36px 0 56px;
}

.section--warm {
  background-color: var(--bg-warm);
}

.section--white {
  background-color: var(--bg-white);
}

.section--dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-subtitle {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}

.section-cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* Единая система кнопок (min-height >= 44px для тач-устройств) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--primary {
  background-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(155, 13, 38, 0.22);
}

.btn--primary:hover:not(:disabled) {
  background-color: var(--brand-hover);
}

.btn--dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.btn--dark:hover:not(:disabled) {
  background-color: #111111;
}

.btn--light {
  background-color: #ffffff;
  color: var(--brand);
}

.btn--light:hover:not(:disabled) {
  background-color: var(--bg-warm);
}

.btn--ghost-light {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.btn--ghost-light:hover:not(:disabled) {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--brand);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--outline:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
  background-color: var(--brand-soft);
}

.btn--sm {
  min-height: 44px;
  padding: 9px 16px;
  font-size: 14px;
}

.btn--lg {
  min-height: 50px;
  padding: 13px 26px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.card-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  transition: gap 0.18s ease, color 0.18s ease;
}

.card-more-link:hover {
  color: var(--brand-hover);
  gap: 9px;
}

/* Одноэтажная фиксированная шапка (76px ПК, 64px мобилка) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(34, 24, 20, 0.08);
}

.site-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-logo {
  height: 32px;
  width: auto;
}

.site-tagline {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}

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

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-contacts {
  display: none;
  text-align: right;
  line-height: 1.25;
}

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

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

.header-email {
  display: none;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}

.header-email:hover {
  color: var(--text);
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  background-color: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

.header-cta {
  padding: 9px 14px;
}

.header-cta .label-desktop {
  display: none;
}

.header-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.header-spacer {
  height: var(--header-h);
}

/* Мобильная шторка */
.hortly-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: rgba(20, 16, 15, 0.56);
  display: flex;
}

.hortly-drawer {
  width: 310px;
  max-width: 86vw;
  height: 100%;
  background-color: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.drawer-nav-link:hover {
  background-color: var(--bg-warm);
  color: var(--brand);
}

.drawer-subpages {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-subpages-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.drawer-subpage-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-phone {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
}

.drawer-email {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.drawer-hours {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

/* Главный баннер */
.hero-section {
  padding: 24px 0 52px;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  background-color: #1c1918;
  box-shadow: var(--shadow-lg);
}

.hortly-slide {
  display: none;
  position: relative;
  min-height: 480px;
}

.hortly-slide.is-active {
  display: flex;
  align-items: center;
  animation: hortlyFadeIn 0.32s ease-out both;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 13, 12, 0.9) 0%,
    rgba(16, 13, 12, 0.78) 46%,
    rgba(16, 13, 12, 0.34) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px 20px;
}

.hero-copy {
  max-width: 640px;
  color: #ffffff;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-desc {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hero-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 18px;
  margin-bottom: 24px;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.hero-benefit-num {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #b3122e, #85091e);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background-color: #ffffff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.hero-arrow:hover {
  border-color: var(--brand);
  color: var(--brand);
  background-color: var(--brand-soft);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-dot {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-dot-pill {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--border-strong);
  transition: width 0.22s ease, background-color 0.22s ease;
}

.hero-dot.is-active .hero-dot-pill {
  width: 28px;
  background-color: var(--brand);
}

/* Полоса доверия */
.trust-bar {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trust-item {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background-color: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trust-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.trust-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Для кого подойдёт (6 карточек + горизонтальная 7-я) */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.who-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}

.who-card-media {
  aspect-ratio: 16 / 9;
  background-color: var(--bg-warm-alt);
  overflow: hidden;
}

.who-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.who-card:hover .who-card-media img {
  transform: scale(1.03);
}

.who-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.who-card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.who-card-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  flex: 1;
}

.who-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* 7-я горизонтальная карточка */
.network-card {
  margin-top: 22px;
  background-color: var(--bg-warm);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-hero);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-sm);
}

.network-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-warm-alt);
}

.network-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.network-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.network-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.network-card-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.network-card-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.network-points {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.network-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.network-points li svg {
  color: var(--brand);
}

.network-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Как проходит запуск (4 шага) */
.launch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.launch-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.launch-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--brand);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 14px;
}

.launch-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.launch-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Вкладки iiko */
.features-tabs-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.features-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.features-tabs {
  display: flex;
  gap: 8px;
  width: max-content;
  margin: 0 auto;
  padding: 2px;
}

.feature-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background-color: var(--bg-warm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-tab:hover {
  border-color: var(--brand-border);
  color: var(--text);
}

.feature-tab.is-active {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(155, 13, 38, 0.24);
}

.features-showcase {
  background-color: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr;
}

.feature-panel-media {
  aspect-ratio: 16 / 10;
  background-color: var(--bg-warm-alt);
  overflow: hidden;
}

.feature-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-panel-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-soft);
}

.feature-panel-body {
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: hortlyFadeIn 0.24s ease-out both;
}

.feature-panel-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.feature-panel-desc {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.feature-bullets {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.feature-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--brand);
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Тёмный графитовый блок захвата заявки */
.consult-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.consult-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: rgba(155, 13, 38, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffdce2;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.consult-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
}

.consult-lead {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.consult-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consult-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.consult-point-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #ff6b84;
  margin-top: 2px;
}

.consult-card {
  background-color: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-hero);
  padding: 26px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.consult-card-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.consult-card-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Поля форм (16px минимум, без зума на iOS) */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-label--dark {
  color: rgba(255, 255, 255, 0.88);
}

.hortly-input {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--border-strong);
  background-color: #ffffff;
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.hortly-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(155, 13, 38, 0.16);
}

.hortly-input--dark {
  background-color: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.hortly-input--dark::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hortly-input--dark:focus {
  border-color: #ff6b84;
  box-shadow: 0 0 0 3px rgba(255, 107, 132, 0.22);
}

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hortly-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}

.form-agree-label {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}

.form-agree-label--dark {
  color: rgba(255, 255, 255, 0.72);
}

.link-inline {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: inherit;
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.link-inline--light {
  color: #ff8ca0;
}

/* Тарифы */
.tariffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.tariff-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.tariff-card--featured {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(155, 13, 38, 0.28);
}

.tariff-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tariff-name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.tariff-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.tariff-card--featured .tariff-desc {
  color: rgba(255, 255, 255, 0.86);
}

.tariff-toggle-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  background-color: var(--bg-warm);
  margin-bottom: 16px;
  cursor: pointer;
}

.tariff-card--featured .tariff-toggle-box {
  background-color: rgba(255, 255, 255, 0.14);
}

.tariff-toggle-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.hortly-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.hortly-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.hortly-switch-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.25);
  position: relative;
  transition: background-color 0.2s ease;
}

.tariff-card--featured .hortly-switch-track {
  background-color: rgba(255, 255, 255, 0.28);
}

.hortly-switch input:checked + .hortly-switch-track {
  background-color: #222222;
}

.hortly-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.hortly-switch input:checked + .hortly-switch-track .hortly-switch-thumb {
  transform: translateX(20px);
}

.tariff-price-box {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.tariff-card--featured .tariff-price-box {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.tariff-price-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}

.tariff-card--featured .tariff-price-kicker {
  color: rgba(255, 255, 255, 0.9);
}

.tariff-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tariff-old-price {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--text-soft);
}

.tariff-card--featured .tariff-old-price {
  color: rgba(255, 255, 255, 0.65);
}

.tariff-price {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.tariff-price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.tariff-card--featured .tariff-price-note {
  color: rgba(255, 255, 255, 0.8);
}

.tariff-preamble {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

.tariff-card--featured .tariff-preamble {
  color: #ffffff;
}

.tariff-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.tariff-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.tariff-check {
  color: var(--brand);
  margin-top: 2px;
}

.tariff-card--featured .tariff-check {
  color: #ffffff;
}

/* Таблица сравнения со sticky первой колонкой */
.compare-box {
  margin-top: 44px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.compare-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.compare-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.compare-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table thead th {
  background-color: var(--bg-warm-alt);
  font-weight: 800;
  color: var(--text);
  text-align: center;
}

.compare-table thead th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 3;
  background-color: var(--bg-warm-alt);
  box-shadow: 4px 0 10px rgba(34, 24, 20, 0.05);
}

.compare-group-row td {
  background-color: #ffffff;
}

.compare-group-row td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background-color: #ffffff;
  box-shadow: 4px 0 10px rgba(34, 24, 20, 0.05);
}

.compare-group-row.is-clickable {
  cursor: pointer;
}

.compare-group-row.is-clickable:hover td,
.compare-group-row.is-clickable:hover td:first-child {
  background-color: #fdf9f7;
}

.compare-sub-row td {
  background-color: var(--bg-warm);
  font-size: 13px;
}

.compare-sub-row td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background-color: var(--bg-warm);
  box-shadow: 4px 0 10px rgba(34, 24, 20, 0.05);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
}

.compare-group-name {
  font-weight: 700;
  color: var(--text);
}

.compare-sub-name {
  padding-left: 38px !important;
  color: var(--text-muted);
}

.compare-chevron {
  display: inline-flex;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.compare-cell {
  text-align: center;
}

.cmp-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.cmp-mark--yes {
  background-color: var(--brand-soft);
  color: var(--brand);
}

.cmp-mark--partial {
  background-color: #f0ebe8;
  color: var(--text-muted);
}

.cmp-mark--no {
  color: #bfb5af;
}

.cmp-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background-color: #ffffff;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border: 0;
  background-color: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-trigger:hover {
  background-color: var(--bg-warm);
}

.faq-icon {
  display: inline-flex;
  color: var(--brand);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 20px 18px;
}

.faq-answer {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* О компании */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.about-subtitle {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.about-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.about-stat-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-stat-value {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--brand);
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.about-geo-banner {
  background-color: var(--brand);
  color: #ffffff;
  border-radius: var(--radius-hero);
  padding: 26px 22px;
  text-align: center;
  margin-bottom: 36px;
}

.about-geo-banner p {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.geo-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.geo-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.about-subblock {
  margin-top: 36px;
}

/* Клиенты: монохромные по умолчанию, цвет по hover (центрированные ряды без сироты) */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.client-card {
  flex: 0 1 calc(50% - 7px);
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.client-card img {
  max-height: 54px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.client-card:hover,
.client-card:focus-within {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}

.client-card:hover img,
.client-card:focus-within img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.03);
}

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

.partner-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.partner-card img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.geo-map-frame {
  border-radius: var(--radius-hero);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--bg-warm-alt);
  box-shadow: var(--shadow-sm);
}

.geo-map-canvas {
  width: 100%;
  height: 300px;
}

/* Контакты */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background-color: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.contact-link {
  text-decoration: none;
  transition: color 0.16s ease;
}

.contact-link:hover {
  color: var(--brand);
}

.contacts-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.office-map-card {
  border-radius: var(--radius-hero);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
  box-shadow: var(--shadow-md);
}

.office-map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* Внутренние страницы, хлебные крошки, блог, 404 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs-link {
  text-decoration: none;
}

.breadcrumbs-link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.breadcrumbs-sep {
  color: var(--border-strong);
}

.breadcrumbs-current {
  color: var(--text);
  font-weight: 600;
}

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

.inner-hero-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--text);
}

.inner-hero-lead {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
}

.inner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inner-hero-media {
  border-radius: var(--radius-hero);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.inner-hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.prose h3 {
  margin: 24px 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

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

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.blog-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-date {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.blog-card-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.blog-card-title a {
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--brand);
}

.blog-card-excerpt {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  flex: 1;
}

.article-head {
  max-width: 820px;
}

.article-cover {
  margin-top: 22px;
  border-radius: var(--radius-hero);
  overflow: hidden;
  max-height: 440px;
  box-shadow: var(--shadow-md);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.error-404-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-404-card {
  max-width: 560px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.error-404-code {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 12px;
}

.error-404-title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
}

.error-404-text {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Футер */
.site-footer {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.footer-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  max-width: 280px;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.16s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-phone {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.footer-phone:hover {
  color: #ff8ca0;
}

.footer-meta {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
}

.footer-dev {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-dev-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.footer-dev-link {
  opacity: 0.72;
  transition: opacity 0.18s ease;
}

.footer-dev-link:hover {
  opacity: 1;
}

.footer-dev-logo {
  height: 30px;
  width: auto;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-btn {
  border: 0;
  background: transparent;
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

.footer-legal-btn:hover {
  color: #ffffff;
}

/* Модальные окна */
.hortly-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(16, 13, 12, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hortly-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background-color: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  animation: hortlyFadeIn 0.18s ease-out both;
}

.hortly-modal--wide {
  max-width: 680px;
}

.hortly-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 0;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hortly-modal-close:hover {
  background-color: var(--bg-warm);
  color: var(--text);
}

.modal-head {
  text-align: center;
  margin-bottom: 18px;
}

.modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.modal-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
}

.hortly-legal-scroll {
  margin-top: 14px;
  max-height: 62vh;
  overflow-y: auto;
  padding-right: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  white-space: pre-line;
}

/* Cookie banner и Toast */
.cookie-banner {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 70;
}

.cookie-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cookie-content {
  flex: 1;
}

.cookie-text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.cookie-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hortly-toast-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
  width: calc(100% - 40px);
  pointer-events: none;
}

.hortly-toast {
  pointer-events: auto;
  background-color: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  animation: hortlyFadeIn 0.2s ease-out both;
}

.hortly-toast--error {
  border-left-color: #d93829;
}

.hortly-toast-title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 2px;
}

.hortly-toast-desc {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* Адаптивные брейкпоинты */
@media (max-width: 639px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-section {
    padding: 16px 0 40px;
  }

  .hortly-slide {
    min-height: 440px;
  }
}

@media (min-width: 640px) {
  .header-contacts {
    display: block;
  }

  .header-phone-btn {
    display: none;
  }

  .hero-slide-content {
    padding: 44px 40px;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .who-grid,
  .launch-grid,
  .tariffs-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats-grid,
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-card {
    flex: 0 1 calc(33.333% - 10px);
  }

  .cookie-banner {
    left: auto;
    max-width: 420px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
  }

  .header-burger {
    display: none;
  }

  .site-logo {
    height: 36px;
  }

  .header-cta .label-desktop {
    display: inline;
  }

  .header-cta .label-mobile {
    display: none;
  }

  .hero-slide-content {
    padding: 56px 56px;
  }

  .hortly-slide {
    min-height: 540px;
  }

  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .who-grid,
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .network-card {
    grid-template-columns: 5fr 7fr;
  }

  .network-card-media {
    aspect-ratio: auto;
    min-height: 300px;
  }

  .network-card-body {
    padding: 32px 36px;
  }

  .launch-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-panel {
    grid-template-columns: 1fr 1fr;
  }

  .feature-panel-media {
    aspect-ratio: auto;
    min-height: 390px;
  }

  .feature-panel-body {
    padding: 40px 44px;
  }

  .consult-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
  }

  .consult-card {
    padding: 32px 28px;
  }

  .tariffs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .about-intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .client-card {
    flex: 0 1 calc(16.666% - 12px);
  }

  .geo-map-canvas {
    height: 380px;
  }

  .contacts-grid,
  .inner-hero--split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  }

  .footer-dev {
    align-items: flex-end;
  }
}

@media (min-width: 1120px) {
  .site-tagline {
    display: inline-block;
  }

  .header-email {
    display: block;
  }

  .site-nav {
    gap: 26px;
  }
}
