/* =====================================================
   Базовые токены — стилистика пробфл.рф
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary-color: #7A1F1F;
  --primary-dark: #5C1717;
  --bg-dark: #F4F1EA;
  --bg-darker: #EAE7DF;
  --text-primary: #22160D;
  --text-secondary: #8A7A6A;
  --border-color: rgba(196, 149, 108, 0.35);
  --card-bg: #FFFFFF;
  --tan: #C4956C;
  --cream: #F4F1EA;
  --ink: #22160D;
  --bordo: #7A1F1F;
  --mute: #8A7A6A;
  --success: #2F7D3B;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { border: none; cursor: pointer; font-family: inherit; }
img, svg, video { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow { max-width: 720px; }

/* =====================================================
   Верхняя плашка с телефоном (как на пробфл.рф)
   ===================================================== */
.phone-top-bar {
  background: var(--bordo);
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem;
  padding: 0.75rem 2rem;
  flex-wrap: wrap;
}
.phone-top-link {
  display: flex; align-items: center; gap: 0.6rem;
  transition: opacity 0.2s ease;
}
.phone-top-link:hover { opacity: 0.85; }
.phone-top-icon { font-size: 1.1rem; color: var(--cream); }
.phone-top-number {
  font-size: 1.5rem; font-weight: 800;
  color: var(--cream); letter-spacing: 0.02em;
}
.phone-top-hint {
  font-size: 0.85rem;
  color: rgba(244, 241, 234, 0.75);
  font-weight: 500;
}
@media (max-width: 600px) {
  .phone-top-bar { flex-direction: column; gap: 0.4rem; text-align: center; padding: 0.75rem 1rem; }
  .phone-top-number { font-size: 1.3rem; }
  .phone-top-hint { font-size: 0.75rem; }
}

/* =====================================================
   Хедер — две надписи: «СтопПриказ» слева, «ПроБФЛ» справа
   ===================================================== */
.header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.7rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand-left {
  display: flex; align-items: baseline; gap: 0.7rem;
  color: var(--ink);
  line-height: 1;
  transition: opacity 0.2s ease;
}
.brand-left:hover { opacity: 0.85; }
.brand-left-name {
  font-size: clamp(28px, 5.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.1px;
  color: var(--bordo);
  line-height: 1;
}
.brand-left-sub {
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 600;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.brand-right {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--ink);
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(122, 31, 31, 0.08);
  transition: background .15s, border-color .15s, transform .12s;
  margin-left: auto;
}
.brand-right:hover {
  background: #fffaf3;
  border-color: var(--bordo);
  transform: translateY(-1px);
}
.brand-right-mark { flex: 0 0 auto; display: block; width: 44px; height: 44px; }
.brand-right-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-right-name {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.brand-right-sub {
  font-size: 0.78rem;
  color: var(--bordo);
  font-weight: 700;
  margin-top: 5px;
  letter-spacing: 0;
}
@media (max-width: 520px) {
  .brand-right-text { display: none; }
  .brand-right { padding: 0.3rem; }
}

/* Кнопки */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
}
.btn-primary { background: var(--primary-color); color: var(--cream); }
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(122, 31, 31, 0.30);
}
.btn-secondary {
  background: transparent;
  color: var(--bordo);
  border: 1.5px solid var(--bordo);
}
.btn-secondary:hover {
  background: var(--bordo);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(122, 31, 31, 0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid transparent;
}
.btn-ghost:hover {
  background: rgba(122, 31, 31, 0.06);
  color: var(--bordo);
}
.btn-large {
  padding: 1.05rem 2.1rem;
  font-size: 1.05rem;
  border-radius: 12px;
}
.btn-full { width: 100%; }

/* =====================================================
   Экраны (SPA)
   ===================================================== */
.screen { display: none; }
.screen.is-active { display: block; }
.main { min-height: 60vh; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(122, 31, 31, 0.05) 100%);
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}
.hero-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 1.6rem;
  align-items: center;
  text-align: center;
  background: rgba(244, 241, 234, 0.82);
  border: 1.5px solid var(--border-color);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(34, 22, 13, 0.08);
  padding: clamp(1.6rem, 3vw, 2.8rem);
  backdrop-filter: blur(6px);
}
.hero-label {
  display: inline-block;
  background: rgba(122, 31, 31, 0.08);
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  padding: 0.5rem 1.25rem;
  color: var(--primary-color);
  font-size: 0.85rem; font-weight: 600;
  width: fit-content;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--tan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* Блок экономии */
.savings-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  max-width: 520px;
  width: min(100%, 520px);
  box-shadow: 0 8px 24px rgba(34, 22, 13, 0.06);
  position: relative;
}
.savings-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
}
.savings-label { color: var(--text-secondary); font-size: 0.95rem; }
.savings-amount { font-weight: 700; }
.savings-amount--old {
  color: var(--mute);
  text-decoration: line-through;
  text-decoration-color: var(--bordo);
  font-size: 1.2rem;
}
.savings-amount--new {
  color: var(--bordo);
  font-size: 2rem;
  font-weight: 800;
}
.savings-badge {
  align-self: center;
  width: fit-content;
  margin: 0.6rem auto 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(122, 31, 31, 0.07);
  color: var(--bordo);
  font-weight: 800;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  border: 1px dashed rgba(122, 31, 31, 0.45);
  box-shadow: none;
  cursor: default;
}
.savings-badge::before { content: "\1F4B0"; }

