/* ==========================================================================
   INVESTIČNÍ STRÁŽCE · AI & IPO QUIZ — OPTIMIZED DESIGN SYSTEM
   Performance-tuned for low-end mobile devices & slow connections (no render-blocking
   @import, no heavy GPU backdrop-filter, hardware-accelerated transitions, 16px mobile
   inputs to prevent iOS Safari zoom).
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-page: #FAF8F5;
  --bg-white: #FFFFFF;
  --bg-surface: #F5F1EB;
  --bg-subtle-tint: #FFF9F5;

  /* Brand Accent (Terracotta / Sunset) */
  --terracotta: #CC785C;
  --terracotta-dark: #B55B3F;
  --terracotta-light: #E07A5F;
  --terracotta-soft: #FDF5F2;
  --terracotta-border: #F7D7CC;
  --terracotta-glow: rgba(204, 120, 92, 0.18);

  /* Dark Contrast (Text & Dark Badges) */
  --navy-deep: #0B1D25;
  --text-title: #141312;
  --text-primary: #262422;
  --text-secondary: #57534E;
  --text-muted: #78716C;
  --text-light: #A8A29E;

  /* Borders */
  --border-card: #E5E0D8;
  --border-light: #EFECE6;
  --border-hover: #D4CBBD;

  /* Status / Trust Badges (Success Green) */
  --trust-green: #15803D;
  --trust-green-bg: #F0FDF4;
  --trust-green-border: #DCFCE7;

  /* Lightweight Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 29, 37, 0.04);
  --shadow-md: 0 6px 16px -4px rgba(11, 29, 37, 0.07);
  --shadow-lg: 0 12px 32px -8px rgba(11, 29, 37, 0.08);
  --shadow-option-hover: 0 6px 16px -4px rgba(204, 120, 92, 0.16);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. TOP BAR: BRAND LOGO + PROGRESS INDICATOR
   ========================================================================== */
.quiz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 1px 4px rgba(11, 29, 37, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-identity {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}

.brand-title .accent-word {
  color: var(--trust-green);
}

.brand-subtitle {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Header Progress Widget */
.header-progress {
  flex: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
}

.progress-step-label {
  color: var(--navy-deep);
}

.progress-percent-badge {
  color: var(--terracotta-dark);
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-border);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-surface);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: var(--terracotta);
  border-radius: 999px;
  transition: width 0.3s ease-out;
}

/* ==========================================================================
   2. MAIN QUIZ STAGE & CARD CONTAINER
   ========================================================================== */
.quiz-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 32px;
}

.quiz-shell {
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
}

/* Top Context Pill above Quiz Card */
.quiz-context-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-deep);
}

.topic-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.time-estimate {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Main White Quiz Card */
.quiz-card {
  width: 100%;
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 36px 34px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.quiz-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-deep) 0%, var(--terracotta) 55%, var(--trust-green) 100%);
}

/* Step Visibility & Lightweight Fade */
.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: stepFadeIn 0.2s ease-out;
}

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

/* Step Kicker / Category Tag */
.step-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--terracotta-dark);
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-border);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(21px, 3.5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-title);
  margin-bottom: 8px;
}

.step-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 22px;
}

/* ==========================================================================
   3. ANSWER OPTION CARDS (14px radius, #E5E0D8 border, Terracotta hover/active)
   ========================================================================== */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.option-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  background: var(--bg-white);
  border: 1.5px solid var(--border-card);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
  box-shadow: var(--shadow-sm);
}

@media (hover: hover) {
  .option-card:hover {
    border-color: var(--terracotta);
    background: var(--bg-subtle-tint);
    box-shadow: var(--shadow-option-hover);
    transform: translateY(-1px);
  }
  .option-card:hover .option-letter {
    background: var(--terracotta-soft);
    border-color: var(--terracotta);
    color: var(--terracotta-dark);
  }
  .option-card:hover .option-radio {
    border-color: var(--terracotta);
  }
}

.option-card:focus-visible {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-glow);
}

