/* ============================================= */
/* style.css — Новый Займ (Объединённый) */
/* Версия: 3.0 | Структурированный */
/* ============================================= */

/* ========== 1. СБРОС И БАЗА ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ========== 2. CSS ПЕРЕМЕННЫЕ ========== */
:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #3385ff;
  --accent: #00d4ff;
  --bg-body: #f5f7fa;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --bg-input: #f8f9fa;
  --text-primary: #1a2332;
  --text-secondary: #6b7785;
  --text-block-gray: #434343;
  --text-muted: #959caa;
  --text-inverse: #ffffff;
  --border-color: #e1e8f0;
  --border-light: #eef2f7;
  --calc-header-bg: #f0faff;
  --calc-slider-fill: #00a9f7;
  --calc-slider-track: #e1e3e8;
  --calc-button-bg: #000000;
  --calc-button-hover: #333333;
  --calc-value: #00a9f7;
  --footer-bg-start: #1a2332;
  --footer-bg-end: #0f1520;
  --footer-text: rgba(255,255,255,0.7);
  --shadow-sm: rgba(0,0,0,0.05);
  --shadow-md: rgba(0,0,0,0.08);
  --shadow-lg: rgba(0,102,255,0.15);
  --success-green: #4CAF50;
  --success-light: #8BC34A;
  --error-red: #ef4444;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 3. КОНТЕЙНЕРЫ И ЛЕЙАУТ ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 40px; */
}

/* Глобальный wrapper (для обычных страниц) */
.main-wrapper {
  padding-top: 80px;
  min-height: 100vh;
}

/* Специфичные wrapper'ы (для form, unsubscribe, feedback) */
.general-main-wrapper {
  padding-top: 70px;
  min-height: 100vh;
}

.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}


.general-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 150px 50px;
}
.home-content-wrap {
	max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.vitrina-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0 50px;
}
/* ========== 4. HEADER ========== */
.header {
  background: var(--bg-header);
  box-shadow: 0 1px 3px var(--shadow-md);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 22px;
  font-family: 'Gilroy', sans-serif;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Gilroy', sans-serif;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-family: 'Gilroy', sans-serif;
}

.nav-menu a:hover {
  color: var(--primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn {
  background: var(--calc-button-bg);
  color: var(--text-inverse);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  -webkit-appearance: none;
  font-family: 'Gilroy', sans-serif;
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-lg);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-appearance: none;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s ease;
}

/* ========== 5. MOBILE PROGRESS BAR (form.php) ========== */
.mobile-progress-bar {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-card);
  box-shadow: 0 2px 8px var(--shadow-md);
  padding: 12px 20px;
}

.mobile-progress-bar__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-progress-bar__progress {
  flex: 1;
  min-width: 0;
}

.mobile-progress-bar__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-family: 'Gilroy', sans-serif;
}

.mobile-progress-bar__bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

.mobile-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.mobile-progress-bar__fill.green {
  background: linear-gradient(90deg, var(--success-green) 0%, var(--success-light) 100%);
}

.mobile-progress-bar__percent {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  min-width: 40px;
  text-align: right;
  font-family: 'Gilroy', sans-serif;
}

.mobile-timer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-inverse);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Gilroy', sans-serif;
}

.mobile-timer svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ========== 6. КАЛЬКУЛЯТОР (form.php) ========== */
.top-section {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
  max-height: 120px;
}

.calc-block {
  flex: 1;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 4px 20px var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 20px;
  max-height: 120px;
}

.calc-block__sliders {
  display: flex;
  flex: 1;
  gap: 20px;
  min-width: 0;
}

.calc-block__item {
  flex: 1;
  min-width: 0;
}

.calc-block__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.calc-block__label {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: 'Gilroy', sans-serif;
}

.calc-block__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  font-family: 'Gilroy', sans-serif;
}

.slider-container {
  position: relative;
  margin-bottom: 0;
}

.slider {
  width: 100%;
  max-height: 6px; 
  min-height: 6px;  
  height: 6px;
  border-radius: 3px;
  background: var(--calc-slider-track);
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--calc-slider-fill);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,169,247,0.4);
  transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,169,247,0.5);
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--calc-slider-fill);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,169,247,0.4);
  transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,169,247,0.5);
}

.slider::-ms-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--calc-slider-fill);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,169,247,0.4);
  transition: all 0.2s ease;
}

.calc-block__results {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  border-left: 1px solid var(--border-color);
  flex: 0 0 auto;
}

