/* ==========================================================================
   «Турецкий гайд» — современный городской путеводитель по Стамбулу
   Mobile-first адаптивные стили
   ========================================================================== */

:root {
  --bg: #FAF7F2;
  --bg-subtle: #F2EBE0;
  --surface: #FFFFFF;
  --surface-warm: #F6EFE6;

  --text: #1A2328;
  --text-secondary: #48565E;
  --text-muted: #68767E;

  --accent: #0E5A61;
  --accent-hover: #09454B;
  --accent-soft: #E5F1F2;
  --accent-border: #B8D8DA;

  --warm-accent: #8F4A2B;
  --warm-accent-hover: #733A20;
  --warm-border: #DFC7B2;

  --whatsapp: #147346;
  --whatsapp-hover: #0E5B37;
  --telegram: #1B6DA3;
  --telegram-hover: #145682;

  --border: #E5DDD2;
  --border-strong: #D4C8B9;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(26, 35, 40, 0.05);
  --shadow-md: 0 10px 30px rgba(26, 35, 40, 0.08);
  --shadow-sheet: 0 -8px 36px rgba(17, 24, 28, 0.22);

  --container: 1060px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.sheet-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

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

/* ==========================================================================
   Кнопки
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(1px);
}

.btn-full {
  width: 100%;
}

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

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

.btn-secondary {
  background-color: var(--warm-accent);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--warm-accent-hover);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.btn-telegram {
  background-color: var(--telegram);
  color: #FFFFFF;
}

.btn-telegram:hover {
  background-color: var(--telegram-hover);
}

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

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   1. Первый экран — видео-знакомство
   ========================================================================== */

.hero {
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: 32px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.video-card {
  /* Ширина привязана к пропорциям ролика 9:16 — никаких чёрных полос по бокам */
  width: min(100%, max(268px, calc(58svh * 9 / 16)));
  max-width: 320px;
  background: #141C21;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 35, 40, 0.12);
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--video-aspect, 9 / 16);
  background: #11181C;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #11181C;
}

.intro-video::cue {
  background: rgba(17, 24, 28, 0.82);
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Обложка при заблокированном автозапуске */
.video-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 28, 0.58);
  padding: 20px;
  z-index: 3;
}

.video-poster-overlay[hidden] {
  display: none;
}

.video-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.video-poster-play {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.video-poster-play:hover {
  background: var(--bg);
}

.video-poster-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* Режим предпросмотра (пока не добавлен видеофайл) */
.video-preview-stage {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 20% 15%, rgba(14, 90, 97, 0.45), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(143, 74, 43, 0.35), transparent 50%),
    linear-gradient(165deg, #17272E 0%, #111A20 100%);
  color: #F4F1EC;
}

.video-preview-stage[hidden] {
  display: none;
}

.preview-top-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 500;
  color: #E7ECEF;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #48C7B2;
}

.video-preview-stage.is-paused .preview-dot {
  background: #C49A6C;
}

.preview-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding-inline: 8px;
}

.preview-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DCE8EA;
}

.preview-author {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.preview-hint {
  margin: 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(244, 241, 236, 0.78);
}

.preview-hint code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.preview-subtitles-zone {
  width: 100%;
  display: flex;
  justify-content: center;
}

.preview-subtitle-line {
  margin: 0;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(11, 17, 20, 0.82);
  color: #FFFFFF;
  font-size: 13.5px;
  line-height: 1.4;
  text-align: center;
}

/* Панель управления видео — строго под кадром */
.video-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: #182228;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.video-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.video-ctrl-sound {
  flex: 1 1 auto;
  background: var(--accent);
  border-color: var(--accent);
}

.video-ctrl-sound:hover {
  background: var(--accent-hover);
}