.option-card.selected {
  border-color: var(--terracotta);
  background: var(--terracotta-soft);
  box-shadow: 0 0 0 1.5px var(--terracotta);
}

.option-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.option-letter {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.option-card.selected .option-letter {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--bg-white);
}

.option-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-title);
  line-height: 1.4;
  word-break: break-word;
}

.option-card.selected .option-text {
  font-weight: 600;
}

/* Radio Circle on the Right */
.option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  background: var(--bg-white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.option-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-white);
  transform: scale(0);
  transition: transform 0.15s ease;
}

.option-card.selected .option-radio {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.option-card.selected .option-radio::after {
  transform: scale(1);
}

/* Step Navigation Footer (Back button) */
.step-nav {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: 8px;
  touch-action: manipulation;
}

.btn-back:hover {
  color: var(--navy-deep);
  background: var(--bg-page);
}

.auto-advance-hint {
  font-size: 12px;
  color: var(--text-light);
}

/* ==========================================================================
   4. STEP 6: ANALYZING / CALCULATION SCREEN (2–3 SECONDS)
   ========================================================================== */
.calc-screen {
  text-align: center;
  padding: 16px 6px;
}

.calc-spinner-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.calc-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid var(--terracotta-soft);
  border-top-color: var(--terracotta);
  border-right-color: var(--navy-deep);
  animation: spin 0.9s linear infinite;
}

.calc-spinner.done {
  animation: none;
  border-color: var(--trust-green-border);
  background: var(--trust-green-bg);
}

.calc-center-icon {
  position: relative;
  z-index: 2;
  color: var(--navy-deep);
}

.calc-spinner.done + .calc-center-icon {
  color: var(--trust-green);
}

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

.calc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
}

.calc-progress-bar {
  width: 100%;
  max-width: 400px;
  height: 10px;
  background: var(--bg-surface);
  border-radius: 999px;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 1px solid var(--border-card);
}

.calc-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--navy-deep) 0%, var(--terracotta) 60%, var(--trust-green) 100%);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.calc-steps-list {
  list-style: none;
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-step-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.55;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.calc-step-item.active {
  opacity: 1;
  color: var(--navy-deep);
  background: var(--bg-white);
  border-color: var(--terracotta-border);
}

.calc-step-item.completed {
  opacity: 1;
  color: var(--trust-green);
  background: var(--trust-green-bg);
  border-color: var(--trust-green-border);
  font-weight: 600;
}

.calc-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 12px;
}

.calc-step-item.active .calc-step-icon {
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
}

.calc-step-item.completed .calc-step-icon {
  background: var(--trust-green);
  color: var(--bg-white);
}

/* ==========================================================================
   5. STEP 7: LEAD CAPTURE FORM (MOBILE-SAFE, ANTI-SQUEEZE LAYOUT)
   ========================================================================== */
.ready-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: var(--trust-green-bg);
  border: 1px solid var(--trust-green-border);
  color: var(--trust-green);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
  max-width: 100%;
}

.lead-form {
  width: 100%;
  margin-top: 4px;
}

.form-group {
  width: 100%;
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

/* 16px font-size prevents iOS Safari automatic viewport zoom on input focus */
.form-input,
.form-select {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-title);
  background-color: var(--bg-white);
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2357534E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-glow);
}

.phone-wrapper {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.phone-prefix {
  width: 118px;
  flex: 0 0 118px;
  font-weight: 600;
  cursor: pointer;
}

.phone-number {
  flex: 1 1 auto;
  min-width: 0;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 12px 14px;
  background: var(--bg-page);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  width: 100%;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--terracotta);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 12.8px;
  color: var(--text-secondary);
  line-height: 1.48;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.checkbox-group label a {
  color: var(--terracotta-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 16px;
  display: none;
  width: 100%;
}

.btn-submit {
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--bg-white);
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(204, 120, 92, 0.3);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

@media (hover: hover) {
  .btn-submit:hover {
    background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta) 100%);
    transform: translateY(-1px);
  }
}

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