.calc-block__result-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.calc-block__result-label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.2;
  font-family: 'Gilroy', sans-serif;
}

.calc-block__result-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--calc-value);
  white-space: nowrap;
  font-family: 'Gilroy', sans-serif;
}

.calc-block__result-value.crossed {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 4px;
  display: none;
}

.calc-block__result-date {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  font-family: 'Gilroy', sans-serif;
}

.timer-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 4px 20px var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: 120px;
  text-align: center;
  color: var(--text-inverse);
  min-width: 160px;
  flex: 0 0 auto;
}

.timer-block__label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  opacity: 0.95;
  line-height: 1.3;
  font-family: 'Gilroy', sans-serif;
}

.timer-block__time {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  font-family: 'Gilroy', sans-serif;
}

/* ========== 7. ШАГИ ОФОРМЛЕНИЯ (form.php) ========== */
.bottom-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: start;
}

.steps-vertical {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px var(--shadow-md);
  border: 1px solid var(--border-light);
  position: sticky;
  top: 110px;
}

.steps-vertical__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
  font-family: 'Gilroy', sans-serif;
}

.steps-vertical__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-vertical-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-input);
  transition: all 0.3s ease;
}

.step-vertical-item.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.step-vertical-item.completed {
  background: var(--success-green);
}

.step-vertical-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  font-family: 'Gilroy', sans-serif;
}

.step-vertical-item.active .step-vertical-number,
.step-vertical-item.completed .step-vertical-number {
  background: rgba(255,255,255,0.3);
  color: var(--text-inverse);
}

.step-vertical-content {
  flex: 1;
}

.step-vertical-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: 'Gilroy', sans-serif;
}

.step-vertical-item.active .step-vertical-label,
.step-vertical-item.completed .step-vertical-label {
  color: var(--text-inverse);
}

.step-vertical-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  font-family: 'Gilroy', sans-serif;
}

.step-vertical-item.active .step-vertical-desc,
.step-vertical-item.completed .step-vertical-desc {
  color: rgba(255,255,255,0.9);
}

/* ========== 8. ФОРМЫ (Глобальные + form.php специфика) ========== */
.form-section { }

.form-wrapper {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 20px var(--shadow-md);
  border: 1px solid var(--border-light);
  max-width: 900px;
  margin: 0 auto;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.form-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ВАЖНО: Логика шагов для form.php (display: none/block) */
.form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Заголовки шагов — ВАЖНО: для form.php flex-direction: column */
.step-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.step-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'Gilroy', sans-serif;
}

.step-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 500px;
  font-family: 'Gilroy', sans-serif;
}

/* Сетка формы */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.form-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.form-grid-1 {
  grid-template-columns: 1fr;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

/* Плавающие лейблы */
.form-label-floating {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.3s ease;
  background: var(--bg-card);
  padding: 0 4px;
  z-index: 1;
  font-family: 'Gilroy', sans-serif;
}

.form-input:focus + .form-label-floating,
.form-input.filled + .form-label-floating,
.form-input:not(:placeholder-shown) + .form-label-floating {
  top: 0;
  left: 12px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--text-secondary);
  transform: translateY(-50%);
  font-weight: 600;
}

.form-input:focus + .form-label-floating {
  color: var(--primary) !important;
}

.form-input.error + .form-label-floating {
  color: var(--error-red);
}

/* Поля ввода */
.form-input {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: 'Gilroy', sans-serif;
}

.form-input::placeholder {
  color: transparent;
  font-size: 16px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary) !important;
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.08);
}

.form-input.error {
  /* border-color: var(--error-red) !important; */
}

.form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Текстовое поле */
.form-message-group {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
}

.form-textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: all 0.3s ease;
  resize: vertical;
  font-family: 'Gilroy', sans-serif;
}

.form-textarea::placeholder {
  color: transparent;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--primary) !important;
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.08);
}

.form-textarea.error {
  /* border-color: var(--error-red) !important; */
}

.form-textarea-label {
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.3s ease;
  background: var(--bg-card);
  padding: 0 4px;
  z-index: 1;
  font-family: 'Gilroy', sans-serif;
}

.form-textarea:focus + .form-textarea-label,
.form-textarea.filled + .form-textarea-label,
.form-textarea:not(:placeholder-shown) + .form-textarea-label {
  top: -8px;
  left: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  border-radius: 5px;
  transform: none;
}

