/* =====================================================================
   Bezplatné ocenenie — Michaela Karafa
   Editorial luxury aesthetic, zladené s michaelakarafa.sk/v3
   Cream paper · warm gold accent · sharp corners · serif italics
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Background — warm off-white (zladené s v3 ale o niečo svetlejšie) */
  --bg:           hsl(36, 36%, 98%);
  --bg-soft:      hsl(34, 30%, 95%);
  --bg-card:      hsl(36, 28%, 96%);

  --ink:          hsl(220, 14%, 14%);   /* deep charcoal s teplým nádychom */
  --ink-muted:    hsl(220, 8%, 38%);
  --ink-subtle:   hsl(220, 6%, 56%);
  --line:         hsl(34, 18%, 86%);
  --line-strong:  hsl(34, 18%, 72%);

  /* Default — vibrant magenta/raspberry (theme-pink) */
  --accent:       hsl(330, 78%, 52%);
  --accent-hot:   hsl(338, 85%, 56%);
  --accent-soft:  hsl(330, 80%, 90%);
  --accent-deep:  hsl(322, 72%, 38%);
  --accent-tint:  hsl(335, 85%, 96%);
  --accent-h:     330;     /* HSL hue pre tieň výpočty */
  --accent-shadow: hsla(330, 78%, 52%, .35);
  --accent-shadow-strong: hsla(330, 78%, 52%, .45);
  --accent-shadow-soft: hsla(330, 78%, 52%, .15);
  --accent-shadow-softer: hsla(330, 78%, 52%, .12);
  --hi-1: hsl(335 90% 82%);
  --hi-2: hsl(345 90% 82%);

  --error:        hsl(0, 70%, 50%);
  --success:      hsl(150, 45%, 38%);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --radius:    3px;
  --radius-lg: 6px;
  --container: 720px;
  --pad-x:     1.25rem;
}

/* --gold aliasy sú definované v každom .theme-* bloku nižšie (kvôli cascade) */

/* Reset ===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -.005em;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink); text-decoration: none; }
.hidden { display: none !important; }

/* Subtle paper grain overlay (premium texture) ============== */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  background-image:
    radial-gradient(hsl(38 25% 80%) .5px, transparent .5px),
    radial-gradient(hsl(38 25% 80%) .5px, transparent .5px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 2; }

/* === Topbar ============================================ */
.topbar {
  background: hsla(40, 33%, 98%, 0.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.topbar-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad-x);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: var(--gold);
  background: transparent;
  letter-spacing: -.02em;
}
.brand-name { letter-spacing: .12em; text-transform: uppercase; font-size: 13px; font-weight: 600; font-family: var(--sans); color: var(--ink); }
.topbar-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.topbar-phone:hover { color: var(--gold); border-bottom-color: var(--gold); }
.topbar-phone svg { width: 14px; height: 14px; }

/* === App layout ====================================== */
.app { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x) 60px; }

/* === Hero ============================================ */
.hero { text-align: center; padding: 48px 8px 28px; }
@media (max-width: 600px) { .hero { padding: 36px 4px 24px; } }

.hero-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em;
  color: #fff;
  margin-bottom: 18px;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent));
  border-radius: 999px;
  box-shadow: 0 4px 14px var(--accent-shadow);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 9vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: 0;
  height: 30%;
  background: linear-gradient(90deg, var(--hi-1), var(--hi-2));
  z-index: -1;
  transform: rotate(-1.5deg);
  border-radius: 2px;
}
.hero-sub {
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
@media (max-width: 600px) {
  .hero-sub { font-size: 15px; }
}

.hero-trust {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 22px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero-trust svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.social-proof {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}
.sp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: hsl(150 60% 45%);
  box-shadow: 0 0 0 0 hsla(150, 60%, 45%, .55);
  animation: spPulse 2s infinite;
}
.social-proof strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes spPulse {
  0%   { box-shadow: 0 0 0 0 hsla(150, 60%, 45%, .55); }
  70%  { box-shadow: 0 0 0 8px hsla(150, 60%, 45%, 0); }
  100% { box-shadow: 0 0 0 0 hsla(150, 60%, 45%, 0); }
}

/* === Wizard container ====================================== */
.wizard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: 24px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 12px 40px hsla(220, 14%, 14%, .04);
  position: relative;
}
.wizard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-hot), var(--accent), var(--accent-deep));
}

