/* Svereno landing — Golos Text, beige/white/black, rounded, плашки и карточки */

:root {
  --color-bg: #faf9f7;
  --color-bg-alt: #f5f3ee;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-accent: #1a1a1a;
  --color-border: #e8e6e3;
  --color-border-soft: #ebe9e6;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --font: "Golos Text", system-ui, -apple-system, sans-serif;
  --max-width: 720px;
  --max-width-wide: 960px;
  --header-height: 64px;
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --touch-target: 44px;
}

@media (max-width: 640px) {
  :root {
    --max-width-wide: 100%;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

@media (max-width: 480px) {
  .container,
  .container--wide {
    padding: 0 16px;
  }
}

.container--wide {
  max-width: var(--max-width-wide);
}

/* Header — сквозное меню с ховер-эффектами */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  padding-top: env(safe-area-inset-top, 0);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: background 0.2s, box-shadow 0.2s;
}

.header:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 4px;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.03em;
  padding: 0.5rem 0.25rem;
  margin: 0 -0.25rem;
  border-radius: var(--radius);
  transition: color 0.2s, transform 0.15s;
}

.logo:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.logo:active {
  transform: translateY(0);
}

/* Hamburger: hidden on desktop, shown on mobile */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-burger:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.nav-burger__icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s, background 0.2s;
}

.nav-burger__icon::before,
.nav-burger__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}

.nav-burger__icon::before {
  top: -7px;
}

