/* === WebByVoice Wizard — Dark bg, light card, brand fonts === */

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

:root {
  /* Brand palette */
  --gold: #D4A440;
  --gold-light: #E8C06A;
  --gold-dark: #B8892E;
  --purple: #3B1F6E;
  --purple-light: #5A3D8E;
  --deep-dark: #1A1A2E;
  --charcoal: #2D2D2D;
  --off-white: #F8F6F3;
  --light-gray: #E8E5E0;
  --medium-gray: #9A9590;

  --gradient-brand: linear-gradient(135deg, #D4A440 0%, #3B1F6E 100%);
  --gradient-brand-hover: linear-gradient(135deg, #E8C06A 0%, #5A3D8E 100%);
  --gradient-progress: linear-gradient(90deg, #D4A440 0%, #E8C06A 50%, #5A3D8E 100%);

  /* Aliases for the card */
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B6B7A;
  --border: #E8E5E0;
  --error: #C4475A;
  --error-bg: #FDF2F4;
  --success: #4CAF82;

  /* Typography */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-accent: 'Architects Daughter', cursive;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.25);
  --transition: 0.2s ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--deep-dark);
  background-image:
    radial-gradient(ellipse at top left, rgba(212,164,64,0.12), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(59,31,110,0.35), transparent 50%);
  background-attachment: fixed;
  color: #E8E5E0;
  line-height: 1.6;
  min-height: 100dvh;
  padding: 32px 16px;
}

/* === CONTAINER === */
.wizard-container {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* === HEADER === */
.wizard-header {
  padding: 0 0 28px;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.logo img {
  height: 56px !important;
  width: auto !important;
  max-width: 260px;
  display: block;
  object-fit: contain;
}

.logo span { display: none; }

/* --- Language switcher (dropdown) --- */
.lang-switch {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: var(--gold-light);
  color: var(--deep-dark);
  border: none;
  padding: 4px 8px 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s;
}
.lang-toggle:hover { background: var(--gold); }
.lang-caret {
  font-size: 0.7rem;
  transition: transform 0.15s;
  line-height: 1;
}
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #1A1A2E;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  min-width: 64px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 100;
}
.lang-menu[hidden] { display: none; }
.lang-menu li { margin: 0; }
.lang-menu a {
  display: block;
  padding: 6px 12px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.lang-menu a:hover { color: var(--gold-light); background: rgba(255,255,255,0.06); }
.lang-menu a[aria-current="page"] {
  color: var(--deep-dark);
  background: var(--gold-light);
}
.wizard-header { position: relative; }

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-progress);
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 0%;
  box-shadow: 0 0 16px rgba(212,164,64,0.5);
}

.step-counter {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--gold-light);
  margin-top: 12px;
  text-align: center;
}

/* === STEP CARD === */
.step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.step.active { display: block; }

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

.step-content {
  padding: 44px 36px;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* === TYPOGRAPHY === */
h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--deep-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-question {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--deep-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-description {
  font-family: var(--font-accent);
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 28px;
}

.step-description.accent {
  color: var(--gold);
  font-size: 1.2rem;
}

.step-description em {
  font-style: normal;
  color: var(--medium-gray);
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

/* === STEP 1 HERO BLOCK (mimo step-content card, na dark bg) === */
.step-hero-block {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 8px;
}

.step-hero-block h1 {
  color: var(--off-white);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.step-hero-block .step-description {
  margin: 0;
}

@media (max-width: 480px) {
  .step-hero-block h1 { font-size: 1.55rem; }
}

/* === STEP 1 PROMISE BLOCK (uvnitr step-content card) === */
.step-promise {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deep-dark);
  line-height: 1.3;
  margin: 0 0 6px;
}

.step-promise-note {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  color: var(--gold);
  line-height: 1.4;
  margin: 0;
}

.step-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0 22px;
}

@media (max-width: 480px) {
  .step-promise { font-size: 1.1rem; }
  .step-promise-note { font-size: 0.95rem; }
}

/* === STEP PROGRESS (uvnitr step-content card, pod buttony) === */
/* Schovat na step 1 (landing) — total steps zatim neznamy + first-step
   commitment friction (industry best practice: Stripe / Typeform / Notion). */
[data-step="start"] .step-progress { display: none; }

.step-progress {
  margin-top: 28px;
  text-align: center;
}

.step-progress .progress-bar {
  background: var(--light-gray);
  margin: 0 auto 10px;
  max-width: 100%;
}

.step-progress .step-counter {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: var(--gold);
  margin: 0;
}

.step-hint {
  font-family: var(--font-accent);
  color: var(--medium-gray);
  font-size: 1rem;
  text-align: center;
  margin-top: 20px;
}

/* === CHOICE CARDS === */
.choice-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.choice-cards.choice-cards-stack {
  display: flex;
  flex-direction: column;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  color: var(--text);
  width: 100%;
}

.choice-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,164,64,0.2);
}

.choice-card.selected {
  border-color: var(--gold);
  background: #FFFBF0;
}

.choice-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.choice-text { display: flex; flex-direction: column; gap: 2px; }

.choice-text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-dark);
}

.choice-text span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === INPUTS === */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.input-group label.label-accent {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.4;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
}

.input-group textarea { resize: vertical; font-family: var(--font-body); }