.form-textarea:focus + .form-textarea-label {
  color: var(--primary) !important;
}

.form-textarea.error + .form-textarea-label {
  color: var(--error-red);
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  font-family: 'Gilroy', sans-serif;
}

/* Прогресс формы */
.form-progress {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.form-progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.form-progress__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: 'Gilroy', sans-serif;
}

.form-progress__percent {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Gilroy', sans-serif;
}

.form-progress__bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.form-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 4px;
  transition: width 0.4s ease, background 0.4s ease;
  position: relative;
}

.form-progress__fill.green {
  background: linear-gradient(90deg, var(--success-green) 0%, var(--success-light) 100%);
}

.form-progress__fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Подвал формы — border-top: 2px для form.php */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--border-light);
  flex-shrink: 0;
}

/* ========== 9. КНОПКИ ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border: none;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-appearance: none;
  min-height: 48px;
  font-family: 'Gilroy', sans-serif;
}

.btn-primary {
  background: var(--calc-button-bg);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background: var(--calc-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-md);
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  padding: 16px 24px;
  border: 2px solid var(--border-color);
  font-family: 'Gilroy', sans-serif;
}

.btn-secondary:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ========== 10. ЭЛЕМЕНТЫ ФОРМЫ (form.php) ========== */
/* Селекты */
.select-wrapper {
  position: relative;
}

.select-wrapper svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: var(--primary);
  pointer-events: none;
  z-index: 2;
}

.select-wrapper select {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-card);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: 'Gilroy', sans-serif;
}

.select-wrapper select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.08);
}

/* Автодополнение */
.autocomplete-suggestions {
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px var(--shadow-md) !important;
  z-index: 99999 !important;
  background: #fff !important;
  max-height: 300px;
  overflow-y: auto;
}

.autocomplete-suggestion {
  padding: 12px 20px !important;
  font-size: 14px !important;
  color: var(--text-primary) !important;
  cursor: pointer;
  font-family: 'Gilroy', sans-serif;
}

.autocomplete-suggestion:hover,
.autocomplete-selected {
  background: var(--bg-input) !important;
  color: var(--primary) !important;
}

/* Радио и чекбоксы */
.radio-group {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-top: 8px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.radio-input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.radio-label {
  font-size: 15px;
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 500;
  font-family: 'Gilroy', sans-serif;
}

.agreement-block {
  background: var(--bg-input);
  padding: 24px;
  border-radius: 16px;
  margin: 32px 0;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.checkbox-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: var(--bg-card);
}

.checkbox-input:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('/images/icons/checkmark-outline.svg') center/contain no-repeat;
  width: 20px;
  height: 20px;
}

.checkbox-input:hover {
  border-color: var(--primary);
}

.checkbox-input:focus {
  box-shadow: 0 0 0 3px rgba(0,102,255,0.2);
}

.checkbox-label {
  cursor: pointer;
  flex: 1;
}

.agreement-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-family: 'Gilroy', sans-serif;
}

.agreement-text a {
  color: var(--primary);
  text-decoration: none;
}

.agreement-text a:hover {
  text-decoration: underline;
}

/* Кредитная история */
.credit-history-notice {
  background: #dc2626;
  color: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
  display: none;
  animation: slideDown 0.3s ease;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Gilroy', sans-serif;
}

.credit-history-notice.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.credit-history-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.credit-field-group {
  margin-bottom: 0;
  position: relative;
}

/* Соц. активация */
.social-activation {
  background: var(--bg-input);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.social-activation__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: 'Gilroy', sans-serif;
}

.social-activation__desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-family: 'Gilroy', sans-serif;
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.social-btn {
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-inverse);
  text-decoration: none;
  background: linear-gradient(135deg, #0088cc 0%, #00d4ff 100%);
  min-height: 52px;
  font-family: 'Gilroy', sans-serif;
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.social-btn.active {
  background: linear-gradient(90deg, var(--success-green) 0%, var(--success-light) 100%);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.2);
  transform: translateY(-2px);
}

.social-btn.active svg {
  /* fill: var(--primary) !important; */
}

.social-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: 'Gilroy', sans-serif;
}

.social-note svg {
  width: 16px;
  height: 16px;
  fill: var(--success-green);
  flex-shrink: 0;
}

/* ========== 11. ВЕРИФИКАЦИЯ И ОДОБРЕНИЕ (form.php) ========== */
.verification-screen {
  display: none;
  animation: fadeIn 0.5s ease;
}

