/* Životný Kompas — V01 */
:root {
  --purple-900: #4a3d8f;
  --purple-800: #5c4da8;
  --purple-700: #6b5bb8;
  --purple-600: #7c6ec3;
  --purple-500: #8f82d0;
  --purple-400: #a89ee0;
  --purple-200: #d4cef5;
  --purple-100: #ebe8fb;
  --purple-50: #f5f4ff;
  --bg: #f7f6ff;
  --white: #ffffff;
  --text: #2d2a3d;
  --text-muted: #6b6780;
  --border: #e2dff3;
  --success: #5a9b7a;
  --shadow: 0 8px 32px rgba(92, 77, 168, 0.1);
  --shadow-sm: 0 2px 12px rgba(92, 77, 168, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font: "Manrope", system-ui, sans-serif;
  --font-script: "Caveat", cursive;
  --max: 1120px;
  --header-h: 72px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary {
  background: var(--purple-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(124, 110, 195, 0.35);
}

.btn-primary:hover {
  background: var(--purple-700);
  box-shadow: 0 6px 20px rgba(124, 110, 195, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--purple-700);
  border: 1.5px solid var(--purple-400);
}

.btn-outline:hover {
  background: var(--purple-50);
  border-color: var(--purple-600);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn-ghost {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.btn-ghost:hover {
  color: var(--purple-700);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple-800);
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-main a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--purple-700);
}

.nav-main a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--purple-600);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--purple-700);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 85% 40%, rgba(168, 158, 224, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(212, 206, 245, 0.4) 0%, transparent 50%),
    linear-gradient(165deg, #f0eefb 0%, var(--bg) 45%, #eeebf8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--purple-900);
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  margin-bottom: 2.25rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-800);
  animation: fadeUp 0.8s ease both;
}

.trust-item:nth-child(1) { animation-delay: 0.15s; }
.trust-item:nth-child(2) { animation-delay: 0.25s; }
.trust-item:nth-child(3) { animation-delay: 0.35s; }

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 18px;
  height: 18px;
}

.hero-visual {
  position: relative;
  animation: fadeIn 1s ease 0.2s both;
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-left: auto;
}

.hero-art-bg {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 158, 224, 0.25) 0%, transparent 70%);
}

.hero-silhouette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.quote-float {
  position: absolute;
  font-family: var(--font-script);
  color: var(--purple-700);
  line-height: 1.3;
  z-index: 2;
  opacity: 0.9;
}

.quote-float--top {
  top: 6%;
  left: -2%;
  font-size: 1.45rem;
  max-width: 12ch;
  animation: floatY 5s ease-in-out infinite;
}

.quote-float--bottom {
  bottom: 8%;
  right: -4%;
  font-size: 1.35rem;
  max-width: 18ch;
  text-align: right;
  animation: floatY 6s ease-in-out 1s infinite;
}

/* ——— Page sections ——— */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(168, 158, 224, 0.2) 0%, transparent 60%),
    var(--bg);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--purple-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 48ch;
  margin-inline: auto;
  font-size: 1.05rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 750;
  color: var(--purple-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-900);
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.steps-list {
  display: grid;
  gap: 1.25rem;
  max-width: 640px;
}

.step-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-600);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-900);
  margin-bottom: 0.25rem;
}

.step-row p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expert {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.expert-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.15rem;
  background: linear-gradient(145deg, var(--purple-200), var(--purple-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
}

.expert h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-900);
  margin-bottom: 0.25rem;
}

.expert-role {
  font-size: 0.85rem;
  color: var(--purple-600);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.expert p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--purple-200), var(--purple-400));
  position: relative;
}

.blog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff22' d='M20,80 Q40,20 60,50 T100,40'/%3E%3C/svg%3E") center/cover;
}

.blog-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.blog-meta {
  font-size: 0.75rem;
  color: var(--purple-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.blog-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-900);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.blog-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-band {
  padding: 4rem 0;
  text-align: center;
  background:
    linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: var(--white);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 750;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
  max-width: 42ch;
  margin-inline: auto;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--purple-800);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--purple-50);
}

/* ——— Auth ——— */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  background:
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(168, 158, 224, 0.25) 0%, transparent 60%),
    var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 750;
  color: var(--purple-900);
  text-align: center;
  margin-bottom: 0.35rem;
}

.auth-card > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--purple-50);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(124, 110, 195, 0.15);
  background: var(--white);
}

.auth-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.auth-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

.auth-note a {
  color: var(--purple-700);
  font-weight: 600;
}

/* ——— Quiz ——— */
.quiz-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(168, 158, 224, 0.22) 0%, transparent 55%),
    var(--bg);
}