.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,164,64,0.15);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--medium-gray);
  font-family: var(--font-body);
}

.input-hint {
  display: block;
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--gold);
  margin-top: 8px;
}

.input-error {
  display: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--error);
  margin-top: 6px;
}

.input-group.has-error .input-error { display: block; }
.input-group.has-error input,
.input-group.has-error textarea {
  border-color: var(--error);
  background: var(--error-bg);
}
.input-group.has-error .input-hint { display: none; }

/* === BRAND KIT CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 12px 0 28px;
}

@media (min-width: 520px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.brand-card {
  padding: 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-align: center;
}

.brand-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.brand-card.selected {
  border-color: var(--gold);
  background: #FFFBF0;
}

.brand-card-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep-dark);
  margin-top: 10px;
}

/* Palette swatches */
.palette-preview { display: flex; gap: 4px; justify-content: center; }
.palette-preview span {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Font preview */
.font-preview { display: flex; flex-direction: column; gap: 4px; min-height: 50px; justify-content: center; }
.font-preview .font-heading { font-size: 1rem; color: var(--deep-dark); }
.font-preview .font-body { font-size: 0.8rem; color: var(--text-muted); }

/* Layout preview */
.layout-preview {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 60px;
  padding: 3px;
  background: var(--off-white);
  border-radius: 4px;
}
.lp { background: #CFCBC4; border-radius: 2px; }
.lp-hero { flex: 1.5; background: var(--gold-light); }
.lp-row { display: flex; gap: 3px; flex: 1; }
.lp-col { flex: 1; background: #CFCBC4; border-radius: 2px; }
.lp-wide { flex: 0.5; }

.brand-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === BUTTONS === */
.step-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.btn-back {
  padding: 14px 20px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-back:hover { color: var(--deep-dark); }

.btn-next,
.btn-submit {
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-dark);
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  margin-left: auto;
}

.btn-next:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 14px rgba(212,164,64,0.3);
}

.btn-next:disabled,
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-submit {
  color: #fff;
  background: var(--gradient-brand);
  padding: 16px 36px;
  font-size: 1.1rem;
  width: 100%;
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--gradient-brand-hover);
  box-shadow: 0 8px 24px rgba(212,164,64,0.35);
}

.btn-submit .btn-loading { display: none; align-items: center; gap: 8px; }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: flex; }

.spinner { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === GDPR === */
.legal-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--medium-gray);
  margin: 16px 0 12px;
  cursor: pointer;
  text-align: left;
}

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

.legal-agree-text {
  flex: 1;
  line-height: 1.4;
}

.legal-agree-text a {
  color: var(--gold);
  text-decoration: underline;
}

.legal-agree-error {
  display: none;
  color: #d33;
  font-size: 0.9rem;
  margin: 0 0 16px;
  text-align: left;
}

.legal-agree-error.show { display: block; }

/* === THANK YOU === */
.thank-you-content { text-align: center; padding: 48px 28px; }

.success-icon { margin: 0 auto 20px; display: inline-block; }

.thank-you-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--deep-dark);
  margin-bottom: 8px;
}

.telegram-cta {
  margin-top: 32px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.telegram-cta p { color: var(--charcoal); margin-bottom: 16px; }

.telegram-qr {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius);
  margin: 12px 0;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gradient-brand);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-top: 12px;
}

.btn-telegram:hover { background: var(--gradient-brand-hover); }

/* ==================================================================
   WIDE STEPS — styleboard + type grid expand the 640px container
   ================================================================== */
body.is-wide .wizard-container { max-width: 1200px; }
.step--wide .step-content,
.step-content--wide {
  padding: 36px 24px;
  background: transparent;
  box-shadow: none;
}
body.is-wide .step-content--wide { padding: 36px 8px; }

