/* ==========================================================
   Fiera del Biologico della Montagna Alpina — Design System
   ========================================================== */

/* ---------- @font-face ---------- */
@font-face {
  font-family: 'Filson Pro';
  src: url('../assets/fonts/filson-pro/FilsonProBook.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url('../assets/fonts/filson-pro/FilsonProMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url('../assets/fonts/filson-pro/FilsonProBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --color-green-deep: #0D4E51;
  --color-green-forest: #13686c;
  --color-green-soft: #1A8A8F;
  --color-green-light: rgba(19, 104, 108, 0.08);
  --color-green-glow: rgba(19, 104, 108, 0.15);

  --color-salmon: #ea6148;
  --color-salmon-hover: #d8533b;
  --color-salmon-light: rgba(234, 97, 72, 0.12);

  --color-gold: #D4A843;
  --color-gold-glow: rgba(212, 168, 67, 0.3);

  --color-cream: #FBF7F0;
  --color-cream-dark: #F0EBE2;
  --color-white: #FEFDFB;

  --color-text-dark: #0D4E51;
  --color-text-body: #1A5F63;
  --color-text-muted: #5E8A8C;
  --color-text-placeholder: #94B3B5;
  --color-text-light: #FEFDFB;

  --color-error: #C75B4A;
  --color-error-bg: rgba(199, 91, 74, 0.08);
  --color-success: #13686c;

  /* Typography */
  --font-family: 'Filson Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-hero: clamp(1.75rem, 1.2rem + 2.5vw, 2.5rem);
  --text-section: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-body: clamp(0.9375rem, 0.875rem + 0.25vw, 1.0625rem);
  --text-label: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-small: 0.8125rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(13, 78, 81, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(13, 78, 81, 0.12);
  --shadow-input-focus: 0 0 0 3px var(--color-green-glow);
  --shadow-btn: 0 2px 12px rgba(234, 97, 72, 0.3);
  --shadow-btn-hover: 0 4px 20px rgba(234, 97, 72, 0.4);

  /* Timing */
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-slow: 400ms;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

a, button, input, select, textarea, label {
  touch-action: manipulation;
}

/* Global focus-visible ring for keyboard navigation */
.lang-btn:focus-visible,
.rating__star:focus-visible,
.radio-label:focus-visible,
.checkbox-label:focus-visible,
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible,
.btn-submit:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-text-dark);
  background: var(--color-green-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- Page Background — Locandina ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    url('../assets/images/bg-illustration.webp') center bottom / cover no-repeat;
  background-color: #f0c4ac;
}
@media (max-width: 768px) {
  .page-bg {
    background-image: url('../assets/images/bg-illustration-mobile.webp');
  }
}

/* ---------- Content Layer ---------- */
.content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-md);
}

/* Index landing: no scroll beyond viewport */
.page-bg ~ .content--landing,
body.is-landing .content {
  height: 100vh;
  min-height: unset;
  overflow: hidden;
}

/* ---------- Header ---------- */
.header {
  text-align: center;
  margin-bottom: var(--space-xl);
  width: 100%;
  max-width: 640px;
}

.header__logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header__event-name {
  font-weight: 500;
  font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.header__title {
  font-weight: 700;
  font-size: var(--text-hero);
  color: var(--color-text-light);
  line-height: 1.15;
  margin-bottom: var(--space-xs);
}

.header__subtitle {
  font-weight: 400;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  color: rgba(254, 253, 251, 0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Form pages: header title/subtitle in teal (readable on bg) */
.content:not(.content--landing) .header__title {
  color: var(--color-green-soft);
}
.content:not(.content--landing) .header__subtitle {
  color: var(--color-green-forest);
}

/* ---------- Landing Hook ---------- */
.landing__hook {
  font-weight: 400;
  font-size: var(--text-body);
  color: var(--color-white);
  margin-bottom: 0;
  opacity: 0.75;
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.lang-btn {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: var(--text-small);
  padding: 6px 14px;
  border: 2px solid rgba(254, 253, 251, 0.3);
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(254, 253, 251, 0.7);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  line-height: 1;
}

.lang-btn:hover {
  border-color: rgba(254, 253, 251, 0.6);
  color: var(--color-text-light);
}

.lang-btn.active {
  background: var(--color-green-forest);
  border-color: var(--color-green-forest);
  color: var(--color-text-light);
}

/* ---------- Card ---------- */
.card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 640px;
  padding: var(--space-xl) var(--space-lg);
}

/* ---------- Form Sections ---------- */
.form-section {
  margin-bottom: var(--space-2xl);
}

.form-section:last-of-type {
  margin-bottom: var(--space-md);
}

.form-section__title {
  font-weight: 700;
  font-size: var(--text-section);
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-green-light);
}

.form-section__legend {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* ---------- Form Group (field wrapper) ---------- */
.form-group {
  margin-bottom: var(--space-lg);
  position: relative;
}

.form-group__label {
  display: block;
  font-weight: 500;
  font-size: var(--text-label);
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.form-group__label .required {
  color: var(--color-salmon);
  margin-left: 2px;
}

/* ---------- Text Input / Textarea ---------- */
.input,
.textarea,
.select {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-body);
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text-dark);
  outline: none;
  transition:
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-text-placeholder);
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: var(--color-green-soft);
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--color-green-forest);
  box-shadow: var(--shadow-input-focus);
}

.textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* ---------- Select ---------- */
.select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233D5A4A'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ---------- Star Rating ---------- */
.rating {
  display: flex;
  gap: 6px;
  direction: rtl;
  justify-content: flex-end;
  padding: var(--space-sm) 0;
}

.rating__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rating__star {
  cursor: pointer;
  width: 40px;
  height: 40px;
  transition: transform var(--duration-normal) var(--ease-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating__star svg {
  width: 32px;
  height: 32px;
  fill: var(--color-cream-dark);
  stroke: var(--color-text-placeholder);
  stroke-width: 1.5;
  transition: fill var(--duration-normal) var(--ease-out),
              stroke var(--duration-normal) var(--ease-out);
}

.rating__star:hover svg,
.rating__star:hover ~ .rating__star svg {
  fill: var(--color-gold);
  stroke: var(--color-gold);
}

.rating__input:checked ~ .rating__star svg {
  fill: var(--color-gold);
  stroke: var(--color-gold);
}

.rating__star:hover {
  transform: scale(1.2);
}

/* ---------- Custom Radio ---------- */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 18px;
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 500;
  font-size: var(--text-body);
  color: var(--color-text-body);
  transition: all var(--duration-normal) var(--ease-out);
  min-height: 48px;
}

.radio-label:hover {
  border-color: var(--color-green-soft);
  background: var(--color-green-light);
}

.radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-input:checked + .radio-label {
  border-color: var(--color-green-forest);
  background: var(--color-green-light);
  color: var(--color-green-deep);
}

.radio-dot {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-cream-dark);
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--duration-normal) var(--ease-out);
}

.radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: var(--radius-full);
  background: var(--color-green-forest);
  transform: scale(0);
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.radio-input:checked + .radio-label .radio-dot {
  border-color: var(--color-green-forest);
}

.radio-input:checked + .radio-label .radio-dot::after {
  transform: scale(1);
}

/* ---------- Custom Checkbox ---------- */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 16px;
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 400;
  font-size: var(--text-body);
  color: var(--color-text-body);
  transition: all var(--duration-normal) var(--ease-out);
  min-height: 48px;
}

.checkbox-label:hover {
  border-color: var(--color-green-soft);
  background: var(--color-green-light);
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--color-cream-dark);
  flex-shrink: 0;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-box svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-text-light);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.3s var(--ease-out);
}

.checkbox-input:checked + .checkbox-label .checkbox-box {
  background: var(--color-green-forest);
  border-color: var(--color-green-forest);
}

.checkbox-input:checked + .checkbox-label .checkbox-box svg {
  stroke-dashoffset: 0;
}

.checkbox-input:checked + .checkbox-label {
  border-color: var(--color-green-forest);
  background: var(--color-green-light);
}

/* ---------- Submit Button ---------- */
.btn-submit {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: var(--text-body);
  width: 100%;
  padding: 16px 32px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-salmon);
  color: var(--color-text-light);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    background-color var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-submit:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-btn-hover);
  background: var(--color-salmon-hover);
}

.btn-submit:active {
  transform: scale(0.97);
  box-shadow: 0 1px 8px rgba(232, 160, 144, 0.2);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit__text {
  transition: opacity var(--duration-fast) var(--ease-out);
}

.btn-submit__spinner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-text-light);
  border-radius: var(--radius-full);
  opacity: 0;
  animation: none;
}

.btn-submit.loading .btn-submit__text {
  opacity: 0;
}