.nav-burger__icon::after {
  top: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav__link,
.nav__trigger {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
}

.nav__trigger {
  white-space: nowrap;
}

.nav__link::before,
.nav__trigger::before {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__trigger:hover {
  color: var(--color-text);
}

.nav__link:hover::before,
.nav__item--dropdown:hover .nav__trigger::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link:active,
.nav__trigger:active {
  background: var(--color-bg-alt);
}

/* Dropdown arrow: visible chevron, rotates when open */
.nav__arrow {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.4em;
  vertical-align: middle;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.nav__item--dropdown:hover .nav__arrow {
  transform: rotate(-135deg);
}

/* Dropdown */
.nav__item {
  position: relative;
  flex-shrink: 0;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin-top: 0;
  padding: 0.5rem 0;
  padding-top: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 20;
  list-style: none;
  pointer-events: none;
}

/* Invisible bridge so hover doesn't break when moving mouse from trigger to dropdown */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__item--dropdown:hover .nav__dropdown {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav__dropdown a:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.nav__dropdown a:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.nav__dropdown a:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

.nav__link--cta {
  margin-left: 0.25rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #fff !important;
}

.nav__link--cta::before {
  display: none;
}

.nav__link--cta:hover {
  background: var(--color-text);
  color: #fff !important;
}

/* Hero — минималистичный фон в духе OpenAI */
.hero {
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 100% at 50% -20%, rgba(230, 227, 220, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 50%, rgba(228, 225, 218, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 15% 90%, rgba(225, 222, 215, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  pointer-events: none;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Decorative layer: soft grain-like gradient (no external image to avoid load failures) */
  background:
    radial-gradient(ellipse 100% 80% at 50% 20%, rgba(240, 238, 232, 0.6) 0%, transparent 45%),
    radial-gradient(ellipse 60% 100% at 80% 60%, rgba(235, 232, 226, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-soft), transparent);
  opacity: 0.6;
  z-index: 1;
}

.hero__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__badges {
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.hero__subtitle {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

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

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

/* About — отдельный блок, нормальная высота, дизайнерская карточка */
.about-screen {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  position: relative;
}

.about-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--color-border-soft) 50%, transparent 90%);
  opacity: 0.8;
}

.about-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-text-muted) 100%);
  border-radius: 4px 0 0 4px;
}

.about-card__mark {
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-border);
  font-family: Georgia, serif;
}

.about-card__title {
  margin: 0 0 1.25rem;
  padding-left: 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

.about-card__text {
  margin: 0 0 1.5rem;
  padding-left: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  position: relative;
}

.about-card__highlight {
  font-style: italic;
  color: var(--color-text-muted);
  background: linear-gradient(180deg, transparent 60%, var(--color-bg-alt) 60%);
  padding: 0 0.15em;
}

.about-card__dots {
  display: flex;
  gap: 0.5rem;
  padding-left: 0.5rem;
  position: relative;
}

.about-card__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
}

.about-card__dots span:nth-child(1) { opacity: 0.4; }
.about-card__dots span:nth-child(2) { opacity: 0.7; }
.about-card__dots span:nth-child(3) { opacity: 1; }

/* Sections */
.section {
  padding: 4rem 0;
}

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

.section__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose {
  margin: 0;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--lead {
  max-width: 640px;
}

.prose--lead p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Trust section — плашки */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 620px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card--wide {
    grid-column: 1;
  }
}

.trust-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.trust-card:hover {
  border-color: var(--color-border-soft);
  box-shadow: var(--shadow-card);
}

.trust-card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.trust-card--wide .trust-card__icon {
  margin-bottom: 0;
}

.trust-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trust-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Problem section — двухколоночный layout + плашка */
.problem-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .problem-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.problem-layout__main {
  min-width: 0;
}

.aside-plate {
  padding: 1.5rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.aside-plate__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Steps — карточки */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps--cards {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.step:last-child {
  border-bottom: none;
}

.step--card {
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border-bottom: none;
  transition: box-shadow 0.2s;
}

.step--card:hover {
  box-shadow: var(--shadow-card);
}

.step__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
}

.step__body {
  flex: 1;
  min-width: 0;
}

.step__body strong {
  display: block;
  margin-bottom: 0.35rem;
}

.step__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.step strong {
  font-weight: 600;
}

/* Benefits */
.benefits {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s;
}

.benefit-card:hover {
  box-shadow: var(--shadow-card);
}

.benefit-card__header {
  margin-bottom: 0.75rem;
}

.benefit-card__icon {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.benefit-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.benefit-card__text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Кейс Plotno — перевёрстанный экран */
.case-screen {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.case-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.case-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-text-muted) 100%);
  border-radius: 4px 0 0 4px;
}

.case-block__brand {
  padding-left: 0.5rem;
}

.case-block__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.case-block__name {
  margin: 0 0 0.25rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.case-block__tagline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.case-block__content {
  padding-right: 0.5rem;
}

.case-block__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-block__text {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.case-block__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s, gap 0.2s;
}

.case-block__link:hover {
  color: var(--color-text-muted);
  gap: 0.5rem;
}

.case-block__link::after {
  content: "→";
}

@media (max-width: 680px) {
  .case-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
  }

  .case-block__brand {
    padding-left: 0.75rem;
    border-left: 3px solid var(--color-border);
  }

  .case-block::before {
    display: none;
  }

  .case-block__content {
    padding-right: 0;
  }
}

/* Social proof — карточка (оставляем для внутренних страниц) */
.proof-card {
  max-width: 520px;
  margin-top: 0.5rem;
  padding: 2rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.proof-card__brand {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.proof-card__text {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* CTA блок — написать в Telegram */
.cta-block {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.cta-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.75rem 2.25rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-card), 0 8px 32px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.cta-card__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.cta-card__text {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.cta-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
  background: #fff;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.cta-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Footer — полноценный многоколоночный футер */
.footer {
  margin-top: auto;
  padding: 3.5rem 0 2rem;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-text-muted) 100%);
  opacity: 0.35;
}

.footer__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border-soft);
  margin-bottom: 1.5rem;
}

.footer__col-title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

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

.footer__links li {
  margin: 0 0 0.5rem;
}

.footer__links a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.15rem 0;
  position: relative;
  transition: color 0.2s;
}

.footer__links a::after {
  content: "";
  position: absolute;
  bottom: 0.1rem;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-text);
}

.footer__links a:hover::after {
  width: 100%;
}

.footer__contact-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer__contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer__contact-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.footer__contact-btn:active {
  transform: translateY(0);
}

.footer__bottom {
  text-align: center;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.footer__copy {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer__tagline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__col:last-child {
    padding-bottom: 0;
  }

  .footer__contact-btn {
    margin: 0 auto;
  }
}

/* Inner pages — hero and CTA */
.page-main {
  padding-bottom: 3rem;
}

.page-hero {
  padding: 3rem 0 2rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border-soft);
}