body .step--wide h1,
body .step--wide .step-question { text-align: center; color: #F8F6F3; }
body .step--wide .step-description { text-align: center; color: var(--gold); font-family: var(--font-accent); }
body .step--wide .step-description em { color: rgba(255,255,255,0.55); }

/* ==================================================================
   REASSURANCE NOTE + STEP HINT (styleboard, type grid)
   ================================================================== */
.sb-reassurance {
  max-width: 720px; margin: 32px auto 0; padding: 0 16px;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.15rem; line-height: 1.5;
  color: rgba(255,255,255,0.7);
}
.sb-reassurance strong { color: rgba(255,255,255,0.95); font-weight: 400; }

.step-hint {
  max-width: 720px; margin: 0 auto 28px; padding: 12px 20px;
  background: rgba(212,164,64,0.08); border: 1px solid rgba(212,164,64,0.22);
  border-radius: 10px; font-size: 0.85rem; color: var(--gold-dark);
  text-align: center; line-height: 1.5;
}
.step-hint strong { color: var(--deep-dark); font-weight: 600; }

/* ==================================================================
   STYLEBOARD — 6 brand-kit cards (click opens modal)
   ================================================================== */
.sb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 24px;
}
.sb-card {
  background: #FFFFFF; border-radius: 14px; overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 3px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.sb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}
.sb-card.selected { border-color: var(--gold); }

.sb-preview {
  padding: 30px 26px; min-height: 240px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.sb-h { font-size: 26px; line-height: 1.15; margin: 0; }
.sb-body { font-size: 12px; line-height: 1.55; margin: 0; }
.sb-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sb-btn-p, .sb-btn-s { display: inline-block; font-size: 10px; font-weight: 600; padding: 9px 18px; cursor: default; }
.sb-palette-row { display: flex; gap: 2px; margin-top: 4px; }
.sb-palette-row div { flex: 1; height: 20px; border-radius: 3px; }
.sb-icons { display: flex; gap: 8px; margin-top: 4px; }
.sb-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
}
.sb-calm .sb-icon { background: color-mix(in srgb, #f78da7 35%, transparent); color: #2C3E2D; border-radius: 50%; }
.sb-warm .sb-icon { background: #E8DBC4; color: #3A2E22; border-radius: 6px; }
.sb-elegant .sb-icon { background: #1A2332; color: #C9A87C; border: 1.5px solid #C9A87C; border-radius: 6px; }
.sb-bold .sb-icon { background: #0B4752; color: #E47B53; border-radius: 12px; }
.sb-studio .sb-icon { background: transparent; color: #1A1A1A; border: 1.5px solid #1A1A1A; border-radius: 0; }
.sb-dark .sb-icon { background: #1A1A22; color: #A29BFE; border: 1px solid #6C5CE7; border-radius: 10px; box-shadow: 0 0 8px rgba(108,92,231,0.35); }

.sb-info { padding: 14px 22px; background: #FAFAFA; border-top: 1px solid #EEE; }
.sb-name { font-size: 17px; font-weight: 700; margin-bottom: 3px; color: var(--deep-dark); }
.sb-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

/* Per-template styleboards — each card = complete preview vibe */
.sb-calm .sb-preview { background: #ffffff; }
.sb-calm .sb-h { font-family: 'Playfair Display', serif; color: #2C3E2D; font-weight: 700; }
.sb-calm .sb-body { font-family: 'Lato', sans-serif; color: #5F7161; }
.sb-calm .sb-btn-p { background: #5F7161; color: #fff; border-radius: 24px; border: 1.5px solid #5F7161; }
.sb-calm .sb-btn-s { background: transparent; color: #5F7161; border: 1.5px solid #5F7161; border-radius: 24px; }

.sb-warm .sb-preview { background: #FDF8F2; }
.sb-warm .sb-h { font-family: 'Cormorant Garamond', serif; color: #3A2E22; font-weight: 600; font-style: italic; font-size: 30px; }
.sb-warm .sb-body { font-family: 'Montserrat', sans-serif; color: #8B6F4E; }
.sb-warm .sb-btn-p { background: #3A2E22; color: #FDF8F2; border: none; border-radius: 4px; letter-spacing: 0.04em; }
.sb-warm .sb-btn-s { background: transparent; color: #3A2E22; border: 1px solid #8B6F4E; border-radius: 4px; letter-spacing: 0.04em; }

.sb-elegant .sb-preview { background: #1A2332; }
.sb-elegant .sb-h { font-family: 'Playfair Display', serif; color: #F8F6F3; font-weight: 700; }
.sb-elegant .sb-body { font-family: 'Lato', sans-serif; color: #7B8FA1; }
.sb-elegant .sb-btn-p { background: #C9A87C; color: #1A2332; border: none; border-radius: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 9px; }
.sb-elegant .sb-btn-s { background: transparent; color: #C9A87C; border: 1.5px solid #C9A87C; border-radius: 8px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 9px; }

.sb-bold .sb-preview { background: #F0FAFA; }
.sb-bold .sb-h { font-family: 'Fraunces', serif; color: #062D35; font-weight: 700; }
.sb-bold .sb-body { font-family: 'Inter', sans-serif; color: #0B4752; opacity: 0.85; }
.sb-bold .sb-btn-p { background: #0B4752; color: #fff; border: none; border-radius: 24px; }
.sb-bold .sb-btn-s { background: #fff; color: #0B4752; border: 1.5px solid #0B4752; border-radius: 24px; }

.sb-studio .sb-preview { background: #ffffff; text-align: center; align-items: center; }
.sb-studio .sb-h { font-family: 'Cormorant Garamond', serif; color: #1A1A1A; font-style: italic; font-weight: 400; font-size: 30px; }
.sb-studio .sb-body { font-family: 'Poppins', sans-serif; color: #767676; }
.sb-studio .sb-btn-p { background: #1A1A1A; color: #fff; border: none; border-radius: 0; letter-spacing: 0.04em; font-weight: 500; }
.sb-studio .sb-btn-s { background: transparent; color: #1A1A1A; border: 1.5px solid #1A1A1A; border-radius: 0; letter-spacing: 0.04em; font-weight: 500; }

.sb-dark .sb-preview { background: #13131A; }
.sb-dark .sb-h { font-family: 'Space Grotesk', sans-serif; color: #fff; font-weight: 700; }
.sb-dark .sb-body { font-family: 'Inter', sans-serif; color: #888; }
.sb-dark .sb-btn-p { background: linear-gradient(135deg, #6C5CE7, #00CEC9); color: #fff; border: none; border-radius: 10px; font-weight: 600; }
.sb-dark .sb-btn-s { background: transparent; color: #A29BFE; border: 1.5px solid rgba(162,155,254,0.4); border-radius: 10px; font-weight: 600; }

/* ==================================================================
   TYPE GRID — 6 website types with mini-page preview
   ================================================================== */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 24px;
}
.type-card {
  background: #FFFFFF; border-radius: 14px; padding: 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--gold-light);
}
.type-card.selected { border-color: var(--gold); background: #FFFBF0; }
.type-card-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--deep-dark); font-family: var(--font-heading); }
.type-card-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.4; min-height: 34px; }

.mini-page {
  background: #F4F4F4; border-radius: 10px; padding: 6px;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 210px;
}
.mini-sec {
  background: #fff; border-radius: 6px;
  padding: 8px 10px; font-size: 10px; color: #555;
  font-family: 'Inter', sans-serif; font-weight: 500;
  display: flex; align-items: center;
}
.mini-sec.big { min-height: 44px; background: linear-gradient(135deg, #E8E4DC 0%, #F0EDE5 100%); color: #333; }
.mini-sec.accent { background: linear-gradient(135deg, #C8956C 0%, #D4A788 100%); color: #fff; }
.mini-sec-label { flex: 1; }
.mini-sec-tag {
  font-size: 8px; color: #999; background: rgba(0,0,0,0.05);
  padding: 2px 6px; border-radius: 3px; letter-spacing: 0.02em;
}
.mini-sec.accent .mini-sec-tag { background: rgba(255,255,255,0.22); color: #fff; }
.mini-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
.mini-row .mini-sec { padding: 10px 6px; justify-content: center; text-align: center; }
.mini-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mini-row-2 .mini-sec { padding: 10px 8px; justify-content: center; text-align: center; }
.mini-img {
  background: repeating-linear-gradient(45deg, #E0DAD0, #E0DAD0 6px, #EAE6DE 6px, #EAE6DE 12px);
  border-radius: 4px; min-height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #999;
}

.btn-continue {
  padding: 14px 28px;
  background: var(--gold); color: var(--deep-dark);
  border: none; border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  transition: all var(--transition);
  margin-left: auto;
}
.btn-continue:hover { background: var(--gold-light); box-shadow: 0 4px 14px rgba(212,164,64,0.3); }
.btn-continue:disabled {
  background: var(--light-gray); color: var(--text-muted);
  cursor: not-allowed;
}

/* ==================================================================
   MODAL — style-tune palette + font picker with live preview
   ================================================================== */
.modal-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(26,26,46,0.75);
  backdrop-filter: blur(4px);
  z-index: 100; padding: 32px 16px; overflow-y: auto;
}
.modal-backdrop.open { display: block; }
.modal-panel {
  max-width: 880px; margin: 0 auto;
  background: #FFFFFF; border-radius: 20px; overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.06); color: var(--deep-dark);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; font-size: 18px; line-height: 1;
  transition: background 0.15s;
}
.modal-close:hover { background: rgba(0,0,0,0.12); }

.modal-header {
  padding: 24px 28px 14px; border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.modal-title {
  font-family: var(--font-heading); font-size: 22px; font-weight: 700;
  color: var(--deep-dark); margin-bottom: 4px;
}
.modal-subtitle {
  font-family: var(--font-accent); font-size: 0.95rem; color: var(--gold);
}

.modal-preview-wrap {
  padding: 20px 28px; background: var(--light-gray);
}
.modal-preview {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.modal-controls {
  padding: 22px 28px 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.modal-section-label {
  font-family: var(--font-heading);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 10px; font-weight: 700;
}
.palette-chips, .font-chips { display: flex; flex-direction: column; gap: 8px; }
.palette-chip, .font-chip {
  padding: 10px 12px; border-radius: 10px;
  background: var(--off-white); border: 1.5px solid var(--border);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.palette-chip:hover, .font-chip:hover { background: #FFFBF0; border-color: var(--gold-light); }
.palette-chip.active, .font-chip.active { border-color: var(--gold); background: #FFFBF0; }

.palette-chip { display: flex; align-items: center; gap: 10px; }
.palette-chip-name { font-size: 12px; color: var(--charcoal); flex: 1; font-weight: 500; }
.palette-chip-swatches { display: flex; gap: 2px; }
.palette-chip-swatch { width: 16px; height: 16px; border-radius: 3px; }

.font-chip-heading {
  font-size: 16px; color: var(--deep-dark); line-height: 1.2; margin-bottom: 2px; font-weight: 700;
}
.font-chip-meta { font-size: 9px; color: var(--text-muted); }

.modal-actions {
  padding: 14px 28px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
  background: var(--off-white);
}
.modal-btn {
  padding: 11px 22px; border-radius: var(--radius); border: none;
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: opacity 0.15s, background 0.15s;
}
.modal-btn-secondary { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.modal-btn-secondary:hover { border-color: var(--charcoal); color: var(--deep-dark); }
.modal-btn-primary { background: var(--gradient-brand); color: #fff; }
.modal-btn-primary:hover { background: var(--gradient-brand-hover); }

/* ==================================================================
   PER-STYLE AESTHETIC VARS + BIG TEMPLATE PREVIEWS (for modal)
   ================================================================== */
[class*="t-"][class$="-big"],
.style-calm, .style-warm, .style-elegant, .style-bold, .style-studio, .style-dark {
  --btn-radius: 8px;
}
.style-calm { --btn-radius: 24px; --h-weight: 700; --h-style: normal; }
.style-warm { --btn-radius: 4px; --h-weight: 400; --h-style: italic; }
.style-elegant { --btn-radius: 8px; --h-weight: 700; }
.style-bold { --btn-radius: 24px; --h-weight: 700; }
.style-studio { --btn-radius: 0; --h-weight: 400; --h-style: italic; }
.style-dark { --btn-radius: 10px; --h-weight: 700; }

/* ---- CALM big preview ---- */
.t-calm-big { background: var(--color-light); }
.t-calm-big .t-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 30px; background: var(--color-light); }
.t-calm-big .t-logo { font-family: var(--font-body); font-size: 13px; color: var(--color-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.t-calm-big .t-links span { font-family: var(--font-body); font-size: 10px; color: var(--color-secondary); margin-left: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.t-calm-big .t-hero { display: flex; min-height: 240px; background: var(--color-light); padding: 0; }
.t-calm-big .t-hero-text { flex: 1.2; padding: 40px 30px; display: flex; flex-direction: column; justify-content: center; }
.t-calm-big .t-hero-text h2 { font-family: var(--font-heading); font-size: 30px; color: var(--color-dark); line-height: 1.2; margin-bottom: 14px; font-weight: 700; }
.t-calm-big .t-hero-text p { font-family: var(--font-body); font-size: 13px; color: var(--color-primary); line-height: 1.6; margin-bottom: 18px; max-width: 300px; }
.t-calm-big .t-btn { display: inline-block; background: var(--color-primary); color: var(--color-light); font-family: var(--font-body); font-size: 11px; font-weight: 600; padding: 11px 24px; border-radius: 24px; align-self: flex-start; }
.t-calm-big .t-hero-img { flex: 0.8; background: linear-gradient(180deg, var(--color-lighter) 0%, var(--color-secondary) 140%); display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 10px; color: var(--color-primary); opacity: 0.85; }
.t-calm-big .t-services { display: flex; gap: 18px; padding: 26px 30px; background: var(--color-lighter); }
.t-calm-big .t-svc { flex: 1; text-align: center; }
.t-calm-big .t-svc-icon { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 10px; background: var(--color-accent); opacity: 0.6; }
.t-calm-big .t-svc h4 { font-family: var(--font-heading); font-size: 13px; color: var(--color-dark); margin-bottom: 3px; font-weight: 700; }
.t-calm-big .t-svc p { font-family: var(--font-body); font-size: 10px; color: var(--color-secondary); }
.t-calm-big .t-svc .t-svc-btn { display: inline-block; margin-top: 8px; font-family: var(--font-body); font-size: 9px; color: var(--color-primary); font-weight: 600; letter-spacing: 0.04em; }

/* ---- WARM big preview ---- */
.t-warm-big { background: var(--color-light); }
.t-warm-big .t-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; background: var(--color-light); border-bottom: 1px solid rgba(0,0,0,0.06); }
.t-warm-big .t-logo { font-family: var(--font-heading); font-size: 22px; color: var(--color-dark); font-weight: 600; }
.t-warm-big .t-links span { font-family: var(--font-body); font-size: 10px; color: var(--color-primary); margin-left: 18px; letter-spacing: 0.04em; }
.t-warm-big .t-hero { background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 50%, var(--color-accent) 100%); padding: 60px 30px; text-align: center; min-height: 220px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.t-warm-big .t-hero h2 { font-family: var(--font-heading); font-size: 32px; color: #fff; line-height: 1.15; margin-bottom: 10px; font-weight: 400; }
.t-warm-big .t-hero p { font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,0.9); line-height: 1.5; max-width: 320px; margin-bottom: 16px; }
.t-warm-big .t-btn { background: #fff; color: var(--color-dark); font-family: var(--font-body); font-size: 11px; font-weight: 600; padding: 10px 24px; border-radius: 6px; letter-spacing: 0.04em; }
.t-warm-big .t-editorial { padding: 30px; background: var(--color-light); text-align: center; }
.t-warm-big .t-editorial h3 { font-family: var(--font-heading); font-size: 20px; color: var(--color-dark); margin-bottom: 8px; font-weight: 400; font-style: italic; }
.t-warm-big .t-editorial p { font-family: var(--font-body); font-size: 11px; color: var(--color-primary); line-height: 1.6; max-width: 380px; margin: 0 auto; }

/* ---- ELEGANT big preview ---- */
.t-elegant-big { background: var(--color-light); }
.t-elegant-big .t-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 30px; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.06); }
.t-elegant-big .t-logo { font-family: var(--font-heading); font-size: 16px; color: var(--color-dark); font-weight: 700; }
.t-elegant-big .t-links { display: flex; align-items: center; gap: 14px; }
.t-elegant-big .t-links span { font-family: var(--font-body); font-size: 11px; color: var(--color-secondary); }
.t-elegant-big .t-nav-cta { background: var(--color-primary) !important; color: #fff !important; font-family: var(--font-body); font-size: 10px; font-weight: 600; padding: 8px 16px; border-radius: 8px; }
.t-elegant-big .t-hero { background: var(--color-dark); padding: 40px 30px; text-align: center; }
.t-elegant-big .t-badge { display: inline-block; background: rgba(255,255,255,0.08); color: var(--color-accent); font-family: var(--font-body); font-size: 9px; font-weight: 600; padding: 5px 12px; border-radius: 12px; margin-bottom: 14px; letter-spacing: 0.04em; }
.t-elegant-big .t-hero h2 { font-family: var(--font-heading); font-size: 28px; color: var(--color-light); line-height: 1.2; margin-bottom: 12px; }
.t-elegant-big .t-hero p { font-family: var(--font-body); font-size: 12px; color: var(--color-secondary); line-height: 1.5; max-width: 340px; margin: 0 auto 18px; }
.t-elegant-big .t-btn-p { display: inline-block; background: var(--color-accent); color: var(--color-dark); font-family: var(--font-body); font-size: 11px; font-weight: 700; padding: 11px 24px; border-radius: 8px; }
.t-elegant-big .t-stats { display: flex; background: #fff; border-bottom: 1px solid var(--color-lighter); }
.t-elegant-big .t-stat { flex: 1; padding: 18px 10px; text-align: center; border-right: 1px solid var(--color-lighter); }
.t-elegant-big .t-stat:last-child { border: none; }
.t-elegant-big .t-stat-num { font-family: var(--font-heading); font-size: 22px; color: var(--color-primary); font-weight: 700; }
.t-elegant-big .t-stat-label { font-family: var(--font-body); font-size: 9px; color: var(--color-secondary); margin-top: 3px; }
.t-elegant-big .t-content { background: var(--color-light); padding: 20px 30px; text-align: center; }
.t-elegant-big .t-content h3 { font-family: var(--font-heading); font-size: 15px; color: var(--color-dark); margin-bottom: 5px; }
.t-elegant-big .t-content p { font-family: var(--font-body); font-size: 11px; color: var(--color-secondary); }

/* ---- BOLD big preview ---- */
.t-bold-big { background: var(--color-light); }
.t-bold-big .t-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 30px; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.t-bold-big .t-logo { font-family: var(--font-heading); font-size: 18px; color: var(--color-primary); font-weight: 700; }
.t-bold-big .t-links { display: flex; align-items: center; gap: 12px; }
.t-bold-big .t-links span { font-family: var(--font-body); font-size: 10px; color: var(--color-primary); }
.t-bold-big .t-nav-cta { background: var(--color-primary) !important; color: #fff !important; font-family: var(--font-body); font-size: 9px; font-weight: 600; padding: 8px 16px; border-radius: 24px; }
.t-bold-big .t-hero { background: #fff; padding: 34px 30px; text-align: center; }
.t-bold-big .t-hero h2 { font-family: var(--font-heading); font-size: 28px; color: var(--color-dark); line-height: 1.2; margin-bottom: 8px; }
.t-bold-big .t-hero p { font-family: var(--font-body); font-size: 11px; color: var(--color-primary); line-height: 1.5; max-width: 320px; margin: 0 auto 14px; opacity: 0.8; }
.t-bold-big .t-btn-p { display: inline-block; background: var(--color-primary); color: #fff; font-family: var(--font-body); font-size: 11px; font-weight: 600; padding: 11px 26px; border-radius: 28px; }
.t-bold-big .t-stats { display: flex; gap: 28px; padding: 14px 30px; background: #fff; justify-content: center; }
.t-bold-big .t-stat { text-align: center; }
.t-bold-big .t-stat-num { font-family: var(--font-heading); font-size: 20px; color: var(--color-primary); font-weight: 700; }
.t-bold-big .t-stat-label { font-family: var(--font-body); font-size: 9px; color: var(--color-primary); opacity: 0.55; }
.t-bold-big .t-cards { display: flex; gap: 10px; padding: 18px 30px; background: var(--color-light); }
.t-bold-big .t-card { flex: 1; border-radius: 16px; padding: 16px 12px; text-align: center; }
.t-bold-big .t-card:nth-child(1) { background: var(--color-lighter); }
.t-bold-big .t-card:nth-child(2) { background: color-mix(in srgb, var(--color-accent) 35%, #fff); }
.t-bold-big .t-card:nth-child(3) { background: color-mix(in srgb, var(--color-secondary) 40%, #fff); }
.t-bold-big .t-card h4 { font-family: var(--font-heading); font-size: 12px; color: var(--color-dark); margin-bottom: 3px; }
.t-bold-big .t-card p { font-family: var(--font-body); font-size: 9px; color: var(--color-primary); opacity: 0.75; }

/* ---- STUDIO big preview ---- */
.t-studio-big { background: var(--color-light); }
.t-studio-big .t-nav { display: flex; flex-direction: column; align-items: center; padding: 24px 30px 14px; background: var(--color-light); gap: 8px; }
.t-studio-big .t-logo { font-family: var(--font-heading); font-size: 24px; color: var(--color-primary); font-weight: 600; letter-spacing: 0.06em; }
.t-studio-big .t-links { display: flex; gap: 20px; }
.t-studio-big .t-links span { font-family: var(--font-body); font-size: 10px; color: var(--color-secondary); letter-spacing: 0.04em; }
.t-studio-big .t-hero { background: var(--color-lighter); padding: 40px 30px; text-align: center; }
.t-studio-big .t-hero-label { font-family: var(--font-body); font-size: 9px; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; }
.t-studio-big .t-hero h2 { font-family: var(--font-heading); font-size: 30px; color: var(--color-primary); line-height: 1.15; margin-bottom: 10px; font-weight: 400; font-style: italic; }
.t-studio-big .t-hero p { font-family: var(--font-body); font-size: 11px; color: var(--color-secondary); line-height: 1.6; max-width: 320px; margin: 0 auto 18px; }
.t-studio-big .t-btn { display: inline-block; background: transparent; color: var(--color-primary); font-family: var(--font-body); font-size: 10px; font-weight: 500; padding: 10px 22px; border-radius: 0; border: 1.5px solid var(--color-primary); letter-spacing: 0.04em; }
.t-studio-big .t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--color-light); }
.t-studio-big .t-grid-item { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 9px; color: var(--color-secondary); }
.t-studio-big .t-grid-item:nth-child(1) { background: color-mix(in srgb, var(--color-accent) 20%, var(--color-lighter)); }
.t-studio-big .t-grid-item:nth-child(2) { background: color-mix(in srgb, var(--color-accent) 35%, var(--color-lighter)); }
.t-studio-big .t-grid-item:nth-child(3) { background: color-mix(in srgb, var(--color-accent) 50%, var(--color-lighter)); }
.t-studio-big .t-grid-item:nth-child(4) { background: color-mix(in srgb, var(--color-accent) 65%, var(--color-lighter)); }

/* ---- DARK big preview ---- */
.t-dark-big { background: var(--color-dark); }
.t-dark-big .t-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 30px; background: var(--color-dark); border-bottom: 1px solid var(--color-lighter); }
.t-dark-big .t-logo { font-family: var(--font-heading); font-size: 18px; color: #fff; font-weight: 600; }
.t-dark-big .t-links { display: flex; align-items: center; gap: 12px; }
.t-dark-big .t-links span { font-family: var(--font-body); font-size: 10px; color: var(--color-secondary); }
.t-dark-big .t-nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important; color: #fff !important; font-family: var(--font-body); font-size: 9px; font-weight: 600; padding: 8px 16px; border-radius: 10px; }
.t-dark-big .t-hero { background: var(--color-dark); padding: 40px 30px; text-align: center; }
.t-dark-big .t-hero-badge { display: inline-block; background: color-mix(in srgb, var(--color-primary) 18%, transparent); color: var(--color-secondary); font-family: var(--font-body); font-size: 9px; font-weight: 600; padding: 5px 12px; border-radius: 14px; margin-bottom: 14px; }
.t-dark-big .t-hero h2 { font-family: var(--font-heading); font-size: 28px; color: #fff; line-height: 1.2; margin-bottom: 10px; font-weight: 700; }
.t-dark-big .t-hero h2 em { font-style: normal; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.t-dark-big .t-hero p { font-family: var(--font-body); font-size: 11px; color: var(--color-secondary); line-height: 1.5; max-width: 320px; margin: 0 auto 18px; opacity: 0.8; }
.t-dark-big .t-btn-p { display: inline-block; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; font-family: var(--font-body); font-size: 11px; font-weight: 600; padding: 11px 26px; border-radius: 12px; }
.t-dark-big .t-cards { display: flex; gap: 10px; padding: 18px 30px; background: var(--color-dark); }
.t-dark-big .t-card { flex: 1; background: var(--color-lighter); border-radius: 14px; padding: 18px 12px; text-align: center; border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); }
.t-dark-big .t-card-icon { width: 32px; height: 32px; border-radius: 10px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; background: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.t-dark-big .t-card h4 { font-family: var(--font-heading); font-size: 12px; color: var(--color-light); margin-bottom: 3px; font-weight: 500; }
.t-dark-big .t-card p { font-family: var(--font-body); font-size: 9px; color: var(--color-secondary); opacity: 0.7; }

/* === SHAKE animation for validation === */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* === MOBILE === */
@media (max-width: 820px) {
  .sb-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .modal-controls { grid-template-columns: 1fr; }
  body.is-wide .wizard-container { max-width: 640px; }
}
@media (max-width: 640px) {
  body { padding: 20px 12px; }
  .step-content { padding: 28px 20px; border-radius: 16px; }
  h1 { font-size: 1.65rem; }
  .step-question { font-size: 1.25rem; }
  .logo img { height: 44px !important; }
  .choice-card { padding: 16px; }
  .btn-submit { font-size: 1rem; }
  .sb-preview { padding: 24px 20px; min-height: 200px; }
  .sb-h { font-size: 22px; }
  .type-card { padding: 16px; }
  .modal-panel { border-radius: 14px; }
  .modal-header, .modal-preview-wrap, .modal-controls, .modal-actions { padding-left: 18px; padding-right: 18px; }
}

/* === Cyrillic font fallback (ADR-0006, kit-final.html § RU) ===
   RU: Heading = Raleway 800, Body = Raleway, Friendly accent = Neucha.
   POZOR: H1 v RU je Raleway (ne Neucha) — Neucha je jen pro akcenty
   (step-description, em). Inter má cyrilici nativně, zůstává na tlačítkách. */
html[lang="ru"] body { font-family: 'Raleway', system-ui, sans-serif; }
html[lang="ru"] h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
}
html[lang="ru"] .step-description.accent,
html[lang="ru"] .step-description em { font-family: 'Neucha', cursive; }
html[lang="ru"] .step-description.accent { font-size: 1.15rem; }
html[lang="ru"] .step-question,
html[lang="ru"] .btn-back,
html[lang="ru"] .btn-next,
html[lang="ru"] .btn-submit,
html[lang="ru"] .choice-card strong { font-family: 'Inter', sans-serif; }

/* ============================================================ */
/* ======  MODAL PREVIEW — sync with real templates   ========= */
/* ============================================================ */

/* ---- CALM: logo subtitle (script italic under business name) ---- */
.t-calm-big .t-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.1; }
.t-calm-big .t-logo-sub { font-family: var(--font-heading); font-size: 10px; color: var(--color-primary); font-style: italic; font-weight: 400; letter-spacing: 0.04em; text-transform: none; opacity: 0.85; }

/* Replace gradient placeholder with real image in all preview hero-img wrappers */
.t-calm-big .t-hero-img,
.t-warm-big .t-hero-img,
.t-elegant-big .t-hero-img,
.t-bold-big .t-hero-img,
.t-studio-big .t-hero-img,
.t-dark-big .t-hero-img {
  overflow: hidden;
  position: relative;
}
.t-calm-big .t-hero-img img,
.t-warm-big .t-hero-img img,
.t-elegant-big .t-hero-img img,
.t-bold-big .t-hero-img img,
.t-studio-big .t-hero-img img,
.t-dark-big .t-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 240px;
}

/* ---- WARM: services row (same structure as calm, different palette) ---- */
.t-warm-big .t-services { display: flex; gap: 18px; padding: 26px 30px; background: var(--color-lighter); }
.t-warm-big .t-svc { flex: 1; text-align: center; }
.t-warm-big .t-svc-icon { width: 46px; height: 46px; border-radius: 4px; margin: 0 auto 10px; background: var(--color-accent); opacity: 0.6; }
.t-warm-big .t-svc h4 { font-family: var(--font-heading); font-size: 13px; color: var(--color-dark); margin-bottom: 4px; font-weight: 500; font-style: italic; }
.t-warm-big .t-svc p { font-family: var(--font-body); font-size: 10px; color: var(--color-secondary); margin: 0; }

/* ---- ELEGANT: content split row (text + image side by side) ---- */
.t-elegant-big .t-split { display: flex; min-height: 200px; background: var(--color-lighter); }
.t-elegant-big .t-split-text { flex: 1.2; padding: 30px 30px; display: flex; flex-direction: column; justify-content: center; }
.t-elegant-big .t-split-text h3 { font-family: var(--font-heading); font-size: 20px; color: var(--color-dark); margin-bottom: 8px; font-weight: 600; }
.t-elegant-big .t-split-text p { font-family: var(--font-body); font-size: 11px; color: var(--color-secondary); line-height: 1.5; margin-bottom: 12px; }
.t-elegant-big .t-split-img { flex: 1; overflow: hidden; }
.t-elegant-big .t-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 200px; }
.t-elegant-big .t-btn-o { display: inline-block; padding: 8px 16px; font-size: 10px; font-family: var(--font-body); color: var(--color-dark); border: 1.5px solid var(--color-dark); background: transparent; letter-spacing: 0.04em; font-weight: 600; width: fit-content; }

/* ---- BOLD: card-icon + content split ---- */
.t-bold-big .t-card-icon { width: 36px; height: 36px; border-radius: 12px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: color-mix(in srgb, var(--color-accent) 30%, var(--color-lighter)); }
.t-bold-big .t-split { display: flex; min-height: 200px; background: var(--color-lighter); }
.t-bold-big .t-split-text { flex: 1.2; padding: 30px 30px; display: flex; flex-direction: column; justify-content: center; }
.t-bold-big .t-split-text h3 { font-family: var(--font-heading); font-size: 20px; color: var(--color-primary); margin-bottom: 8px; font-weight: 700; }
.t-bold-big .t-split-text p { font-family: var(--font-body); font-size: 11px; color: var(--color-secondary); line-height: 1.5; }
.t-bold-big .t-split-img { flex: 1; overflow: hidden; }
.t-bold-big .t-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 200px; }

/* ---- STUDIO: real images inside grid items ---- */
.t-studio-big .t-grid-item { overflow: hidden; }
.t-studio-big .t-grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }

/* ---- DARK: pricing cards row ---- */
.t-dark-big .t-pricing { display: flex; gap: 12px; padding: 20px 30px 30px; background: var(--color-dark); }
.t-dark-big .t-price-card { flex: 1; padding: 16px 12px; background: color-mix(in srgb, var(--color-primary) 10%, var(--color-dark)); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); border-radius: 10px; text-align: center; }
.t-dark-big .t-price-card--featured { background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 22%, var(--color-dark)), color-mix(in srgb, var(--color-accent) 18%, var(--color-dark))); border-color: var(--color-primary); box-shadow: 0 0 18px color-mix(in srgb, var(--color-primary) 35%, transparent); }
.t-dark-big .t-price-label { font-family: var(--font-body); font-size: 9px; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.t-dark-big .t-price-num { font-family: var(--font-heading); font-size: 22px; color: #fff; font-weight: 600; margin-bottom: 4px; }
.t-dark-big .t-price-note { font-family: var(--font-body); font-size: 9px; color: var(--color-accent); opacity: 0.85; }