.verification-screen.active {
  display: block;
}

.verification-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.4;
  font-family: 'Gilroy', sans-serif;
}

.verification-title .highlight-name {
  color: var(--primary);
  font-weight: 700;
}

.verification-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px var(--shadow-md);
}

.verification-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-input);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.verification-item:last-child {
  margin-bottom: 0;
}

.verification-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.verification-icon.active {
  background: var(--success-green);
  transform: scale(1.05);
}

.verification-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--border-color);
  transition: all 0.3s ease;
}

.verification-icon.active svg {
  fill: white;
}

.verification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.verification-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: 'Gilroy', sans-serif;
}

.verification-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.verification-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success-green) 0%, var(--success-light) 100%);
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s linear;
}

.verification-percent {
  font-size: 18px;
  font-weight: 700;
  color: var(--border-color);
  min-width: 45px;
  text-align: right;
  transition: all 0.3s ease;
  font-family: 'Gilroy', sans-serif;
}

.verification-percent.active {
  color: var(--success-green);
}

.approval-screen {
  display: none;
  animation: fadeIn 0.5s ease;
  text-align: center;
  padding: 20px;
}

.approval-screen.active {
  display: block;
}

.approval-badge {
  background: linear-gradient(135deg, #FFA726 0%, #FF9800 100%);
  border-radius: 20px;
  padding: 30px 40px;
  margin-bottom: 32px;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.3);
}

.approval-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.approval-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.approval-badge-text {
  color: white;
  font-size: 13px;
  margin-bottom: 8px;
  opacity: 0.95;
  font-family: 'Gilroy', sans-serif;
}

.approval-badge-title {
  color: white;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Gilroy', sans-serif;
}

.approval-message {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 40px;
  line-height: 1.6;
  font-family: 'Gilroy', sans-serif;
}

.approval-message .highlight-name {
  color: #FF9800;
  font-weight: 700;
}

.approval-queue {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.queue-item {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--success-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  font-family: 'Gilroy', sans-serif;
}

.queue-item svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.queue-item.you {
  background: linear-gradient(135deg, var(--success-green) 0%, var(--success-light) 100%);
}

.queue-connector {
  width: 40px;
  height: 2px;
  background: var(--border-color);
  position: relative;
}

.approval-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 24px;
  font-family: 'Gilroy', sans-serif;
}

.approval-redirect {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 30px;
  padding: 12px 20px;
  background: var(--bg-input);
  border-radius: 10px;
  display: inline-block;
  font-family: 'Gilroy', sans-serif;
}

.approval-redirect svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ========== 12. УВЕДОМЛЕНИЯ ========== */
.error-banner,
.success-banner,
.info-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  z-index: 10001;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  font-family: 'Gilroy', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.error-banner {
  background: #dc2626;
  color: #ffffff;
}

.success-banner {
  background: linear-gradient(135deg, var(--success-green) 0%, var(--success-light) 100%);
  color: #ffffff;
}

.success-banner svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.info-banner {
  background: #e3f2fd;
  color: #1976d2;
}

.info-banner svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.error-banner.show,
.success-banner.show,
.info-banner.show {
  transform: translateY(0);
}

/* ========== 13. FOOTER ========== */
.footer {
  background: linear-gradient(135deg, var(--footer-bg-start) 0%, var(--footer-bg-end) 100%);
  color: var(--text-inverse);
  padding: 80px 0 0;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Gilroy', sans-serif;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-weight: 700;
  font-family: 'Gilroy', sans-serif;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
  font-family: 'Gilroy', sans-serif;
}

.footer-col-title {
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-inverse);
  font-size: 16px;
  font-family: 'Gilroy', sans-serif;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: 'Gilroy', sans-serif;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
  font-family: 'Gilroy', sans-serif;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 0;
  display: grid;
  gap: 40px;
}

.footer-legal {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.8;
  font-family: 'Gilroy', sans-serif;
}

.footer-legal p {
  margin-bottom: 12px;
}

.footer-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 24px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  font-family: 'Gilroy', sans-serif;
}

/* ========== 14. АДАПТИВНОСТЬ ========== */
@media (max-width: 1024px) {
  .form-grid,
  .form-grid-3,
  .credit-history-fields {
    grid-template-columns: 1fr;
  }
  .bottom-section {
    grid-template-columns: 280px 1fr;
  }
  .general-content-wrap,
  /* .vitrina-content-wrap, */
  .home-content-wrap  {
    padding: 40px 20px;
  }
  .vitrina-content-wrap {
    padding: 50px 20px 40px;
  }
}