.page-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero__lead {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.cta-inline {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}

.cta-inline__text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Privacy page — long prose */
.privacy-body {
  max-width: 640px;
  margin: 0 auto;
}

.privacy-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.privacy-body h2:first-child {
  margin-top: 0;
}

.privacy-body p,
.privacy-body ul {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.privacy-body ul {
  padding-left: 1.5rem;
}

.privacy-body a {
  color: var(--color-text);
  text-decoration: underline;
}

.privacy-body a:hover {
  color: var(--color-text-muted);
}

/* ========== Mobile & tablet: best practices ========== */

/* Tablet and below: общие уменьшения отступов и типографики */
@media (max-width: 640px) {
  body {
    font-size: 17px;
    line-height: 1.55;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section--alt {
    padding: 2.75rem 0;
  }

  .section__title {
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    margin-bottom: 1.25rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .about-screen {
    padding: 2.5rem 0;
  }

  .about-card {
    padding: 1.75rem 1.25rem;
  }

  .about-card__mark {
    font-size: 3rem;
    top: 0.5rem;
    left: 1rem;
  }

  .about-card__title {
    font-size: 1.5rem;
  }

  .about-card__text {
    font-size: 1rem;
  }

  .cta-block {
    padding: 3rem 0 3.5rem;
  }

  .cta-card {
    padding: 2rem 1.5rem;
  }

  .cta-card__title {
    font-size: 1.35rem;
  }

  .cta-card__btn {
    min-height: var(--touch-target);
    padding: 0.75rem 1.5rem;
  }

  .btn--lg {
    min-height: var(--touch-target);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer__grid {
    gap: 1.75rem;
    padding-bottom: 2rem;
    margin-bottom: 1.25rem;
  }

  .footer__col-title {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .footer__links a {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    min-height: var(--touch-target);
    display: inline-flex;
    align-items: center;
  }

  .footer__contact-btn {
    min-height: var(--touch-target);
    padding: 0.75rem 1.5rem;
  }

  .footer__copy,
  .footer__tagline {
    font-size: 0.875rem;
  }

  .footer__tagline {
    max-width: 100%;
    padding: 0 0.5rem;
  }
}

/* Footer: улучшенная мобильная вёрстка */
@media (max-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding-bottom: 2rem;
  }

  .footer__col {
    padding: 0;
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .footer__links li {
    margin: 0;
    width: 100%;
    max-width: 200px;
  }

  .footer__links a {
    justify-content: center;
    width: 100%;
  }

  .footer__contact-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .footer__contact-btn {
    margin: 0 auto;
  }
}

/* Phone: гамбургер, лого и иконка в одну строку, меню раскрывается */
@media (max-width: 560px) {
  .header {
    min-height: auto;
  }

  .header__inner {
    flex-wrap: wrap;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    min-height: auto;
    gap: 0;
  }

  .logo {
    font-size: 1.2rem;
    padding: 0.5rem 0.25rem;
    padding-left: 0;
    min-height: var(--touch-target);
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-burger {
    display: flex;
    flex-shrink: 0;
  }

  .nav {
    width: 100%;
    flex: 1 1 100%;
    order: 10;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
    border-top: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    transition: max-height 0.3s ease;
    background: transparent;
  }

  .nav-toggle:checked ~ .nav {
    max-height: 85vh;
    overflow-y: auto;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--color-border-soft);
    margin-top: 0.25rem;
  }

  .nav-toggle:checked ~ .nav-burger .nav-burger__icon {
    background: transparent;
  }

  .nav-toggle:checked ~ .nav-burger .nav-burger__icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-burger .nav-burger__icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav__link,
  .nav__trigger {
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    border-radius: 0;
    box-sizing: border-box;
  }

  .nav__link::before,
  .nav__trigger::before {
    left: 1rem;
    right: 1rem;
    bottom: 0.5rem;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link--cta {
    padding: 0.65rem 1rem;
    margin: 0.25rem 0.5rem 0 0;
    border-radius: var(--radius);
    width: auto;
  }

  .nav__dropdown {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 1rem;
    box-shadow: none;
    border: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    background: var(--color-bg-alt);
  }

  .nav__item--dropdown:focus-within .nav__dropdown,
  .nav__item--dropdown:hover .nav__dropdown {
    max-height: 400px;
  }

  .nav__dropdown a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero__badges {
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.875rem;
  }

  .trust-card {
    padding: 1.25rem 1rem;
  }

  .trust-card__title {
    font-size: 0.95rem;
  }

  .trust-card__text {
    font-size: 0.875rem;
  }

  .step--card {
    padding: 1rem 1.25rem;
  }

  .step__body {
    font-size: 0.95rem;
  }

  .benefit-card {
    padding: 1.5rem 1.25rem;
  }

  .benefit-card__text {
    font-size: 0.9rem;
  }

  .case-screen {
    padding: 2.5rem 0;
  }
}

/* Очень маленькие экраны: базовая типографика без зума на iOS */
@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero__title {
    font-size: 1.65rem;
  }

  .section__title {
    font-size: 1.3rem;
  }
}
