/* Голосовой помощник — ретро-лендинг */

:root {
  --cream: #f4e9d5;
  --cream-dark: #e8dcc8;
  --paper: #ebe3d0;
  --teal: #2d5a5e;
  --teal-light: #3d6b6f;
  --orange: #d85427;
  --orange-hover: #c04a22;
  --brown: #3a3028;
  --brown-light: #5c4f42;
  --bar-bg: #d9cbb3;
  --card-bg: #f0e6d4;
  --illust-bg: #f4e4c5;
  --white: #fffaf2;
  --shadow: 0 3px 12px rgba(58, 48, 40, 0.12);
  --border: 2px solid rgba(45, 90, 94, 0.35);
  --radius: 10px;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'PT Sans', 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--brown);
  background-color: var(--cream);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

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

/* ── Кнопки ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn--orange {
  background: var(--orange);
  color: #fff;
  padding: 12px 28px;
  font-size: 0.95rem;
}
.btn--orange:hover { background: var(--orange-hover); }
.btn--large {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 28px;
}

/* ── Заголовки секций ── */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

/* ── Чеклист ── */
.checklist { list-style: none; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  border-radius: 50%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  mask-size: 12px;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  -webkit-mask-size: 12px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.checklist--teal li::before { background: var(--teal-light); }

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 233, 213, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(45, 90, 94, 0.15);
  padding: 12px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--cream);
  border-radius: 4px;
}
.logo__text { line-height: 1.15; }
.logo__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.logo__sub {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--orange);
  text-transform: lowercase;
}
.nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
  justify-content: center;
}
.nav a {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brown);
  transition: color 0.2s;
}
.nav a:hover { color: var(--orange); }
.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  padding: 48px 0 32px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.hero__title span { color: var(--orange); }
.hero__desc {
  font-size: 1rem;
  color: var(--brown-light);
  margin-bottom: 20px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
}
.hero__note-anchor {
  position: relative;
  display: inline-block;
}
.hero__arrow {
  position: absolute;
  right: -0.35em;
  bottom: 100%;
  width: 79px;
  height: 17px;
  margin-bottom: 0;
  overflow: visible;
  pointer-events: none;
}
.hero__arrow-path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__note {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--brown);
  position: relative;
  z-index: 1;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero__actions .btn {
  flex-shrink: 0;
}
.hero__visual {
  position: relative;
}
.hero__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute;
  bottom: 12%;
  left: -8px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  box-shadow: var(--shadow);
  max-width: 160px;
  text-align: center;
}