.video-ctrl-sound[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.ctrl-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* Текст под видео */
.hero-copy {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  order: 1;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-title {
  order: 2;
  margin: 0 0 8px;
  font-size: clamp(28px, 6.5vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-lead {
  order: 3;
  margin: 0 0 16px;
  font-size: clamp(15.5px, 3.8vw, 18px);
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-actions {
  order: 4;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-cta {
  width: 100%;
  max-width: 340px;
}

.hero-secondary {
  display: none;
}

.hero-highlights {
  order: 5;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  text-align: left;
}

.hero-highlights li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-hl-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.hero-hl-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Общие секции
   ========================================================================== */

.section {
  padding-block: 44px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 5.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

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

/* ==========================================================================
   2. Три основных тарифа
   ========================================================================== */

.tariffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.tariff-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.tariff-card--featured {
  border-color: var(--accent-border);
  box-shadow: 0 8px 26px rgba(14, 90, 97, 0.09);
  background: linear-gradient(180deg, #FBFDFD 0%, #FFFFFF 28%);
}

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

.tariff-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.tariff-name {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}

.tariff-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.tariff-tag--accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.tariff-price {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.tariff-price--custom {
  font-size: 22px;
  line-height: 1.25;
}

.tariff-situation {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}

.tariff-features {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.tariff-features li {
  position: relative;
  padding-left: 18px;
}

.tariff-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.tariff-features strong {
  color: var(--text);
  font-weight: 600;
}

.tariff-note {
  margin: 0 0 18px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border-left: 3px solid var(--border-strong);
  font-size: 13px;
  line-height: 1.48;
  color: var(--text-muted);
}

.tariff-footer {
  margin-top: auto;
  padding-top: 6px;
}

.tariffs-help {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tariffs-help-text {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.link-help {
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--accent);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.link-help:hover {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

/* ==========================================================================
   3. Содержание видеогайда
   ========================================================================== */

.contents-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.topics-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.topic-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.topic-text {
  padding-top: 4px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

/* ==========================================================================
   4. Отдельная услуга — почасовая помощь в Стамбуле
   ========================================================================== */

.hourly-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 20px;
  background: var(--surface-warm);
  border: 1.5px solid var(--warm-border);
  border-radius: var(--radius-lg);
}

.hourly-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--warm-border);
  color: var(--warm-accent);
  font-size: 12.5px;
  font-weight: 600;
}

.hourly-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 5.2vw, 28px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
}

.hourly-cases {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hourly-cases li {
  padding: 7px 12px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--warm-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.hourly-terms {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.hourly-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: #FFFFFF;
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-md);
}

.hourly-price-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hourly-price {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--warm-accent);
}

.hourly-price span {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   5. Частые вопросы (FAQ)
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--accent-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: rgba(229, 241, 242, 0.35);
}

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-chevron::before {
  transform: translate(-50%, -50%);
}

.faq-chevron::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-chevron::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   6. Завершающий призыв и подвал
   ========================================================================== */

.final-cta-section {
  padding-top: 20px;
  padding-bottom: 48px;
}

.final-cta-card {
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.final-cta-title {
  margin: 0 auto 10px;
  max-width: 560px;
  font-size: clamp(21px, 5vw, 27px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.final-cta-text {
  margin: 0 auto 22px;
  max-width: 480px;
  font-size: 15px;
  color: var(--text-secondary);
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding-block: 22px;
  padding-bottom: max(22px, env(safe-area-inset-bottom));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-brand {
  font-weight: 600;
  color: var(--text);
}

.footer-instagram {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-instagram.is-placeholder {
  color: var(--text-muted);
  text-decoration: none;
  cursor: default;
}

/* ==========================================================================
   Нижняя панель / модальное окно выбора мессенджера
   ========================================================================== */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(17, 24, 28, 0.56);
  padding: 0;
}

.sheet-backdrop[hidden] {
  display: none;
}

.sheet-panel {
  width: 100%;
  max-height: 92svh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 22px 22px 0 0;
  padding: 12px 18px max(20px, env(safe-area-inset-bottom));
  box-shadow: var(--shadow-sheet);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--border-strong);
}

.sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sheet-eyebrow {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.sheet-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.sheet-price {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.sheet-price:empty {
  display: none;
}

.sheet-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sheet-close:hover {
  background: var(--bg-subtle);
}

.sheet-body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sheet-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.sheet-textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
}

.sheet-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #FFFFFF;
}

.sheet-copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-copy {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-copy:hover {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
}

.sheet-copy-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.sheet-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  border: 1px solid var(--warm-border);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.sheet-note[hidden] {
  display: none;
}

.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

/* ==========================================================================
   Планшеты и десктоп
   ========================================================================== */

@media (min-width: 640px) {
  .container {
    padding-inline: 24px;
  }

  .topics-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .final-cta-buttons .btn {
    flex: 1 1 0;
  }

  .sheet-backdrop {
    align-items: center;
    padding: 20px;
  }

  .sheet-panel {
    max-width: 500px;
    border-radius: var(--radius-lg);
    padding: 22px 24px 24px;
    box-shadow: 0 24px 60px rgba(17, 24, 28, 0.28);
  }

  .sheet-handle {
    display: none;
  }
}

@media (min-width: 920px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .hero-card {
    display: grid;
    grid-template-columns: 306px minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    padding: 32px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow-md);
  }

  .video-card {
    width: 306px;
    max-width: 306px;
  }

  .hero-copy {
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }

  .hero-lead {
    margin-bottom: 22px;
    max-width: 520px;
  }

  .hero-highlights {
    order: 4;
    margin-bottom: 24px;
    gap: 10px;
  }

  .hero-highlights li {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    background: var(--bg);
    padding: 12px 16px;
  }

  .hero-actions {
    order: 5;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
  }

  .hero-cta {
    width: auto;
    min-width: 220px;
  }

  .hero-secondary {
    display: inline-flex;
    width: auto;
  }

  .section {
    padding-block: 60px;
  }

  .tariffs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .tariff-card {
    padding: 26px 24px;
  }

  .hourly-block {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 34px;
  }

  .hourly-content {
    flex: 1;
    min-width: 0;
  }

  .hourly-action {
    flex: 0 0 260px;
    padding: 22px;
  }

  .final-cta-card {
    padding: 40px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
