:root {
    --forest: #2d4a3e; --forest-deep: #1f3329; --forest-soft: #4a6b5a;
    --navy: #1a2942; --sand: #d9c5a0; --sand-warm: #e8d6b3; --sand-light: #f4ead5;
    --cream: #faf6ed; --white: #ffffff; --text: #1f2826; --text-muted: #5a6b66; --line: #e8e0cf;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Montserrat', sans-serif; background: var(--cream); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
  a { color: inherit; }

  /* === NAVIGATION === */
  .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250, 246, 237, 0.92); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(45, 74, 62, 0.08); }
  .nav-inner { max-width: 1280px; margin: 0 auto; padding: 14px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
  .logo-mark { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
  .logo-mark svg { width: 100%; height: 100%; }
  .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
  .logo-name { font-size: 16px; font-weight: 700; color: var(--forest-deep); letter-spacing: -0.01em; }
  .logo-sub { font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 2px; }
  .nav-menu { display: flex; gap: 28px; list-style: none; }
  .nav-menu a { text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
  .nav-menu a:hover { color: var(--forest); }
  .nav-cta { background: var(--forest); color: var(--cream); padding: 12px 22px; border-radius: 100px; text-decoration: none; font-size: 13px; font-weight: 600; transition: all 0.3s ease; }
  .nav-cta:hover { background: var(--forest-deep); transform: translateY(-1px); }

  /* === BREADCRUMB === */
  .breadcrumb { padding: 100px 40px 0; max-width: 1280px; margin: 0 auto; font-size: 13px; color: var(--text-muted); }
  .breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
  .breadcrumb a:hover { color: var(--forest); }
  .breadcrumb-sep { margin: 0 10px; opacity: 0.5; }
  .breadcrumb-current { color: var(--forest-deep); font-weight: 500; }

  /* === HERO === */
  .quiz-hero { padding: 32px 40px 64px; background: linear-gradient(180deg, var(--cream) 0%, var(--sand-light) 100%); text-align: center; }
  .quiz-hero-inner { max-width: 720px; margin: 0 auto; }
  .quiz-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(45, 74, 62, 0.08); color: var(--forest); padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 24px; }
  .quiz-eyebrow-dot { width: 6px; height: 6px; background: var(--forest); border-radius: 50%; }
  .quiz-hero h1 { font-family: 'Lora', serif; font-size: clamp(36px, 4.5vw, 56px); font-weight: 500; line-height: 1.1; color: var(--forest-deep); margin-bottom: 20px; letter-spacing: -0.02em; }
  .quiz-hero h1 em { font-style: italic; color: var(--forest); }
  .quiz-hero p { font-size: 18px; line-height: 1.6; color: var(--text-muted); }

  /* === QUIZ === */
  .quiz-section { padding: 60px 40px 120px; }
  .quiz-container { max-width: 760px; margin: 0 auto; background: var(--white); border-radius: 32px; padding: 56px 56px 48px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(45, 74, 62, 0.15); }

  /* Progress bar */
  .quiz-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 40px; }
  .progress-step { flex: 1; height: 4px; background: var(--line); border-radius: 100px; transition: background 0.4s ease; }
  .progress-step.active { background: var(--forest); }
  .progress-step.completed { background: var(--forest); }
  .quiz-step-num { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--forest); margin-bottom: 16px; }

  /* Question */
  .quiz-question { font-family: 'Lora', serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 500; color: var(--forest-deep); line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.02em; }
  .quiz-question em { font-style: italic; color: var(--forest); }
  .quiz-helper { font-size: 15px; color: var(--text-muted); margin-bottom: 36px; }

  /* Options */
  .quiz-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .quiz-options.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .quiz-option { background: var(--cream); border: 2px solid var(--line); padding: 20px 24px; border-radius: 16px; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; gap: 16px; text-align: left; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500; color: var(--text); position: relative; }
  .quiz-option:hover { border-color: var(--forest-soft); background: var(--sand-light); transform: translateY(-1px); }
  .quiz-option.selected { background: var(--forest); border-color: var(--forest); color: var(--cream); }
  .quiz-option.selected .quiz-option-icon { background: var(--cream); color: var(--forest); }
  .quiz-option-icon { width: 36px; height: 36px; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--forest); flex-shrink: 0; transition: all 0.25s ease; }
  .quiz-option-content { flex: 1; }
  .quiz-option-title { font-weight: 600; margin-bottom: 2px; }
  .quiz-option-desc { font-size: 13px; opacity: 0.75; font-weight: 400; }
  .quiz-option.selected .quiz-option-desc { opacity: 0.85; }
  .quiz-option-check { width: 22px; height: 22px; border: 1.5px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.25s ease; }
  .quiz-option.selected .quiz-option-check { background: var(--cream); border-color: var(--cream); }
  .quiz-option.selected .quiz-option-check svg { display: block; }
  .quiz-option-check svg { display: none; color: var(--forest); }

  /* Multi-select indicator */
  .quiz-multi-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); background: var(--sand-light); padding: 6px 12px; border-radius: 100px; margin-bottom: 20px; font-weight: 500; }

  /* Navigation buttons */
  .quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
  .btn-back { background: transparent; color: var(--text-muted); padding: 12px 20px; border: none; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 500; transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 8px; }
  .btn-back:hover:not(:disabled) { color: var(--forest); }
  .btn-back:disabled { opacity: 0.3; cursor: not-allowed; }
  .btn-next { background: var(--forest); color: var(--cream); padding: 14px 28px; border-radius: 100px; border: none; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; }
  .btn-next:hover:not(:disabled) { background: var(--forest-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(45, 74, 62, 0.4); }
  .btn-next:disabled { opacity: 0.4; cursor: not-allowed; }
  .btn-next svg { transition: transform 0.3s ease; }
  .btn-next:hover:not(:disabled) svg { transform: translateX(4px); }

  /* === RESULT === */
  .quiz-result { display: none; }
  .quiz-result.active { display: block; }
  .result-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--forest); margin-bottom: 16px; }
  .result-headline { font-family: 'Lora', serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 500; color: var(--forest-deep); line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
  .result-headline em { font-style: italic; color: var(--forest); }
  .result-explanation { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin-bottom: 36px; }
  .result-products { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
  .result-product { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; align-items: center; gap: 20px; transition: all 0.3s ease; text-decoration: none; color: var(--text); }
  .result-product:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: 0 16px 32px -16px rgba(45, 74, 62, 0.2); }
  .result-product.primary { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--cream); }
  .result-product.primary:hover { background: var(--forest); }
  .result-product-icon { width: 56px; height: 56px; background: var(--sand); color: var(--forest-deep); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'Lora', serif; font-size: 22px; font-weight: 600; font-style: italic; }
  .result-product.primary .result-product-icon { background: var(--sand); color: var(--forest-deep); }
  .result-product-content { flex: 1; }
  .result-product-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--forest); margin-bottom: 4px; }
  .result-product.primary .result-product-tag { color: var(--sand); }
  .result-product-title { font-family: 'Lora', serif; font-size: 22px; font-weight: 500; margin-bottom: 4px; letter-spacing: -0.01em; }
  .result-product-why { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
  .result-product.primary .result-product-why { color: rgba(250, 246, 237, 0.8); }
  .result-product-arrow { color: var(--forest); flex-shrink: 0; transition: transform 0.3s ease; }
  .result-product.primary .result-product-arrow { color: var(--sand); }
  .result-product:hover .result-product-arrow { transform: translateX(4px); }

  .result-cta { background: var(--sand-light); border-radius: 20px; padding: 28px; text-align: center; }
  .result-cta-title { font-family: 'Lora', serif; font-size: 20px; font-weight: 500; color: var(--forest-deep); margin-bottom: 8px; }
  .result-cta-text { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
  .result-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .btn-primary-cta { background: var(--forest); color: var(--cream); padding: 14px 28px; border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; }
  .btn-primary-cta:hover { background: var(--forest-deep); transform: translateY(-2px); }
  .btn-restart { background: transparent; color: var(--forest-deep); padding: 14px 24px; border: 1.5px solid var(--forest-deep); border-radius: 100px; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
  .btn-restart:hover { background: var(--forest-deep); color: var(--cream); }

  /* === FOOTER === */
  .footer { padding: 64px 40px 32px; background: var(--forest-deep); color: rgba(250, 246, 237, 0.7); }
  .footer-inner { max-width: 1280px; margin: 0 auto; }
  .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(250, 246, 237, 0.1); }
  .footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 20px; max-width: 320px; }
  .footer-col h5 { color: var(--cream); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a { color: rgba(250, 246, 237, 0.7); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
  .footer-col a:hover { color: var(--sand); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; }
  .footer-bottom a { color: rgba(250, 246, 237, 0.7); text-decoration: none; }
  .footer-bottom a:hover { color: var(--sand); }
  .footer-divider { color: rgba(250, 246, 237, 0.3); }

  @media (max-width: 760px) {
    .quiz-hero { padding: 24px 24px 48px; }
    .breadcrumb { padding: 100px 24px 0; }
    .quiz-section { padding: 40px 24px 80px; }
    .quiz-container { padding: 32px 24px; }
    .quiz-options.grid-2 { grid-template-columns: 1fr; }
    .result-product { flex-direction: column; align-items: flex-start; text-align: left; }
    .result-product-arrow { align-self: flex-end; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav-menu { display: none; }
    .nav-inner { padding: 14px 20px; }
    .footer { padding: 48px 24px 24px; }
  }
  @media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
    .quiz-nav { flex-direction: column-reverse; }
    .btn-next { width: 100%; justify-content: center; }
    .btn-back { width: 100%; justify-content: center; }
  }

  /* === LOGO — replaced with new lockup SVG === */
  .logo { display: flex; align-items: center; text-decoration: none; }
  .logo-img { height: 64px; width: auto; display: block; }
  .footer .logo-img { height: 80px; }
  @media (max-width: 980px) {
    .logo-img { height: 52px; }
  }
  @media (max-width: 560px) {
    .logo-img { height: 44px; }
    .footer .logo-img { height: 56px; }
  }
