/* ============================================================
   Swiss Vignette Guide — нейтральный white page
   Версия 2: улучшенный дизайн, мультиязычность (DE/FR/EN)
   Без внешних ассетов, системные шрифты
   ============================================================ */

:root {
  --color-text: #1a2332;
  --color-muted: #5b6472;
  --color-accent: #d52b1e;         /* швейцарский красный */
  --color-accent-dark: #a81f14;
  --color-border: #e6e9ee;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8fa;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 8px 20px -8px rgba(16, 24, 40, 0.14);
  --shadow-lg: 0 24px 48px -16px rgba(16, 24, 40, 0.22);
  --container: 1140px;
  --header-h: 68px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 16px -8px rgba(16, 24, 40, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--color-text);
  white-space: nowrap;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e03226, #b71c12);
  box-shadow: 0 4px 10px -3px rgba(213, 43, 30, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.main-nav a {
  color: var(--color-text);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Переключатель языков */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch a {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch a:hover {
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg-soft);
}

.lang-switch a.active {
  background: var(--color-accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 17px;
  cursor: pointer;
  color: var(--color-text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1000px 400px at 80% -10%, rgba(213, 43, 30, 0.07), transparent 60%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 78%);
  padding: 92px 0 0;
  overflow: hidden;
  text-align: center;
}

/* Hero with full-bleed photo (Google Ads visual impact) */
.hero-visual {
  padding: 0;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #0f172a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 28, 0.55) 0%, rgba(10, 16, 28, 0.72) 45%, rgba(10, 16, 28, 0.92) 100%),
    radial-gradient(700px 320px at 70% 20%, rgba(213, 43, 30, 0.28), transparent 70%);
}

.hero-visual .hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0 48px;
}

.hero-visual .hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}

.hero-visual h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  max-width: 860px;
}

.hero-visual p.lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
}

.hero-visual .hero-note {
  color: rgba(255, 255, 255, 0.65);
}

.hero-visual .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.hero-visual .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--color-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.08); }
}

.hero h1 {
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero p.lead {
  font-size: 19px;
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-muted);
}

/* Trust chips under hero CTA */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hero-trust li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #4ade80;
}

/* Soft fade into next section */
.hero-visual .hero-fade {
  position: relative;
  z-index: 1;
  height: 56px;
  background: linear-gradient(180deg, transparent, #fff);
  margin-top: 8px;
}

/* Декоративные горы внизу hero (fallback) */
.hero-mountains {
  width: 100%;
  height: 120px;
  margin-top: 56px;
}

/* ---------- Media helpers ---------- */

.media-frame {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  background: #e8edf3;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame.ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.media-frame.ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.media-frame.ratio-1x1 {
  aspect-ratio: 1 / 1;
}

.media-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: rgba(16, 21, 29, 0.72);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Split content + image */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-media {
  order: 2;
}

.split.reverse .split-body {
  order: 1;
}

.split-body .prose {
  max-width: none;
  margin: 0;
}

.split-body .kicker {
  margin-bottom: 10px;
}

.split-body h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

/* Format showcase cards (e-vignette vs sticker) */
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 40px auto 0;
}

.format-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.format-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.format-card .format-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8edf3;
}

.format-card .format-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.format-card:hover .format-media img {
  transform: scale(1.04);
}

.format-card .format-body {
  padding: 22px 24px 26px;
}

.format-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.format-card p {
  color: var(--color-muted);
  font-size: 14.5px;
  margin: 0;
}

/* Visual band / gallery strip */
.visual-band {
  padding: 0;
  overflow: hidden;
}

.visual-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visual-band .band-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow-md);
}

.visual-band .band-item.tall {
  min-height: 280px;
  grid-row: span 1;
}

.visual-band .band-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-band .band-item .band-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 18px 16px;
  background: linear-gradient(transparent, rgba(10, 16, 28, 0.78));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* CTA banner for Ads conversion */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(16, 21, 29, 0.88), rgba(16, 21, 29, 0.78)),
    center / cover no-repeat;
  border-radius: calc(var(--radius) + 6px);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #fff;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 26px;
}

.cta-banner .btn-primary {
  box-shadow: 0 10px 28px -6px rgba(213, 43, 30, 0.55);
}

.cta-banner .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sticky floating CTA for mobile Ads traffic */
.float-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(16, 24, 40, 0.35);
  padding: 12px 14px;
  align-items: center;
  gap: 12px;
}

.float-cta .float-cta-text {
  flex: 1;
  min-width: 0;
}

.float-cta .float-cta-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--color-text);
  line-height: 1.25;
}

.float-cta .float-cta-text span {
  font-size: 12px;
  color: var(--color-muted);
}

.float-cta .btn {
  padding: 12px 18px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.float-cta.visible {
  display: flex;
  animation: cookie-in 0.28s ease;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e03226, #b71c12);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(213, 43, 30, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(213, 43, 30, 0.5);
}

.btn-outline {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: #cbd5e1;
  background: var(--color-bg-soft);
  transform: translateY(-1px);
}

/* ---------- Полоса ключевых фактов (карточки поверх hero) ---------- */

.facts {
  background: #fff;
  padding-bottom: 8px;
}

.facts-grid {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.fact-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}

.fact-label {
  font-size: 13.5px;
  color: var(--color-muted);
  margin-top: 4px;
}

/* ---------- Секции ---------- */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--color-muted);
  font-size: 17px;
}

.section h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

/* ---------- Карточки ---------- */

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d8dee6;
}