/* ── FEATURES BAR ── */
.features-bar {
  background: var(--bar-bg);
  border-top: 1px solid rgba(58, 48, 40, 0.1);
  border-bottom: 1px solid rgba(58, 48, 40, 0.1);
  padding: 20px 0;
}
.features-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid rgba(58, 48, 40, 0.15);
}
.feature-item:last-child { border-right: none; }
.feature-item__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  object-fit: contain;
  flex-shrink: 0;
}
.feature-item__title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.feature-item__sub {
  font-size: 0.75rem;
  color: var(--brown-light);
  line-height: 1.3;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 56px 0 40px;
  background: var(--bar-bg);
}
.how-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  background-color: var(--illust-bg);
  border: 1px solid rgba(58, 48, 40, 0.14);
  border-radius: var(--radius);
  padding: 24px 16px 28px;
  box-shadow: 0 4px 20px rgba(58, 48, 40, 0.12);
}
.how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0 6px;
}
.how-step__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  min-height: 72px;
}
.how-step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(216, 84, 39, 0.35);
  margin-top: 2px;
}
.how-step__text {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.how-step__title {
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  font-weight: 700;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.how-step__desc {
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  color: var(--brown-light);
  line-height: 1.35;
}
.how-step__illust {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: auto auto 0;
  object-fit: contain;
}
.how-flow__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
  padding: 0 2px;
  margin-top: 48px;
  opacity: 0.55;
}

/* ── WHY CONVENIENT ── */
.why {
  padding: 40px 0 56px;
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.why__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why__card {
  background: var(--card-bg);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

/* ── USE CASES ── */
.use-cases {
  padding: 56px 0;
  background: rgba(232, 220, 200, 0.4);
}
.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.use-card {
  background: var(--white);
  border: 1px solid rgba(45, 90, 94, 0.2);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.use-card:hover { transform: translateY(-3px); }
.use-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}
.use-card__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.use-card__desc {
  font-size: 0.78rem;
  color: var(--brown-light);
  line-height: 1.4;
}

/* ── CAPABILITIES ── */
.capabilities {
  padding: 56px 0;
}
.capabilities__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cap-card {
  background: var(--card-bg);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}
.cap-card__content { min-width: 0; }
.cap-card__img {
  width: 140px;
  flex-shrink: 0;
  align-self: start;
}
.cap-card__bubble {
  grid-column: 1 / -1;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  padding: 10px 18px;
  border-radius: 20px 20px 20px 4px;
  margin-top: 8px;
  max-width: 280px;
}

/* ── CTA / FORM ── */
.cta-section {
  padding: 56px 0 32px;
}
.cta-section__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.cta-form {
  background: var(--card-bg);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.cta-form__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.3;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--brown);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(45, 90, 94, 0.3);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.cta-form .btn { width: 100%; margin-top: 8px; border-radius: 8px; }
.cta-form .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.cta-form__status {
  text-align: center;
  color: var(--brown-light);
  padding: 24px 0;
}
.cta-form__error {
  color: #b33a28;
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.cta-auth {
  background: rgba(45, 90, 94, 0.1);
  border: 1px solid rgba(45, 90, 94, 0.25);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 18px;
}
.cta-auth__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  margin-bottom: 6px;
}
.cta-auth__number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.02em;
}
.cta-auth__expires {
  font-size: 0.78rem;
  color: var(--brown-light);
  margin-top: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-hint {
  font-size: 0.78rem;
  color: var(--brown-light);
  line-height: 1.4;
  margin-bottom: 12px;
}
.cta-form__success {
  text-align: center;
  padding: 12px 0 4px;
}
.cta-form__success-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cta-form__success-text {
  font-size: 0.95rem;
  color: var(--brown);
  margin-bottom: 8px;
}
.cta-form__reset {
  margin-top: 16px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--brown-light);
  text-decoration: underline;
  cursor: pointer;
}
.cta-form__reset:hover { color: var(--brown); }

.test-steps {
  background: var(--card-bg);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.test-steps__item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.test-steps__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.test-steps__text {
  font-size: 0.9rem;
  padding-top: 4px;
}
.test-steps__text strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--teal);
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.cta-note {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}
.sticky-note {
  position: relative;
  width: 220px;
  min-height: 200px;
  background: linear-gradient(145deg, #ffe566 0%, #f5d020 45%, #e8c010 100%);
  padding: 36px 20px 28px;
  box-shadow:
    3px 4px 12px rgba(58, 48, 40, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: rotate(-2deg);
}
.sticky-note::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, transparent 50%, rgba(180, 150, 40, 0.35) 50%);
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.1);
}
.sticky-note__pin {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 35% 30%, #ff6b5a, #d63030);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.sticky-note__pin::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: #999;
}
.sticky-note__text {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--brown);
  line-height: 1.35;
  text-align: center;
  margin: 0;
}
.sticky-note__label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
}

/* ── FOOTER BAR ── */
.footer-bar {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(58, 48, 40, 0.12);
}
.footer-bar__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-features {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}
.footer-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--brown-light);
}
.footer-feat img { width: 28px; height: 28px; }
.footer-russia {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--brown-light);
}
.footer-russia img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero__grid,
  .why__grid,
  .capabilities__grid { grid-template-columns: 1fr; }
  .cta-section__grid { grid-template-columns: 1fr 1fr; }
  .cta-note { grid-column: 1 / -1; }
  .use-cases__grid { grid-template-columns: repeat(2, 1fr); }
  .features-bar__grid { grid-template-columns: repeat(3, 1fr); }
  .feature-item:nth-child(3) { border-right: none; }
  .feature-item:nth-child(4),
  .feature-item:nth-child(5) { border-top: 1px solid rgba(58,48,40,0.15); }
  .how-flow { flex-wrap: wrap; justify-content: center; padding: 20px 12px; }
  .how-step { flex: 1 1 42%; min-width: 200px; }
  .how-flow__arrow { display: none; }
  .how-step__illust { max-width: 130px; }
  .cap-card { grid-template-columns: 1fr; }
  .cap-card__img { width: 120px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .header__inner { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .nav { display: none; width: 100%; }
  .burger { display: flex; margin-left: auto; }
  .header__cta { font-size: 0.78rem; padding: 10px 16px; }
  .nav--open {
    display: flex;
    flex-direction: column;
    order: 3;
    padding: 12px 0;
    border-top: 1px solid rgba(45,90,94,0.15);
  }
  .how-flow { flex-direction: column; padding: 20px 16px; }
  .how-step { flex: 1 1 auto; padding: 0 0 8px; }
  .how-flow__arrow { display: flex; transform: rotate(90deg); margin: 0 auto; }
  .how-step__head { min-height: auto; }
  .how-step__illust { max-width: 180px; }
  .features-bar__grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(58,48,40,0.15); }
  .feature-item:last-child { border-bottom: none; }
  .cta-section__grid { grid-template-columns: 1fr; }
  .footer-bar__grid { flex-direction: column; text-align: center; }
  .footer-features { justify-content: center; }
  .hero__badge { position: static; margin-top: 12px; }
}

@media (max-width: 480px) {
  .use-cases__grid { grid-template-columns: 1fr; }
}