/* Steps — editorial table-of-contents style */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.step {
  padding: 14px 4px 12px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: color .2s, background .2s;
}
.step:last-child { border-right: none; }
.step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-subtle);
  background: var(--bg);
  transition: all .25s;
}
.step b { font-weight: 600; letter-spacing: .14em; }
.step.active { color: var(--ink); background: var(--bg); }
.step.active span { border-color: var(--accent); color: var(--bg); background: var(--accent); }
.step.done span { border-color: var(--accent); background: var(--accent); color: var(--bg); }
.step.done span::after { content: ''; }

@media (max-width: 600px) {
  .steps { font-size: 9px; }
  .step { padding: 10px 2px 8px; gap: 4px; }
  .step span { width: 20px; height: 20px; font-size: 10px; }
}

/* Screen wrapper */
.screen { display: none; padding: 36px 28px; }
.screen.active { display: block; animation: fadeUp .45s cubic-bezier(.2,.8,.2,1); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .screen { padding: 28px 18px; }
}

.screen h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 4.2vw, 26px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 6px;
  text-align: center;
  letter-spacing: -.01em;
}
.screen-sub {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0 0 28px;
  display: inline-flex; gap: 12px; align-items: center;
  width: 100%; justify-content: center;
}
.screen-sub::before, .screen-sub::after {
  content: ''; flex: 0 0 30px; height: 1px; background: var(--line-strong);
}

/* === Card grids (typ + dôvod) === */
.choice-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 4px;
}
@media (min-width: 600px) {
  .choice-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.choice-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: left;
  transition: all .2s;
  display: flex; flex-direction: column;
  position: relative;
  font-family: var(--sans);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.choice-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsla(220, 14%, 14%, .06);
}
.choice-card.active {
  border-color: var(--accent);
  background: var(--accent-tint);
  box-shadow: 0 0 0 3px var(--accent-shadow-soft), 0 8px 24px var(--accent-shadow-softer);
}
.choice-card.active::before {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.choice-card .icon {
  width: 38px; height: 38px;
  margin-bottom: 14px;
  color: var(--accent);
  opacity: .55;
  transition: all .2s;
}
.choice-card:hover .icon { opacity: 1; }
.choice-card.active .icon { color: var(--accent); opacity: 1; }
.choice-card .title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.choice-card.active .title { color: var(--accent-deep); }
.choice-card .sub {
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Compact 4-up (typ) — vertical icons */
.choice-cards.compact .choice-card {
  align-items: center; text-align: center; padding: 18px 10px 16px;
}
.choice-cards.compact .choice-card .icon {
  width: 36px; height: 36px; margin-bottom: 8px;
}
.choice-cards.compact .choice-card .title { font-size: 13px; }
@media (min-width: 600px) {
  .choice-cards.compact .choice-card { padding: 22px 10px 18px; }
}

/* === Form fields ============================================ */
.field { margin-bottom: 18px; }
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.field-hint { font-size: 11px; color: var(--ink-subtle); margin-top: 6px; line-height: 1.5; }

.input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23737373' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.ac-wrap { position: relative; }

.lokalita-pick {
  margin-top: 12px; padding: 12px 14px;
  background: hsl(150 50% 96%);
  border-left: 3px solid hsl(150 60% 45%);
  border-radius: 4px;
  font-size: 13px;
  color: hsl(150 40% 22%);
  display: flex; align-items: flex-start; gap: 10px;
}
.lokalita-pick svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: hsl(150 60% 45%); }
.lokalita-pick strong { color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; gap: 0; } }

.input-wrap { position: relative; }
.input-wrap .input { padding-right: 42px; }
.input-unit {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--ink-subtle); pointer-events: none;
  font-variant-numeric: tabular-nums;
}

/* Veľkosť bytu (1-izb / 2-izb / ...) */
.vel-row { display: flex; flex-wrap: wrap; gap: 6px; }
.vel-btn {
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  letter-spacing: .04em;
  transition: all .2s;
}
.vel-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.vel-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Choice grid (stav, podlažie...) */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 480px) { .choice-grid { grid-template-columns: 1fr; } }
.choice-btn {
  padding: 12px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all .2s;
  display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.choice-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.choice-btn.active {
  background: var(--bg-card);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 0 var(--gold);
}
.choice-btn small { font-size: 10px; color: var(--ink-subtle); font-weight: 400; }

.checkbox-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all .2s;
}
.checkbox-row:hover { border-color: var(--line-strong); }
.checkbox-row input { width: 16px; height: 16px; accent-color: var(--gold); }