.quiz-note {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* =====================================================
   3 ШАГА
   ===================================================== */
.steps {
  background: var(--bg-darker);
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.section-header h2 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--bordo);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.section-header h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.step-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem 1.6rem 1.8rem;
  position: relative;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(34, 22, 13, 0.10);
}
.step-illust {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem;
}
.step-num {
  position: absolute; top: 1rem; left: 1.2rem;
  width: 34px; height: 34px;
  background: var(--bordo);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.step-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.step-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
}
.steps-cta {
  display: flex; justify-content: center;
  margin-top: 2.5rem;
}

/* Заголовок секции «3 шага» — крупный, без надзаголовка */
.section-header--steps h3 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  margin-bottom: 0;
}

/* Шаг: меняем верстку — иконка крупнее, цифра — инлайн в заголовке */
.step-card .step-illust { height: 200px; margin-bottom: 1rem; }
.step-card { text-align: left; padding: 1.6rem 1.4rem 1.8rem; }
.step-card h4 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.5rem; }
.step-num-inline { color: var(--text-primary); margin-right: 4px; }

/* Скрываем старый кружок-цифру */
.step-card .step-num { display: none; }

/* Мини-тарифы внутри шага 2 */
.step-pricing-mini {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
}
.step-pricing-mini-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.7rem;
}
.step-pricing-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.mini-tariff {
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 0.7rem 0.7rem 0.8rem;
  display: flex; flex-direction: column;
  gap: 0.15rem;
  text-align: center;
}
.mini-tariff strong { font-size: 0.86rem; font-weight: 800; }
.mini-tariff-price { font-size: 1.05rem; font-weight: 800; color: var(--bordo); }
.mini-tariff-sub { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.3; }
.mini-tariff--featured { border-color: var(--bordo); }

/* =====================================================
   PRICING
   ===================================================== */
.pricing {
  background: var(--bg-dark);
  padding: 5rem 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  max-width: 880px;
  margin: 0 auto;
}
.price-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(34, 22, 13, 0.10);
}
.price-card--featured {
  border-color: var(--bordo);
  border-width: 2px;
  box-shadow: 0 14px 34px rgba(122, 31, 31, 0.14);
  background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
}
.price-badge {
  position: absolute;
  top: -14px; right: 1.4rem;
  background: var(--bordo);
  color: var(--cream);
  font-size: 0.78rem; font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.price-card-head {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
}
.price-card-head h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bordo);
  letter-spacing: -0.5px;
}
.price-features {
  list-style: none;
  margin: 0 0 1.4rem; padding: 0;
  flex: 1;
}
.price-features li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.price-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.5rem;
  color: var(--bordo);
  font-weight: 800;
}
.price-features-sub {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
.price-features-sub li {
  padding: 0.18rem 0 0.18rem 1.1rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.price-features-sub li::before {
  content: "•";
  position: absolute; left: 0.2rem; top: 0.18rem;
  color: var(--tan);
  font-weight: 700;
}

.success-full-package {
  margin-top: 1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(122, 31, 31, 0.16);
  background: linear-gradient(180deg, rgba(122, 31, 31, 0.05) 0%, rgba(255, 250, 243, 0.95) 100%);
}
.success-full-package__body {
  margin-bottom: 0.85rem;
}
.success-full-package__title {
  font-weight: 800;
  color: var(--bordo);
  margin-bottom: 0.35rem;
}
.success-full-package__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Upsell mini-card на главной */
.upsell-card {
  margin: 2.4rem auto 0;
  max-width: 880px;
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card-bg);
  border: 1.5px dashed var(--bordo);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
}
.upsell-icon { flex: 0 0 auto; }
.upsell-body { flex: 1; }
.upsell-body h5 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.3rem; }
.upsell-body p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0.3rem; }
.upsell-price { font-weight: 800; color: var(--bordo); }

/* =====================================================
   FAQ
   ===================================================== */
/* FAQ удалён: вопросы вынесены на пробфл.рф/poleznoe/sudebnyj-prikaz. */

/* =====================================================
   Финальный CTA
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--bordo) 0%, #5C1717 100%);
  color: var(--cream);
  text-align: center;
  padding: 4.5rem 0;
}
.cta-section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}
.cta-section .btn-primary {
  background: var(--cream);
  color: var(--bordo);
}
.cta-section .btn-primary:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}
/* Три кнопки на 100% ширины с равным распределением */
.cta-actions--triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 980px;
  margin-left: auto; margin-right: auto;
}
.cta-actions--triple .btn { width: 100%; min-height: 64px; }
@media (max-width: 768px) {
  .cta-actions--triple { grid-template-columns: 1fr; }
}
.cta-actions--quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 1180px;
  margin-left: auto; margin-right: auto;
}
.cta-actions--quad .btn { width: 100%; min-height: 64px; }
@media (max-width: 900px) {
  .cta-actions--quad { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cta-actions--quad { grid-template-columns: 1fr; }
}
.cta-section .btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(244, 241, 234, 0.6);
}
.cta-section .btn-secondary:hover {
  background: rgba(244, 241, 234, 0.12);
  border-color: var(--cream);
  color: var(--cream);
  box-shadow: none;
}

/* =====================================================
   Постоянная нижняя плашка «СтопПриказ»
   ===================================================== */
