/* P&P Schoonmaak Stress-test — Base styles
   Palette: deep navy #0B2545, warm gold #C9A24B, white #FFFFFF, off-white #F8F6F1
   Fonts: Domine (serif headings) + Poppins (body) — loaded via Google Fonts in index.html
   Components (forms, results, CTAs) → components.css
*/

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', sans-serif;
  background: #F4F1EA;
  color: #0B2545;
  min-height: 100vh;
}

/* ── Shell ────────────────────────────────────────────────── */
/* The quiz card. Now lives inside .hero-tool on the landing page. */
.shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 18px 50px -12px rgba(11,37,69,.28), 0 2px 8px rgba(11,37,69,.08);
  overflow: hidden;
  border: 1px solid rgba(11,37,69,.06);
}

/* ── Progress bar ─────────────────────────────────────────── */
.progress-wrap { padding: 1.25rem 1.5rem 0; }

.progress-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6B7E99;
  margin-bottom: .5rem;
}

.progress-track {
  height: 5px;
  background: #E8EAF0;
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0B2545 0%, #C9A24B 100%);
  border-radius: 99px;
  transition: width .45s cubic-bezier(.4,0,.2,1);
}

/* ── Screen container ─────────────────────────────────────── */
.screen {
  padding: 2rem 1.5rem 2rem;
  display: none;
  animation: fadeSlideIn .3s ease forwards;
}

.screen.active { display: block; }

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

/* ── Back button ──────────────────────────────────────────── */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: #6B7E99;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.25rem;
  transition: color .2s;
}

.btn-back:hover { color: #0B2545; }

/* ── Typography ───────────────────────────────────────────── */
h1 {
  font-family: 'Domine', serif;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.2;
  color: #0B2545;
  margin-bottom: .75rem;
}

h2 {
  font-family: 'Domine', serif;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  line-height: 1.3;
  color: #0B2545;
  margin-bottom: 1.25rem;
}

h3 {
  font-family: 'Domine', serif;
  font-size: 1.1rem;
  color: #0B2545;
  margin-bottom: .5rem;
}

.subtitle {
  font-size: .95rem;
  color: #4A5F7A;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* ── Start screen ─────────────────────────────────────────── */
.brand-line {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #C9A24B;
  margin-bottom: 1rem;
}

.micro {
  font-size: .78rem;
  color: #8A9BB0;
  margin-top: .6rem;
  text-align: center;
}

/* ── Options (radio-style) ────────────────────────────────── */
.options-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1.1rem;
  border: 2px solid #E2E7EF;
  border-radius: 10px;
  cursor: pointer;
  font-size: .95rem;
  transition: border-color .18s, background .18s, transform .12s;
  user-select: none;
}

.option-item:hover { border-color: #C9A24B; background: #FDFAF4; }

.option-item.selected { border-color: #0B2545; background: #EDF1F9; }

.option-item input[type="radio"] { display: none; }

.option-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #B0BDC9;
  flex-shrink: 0;
  transition: border-color .18s, background .18s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-item.selected .option-dot { border-color: #0B2545; background: #0B2545; }

.option-item.selected .option-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9A24B;
}

/* ── Chips (Q7) ───────────────────────────────────────────── */
.chip-instruction { font-size: .82rem; color: #6B7E99; margin-bottom: .85rem; }

.chips-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .9rem;
  border: 2px solid #E2E7EF;
  border-radius: 99px;
  font-size: .84rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  background: #fff;
  transition: border-color .18s, background .18s;
  user-select: none;
}

.chip:hover { border-color: #C9A24B; background: #FDFAF4; }

.chip.selected { border-color: #0B2545; background: #EDF1F9; font-weight: 600; }

/* ── Open text field ──────────────────────────────────────── */
.open-field-label { font-size: .85rem; font-weight: 600; color: #4A5F7A; display: block; margin-bottom: .4rem; }

.open-field {
  width: 100%;
  padding: .7rem .9rem;
  border: 2px solid #E2E7EF;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: #0B2545;
  resize: vertical;
  min-height: 72px;
  transition: border-color .18s;
}

.open-field:focus { outline: none; border-color: #C9A24B; }

/* ── Privacy reassurance ──────────────────────────────────── */
.privacy-note { font-size: .72rem; color: #9BAABF; margin-top: 1.25rem; text-align: center; line-height: 1.5; }