/* === Buttons ============================================ */
.actions { display: flex; gap: 10px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .25s;
  font-family: var(--sans);
}
.btn svg { width: 14px; height: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-hot), var(--accent));
  color: #fff;
  flex: 1;
  border-color: var(--accent);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--accent-shadow), inset 0 1px 0 hsla(0, 0%, 100%, .15);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); border-color: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-shadow-strong), inset 0 1px 0 hsla(0, 0%, 100%, .15); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary:disabled:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--line-strong); background: var(--bg-soft); }
.btn-block { width: 100%; padding: 16px; }

/* === Loading / animation phases ====================== */
.analyza { padding: 12px 0; }
.analyza-title {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 4.2vw, 26px);
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: -.01em;
}
.analyza-title em { font-style: italic; color: var(--gold); }
.dots i {
  display: inline-block; opacity: .25; font-style: normal; color: var(--gold);
  animation: blink 1.4s infinite;
}
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.phase {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 16px 18px;
  margin-bottom: 8px;
  transition: all .35s;
}
.phase.active { border-color: var(--gold); background: var(--bg-card); }
.phase.done { border-color: var(--line); opacity: .65; }
.phase.done .phase-row { color: var(--success); }
.phase-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 10px;
  letter-spacing: .005em;
}
.phase-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  color: var(--accent);
  opacity: .45;
  flex-shrink: 0;
  transition: opacity .25s;
}
.phase-icon svg { width: 18px; height: 18px; }
.phase.active .phase-icon { color: var(--accent); opacity: 1; }
.phase.done .phase-icon { color: var(--success); opacity: 1; }
.phase-name { flex: 1; font-weight: 500; }
.phase.active .phase-name { color: var(--ink); }
.phase-pct {
  font-family: var(--sans); font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--ink-subtle);
  min-width: 44px; text-align: right;
  letter-spacing: .04em;
}
.phase.active .phase-pct { color: var(--gold); }
.phase.done .phase-pct { color: var(--success); }
.phase-bar {
  width: 100%; height: 1px; background: var(--line); overflow: hidden;
}
.phase-fill {
  width: 0%; height: 100%; background: var(--gold);
  transition: width .3s ease;
}
.phase.done .phase-fill { background: var(--success); }
.analyza-meta {
  text-align: center; font-size: 13px; color: var(--ink-subtle);
  margin-top: 20px; min-height: 18px;
  font-family: var(--sans);
}

/* === 3 cenové stratégie ===================================== */
.strategy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 18px 0 4px;
}
@media (max-width: 540px) {
  .strategy-grid { grid-template-columns: 1fr; gap: 6px; }
}
.strategy {
  background: hsla(0, 0%, 100%, .04);
  border: 1px solid hsla(0, 0%, 100%, .12);
  border-radius: 6px;
  padding: 16px 12px 14px;
  text-align: center;
  position: relative;
  transition: all .25s;
}
.strategy.strat-recommended {
  background: hsla(0, 0%, 100%, .08);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--accent-shadow-soft);
}
.strat-tag {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink);
  font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
  white-space: nowrap;
}
.strat-name {
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.strat-price {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.strat-blur { filter: blur(8px); }
.strat-time {
  font-size: 10px;
  color: hsla(0, 0%, 100%, .55);
  letter-spacing: .04em;
}
@media (max-width: 540px) {
  .strategy { padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; text-align: left; }
  .strat-tag { position: static; transform: none; display: inline-block; align-self: start; grid-column: 1; margin-bottom: 4px; }
  .strat-name { margin: 0; grid-column: 1; grid-row: 2; }
  .strat-price { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 24px; margin: 0; }
  .strat-time { grid-column: 1; grid-row: 3; }
}

/* === Result hero ============================================ */
.result-hero {
  background: var(--ink);
  color: var(--bg);
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.result-hero::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, hsla(38, 45%, 52%, .15), transparent 60%);
  pointer-events: none;
}
.result-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--gold); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.result-label svg { width: 14px; height: 14px; }
.result-teaser {
  font-size: 14px; opacity: .8; margin-bottom: 12px;
  letter-spacing: .005em;
}
.result-blur {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 9vw, 56px);
  letter-spacing: -.01em;
  filter: blur(11px);
  user-select: none;
  margin-bottom: 8px;
  opacity: .9;
}
.result-meta {
  font-size: 12px; opacity: .7;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

/* === Lead card ============================================ */
.lead-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 28px 24px;
  margin-bottom: 16px;
}
.lead-header { text-align: center; margin-bottom: 22px; }
.lead-header .icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  margin-bottom: 14px;
  color: var(--gold);
}
.lead-header .icon-wrap svg { width: 22px; height: 22px; }
.lead-header h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 4vw, 24px); color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.lead-header p { margin: 0; font-size: 14px; color: var(--ink-muted); line-height: 1.55; }
.lead-form .field { margin-bottom: 14px; }
.gdpr-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px; color: var(--ink-muted); line-height: 1.5;
  cursor: pointer;
  transition: all .2s;
}
.gdpr-row:hover { border-color: var(--line-strong); }
.gdpr-row input { margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); }
.gdpr-row a { color: var(--gold); border-bottom: 1px solid var(--gold-soft); }
.gdpr-row a:hover { border-color: var(--gold); }
.gdpr-row em { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.gdpr-row em.req { color: var(--accent-deep); font-weight: 600; }
.gdpr-row em.opt { color: var(--ink-subtle); font-weight: 500; }
.gdpr-row.gdpr-required { background: var(--accent-tint); border-color: var(--accent-soft); }
.gdpr-row:first-of-type { margin-top: 16px; }
.gdpr-row:last-of-type { margin-bottom: 18px; }

.lead-error {
  background: hsl(0, 50%, 96%);
  border-left: 2px solid var(--error);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--error);
  margin-top: 14px;
}