.bottom-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0));
  background: rgba(122, 31, 31, 0.98);
  color: var(--cream);
  font-weight: 700;
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}
.bottom-bar-brand {
  justify-self: start;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--cream);
}
.bottom-bar-brand:hover { color: var(--cream); opacity: 0.9; }
.bottom-bar-brand-name { white-space: nowrap; }
.instructions-menu {
  position: relative;
  justify-self: center;
  min-width: 0;
}
.instructions-menu--inline {
  justify-self: stretch;
  width: 100%;
}
.instructions-menu-trigger,
.bottom-bar-cta {
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.instructions-menu-trigger {
  background: rgba(244, 241, 234, 0.08);
  color: var(--cream);
  border: 1.5px solid rgba(244, 241, 234, 0.32);
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  min-width: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.instructions-menu-trigger:hover,
.instructions-menu-trigger:focus-visible {
  background: rgba(244, 241, 234, 0.15);
  border-color: rgba(244, 241, 234, 0.56);
  transform: translateY(-1px);
}
.instructions-menu-label--short,
.bottom-bar-cta-text--short { display: none; }
.bottom-bar-cta {
  justify-self: end;
  background: var(--cream);
  color: var(--bordo);
  border: 1.5px solid rgba(244, 241, 234, 0.9);
  padding: 0.72rem 1.05rem;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(34, 22, 13, 0.14);
}
.bottom-bar-cta:hover,
.bottom-bar-cta:focus-visible {
  background: #fffaf3;
  border-color: #fffaf3;
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(34, 22, 13, 0.18);
}
.bottom-bar-cta-arrow {
  font-size: 1rem;
  line-height: 1;
}
.instructions-menu-panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.35rem);
  transform: translateX(-50%) translateY(4px);
  width: min(92vw, 380px);
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 0.6rem;
  box-shadow: 0 20px 40px rgba(34, 22, 13, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 2;
}
.instructions-menu:hover .instructions-menu-panel,
.instructions-menu:focus-within .instructions-menu-panel,
.instructions-menu.is-open .instructions-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.instructions-menu-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.8rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.instructions-menu-item:hover,
.instructions-menu-item:focus-visible {
  background: rgba(122, 31, 31, 0.06);
  border-color: rgba(122, 31, 31, 0.12);
  transform: translateX(1px);
}
.instructions-menu-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(122, 31, 31, 0.08);
  font-size: 1.2rem;
}
.instructions-menu-item-body {
  min-width: 0;
}
.instructions-menu-item-title {
  display: block;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.2;
}
.instructions-menu-item-desc {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.25;
}
.instructions-menu-item-arrow {
  color: var(--bordo);
  font-size: 1rem;
  font-weight: 800;
}
.instructions-menu--inline .instructions-menu-panel {
  width: min(92vw, 420px);
}
@media (max-width: 700px) {
  .bottom-bar {
    gap: 0.5rem;
    padding: 0.72rem 0.85rem calc(0.72rem + env(safe-area-inset-bottom, 0));
  }
  .bottom-bar-brand { font-size: 1rem; }
  .instructions-menu-trigger,
  .bottom-bar-cta { padding-inline: 0.85rem; font-size: 0.86rem; }
  .instructions-menu-panel { width: min(94vw, 340px); }
}
@media (max-width: 520px) {
  .instructions-menu-label--full,
  .bottom-bar-cta-text--full { display: none; }
  .instructions-menu-label--short,
  .bottom-bar-cta-text--short { display: inline; }
  .bottom-bar-brand { font-size: 0.95rem; }
  .instructions-menu-trigger,
  .bottom-bar-cta { padding-inline: 0.72rem; }
  .instructions-menu-item { grid-template-columns: auto 1fr; }
  .instructions-menu-item-arrow { display: none; }
}
@media (max-width: 420px) {
  .bottom-bar { gap: 0.4rem; }
  .instructions-menu-trigger,
  .bottom-bar-cta {
    font-size: 0.8rem;
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
  }
  .instructions-menu-item { padding: 0.72rem 0.72rem; }
}
@media (hover: none) and (pointer: coarse) {
  .instructions-menu:hover .instructions-menu-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(4px);
  }
  .instructions-menu.is-open .instructions-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 480px) {
  .bottom-bar { padding-inline: 0.75rem; }
}
/* Резерв высоты, чтобы плашка не накрывала последний блок страницы. */
body { padding-bottom: 82px; }
@media (max-width: 480px) { body { padding-bottom: 72px; } }

/* =====================================================
   ФОРМА (анкета)
   ===================================================== */
.form-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
/* Sticky-плашка с прогрессом — закреплена под хедером, видна на всех 5 шагах */
.form-progress {
  position: sticky;
  top: calc(72px + 0.6rem);                 /* высота header + воздух */
  z-index: 50;
  margin: 0 -1.5rem 1.6rem;
  padding: 0.9rem 1.5rem 0.8rem;
  background: var(--bg-darker);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(34, 22, 13, 0.06);
}
.form-progress-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: 0.7rem;
}

/* Stepper — кружки 1..5, активный/пройденный/будущий */
.stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  position: relative;
  counter-reset: step;
}
/* Соединительные линии между кружками — общий бар «фон» */
.stepper::before {
  content: "";
  position: absolute;
  top: 17px;                              /* центр круга 34px / 2 */
  left: 10%; right: 10%;
  height: 3px;
  background: rgba(122, 31, 31, 0.15);
  border-radius: 3px;
  z-index: 0;
}
/* Заливка пройденной части — рассчитывается через CSS-var --done */
.stepper::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 10%;
  width: calc((100% - 20%) * var(--done, 0));
  height: 3px;
  background: linear-gradient(135deg, var(--bordo) 0%, var(--tan) 100%);
  border-radius: 3px;
  z-index: 0;
  transition: width 0.35s ease;
}