@media (max-width: 920px) {
  .header-container {
    padding: 0 20px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 15px var(--shadow-md);
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .content-wrap {
    padding: 40px 20px;
  }
  .form-wrapper,
  .unsubscribe-form-wrapper {
    padding: 30px 20px;
    min-height: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
  }
  .calc-block {
    padding: 16px 20px;
    gap: 16px;
  }
  .calc-block__sliders {
    gap: 16px;
  }
  .calc-block__results {
    gap: 16px;
    padding: 0 20px;
  }
  .calc-block__result-value,
  .calc-block__result-date {
    font-size: 15px;
  }
  .timer-block {
    min-width: 140px;
    padding: 16px 18px;
  }
  .timer-block__time {
    font-size: 32px;
  }
  .steps-vertical {
    display: none;
  }
  .bottom-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-footer,
  .unsubscribe-form-footer {
    flex-direction: column-reverse;
    gap: 16px;
  }
    .content-wrap {
    padding: 30px 20px;
  }
  .btn {
    width: 100%;
  }
  .step-header {
    flex-direction: column;
    gap: 8px;
  }
  .header-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  .calc-block {
    padding: 14px 16px;
    gap: 12px;
  }
  .calc-block__sliders {
    gap: 12px;
  }
  .calc-block__item {
    min-width: 100px;
  }
  .calc-block__label {
    font-size: 13px;
  }
  .calc-block__value {
    font-size: 14px;
  }
  .slider {
    height: 6px;
  }
  .slider::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }
  .calc-block__results {
    gap: 12px;
    padding: 0 15px;
  }
  .calc-block__result-label {
    font-size: 12px;
  }
  .calc-block__result-value,
  .calc-block__result-date {
    font-size: 15px;
  }
  .timer-block {
    min-width: 120px;
    padding: 14px 16px;
  }
  .timer-block__time {
    font-size: 28px;
  }
  .timer-block__label {
    font-size: 13px;
  }
  .form-progress__percent {
    font-size: 16px;
  }
  .approval-badge {
    padding: 30px 40px;
  }
  .approval-badge-title {
    font-size: 24px;
  }
  .approval-queue {
    gap: 12px;
  }
  .queue-item {
    width: 50px;
    height: 50px;
  }
  .verification-title {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .verification-container {
    padding: 20px;
  }
  .verification-item {
    padding: 14px;
    gap: 12px;
  }
  .verification-icon {
    width: 36px;
    height: 36px;
  }
  .verification-icon svg {
    width: 22px;
    height: 22px;
  }
  .verification-label {
    font-size: 13px;
  }
  .verification-percent {
    font-size: 16px;
    min-width: 40px;
  }
}

@media (max-width: 650px) {
  .mobile-progress-bar {
    display: block;
  }
  .content-wrap {
    padding: 90px 20px;
  }
  .form-wrapper .form-progress {
    display: none;
  }
  .top-section {
    gap: 12px;
  }
  .calc-block {
    padding: 12px 14px;
    gap: 10px;
  }
  .calc-block__sliders {
    gap: 10px;
  }
  .calc-block__item {
    min-width: 90px;
  }
  .calc-block__label {
    font-size: 13px;
  }
  .calc-block__value {
    font-size: 13px;
  }
  .slider {
    height: 6px;
  }
  .slider::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
  }
  .calc-block__results {
    gap: 15px;
    padding: 0 25px;
  }
  .calc-block__result-label {
    font-size: 11px;
  }
  .calc-block__result-value,
  .calc-block__result-date {
    font-size: 15px;
  }
  .timer-block {
    display: none;
  }
  .header-btn {
    display: none;
  }
  .form-wrapper,
  .unsubscribe-form-wrapper {
    padding: 24px 20px;
  }
  .verification-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .verification-container {
    padding: 16px;
  }
  .verification-item {
    padding: 12px;
    gap: 10px;
    margin-bottom: 16px;
  }
  .verification-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .verification-icon svg {
    width: 20px;
    height: 20px;
  }
  .verification-label {
    font-size: 13px;
  }
  .verification-bar {
    height: 5px;
  }
  .verification-percent {
    font-size: 15px;
    min-width: 38px;
  }
  .approval-queue {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .queue-connector {
    display: none;
  }
  .approval-badge {
    padding: 24px 30px;
  }
  .approval-icon {
    width: 44px;
    height: 44px;
  }
  .approval-icon svg {
    width: 28px;
    height: 28px;
  }
  .approval-badge-title {
    font-size: 22px;
  }
  .social-buttons {
    grid-template-columns: 1fr;
  }
  .form-input,
  select.form-input,
  .form-textarea,
  .unsubscribe-form-input {
    font-size: 16px !important;
  }
  .btn,
  .header-btn,
  .form-input,
  .form-textarea,
  .social-btn,
  .unsubscribe-form-input {
    min-height: 48px;
  }
  .slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .top-section {
    flex-direction: column;
    max-height: none;
    gap: 12px;
  }
    .content-wrap {
        padding: 30px 20px;
    }
  .calc-block {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    max-height: none;
	margin-top: 70px;
  }
  .calc-block__sliders {
    flex-direction: row;
    gap: 16px;
    width: 100%;
  }
  .calc-block__item {
    min-width: 0;
    flex: 1;
  }
  .calc-block__results {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 16px;
    flex-direction: row;
    justify-content: space-between;
    min-width: auto;
    gap: 16px;
    width: 100%;
  }
  .calc-block__result-item {
    flex: 1;
  }
  .calc-block__result-label {
    font-size: 12px;
  }
  .calc-block__result-value,
  .calc-block__result-date {
    font-size: 15px;
  }
  .timer-block {
    display: none;
  }
  .main-wrapper {
   padding-top: 150px;
   min-height: 100vh;
}
  .content-wrap,
  .general-content-wrap,
  .home-content-wrap,  
  /* .vitrina-content-wrap */  {
    padding: 20px 16px;
  }
  .vitrina-content-wrap  {
    padding: 50px 20px 16px;
  }
  .form-wrapper,
  .unsubscribe-form-wrapper {
    padding: 24px 16px;
  }
  .header-container {
    padding: 0 16px;
  }
  .header-btn {
    padding: 10px 14px;
    font-size: 11px;
    min-width: 110px;
  }
  .step-title {
    font-size: 20px;
  }
  .form-input,
  .form-textarea,
  .unsubscribe-form-input {
    font-size: 16px !important;
  }
  .verification-title {
    font-size: 17px;
  }
  .verification-container {
    padding: 14px;
  }
  .verification-item {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .verification-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto;
  }
  .verification-content {
    text-align: center;
  }
  .verification-percent {
    text-align: center;
    min-width: auto;
  }
}

@media (max-width: 360px) {
  .form-wrapper,
  .unsubscribe-form-wrapper {
    padding: 20px 16px;
  }
  .step-title {
    font-size: 18px;
  }
  .form-input,
  .form-textarea,
  .unsubscribe-form-input {
    font-size: 16px !important;
  }
  .calc-block {
    padding: 14px;
  }
  .calc-block__sliders {
    gap: 12px;
  }
  .calc-block__results {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
  .calc-block__result-item {
    flex: 1;
  }
  .calc-block__result-value,
  .calc-block__result-date {
    font-size: 15px;
  }
  .verification-title {
    font-size: 16px;
  }
  .verification-container {
    padding: 12px;
  }
  .verification-item {
    padding: 10px;
  }
  .verification-icon {
    width: 32px;
    height: 32px;
  }
  .verification-label {
    font-size: 13px;
  }
  .verification-percent {
    font-size: 14px;
  }
}

/* ========== 15. ДОСТУПНОСТЬ И УТИЛИТЫ ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn,
  .header-btn,
  .form-input,
  .form-textarea,
  .social-btn,
  .unsubscribe-form-input {
    min-height: 48px;
  }
  .slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }
  .radio-input,
  .checkbox-input {
    width: 24px;
    height: 24px;
  }
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="range"],
  textarea,
  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
}

@supports not (display: grid) {
  .bottom-section,
  .form-grid,
  .form-grid-3,
  .footer-grid,
  .footer-bottom,
  .credit-history-fields,
  .social-buttons,
  .unsubscribe-form-grid {
    display: flex;
    flex-wrap: wrap;
  }
  .form-grid > *,
  .form-grid-3 > *,
  .footer-grid > *,
  .footer-bottom > *,
  .credit-history-fields > *,
  .social-buttons > *,
  .unsubscribe-form-grid > * {
    flex: 1 1 100%;
  }
}