.result-disclaimer {
  background: var(--bg-soft);
  border-left: 2px solid var(--gold);
  padding: 14px 18px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.result-disclaimer strong { color: var(--ink); }

/* === Error / Success ============================================ */
.error-box, .success-box {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.error-box .icon-wrap, .success-box .icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.error-box .icon-wrap { border: 1.5px solid var(--error); color: var(--error); }
.success-box .icon-wrap { background: var(--success); color: var(--bg); }
.error-box h3, .success-box h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.success-box h3 em { font-style: italic; color: var(--gold); }
.error-box p, .success-box p {
  margin: 0 0 8px; font-size: 14px; color: var(--ink-muted);
  line-height: 1.6;
}
.success-meta {
  font-size: 11px; color: var(--ink-subtle); margin-top: 18px !important;
  letter-spacing: .12em; text-transform: uppercase;
}

/* === Success page extras ====================================== */
.success-strategies {
  margin-top: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px 22px;
}
.success-eyebrow {
  text-align: center;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* Light version of strategy-grid (revealed in success) */
.strategy-grid.revealed .strategy {
  background: var(--bg-soft);
  border-color: var(--line);
}
.strategy-grid.revealed .strategy.strat-recommended {
  background: var(--accent-tint);
  border-color: var(--gold);
}
.strategy-grid.revealed .strat-name { color: var(--ink-muted); }
.strategy-grid.revealed .strat-price { color: var(--ink); }
.strategy-grid.revealed .strategy.strat-recommended .strat-name { color: var(--gold-deep); }
.strategy-grid.revealed .strategy.strat-recommended .strat-price { color: var(--gold-deep); }
.strategy-grid.revealed .strat-time { color: var(--ink-subtle); }

.success-explainer {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.success-explainer strong { color: var(--ink); font-weight: 600; }

.success-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 16px;
}
@media (max-width: 480px) { .success-cta { grid-template-columns: 1fr; } }
.success-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px; font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  background: var(--bg);
  transition: all .25s;
}
.success-cta-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.success-cta-btn span { line-height: 1.3; }
.success-cta-btn strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 16px; color: var(--ink); margin-top: 2px; font-variant-numeric: tabular-nums; }
.success-cta-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.success-cta-btn:hover strong { color: var(--gold-deep); }
.success-cta-btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.success-cta-btn.primary strong { color: #fff; }
.success-cta-btn.primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff;
}
.success-cta-btn.primary:hover strong { color: #fff; }

/* === Footer ============================================ */
.footer {
  text-align: center;
  margin-top: 48px;
  padding: 32px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-subtle);
  background: var(--bg-soft);
}
.footer-brand { margin-bottom: 8px; font-size: 13px; color: var(--ink-muted); }
.footer-brand strong { font-weight: 600; color: var(--ink); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.footer-links a { color: var(--ink-muted); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

/* === Google Places autocomplete dropdown ====== */
.pac-container {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 12px 32px hsla(0, 0%, 0%, .08) !important;
  margin-top: 4px !important;
  font-family: var(--sans) !important;
  z-index: 9999;
}
.pac-item {
  padding: 12px 16px !important;
  border-top: 1px solid var(--line) !important;
  font-size: 13px !important;
  color: var(--ink-muted) !important;
  cursor: pointer;
}
.pac-item:hover, .pac-item-selected { background: var(--bg-card) !important; }
.pac-item-query { font-weight: 600 !important; color: var(--ink) !important; font-size: 14px !important; }
.pac-icon { display: none !important; }

/* === Utility ============================================ */
.txt-italic { font-style: italic; font-family: var(--serif); }
.divider { height: 1px; background: var(--line); margin: 24px 0; }

/* =====================================================================
   THEMES — prepínateľné cez ?theme=magenta|orange|gold (default: magenta)
   ===================================================================== */

/* MAGENTA — default (raspberry / pink) */
body.theme-magenta {
  --accent:       hsl(330, 78%, 52%);
  --accent-hot:   hsl(338, 85%, 56%);
  --accent-soft:  hsl(330, 80%, 90%);
  --accent-deep:  hsl(322, 72%, 38%);
  --accent-tint:  hsl(335, 85%, 96%);
  --accent-shadow: hsla(330, 78%, 52%, .35);
  --accent-shadow-strong: hsla(330, 78%, 52%, .45);
  --accent-shadow-soft: hsla(330, 78%, 52%, .15);
  --accent-shadow-softer: hsla(330, 78%, 52%, .12);
  --hi-1: hsl(335 90% 82%);
  --hi-2: hsl(345 90% 82%);
  --gold:        hsl(330, 78%, 52%);
  --gold-soft:   hsl(330, 80%, 90%);
  --gold-deep:   hsl(322, 72%, 38%);
}

/* ORANGE — bold red-orange (saffron / coral) */
body.theme-orange {
  --accent:       hsl(14, 88%, 53%);
  --accent-hot:   hsl(8, 92%, 55%);
  --accent-soft:  hsl(16, 90%, 88%);
  --accent-deep:  hsl(8, 78%, 42%);
  --accent-tint:  hsl(18, 90%, 95%);
  --accent-shadow: hsla(14, 88%, 53%, .35);
  --accent-shadow-strong: hsla(14, 88%, 53%, .45);
  --accent-shadow-soft: hsla(14, 88%, 53%, .15);
  --accent-shadow-softer: hsla(14, 88%, 53%, .12);
  --hi-1: hsl(16 95% 78%);
  --hi-2: hsl(8 95% 80%);
  --gold:        hsl(14, 88%, 53%);
  --gold-soft:   hsl(16, 90%, 88%);
  --gold-deep:   hsl(8, 78%, 42%);
}

/* GOLD — tmavé bronze gold (sophisticated luxury) */
body.theme-gold {
  --accent:       hsl(36, 65%, 42%);
  --accent-hot:   hsl(40, 70%, 50%);
  --accent-soft:  hsl(38, 50%, 86%);
  --accent-deep:  hsl(32, 70%, 30%);
  --accent-tint:  hsl(40, 50%, 95%);
  --accent-shadow: hsla(36, 65%, 42%, .28);
  --accent-shadow-strong: hsla(36, 65%, 42%, .38);
  --accent-shadow-soft: hsla(36, 65%, 42%, .15);
  --accent-shadow-softer: hsla(36, 65%, 42%, .10);
  --hi-1: hsl(40 70% 80%);
  --hi-2: hsl(36 70% 78%);
  --gold:        hsl(36, 65%, 42%);
  --gold-soft:   hsl(38, 50%, 86%);
  --gold-deep:   hsl(32, 70%, 30%);
}

/* === Theme switcher (floating, top-right) ============================ */
.theme-switcher {
  position: fixed;
  top: 12px; right: 12px;
  z-index: 100;
  display: flex; gap: 4px;
  padding: 4px;
  background: hsla(0, 0%, 100%, .92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 14px hsla(0, 0%, 0%, .08);
  backdrop-filter: blur(8px);
}
.theme-switcher a {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: inline-block;
  transition: transform .2s, border-color .2s;
}
.theme-switcher a:hover { transform: scale(1.1); }
.theme-switcher a.active { border-color: var(--ink); }
.theme-switcher .sw-magenta { background: hsl(330, 78%, 52%); }
.theme-switcher .sw-orange  { background: hsl(14, 88%, 53%); }
.theme-switcher .sw-gold    { background: hsl(36, 65%, 42%); }
@media (max-width: 480px) {
  .theme-switcher a { width: 24px; height: 24px; }
}