.step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  text-align: center;
}
.step-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2.5px solid rgba(122, 31, 31, 0.25);
  color: var(--mute);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s;
}
.step-dot:hover { transform: translateY(-1px); }
.step-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Активный — заливка бордо, тень */
.step.is-active .step-dot {
  background: var(--bordo);
  border-color: var(--bordo);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(122, 31, 31, 0.15);
}
.step.is-active .step-name { color: var(--bordo); font-weight: 700; }

/* Пройденные — заливка бордо, галочка вместо цифры */
.step.is-done .step-dot {
  background: var(--bordo);
  border-color: var(--bordo);
  color: #fff;
}
.step.is-done .step-dot span { display: none; }
.step.is-done .step-dot::after {
  content: "";
  width: 9px; height: 14px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.step.is-done .step-name { color: var(--ink); }
.step.is-done .step-dot { cursor: pointer; }

/* Будущие — серый контур (уже задано в .step-dot по умолчанию) */
.step:not(.is-active):not(.is-done) .step-dot { cursor: not-allowed; }

@media (max-width: 600px) {
  .form-progress { top: 0; margin: 0 -1rem 1.2rem; padding: 0.8rem 0.9rem; }
  .step-dot { width: 30px; height: 30px; font-size: 0.85rem; }
  .stepper::before, .stepper::after { top: 15px; }
  .step-name { font-size: 0.66rem; }
}

.form-step {
  display: none;
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  box-shadow: 0 8px 24px rgba(34, 22, 13, 0.06);
  animation: fadeIn .25s ease;
}
.form-step.is-active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 0.4rem;
}
.form-sub {
  color: var(--text-secondary);
  margin-bottom: 1.6rem;
  font-size: 0.98rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.field-hint {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #e5dfd2;
  border-radius: 10px;
  background: #fff;
  color: var(--text-primary);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bordo);
  box-shadow: 0 0 0 3px rgba(122, 31, 31, 0.12);
}
.field textarea { resize: vertical; min-height: 90px; }

.form-actions {
  display: flex; justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}
.form-actions--center { justify-content: center; }
.form-actions--quad {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: stretch;
}
.form-actions--quad .btn {
  width: 100%;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
}
.form-actions--quad .btn-multiline {
  font-size: 0.82rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

/* Radio cards (блок 4) */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.radio-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #e5dfd2;
  border-radius: 12px;
  padding: 1rem 1.1rem 1rem 2.6rem;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  display: flex; flex-direction: column;
  gap: 0.25rem;
}
.radio-card:hover { border-color: var(--bordo); }
.radio-card input {
  position: absolute; opacity: 0; pointer-events: none;
}
.radio-mark {
  position: absolute; top: 1.1rem; left: 1rem;
  width: 18px; height: 18px;
  border: 1.5px solid #c8bda7;
  border-radius: 50%;
  background: #fff;
  transition: border-color .15s;
}
.radio-mark::after {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  background: var(--bordo);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .15s;
}
.radio-card input:checked ~ .radio-mark {
  border-color: var(--bordo);
}
.radio-card input:checked ~ .radio-mark::after { transform: translate(-50%, -50%) scale(1); }
.radio-card:has(input:checked) {
  border-color: var(--bordo);
  background: #fffaf3;
  box-shadow: 0 4px 12px rgba(122,31,31,0.10);
}
.radio-title { font-weight: 700; }
.radio-sub { color: var(--text-secondary); font-size: 0.88rem; }

.late-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}
.late-fields[hidden] { display: none; }       /* атрибут hidden должен перебить display:grid */
.late-fields .field--full { grid-column: 1 / -1; }

/* Summary (блок 5) */
.summary {
  background: #fffaf3;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  display: flex; flex-direction: column;
  gap: 0.55rem;
}
.summary-section { padding-top: 0.6rem; border-top: 1px dashed var(--border-color); }
.summary-section:first-child { padding-top: 0; border-top: none; }