.card p {
  color: var(--color-muted);
  font-size: 15px;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fdf0ef, #fbe3e1);
  border: 1px solid #f5d5d2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tag-yes {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.tag-no {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.tag-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* ---------- Текстовые блоки ---------- */

.prose {
  max-width: 780px;
  margin: 0 auto;
}

.prose p {
  margin-bottom: 16px;
  color: #374151;
}

.prose ul {
  margin: 0 0 16px 22px;
  color: #374151;
}

.prose li {
  margin-bottom: 10px;
}

/* ---------- Таблица ---------- */

.table-wrap {
  max-width: 780px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 15px 22px;
  border-bottom: 1px solid var(--color-border);
}

th {
  background: var(--color-bg-soft);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tbody tr {
  transition: background 0.12s ease;
}

tbody tr:hover {
  background: #fafbfc;
}

tr:last-child td {
  border-bottom: none;
}

td.price {
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Шаги (таймлайн) ---------- */

.steps {
  max-width: 780px;
  margin: 0 auto;
  counter-reset: step;
  position: relative;
}

.split .steps {
  max-width: none;
  margin: 0;
}

.split .steps::before {
  bottom: 40px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-border), #f0c9c6, var(--color-border));
}

.step {
  position: relative;
  padding: 6px 0 30px 70px;
}

.step:last-child {
  padding-bottom: 0;
}

.step-number {
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 2px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e03226, #b71c12);
  box-shadow: 0 6px 14px -4px rgba(213, 43, 30, 0.5);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number::before {
  content: counter(step);
}

.step h3 {
  margin-bottom: 4px;
  font-size: 17.5px;
}

.step p {
  color: var(--color-muted);
  font-size: 15px;
}

/* ---------- Предупреждение ---------- */

.notice {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fffbeb, #fef6e4);
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 15px;
  color: #78350f;
  box-shadow: var(--shadow-sm);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  color: #92400e;
  font-size: 16px;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.faq details:hover {
  border-color: #d8dee6;
}

.faq details[open] {
  box-shadow: var(--shadow-md);
  border-color: #f0c9c6;
}

.faq summary {
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 17px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.faq .faq-body {
  padding: 0 24px 20px;
  color: var(--color-muted);
  font-size: 15px;
}

/* ---------- Контакты ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}

.contact-info p {
  color: var(--color-muted);
  margin-bottom: 20px;
  font-size: 15px;
}

.contact-info dt {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 14px;
}

.contact-info dd {
  color: var(--color-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(213, 43, 30, 0.14);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 12px;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 14px;
}

.form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 14px;
}

/* Honeypot-поле: скрыто от людей, видно ботам */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn[disabled] {
  opacity: 0.65;
  cursor: default;
  transform: none;
}

/* ---------- Футер ---------- */

.site-footer {
  background: #10151d;
  color: #9aa3b2;
  padding: 56px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.site-footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a {
  color: #9aa3b2;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-disclaimer {
  border-top: 1px solid #232b38;
  padding-top: 24px;
  font-size: 13px;
  line-height: 1.65;
  color: #7c8698;
}

.footer-bottom {
  margin-top: 18px;
  font-size: 13px;
  color: #6b7484;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Cookie-баннер ---------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 390px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  font-size: 14px;
  display: none;
}

.cookie-banner.visible {
  display: block;
  animation: cookie-in 0.3s ease;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cookie-banner p {
  color: var(--color-muted);
  margin-bottom: 14px;
}

.cookie-banner .btn {
  padding: 10px 22px;
  font-size: 14px;
}

/* ---------- Внутренние страницы (privacy / terms) ---------- */

.page-hero {
  background:
    radial-gradient(800px 300px at 70% -20%, rgba(213, 43, 30, 0.06), transparent 60%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 0 44px;
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--color-muted);
  font-size: 15px;
}

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.legal h2 {
  font-size: 20px;
  margin: 36px 0 10px;
}

.legal p, .legal li {
  color: #374151;
  font-size: 15px;
}

.legal p {
  margin-bottom: 12px;
}

.legal ul {
  margin: 0 0 14px 22px;
}

.legal li {
  margin-bottom: 8px;
}

/* ---------- Анимация появления (только при активном JS) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .card, .fact-card {
    transition: none;
  }
}

/* ---------- Адаптив ---------- */

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 14px 20px 20px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    gap: 12px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-visual .hero-inner {
    padding: 84px 0 36px;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero p.lead {
    font-size: 17px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -48px;
  }

  .hero-visual + .facts .facts-grid {
    margin-top: -36px;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split.reverse .split-media,
  .split.reverse .split-body {
    order: unset;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .visual-band-inner {
    grid-template-columns: 1fr;
  }

  .visual-band .band-item,
  .visual-band .band-item.tall {
    min-height: 200px;
  }

  .cta-banner {
    padding: 36px 22px;
  }

  .cta-banner h2 {
    font-size: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .steps::before {
    left: 19px;
  }

  .step {
    padding-left: 62px;
  }

  .step-number {
    width: 40px;
    height: 40px;
  }

  .float-cta.visible {
    display: flex;
  }
}

@media (max-width: 480px) {
  .logo span:last-child {
    display: none;
  }

  .facts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fact-card {
    padding: 18px 12px;
  }

  .fact-value {
    font-size: 24px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .cookie-banner {
    bottom: 88px;
  }
}

@media (min-width: 901px) {
  .float-cta {
    display: none !important;
  }
}


.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.cookie-banner p strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-text, #1a2332);
  font-size: 15px;
}