.quiz-top {
  padding: 1.25rem 1.5rem 0;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}

.quiz-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.quiz-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--purple-800);
  font-size: 0.95rem;
}

.quiz-logo svg {
  width: 28px;
  height: 28px;
}

.quiz-step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-track {
  height: 4px;
  background: var(--purple-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--purple-600);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
  width: 14.28%;
}

.quiz-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
}

.quiz-card {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem 1.5rem;
  animation: fadeUp 0.4s ease both;
}

.quiz-card h1 {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--purple-900);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.quiz-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  width: 100%;
}

.option:hover {
  border-color: var(--purple-400);
  background: var(--purple-50);
}

.option.selected {
  border-color: var(--purple-600);
  background: var(--purple-50);
  box-shadow: 0 0 0 2px rgba(124, 110, 195, 0.15);
}

.option-emoji {
  font-size: 1.35rem;
  line-height: 1;
  width: 1.5em;
  text-align: center;
}

.option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--purple-300, var(--purple-400));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.option.selected .option-radio {
  border-color: var(--purple-600);
  background: var(--purple-600);
}

.option.selected .option-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.option-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.25rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
}

.option-tile:hover {
  border-color: var(--purple-400);
  background: var(--purple-50);
}

.option-tile.selected {
  border-color: var(--purple-600);
  background: var(--purple-50);
  box-shadow: 0 0 0 2px rgba(124, 110, 195, 0.15);
}

.option-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-tile-icon svg {
  width: 22px;
  height: 22px;
}

.option-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple-600);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
}

.option-tile.selected .option-check {
  display: flex;
}

.option-check svg {
  width: 12px;
  height: 12px;
}

/* Slider */
.slider-wrap {
  padding: 1.5rem 0.5rem 2rem;
  margin-bottom: 1rem;
}

.slider-labels-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.slider-labels-top span:first-child {
  max-width: 10ch;
}

.slider-labels-top span:last-child {
  max-width: 10ch;
  text-align: right;
}

.range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--purple-100);
  border-radius: var(--radius-pill);
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple-600);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(124, 110, 195, 0.45);
  border: 3px solid var(--white);
}

.range-input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple-600);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(124, 110, 195, 0.45);
  border: 3px solid var(--white);
}

.slider-nums {
  display: flex;
  justify-content: space-between;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.slider-nums .active {
  color: var(--purple-700);
  font-size: 1rem;
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.25rem;
}

.quiz-nav .btn-primary {
  min-width: 120px;
}

/* Complete */
.quiz-complete {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}

.complete-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--purple-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.5s ease both;
}

.complete-icon svg {
  width: 36px;
  height: 36px;
}

.quiz-complete h1 {
  margin-bottom: 0.75rem;
}

.quiz-complete > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 36ch;
  margin-inline: auto;
}

.quiz-complete .btn-primary {
  width: 100%;
  margin-bottom: 1rem;
}

.complete-link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.complete-link:hover {
  color: var(--purple-700);
}

.complete-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--purple-600);
}

.complete-quote svg {
  width: 18px;
  height: 18px;
  color: var(--purple-500);
}

.quiz-panel {
  display: none;
}

.quiz-panel.active {
  display: block;
}

/* Recommendations */
.rec-list {
  display: grid;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.rec-item {
  display: flex;
  gap: 1.15rem;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  align-items: flex-start;
}

.rec-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--purple-100);
  color: var(--purple-700);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rec-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-900);
  margin-bottom: 0.3rem;
}

.rec-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ——— Footer ——— */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--purple-700);
}

/* ——— Mobile nav ——— */
.nav-overlay {
  display: none;
}

@media (max-width: 960px) {
  .nav-main,
  .header-actions .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-overlay.open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(45, 42, 61, 0.4);
    backdrop-filter: blur(4px);
  }

  .nav-drawer {
    margin-left: auto;
    width: min(320px, 88vw);
    height: 100%;
    background: var(--white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
  }

  .nav-drawer a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text);
  }

  .nav-drawer a:hover,
  .nav-drawer a.active {
    background: var(--purple-50);
    color: var(--purple-700);
  }

  .nav-drawer-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .nav-drawer-close {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    max-width: none;
  }

  .hero-art {
    max-width: 340px;
    margin-inline: auto;
  }

  .quote-float--top {
    left: 0;
    font-size: 1.2rem;
  }

  .quote-float--bottom {
    right: 0;
    font-size: 1.15rem;
  }

  .features-grid,
  .experts-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .options-grid {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-primary {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .quiz-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}

/* ——— Animations ——— */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