/* Превью «В комплект войдут» в саммари — динамически по late+procedure */
.summary-section--docs {
  background: linear-gradient(135deg, rgba(122,31,31,0.06) 0%, rgba(196,149,108,0.05) 100%);
  border: 1.5px solid var(--bordo);
  border-radius: 10px;
  padding: 0.9rem 1rem 1rem !important;
  margin-bottom: 0.4rem;
}
.summary-section--docs h6 {
  color: var(--bordo) !important;
  margin-bottom: 0.6rem !important;
}
.doc-preview-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0.45rem;
  padding: 0; margin: 0;
}
.doc-preview-item {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.doc-preview-icon { font-size: 1.1rem; line-height: 1; flex: 0 0 auto; padding-top: 0.1rem; }
.doc-preview-item strong { display: block; font-size: 0.96rem; font-weight: 700; color: var(--ink); }
.doc-preview-item small { font-size: 0.82rem; color: var(--text-secondary); }
.doc-preview-hint {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ── Превью комплекта документов (всегда сверху summary) ── */
.summary-section--docs {
  background: linear-gradient(135deg, #fffaf3 0%, rgba(196, 149, 108, 0.10) 100%);
  border: 1.5px solid var(--bordo);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: -0.4rem -0.4rem 0.4rem;
}
.summary-section--docs h6 {
  color: var(--bordo) !important;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.summary-section--notice {
  background: #fff;
  border: 1.5px solid rgba(122, 31, 31, 0.25);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.summary-section--notice h6 {
  color: var(--bordo);
}
.doc-preview-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 0.6rem;
}
.doc-preview-item {
  display: flex; align-items: flex-start; gap: 0.7rem;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.doc-preview-icon { font-size: 1.3rem; line-height: 1; flex: 0 0 auto; }
.doc-preview-item strong { display: block; font-size: 0.96rem; }
.doc-preview-item small { display: block; color: var(--text-secondary); font-size: 0.82rem; margin-top: 0.2rem; }
.doc-preview-hint {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}
.summary-section h6 {
  font-size: 0.78rem;
  color: var(--bordo);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.summary-row {
  display: flex; justify-content: space-between;
  gap: 1rem;
  padding: 0.18rem 0;
  font-size: 0.95rem;
}
.summary-row .label { color: var(--text-secondary); }
.summary-row .value { font-weight: 600; text-align: right; }
.summary-row .value.empty { color: var(--mute); font-weight: 400; font-style: italic; }

/* =====================================================
   ТАРИФНЫЙ экран и UPSELL
   ===================================================== */
.screen--tariff,
.screen--upsell,
.screen--payment,
.screen--success {
  padding: 3rem 0 5rem;
}

.upsell-screen .section-header { text-align: left; margin-bottom: 1.6rem; }
.upsell-pricetag {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.6rem;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.upsell-pricetag-row {
  display: flex; justify-content: space-between;
  font-size: 1rem;
}
.upsell-pricetag-row--total {
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1.5px solid var(--border-color);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bordo);
}
.upsell-plus { color: var(--bordo); font-weight: 700; }
.upsell-check-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.upsell-check-list {
  list-style: none;
  padding: 0; margin: 0 0 1.4rem;
}
.upsell-check-list li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
  font-size: 0.96rem;
}
.upsell-check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.4rem;
  color: var(--bordo);
  font-weight: 800;
}
.upsell-actions {
  display: flex; flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

/* =====================================================
   PAYMENT
   ===================================================== */
.pay-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 22px;
  padding: 2rem 1.8rem;
  box-shadow: 0 12px 34px rgba(34, 22, 13, 0.10);
  text-align: center;
}
.pay-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.pay-tariff { color: var(--text-secondary); margin-bottom: 1.4rem; }
.pay-amount {
  background: rgba(122, 31, 31, 0.06);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
  display: flex; align-items: baseline; justify-content: center;
  gap: 0.8rem;
}
.pay-amount-label { font-size: 1rem; color: var(--text-secondary); font-weight: 600; }
.pay-amount-value { font-size: 2.4rem; font-weight: 800; color: var(--bordo); letter-spacing: -1px; }

.pay-qr {
  display: flex; justify-content: center;
  margin-bottom: 1.4rem;
}
.pay-qr svg,
.pay-qr-img {
  border: 8px solid #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  background: #fff;
}

/* Блок QR с явной суммой — основной способ оплаты */
.pay-qr-block {
  margin-top: 1.4rem;
  padding: 1.4rem 1rem 1.2rem;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  text-align: center;
}
.pay-qr-badge {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 0.2rem;
  padding: 0.55rem 1.6rem;
  margin-bottom: 1rem;
  background: var(--bordo);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(122,31,31,0.25);
}
.pay-qr-badge-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.pay-qr-badge-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.pay-qr-note {
  margin: 1rem auto 0;
  max-width: 360px;
  font-size: 0.92rem;
  color: var(--muted, #6b5b50);
  line-height: 1.4;
}
.pay-qr-note strong {
  color: var(--bordo);
  font-weight: 700;
}

@media (max-width: 480px) {
  .pay-qr-img { width: 200px; height: 200px; }
  .pay-qr-badge-amount { font-size: 1.7rem; }
}
.pay-methods {
  display: flex; justify-content: center; gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.pay-method-pill {
  background: #fff;
  border: 1.5px solid var(--border-color);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
.pay-method-pill--sbp { color: #5B2D90; border-color: #C8B6E2; }
.pay-hint {
  color: var(--text-secondary);
  font-size: 0.93rem;
  margin-bottom: 1.4rem;
  line-height: 1.55;
}

/* ── Переключатель «через приложение / по реквизитам» ── */
.pay-method-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.pay-method-option { position: relative; cursor: pointer; }
.pay-method-option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.pay-method-card {
  display: block;
  background: var(--card-bg);
  border: 1.5px solid #e5dfd2;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color .15s, background .15s, box-shadow .15s;
  text-align: left;
}
.pay-method-card-title {
  display: block;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.pay-method-card-sub {
  display: block;
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.pay-method-option input:checked + .pay-method-card {
  border-color: var(--bordo);
  background: #fffaf3;
  box-shadow: 0 4px 12px rgba(122, 31, 31, 0.10);
}
.pay-method-option:hover .pay-method-card { border-color: var(--bordo); }
@media (max-width: 520px) {
  .pay-method-toggle { grid-template-columns: 1fr; }
}

/* ── Кнопка deep-link «Открыть приложение банка» ── */
.pay-deep-link {
  font-size: 1.1rem !important;
  padding: 1.05rem 1.5rem !important;
  margin-bottom: 0.8rem;
}
.pay-app-hint {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.pay-qr-collapse {
  margin-bottom: 1rem;
  border: 1px dashed var(--border-color);
  border-radius: 10px;
}
.pay-qr-collapse summary {
  list-style: none;
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: center;
}
.pay-qr-collapse summary::-webkit-details-marker { display: none; }
.pay-qr-collapse[open] summary {
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 0.7rem;
}

/* ── Блок реквизитов (вариант «по реквизитам») ── */
.pay-app[hidden] { display: none; }
.pay-creds {
  background: #fffaf3;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex; flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
  text-align: left;
}
.pay-creds-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--border-color);
}
.pay-creds-row:last-child { border-bottom: none; padding-bottom: 0; }
.pay-creds-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }
.pay-creds-val { font-weight: 700; color: var(--ink); font-size: 0.95rem; text-align: right; }
.pay-creds-copy {
  background: transparent; border: none; cursor: pointer;
  font-family: inherit; padding: 0;
  color: var(--bordo);
  border-bottom: 1px dashed rgba(122, 31, 31, 0.4);
  transition: color .15s;
}
.pay-creds-copy:hover { color: var(--primary-dark); }
.pay-creds-row--purpose .pay-creds-val { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }

/* ── Индикатор «ждём оплату» ── */
.pay-status {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: #fffaf3;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.pay-status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--tan);
  box-shadow: 0 0 0 0 rgba(196, 149, 108, 0.55);
  animation: pulse 1.4s ease-out infinite;
  flex: 0 0 auto;
}
.pay-status--paid .pay-status-dot {
  background: var(--success, #2F7D3B);
  animation: none;
  box-shadow: 0 0 0 4px rgba(47, 125, 59, 0.18);
}
.pay-status--paid {
  background: #f0f8f0;
  border-color: rgba(47, 125, 59, 0.4);
  color: #1f5a29;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 149, 108, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(196, 149, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 149, 108, 0); }
}

/* ── Восстановление доступа ── */
.pay-recover {
  text-align: left;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px dashed var(--border-color);
  border-radius: 12px;
}
.pay-recover summary {
  list-style: none;
  cursor: pointer;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--bordo);
  display: flex; align-items: center; gap: 0.4rem;
}
.pay-recover summary::-webkit-details-marker { display: none; }
.pay-recover summary::before {
  content: "?"; width: 22px; height: 22px;
  border-radius: 50%; background: var(--bordo); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; flex: 0 0 auto;
}
.pay-recover-body {
  padding: 0 1rem 1rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.pay-recover-body p { margin: 0 0 0.7rem; }
.pay-recover-or {
  text-align: center;
  margin: 0.7rem 0 0.6rem !important;
  font-size: 0.85rem;
}

/* ── Поле ввода кода доступа ── */
.access-code-input {
  letter-spacing: 0.6em;
  text-align: center;
  font-size: 1.6rem !important;
  font-weight: 800;
}
.access-result {
  margin: 0.8rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}
.access-result[hidden] { display: none; }
.access-result--ok { background: #f0f8f0; color: #1f5a29; border: 1px solid rgba(47,125,59,0.3); }
.access-result--err { background: #fff0f0; color: #8a1212; border: 1px solid rgba(215, 31, 31, 0.3); }

/* ── Экран идентификации клиента ── */
.screen--auth {
  padding: 3rem 0 5rem;
  background:
    radial-gradient(circle at top left, rgba(122, 31, 31, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(244, 241, 234, 0.9), rgba(234, 231, 223, 0.9));
}
.auth-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(34, 22, 13, 0.10);
  padding: 2rem 1.8rem 1.8rem;
}
.section-header--auth {
  text-align: left;
  margin-bottom: 1.6rem;
}
.auth-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}
.auth-phone-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.auth-phone-prefix {
  min-height: 3.25rem;
  padding: 0 1rem;
  border-radius: 10px;
  border: 1.5px solid #e5dfd2;
  background: #fff7ef;
  color: var(--bordo);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.segmented-input {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.segmented-input input {
  width: 3rem;
  height: 3.25rem;
  border: 1.5px solid #e5dfd2;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.segmented-input input:focus {
  outline: none;
  border-color: var(--bordo);
  box-shadow: 0 0 0 3px rgba(122, 31, 31, 0.12);
  transform: translateY(-1px);
}
.segmented-input--phone input {
  flex: 0 0 3rem;
}
.segmented-input--pin input {
  flex: 0 0 3.25rem;
}
.auth-notice {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #fffaf3;
  border: 1.5px solid rgba(196, 149, 108, 0.35);
  color: var(--text-secondary);
  margin: 0.25rem 0 0;
}
.auth-notice strong {
  color: var(--bordo);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-notice span {
  line-height: 1.5;
  font-size: 0.92rem;
}
.auth-result {
  margin-top: 1rem;
}

/* ── Кнопка-предупреждение ── */
.btn-warning {
  background: #D71F1F;
  color: #fff;
}
.btn-warning:hover {
  background: #B81515;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 31, 31, 0.35);
}

/* ── Плашка «Сообщить о проблеме» на success ── */
.problem-banner {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff0f0;
  border: 3px solid #D71F1F;
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  margin: 1.6rem 0 1.4rem;
  text-align: left;
  box-shadow: 0 8px 24px rgba(215, 31, 31, 0.12);
}
.problem-banner-sign { flex: 0 0 auto; }
.problem-banner-body { flex: 1; min-width: 0; }
.problem-banner-body h5 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #8a1212;
  margin-bottom: 0.4rem;
}
.problem-banner-body p {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  line-height: 1.55;
}
.problem-banner-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.problem-banner-actions .btn {
  min-height: 52px;
}

/* ── Шапка модалки-предупреждения ── */
.deadline-warning {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: #fff0f0;
  border: 1.5px solid rgba(215, 31, 31, 0.28);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(215, 31, 31, 0.08);
  text-align: left;
}
.deadline-warning__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #D71F1F;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.deadline-warning__body {
  flex: 1;
}
.deadline-warning__title {
  font-weight: 800;
  color: #8a1212;
  margin-bottom: 0.3rem;
}
.deadline-warning__text {
  color: var(--text-primary);
  line-height: 1.55;
  font-size: 0.95rem;
}

.modal-dialog--warning {
  border: 3px solid #D71F1F;
  box-shadow: 0 20px 60px rgba(215, 31, 31, 0.3);
}
.warning-head {
  display: flex; gap: 0.9rem; align-items: flex-start;
}
.warning-head h3 { color: #8a1212; }

/* =====================================================
   SUCCESS
   ===================================================== */
.success-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 22px;
  padding: 2.4rem 2rem;
  box-shadow: 0 12px 34px rgba(34, 22, 13, 0.10);
  text-align: center;
}
.success-icon { margin-bottom: 1.2rem; display: flex; justify-content: center; }
.success-card h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.success-card > p {
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}
.download-list {
  display: flex; flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  text-align: left;
}

/* Превью списка документов в success */
.success-docs {
  background: #fffaf3;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
  text-align: left;
}
.success-docs h6 {
  font-size: 0.78rem;
  color: var(--bordo);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.success-docs ul { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; padding: 0; margin: 0; }
.success-docs li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.93rem;
}
.success-docs li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.4rem;
  color: var(--bordo); font-weight: 800;
}

/* Чекбокс-карточки выбора формата */
.format-picker { margin-bottom: 1.1rem; text-align: left; }
.format-picker-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.format-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.format-card {
  position: relative; cursor: pointer;
}
.format-card input {
  position: absolute; opacity: 0; pointer-events: none;
}
.format-card-body {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 0.9rem;
  background: var(--card-bg);
  border: 1.5px solid #e5dfd2;
  border-radius: 12px;
  transition: border-color .15s, background .15s, box-shadow .15s;
  position: relative;
}
.format-card-body::before {
  content: ""; flex: 0 0 auto;
  width: 20px; height: 20px;
  border: 2px solid #c8bda7;
  border-radius: 6px;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.format-card-icon { font-size: 1.4rem; line-height: 1; }
.format-card-text strong { display: block; font-weight: 800; font-size: 1rem; color: var(--ink); }
.format-card-text small { font-size: 0.78rem; color: var(--text-secondary); }
.format-card input:checked + .format-card-body {
  border-color: #1f9d55;
  background: #f3fbf6;
  box-shadow: 0 3px 10px rgba(31, 157, 85, 0.12);
}
.format-card input:checked + .format-card-body::before {
  background: #1f9d55;
  border-color: #1f9d55;
}
.format-card input:checked + .format-card-body::after {
  content: "";
  position: absolute; left: 0.95rem; top: 50%;
  width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: translateY(-65%) rotate(45deg);
}
@media (max-width: 480px) {
  .format-picker-grid { grid-template-columns: 1fr; }
}

.download-bundle-hint {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
}
.download-bundle-hint[hidden] { display: none; }
.download-bundle-hint.error { color: #8a1212; font-weight: 600; }
.download-item {
  display: flex; align-items: center; gap: 0.9rem;
  background: #fffaf3;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  transition: border-color .15s, transform .15s;
}
.download-item:hover {
  border-color: var(--bordo);
  transform: translateY(-1px);
}
.download-icon { font-size: 1.4rem; }
.download-item strong { display: block; font-size: 0.98rem; }
.download-item small { color: var(--text-secondary); font-size: 0.82rem; }
.download-arrow {
  margin-left: auto;
  color: var(--bordo);
  font-size: 1.3rem;
  font-weight: 800;
}
.success-next {
  background: var(--bg-darker);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  text-align: left;
  margin-bottom: 1.6rem;
}
.success-next h5 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.success-next ol {
  padding-left: 1.2rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #221107;
  color: #d8cbb8;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.footer-note {
  color: rgba(216, 203, 184, 0.7);
  font-size: 0.88rem;
  max-width: 360px;
}
.footer h6 {
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.footer a {
  display: block;
  padding: 0.25rem 0;
  color: rgba(216, 203, 184, 0.85);
  font-size: 0.92rem;
  transition: color .15s;
}
.footer a:hover { color: var(--cream); }
.footer-copy {
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(216, 203, 184, 0.55);
}

/* =====================================================
   MODAL
   ===================================================== */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(34, 22, 13, 0.55);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  max-width: 420px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex; flex-direction: column;
  gap: 1rem;
}
.modal-dialog--wide {
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
}

/* DEBUG-зона на экране оплаты — только в локальной разработке */
.debug-zone {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(122, 31, 31, 0.25);
  text-align: center;
}
.debug-zone hr { display: none; }
.debug-zone-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--mute);
  background: var(--bg-darker);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.debug-zone-hint {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  font-style: italic;
}
.btn-debug {
  background: #e8e2d6;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border: 1.5px dashed var(--mute);
}
.btn-debug:hover {
  background: #ddd6c5;
  border-style: solid;
}

/* Красная звёздочка у required-полей */
.required-star {
  color: var(--bordo);
  font-weight: 800;
  margin-left: 0.15rem;
}
.field-optional {
  color: var(--text-secondary, #8a7a6c);
  font-weight: 500;
  font-size: 0.82em;
  margin-left: 0.25rem;
}

/* Поле телефона: +7 зафиксирован, ввод только 10 цифр */
.phone-input {
  display: flex; align-items: stretch;
  background: #fff;
  border: 1.5px solid var(--border-color, #d8cfbe);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.phone-input:focus-within {
  border-color: var(--bordo);
  box-shadow: 0 0 0 3px rgba(122, 31, 31, 0.12);
}
.phone-input-prefix {
  display: flex; align-items: center;
  padding: 0 0.85rem;
  background: #f6efe2;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  border-right: 1.5px solid var(--border-color, #d8cfbe);
  user-select: none;
}
.phone-input-digits {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  background: transparent;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  letter-spacing: 0.04em;
}

#pay-confirm-manual {
  margin-top: 1rem;
}
.pay-confirm-hint {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary, #8a7a6c);
}

/* Блок «Проверка юристом включена» на success-экране (тариф 2500) */
.success-lawyer-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #f3fbf6;
  border: 1.5px solid #1f9d55;
  border-radius: 12px;
  text-align: left;
}
.success-lawyer-note strong {
  display: block;
  color: #1f7c45;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.success-lawyer-note p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Help-иконка «?» рядом с полем ── */
.help-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  margin-left: 0.4rem;
  border-radius: 50%;
  background: var(--bordo);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  border: none;
  vertical-align: middle;
  transition: background .15s, transform .12s, box-shadow .15s;
}
.help-icon:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(122, 31, 31, 0.35);
}

/* ── Блок цитат в модалке ── */
.cite-list {
  display: flex; flex-direction: column;
  gap: 1.1rem;
}
.cite-card {
  background: var(--bg-darker);
  border-left: 4px solid var(--bordo);
  border-radius: 8px;
  padding: 1rem 1.2rem;
}
.cite-card-head {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bordo);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.cite-card-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.cite-card-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}
.cite-card-body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 0.7rem;
}
.cite-card-body p:last-child { margin-bottom: 0; }

/* Информационный кейс «срок не пропущен» */
.cite-info {
  background: linear-gradient(135deg, rgba(47, 125, 59, 0.08) 0%, rgba(196, 149, 108, 0.05) 100%);
  border-left: 4px solid var(--success, #2F7D3B);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
}
.cite-info-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f5a29;
  margin-bottom: 0.5rem;
}
.cite-info p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.modal-dialog code {
  font-family: monospace;
  background: rgba(122, 31, 31, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-size: 0.88em;
}

/* ── Сетка медиа-карточек ── */
.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.media-card {
  background: var(--bg-darker);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1rem;
  scroll-margin-top: 1rem;
}
.media-card-head {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.media-card-icon {
  font-size: 1.8rem;
  flex: 0 0 auto;
}
.media-card-title {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.2;
}
.media-card-desc {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.media-card video,
.media-card audio {
  width: 100%;
  border-radius: 10px;
  background: #000;
  display: block;
}
.media-card audio { background: var(--card-bg); }
.media-file {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(122, 31, 31, 0.22);
  background: rgba(122, 31, 31, 0.04);
}
.media-file-icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(122, 31, 31, 0.12);
  font-size: 1.4rem;
}
.media-file-body {
  min-width: 0;
}
.media-file-label {
  font-weight: 800;
  color: var(--bordo);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}
.media-file-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}
.media-card embed,
.media-card iframe {
  width: 100%;
  min-height: 380px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  display: block;
  background: var(--card-bg);
}
.media-card-actions {
  margin-top: 0.8rem;
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.media-card-actions .btn {
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
}

@media (max-width: 768px) {
  .media-card embed { min-height: 280px; }
}
.modal-dialog h3 {
  font-size: 1.3rem;
  font-weight: 800;
}
.modal-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: -0.5rem;
}
.modal-close {
  position: absolute; top: 0.7rem; right: 0.8rem;
  width: 32px; height: 32px;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.modal-close:hover { background: rgba(0,0,0,0.06); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .steps-list { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .hero { padding: 3rem 1rem; }
  .hero-title { font-size: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .late-fields { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .form-step { padding: 1.5rem 1.2rem; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .form-actions--center .btn { width: auto; }
  .form-actions--quad { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pay-amount-value { font-size: 2rem; }
  .header-actions .btn-primary { padding: 0.55rem 1rem; font-size: 0.85rem; }
  .upsell-card { flex-direction: column; align-items: stretch; }
  .auth-card { padding: 1.5rem 1.1rem; border-radius: 20px; }
  .auth-phone-row { flex-direction: column; }
  .auth-phone-prefix { width: fit-content; min-height: 2.9rem; }
  .segmented-input { gap: 0.35rem; }
  .segmented-input--phone input { width: 2.55rem; }
  .segmented-input--pin input { width: 2.9rem; }
  .segmented-input input { height: 2.9rem; font-size: 1rem; }
  .auth-result { margin-top: 0.85rem; }
  .problem-banner-actions { flex-direction: column; }
  .problem-banner-actions .btn { width: 100%; }
}

/* === AUTH TABS (added) === */
.auth-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; justify-content: center; }
.auth-tab { padding: 0.9rem 2.5rem; border: 2px solid #7A1F1F; background: #fff; font-size: 1.1rem; font-weight: 700; color: #7A1F1F; cursor: pointer; border-radius: 8px; transition: all 0.2s; }
.auth-tab.auth-tab--active { background: #7A1F1F; color: #fff; }
.auth-tab:hover { transform: scale(1.05); }
.auth-phone-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: nowrap; }
.segmented-input--phone { display: flex; gap: 0.3rem; flex-wrap: nowrap; }
.segmented-input--phone input { width: 1.9rem; min-width: 1.9rem; padding: 0.45rem 0; text-align: center; font-size: 1rem; box-sizing: border-box; }
/* === /AUTH TABS === */