.btn-submit.loading .btn-submit__spinner {
  opacity: 1;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Validation Error ---------- */
.form-group__error {
  font-size: var(--text-small);
  color: var(--color-error);
  margin-top: var(--space-xs);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.3s var(--ease-out),
    opacity 0.3s var(--ease-out);
}

.form-group.has-error .form-group__error {
  max-height: 40px;
  opacity: 1;
}

.form-group.has-error .input,
.form-group.has-error .textarea,
.form-group.has-error .select {
  border-color: var(--color-error);
}

/* ---------- Success State ---------- */
.success-card {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.success-card__check {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
}

.success-card__check circle {
  fill: none;
  stroke: var(--color-green-forest);
  stroke-width: 3;
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
}

.success-card__check polyline {
  fill: none;
  stroke: var(--color-green-forest);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

.success-card__title {
  font-weight: 700;
  font-size: var(--text-hero);
  color: var(--color-green-deep);
  margin-bottom: var(--space-md);
}

.success-card__text {
  font-size: var(--text-body);
  color: var(--color-text-body);
  line-height: 1.6;
}

.success-card__bee {
  width: 60px;
  margin: var(--space-xl) auto 0;
}

/* ---------- Index Page (Landing) ---------- */
.header--landing {
  text-align: center;
  margin-bottom: var(--space-md);
}
.header--landing .header__logo {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}
.header--landing .header__event-name {
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.header--landing .header__title {
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header--landing .header__subtitle {
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  text-align: center;
  background: rgba(13, 78, 81, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  max-width: 560px;
  width: 100%;
  margin: var(--space-md) auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 639px) {
  /* Landing index: compact to fit 100vh, no scroll */
  .content--landing {
    padding: 50px var(--space-sm) var(--space-md);
    justify-content: flex-start;
  }
  .content--landing .landing {
    padding: var(--space-lg) var(--space-md);
    margin: 0 auto;
    border-radius: var(--radius-md);
  }
  .content--landing .header--landing {
    margin-bottom: var(--space-lg);
  }
  .content--landing .header--landing .header__logo {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-sm);
  }
  .content--landing .header--landing .header__title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: var(--space-sm);
  }
  .content--landing .header--landing .header__subtitle {
    font-size: 0.8rem;
    margin-bottom: 0;
  }
  .content--landing .landing .landing__hook {
    font-size: clamp(0.85rem, 3.2vw, 1rem);
    margin-bottom: var(--space-sm);
  }
  .content--landing .landing .landing__choices {
    margin-top: var(--space-md);
    gap: var(--space-sm);
  }
  .content--landing .landing .choice-btn {
    padding: 14px 16px;
    min-height: 60px;
  }
}

.landing__choices {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 400px;
  margin-top: var(--space-lg);
}

.choice-btn {
  font-family: var(--font-family);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: 20px 24px;
  border: none;
  border-radius: var(--radius-lg);
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 72px;
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    filter var(--duration-normal) var(--ease-out);
}

.choice-btn--visitor {
  background: linear-gradient(135deg, var(--color-salmon) 0%, #d04a32 100%);
  box-shadow: 0 4px 20px rgba(234, 97, 72, 0.35);
}

.choice-btn--exhibitor {
  background: linear-gradient(135deg, var(--color-green-forest) 0%, #0D4E51 100%);
  box-shadow: 0 4px 20px rgba(19, 104, 108, 0.35);
}

.choice-btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
}

.choice-btn--visitor:hover {
  box-shadow: 0 8px 32px rgba(234, 97, 72, 0.45);
}

.choice-btn--exhibitor:hover {
  box-shadow: 0 8px 32px rgba(19, 104, 108, 0.45);
}

.choice-btn:active {
  transform: translateY(0) scale(0.98);
}

.choice-btn:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.choice-btn__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
}

.choice-btn__icon svg {
  width: 24px;
  height: 24px;
}

.choice-btn__content {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.choice-btn__label {
  display: block;
  font-weight: 700;
  font-size: var(--text-body);
  line-height: 1.3;
}

.choice-btn__desc {
  display: block;
  font-weight: 400;
  font-size: var(--text-small);
  opacity: 0.8;
  margin-top: 2px;
}

.choice-btn__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.choice-btn:hover .choice-btn__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ---------- Form Progress Indicator ---------- */
.form-progress {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-green-light);
  margin: calc(-1 * var(--space-xl)) calc(-1 * var(--space-lg)) var(--space-lg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-progress__step {
  flex: 1;
  font-family: var(--font-family);
  font-size: clamp(0.7rem, 2.5vw, 0.8125rem);
  font-weight: 500;
  color: var(--color-text-placeholder);
  text-align: center;
  padding: var(--space-xs) 2px;
  border-radius: var(--radius-pill);
  background: transparent;
  transition: color var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
}

.form-progress__step.active {
  color: var(--color-text-dark);
  background: var(--color-green-light);
  font-weight: 700;
}

.form-progress__step.done {
  color: var(--color-green-forest);
}

/* ---------- Sticky Submit (Mobile) ---------- */
.sticky-submit {
  display: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .card {
    padding: var(--space-2xl) var(--space-xl);
  }

  .radio-group {
    flex-direction: row;
  }

  .landing__choices {
    max-width: 440px;
  }

  .form-progress {
    margin: calc(-1 * var(--space-2xl)) calc(-1 * var(--space-xl)) var(--space-lg);
    padding: var(--space-sm) var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .header__logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 639px) {
  .sticky-submit {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md);
    background: linear-gradient(
      0deg,
      var(--color-cream) 60%,
      transparent 100%
    );
  }

  .sticky-submit .btn-submit {
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  }

  .card .btn-submit {
    display: none;
  }

  .content:not(.content--landing) {
    padding-bottom: 80px;
  }
}