/* Guarantees Box under CTA button */
.guarantees-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  font-size: 12.8px;
  color: var(--text-secondary);
  line-height: 1.4;
  text-align: left;
}

.guarantee-icon {
  font-size: 14px;
  line-height: 1.3;
  flex-shrink: 0;
}

/* ==========================================================================
   6. BOTTOM TRUST BADGES BAR (100% Zdarma · Bez závazků · Nezávislá analýza)
   ========================================================================== */
.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: var(--trust-green-bg);
  border: 1px solid var(--trust-green-border);
  border-radius: 999px;
  color: var(--trust-green);
  font-size: 12.5px;
  font-weight: 600;
}

.trust-badge-pill svg {
  flex-shrink: 0;
}

/* ==========================================================================
   7. COMPLIANCE FOOTER & COOKIE CONSENT
   ========================================================================== */
.quiz-footer {
  margin-top: auto;
  padding: 24px 0 28px;
  border-top: 1px solid var(--border-card);
  background: var(--bg-white);
}

.disclaimer-compact {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 16px;
  padding: 12px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.disclaimer-compact strong {
  color: var(--navy-deep);
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a,
.footer-links button {
  color: var(--text-secondary);
  font-size: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Cookie Modal */
#privacy-consent[hidden] {
  display: none !important;
}

#privacy-consent {
  position: fixed;
  z-index: 2147483646;
  bottom: 16px;
  right: 16px;
  width: min(420px, calc(100vw - 24px));
  padding: 22px;
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(11, 29, 37, 0.16);
  font: 14px/1.5 var(--font-body);
}

#privacy-consent .cookie-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#privacy-consent h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 24px 6px 0;
}

#privacy-consent p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

#privacy-consent .cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#privacy-consent button {
  cursor: pointer;
  font: 600 13px/1.3 var(--font-body);
  border-radius: 8px;
  padding: 10px 12px;
}

#consent-accept {
  background: var(--terracotta);
  color: var(--bg-white);
  border: none;
}

#consent-reject {
  background: var(--bg-page);
  color: var(--navy-deep);
  border: 1px solid var(--border-card);
}

#consent-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 22px;
  line-height: 1;
}

/* ==========================================================================
   8. MOBILE RESPONSIVE OPTIMIZATION (NO FORM SQUEEZING)
   ========================================================================== */
@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: auto;
  }

  .header-progress {
    max-width: 100%;
  }

  .quiz-main {
    justify-content: flex-start;
    padding: 14px 0 24px;
  }

  .quiz-context-bar {
    margin-bottom: 10px;
  }

  .time-estimate {
    display: none;
  }

  .quiz-card {
    padding: 22px 16px 20px;
    border-radius: 16px;
  }

  .step-title {
    font-size: 20px;
    line-height: 1.26;
  }

  .step-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .option-card {
    padding: 13px 13px;
    gap: 10px;
  }

  .option-left {
    gap: 10px;
  }

  .option-letter {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .option-text {
    font-size: 14.5px;
  }

  /* Keep prefix and phone number side-by-side cleanly on mobile without squeezing */
  .phone-wrapper {
    flex-direction: row;
    gap: 8px;
  }

  .phone-prefix {
    width: 110px;
    flex: 0 0 110px;
    padding-left: 10px;
    padding-right: 26px;
    background-position: right 8px center;
  }

  .phone-number {
    flex: 1 1 auto;
    min-width: 0;
  }

  .checkbox-group {
    padding: 10px 12px;
    margin: 14px 0 16px;
  }

  .btn-submit {
    font-size: 14px;
    min-height: 52px;
    padding: 12px 14px;
  }

  .guarantee-item {
    justify-content: flex-start;
    font-size: 12px;
  }

  .trust-badges-row {
    gap: 6px;
    margin-top: 14px;
  }

  .trust-badge-pill {
    font-size: 11.5px;
    padding: 5px 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  #privacy-consent {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px;
  }
}

@media (max-width: 350px) {
  .phone-wrapper {
    flex-direction: column;
  }
  .phone-prefix {
    width: 100%;
    flex: 1 1 auto;
  }
}
