/* ============================================
   kolikvydelam.cz — Components (V3)
   Tool-first, ostře sans, krem + accent
   ============================================ */

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(246, 241, 232, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 8px 24px -12px rgba(0, 0, 0, 0.08);
}
/* Fallback for browsers without backdrop-filter — keep header opaque */
@supports not (backdrop-filter: blur(1px)) {
  .header { background: rgba(246, 241, 232, 0.98); }
}
/* Mobile: stronger opacity — small screens are harder to read through blur */
@media (max-width: 768px) {
  .header {
    background: rgba(246, 241, 232, 0.97);
  }
  .header.is-scrolled {
    background: rgba(246, 241, 232, 1);
  }
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
/* Legacy dot — kept for back-compat, no longer used */
.logo__dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
}
/* V3.19 — SVG market arrow mark */
.logo__mark {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-apple, cubic-bezier(0.16, 1, 0.3, 1));
}
.logo:hover .logo__mark {
  transform: translateY(-1px);
}
.logo span em { font-style: normal; color: var(--ink-mute); font-weight: 500; }

.nav__list {
  display: flex;
  gap: var(--space-1);
  align-items: center;
}
.nav__link {
  padding: 8px 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-mute);
  border-radius: var(--r-sm);
  transition: color 0.15s var(--ease-out), background 0.15s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__link:hover { color: var(--ink); background: rgba(22, 20, 18, 0.04); }
.nav__link--accent { color: var(--accent); font-weight: 600; }
.nav__link--accent:hover { color: var(--accent); background: rgba(232, 93, 47, 0.08); }
.nav__link .caret {
  display: inline-block;
  width: 10px; height: 10px;
  transition: transform 0.2s var(--ease-out);
}
.nav__item--has-menu { position: relative; }
.nav__item--has-menu:hover .nav__link .caret,
.nav__item--has-menu:focus-within .nav__link .caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 340px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md), 0 24px 48px -16px rgba(22, 20, 18, 0.12);
  padding: var(--space-3);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__item--has-menu:hover .nav__dropdown,
.nav__item--has-menu:focus-within .nav__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background 0.15s var(--ease-out);
}
.nav__dropdown-item:hover { background: var(--surface-warm); }
.nav__dropdown-item-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.nav__dropdown-item-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-mute);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.nav__dropdown-item-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__dropdown-item-tag--buy {
  background: var(--accent);
  color: var(--accent-text);
}
.nav__dropdown-item-tag--ask {
  background: rgba(22, 20, 18, 0.06);
  color: var(--ink-mute);
}
.nav__dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 8px;
}
.nav__dropdown-header {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 8px 12px 4px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-md);
  transition: transform 0.12s var(--ease-out), background 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
}
.btn--primary:hover { background: var(--ink-soft); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 1px 2px rgba(232, 93, 47, 0.3);
}
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: rgba(22, 20, 18, 0.04); border-color: var(--ink); }

.btn--lg { padding: 14px 22px; font-size: 1rem; border-radius: var(--r-lg); }
.btn--sm { padding: 8px 12px; font-size: 0.875rem; }

.btn .arrow { transition: transform 0.2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== MOBILE NAV ===== */
.menu-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 880px) {
  .nav, .header__inner > .btn--primary { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
    transform-origin: center;
  }
  .menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 0 var(--gutter);
    background: var(--cream);
    border-top: 0 solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease-out), padding 0.3s var(--ease-out), border-top-width 0.3s var(--ease-out);
  }
  .mobile-nav.is-open {
    max-height: 600px;
    padding: var(--space-5) var(--gutter);
    border-top-width: 1px;
  }
  .mobile-nav__link {
    padding: 10px 0;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav__link--accent { color: var(--accent); font-weight: 600; }
  .mobile-nav .btn { margin-top: var(--space-3); justify-content: center; }
  .mobile-nav__group {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    padding-bottom: var(--space-2);
  }
  .mobile-nav__group-title {
    padding: 10px 0 4px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
  }
  .mobile-nav__sublink {
    padding: 8px 0 8px var(--space-4);
    font-size: 0.9375rem;
    color: var(--ink-mute);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
  }
  .mobile-nav__sublink-meta {
    font-size: 0.75rem;
    color: var(--ink-faint);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
  }
  .mobile-nav.is-open { max-height: 1200px; }
}

/* ===== HERO (kalkulačka = hero) ===== */
.hero {
  padding: var(--space-12) 0 var(--space-16);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
.hero__head {
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero__title {
  font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-5);
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__lead {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--ink-mute);
  max-width: 620px;
}

/* Calculator grid: form left, result right */
.calc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (max-width: 880px) {
  .calc-hero { grid-template-columns: 1fr; gap: var(--space-3); padding: var(--space-2); }
  .calc-form { padding: var(--space-5); min-width: 0; }
  .calc-result { padding: var(--space-5); min-width: 0; }
}
@media (max-width: 480px) {
  .calc-form { padding: var(--space-4); }
  .calc-result { padding: var(--space-4); }
}

.calc-form {
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.calc-result {
  box-sizing: border-box;
  min-width: 0;
}
.calc-form__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--space-1);
}
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
}
@media (max-width: 480px) {
  .calc-grid { grid-template-columns: 1fr; }
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
.calc-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.calc-field select,
.calc-field input {
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), background 0.15s var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.calc-field select {
  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 fill='none' stroke='%235e5852' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.calc-field select:focus,
.calc-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(232, 93, 47, 0.12);
}

.calc-slider {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.calc-slider__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8125rem;
}
.calc-slider__head label { font-weight: 500; color: var(--ink-soft); }
.calc-slider__value {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-slider input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--cream-deep);
  border-radius: var(--r-pill);
  outline: none;
}
.calc-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s var(--ease-out);
}
.calc-slider input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow-sm);
}

/* Result panel */
.calc-result {
  padding: var(--space-7);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
}
.calc-result__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.6);
}
.calc-result__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.calc-result__live-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse-dot 1.5s var(--ease-out) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
.calc-result__primary {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.calc-result__label {
  font-size: 0.8125rem;
  color: rgba(246, 241, 232, 0.65);
  font-weight: 500;
}
.calc-result__value {
  font-size: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.25s var(--ease-out);
}
.calc-result__value em {
  font-style: normal;
  font-size: 0.5em;
  color: rgba(246, 241, 232, 0.5);
  font-weight: 500;
  margin-left: 6px;
}
.calc-result__sub {
  font-size: 0.875rem;
  color: rgba(246, 241, 232, 0.7);
  line-height: 1.5;
}

.calc-result__breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(246, 241, 232, 0.1);
}
.calc-result__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.calc-result__metric-label {
  font-size: 0.75rem;
  color: rgba(246, 241, 232, 0.55);
  font-weight: 500;
}
.calc-result__metric-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.calc-result__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.calc-result__cta .btn {
  justify-content: center;
}

/* Trust band under hero */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-7);
  align-items: center;
  padding-top: var(--space-5);
  color: var(--ink-mute);
  font-size: 0.875rem;
}
.trust-row__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-row__item svg { color: var(--accent); flex-shrink: 0; }

/* ===== MARKET DATA (ribbon below hero) ===== */
.market {
  padding: var(--space-8) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.market__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.market__title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.market__source {
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.market__source a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 2px; }
.market__source a:hover { color: var(--accent); }
.market__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}
.market__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-4);
  border-radius: var(--r-md);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.market__cell:hover { transform: translateY(-2px); border-color: var(--accent); }
.market__value {
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.market__value em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--ink-mute);
  font-weight: 500;
  margin-left: 4px;
}
.market__label {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .market__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
}

/* ===== "WHAT NEXT" — dynamic recommendation based on calc result ===== */
.next-step {
  padding: var(--space-16) 0;
}
.next-step__head {
  max-width: 720px;
  margin-bottom: var(--space-8);
}
.next-step__intro {
  font-size: 1.0625rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-top: var(--space-3);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

/* ===== SERVICE GROUP (V3.2 — všech 6 služeb) ===== */
.svc-group {
  margin-top: var(--space-10);
}
.svc-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.svc-group__title {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.svc-group__title em {
  font-style: normal;
  color: var(--accent);
}
.svc-group__hint {
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.5;
  max-width: 460px;
}

.step-card__cta-row {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}
.step-card__cta-row .step-card__cta { margin-top: 0; }

.btn--buy {
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--r-md);
  box-shadow: 0 1px 2px rgba(232, 93, 47, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.12s var(--ease-out), background 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn--buy:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--buy svg { flex-shrink: 0; }

.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  margin-bottom: var(--space-3);
  width: fit-content;
}
.svc-tag--online {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.svc-tag--ask {
  background: rgba(22, 20, 18, 0.06);
  color: var(--ink-mute);
}
.svc-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.step-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-7);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  position: relative;
}
.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.step-card.is-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--paper) 0%, var(--accent-soft) 100%);
}
.step-card__badge {
  position: absolute;
  top: -10px;
  left: var(--space-5);
  padding: 4px 10px;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.step-card__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--space-3);
}
.step-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-2);
}
.step-card__price {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-variant-numeric: tabular-nums;
}
.step-card__price em {
  font-style: normal;
  color: var(--ink-mute);
  font-weight: 500;
}
.step-card__body {
  color: var(--ink-mute);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: var(--space-5);
}
.step-card__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.step-card__bullets li {
  display: flex;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.step-card__bullets li::before {
  content: "";
  display: block;
  width: 14px; height: 14px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
  flex-shrink: 0;
  margin-top: 4px;
}
.step-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: gap 0.2s var(--ease-out);
}
.step-card__cta:hover { gap: 10px; }

/* ===== HOW IT WORKS (3 steps process) ===== */
.how {
  padding: var(--space-16) 0;
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how__head { max-width: 720px; margin-bottom: var(--space-8); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  counter-reset: step;
}
@media (max-width: 720px) {
  .how__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
.how__item {
  counter-increment: step;
  position: relative;
  padding-top: var(--space-5);
}
.how__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.how__item-title {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-2);
  margin-top: var(--space-2);
}
.how__item-body {
  color: var(--ink-mute);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ===== ABOUT-ME (kdo to dělá) ===== */
.about-me {
  padding: var(--space-16) 0;
}
.about-me__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-10);
  align-items: center;
}
@media (max-width: 880px) {
  .about-me__inner { grid-template-columns: 1fr; }
}
.about-me__visual {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.about-me__quote {
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 500;
}
.about-me__quote em {
  font-style: normal;
  color: var(--accent);
}
.about-me__sig {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.about-me__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.about-me__name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9375rem;
}
.about-me__role {
  color: var(--ink-mute);
  font-size: 0.8125rem;
}

.about-me__body h2 { margin-bottom: var(--space-4); }
.about-me__body p {
  color: var(--ink-mute);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.about-me__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.about-me__stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.about-me__stat-label {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ===== FAQ ===== */
.faq {
  padding: var(--space-16) 0;
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
}
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-10);
}
@media (max-width: 880px) { .faq__inner { grid-template-columns: 1fr; gap: var(--space-6); } }
.faq__list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq-item {
  background: var(--paper);
  transition: background 0.15s var(--ease-out);
}
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--ink);
}
.faq-item__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream-deep);
  position: relative;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s var(--ease-out);
}
.faq-item__icon::before {
  width: 10px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item__icon::after {
  width: 2px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.is-open .faq-item__icon { background: var(--accent); }
.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after { background: var(--accent-text); }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out);
}
.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }
.faq-item__body > div { overflow: hidden; }
.faq-item__body p {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--ink-mute);
  line-height: 1.6;
}

/* ===== FINAL CTA ===== */
.cta-final {
  padding: var(--space-16) 0;
}
.cta-final__inner {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-2xl);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 880px) { .cta-final__inner { grid-template-columns: 1fr; gap: var(--space-6); } }
.cta-final__title {
  font-size: clamp(1.75rem, 1rem + 2.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: var(--space-4);
}
.cta-final__title em { font-style: normal; color: var(--accent); }
.cta-final__sub {
  color: rgba(246, 241, 232, 0.7);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.cta-final__actions { display: flex; flex-direction: column; gap: var(--space-3); }
.cta-final .btn--primary { background: var(--accent); color: var(--accent-text); }
.cta-final .btn--primary:hover { background: var(--accent-deep); }
.cta-final .btn--ghost { color: var(--cream); border-color: rgba(246, 241, 232, 0.2); }
.cta-final .btn--ghost:hover { background: rgba(246, 241, 232, 0.06); border-color: var(--cream); }

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-10) 0 var(--space-8);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-mute);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: var(--space-5); } }
.footer__brand { display: flex; flex-direction: column; gap: var(--space-3); max-width: 320px; }
.footer__brand p { color: var(--ink-mute); line-height: 1.5; }
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--space-3);
}
.footer__links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__links a { color: var(--ink-soft); transition: color 0.15s var(--ease-out); }
.footer__links a:hover { color: var(--accent); }
.footer__legal {
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

/* ===== PAGE HEADER (for non-home pages) ===== */
.page-hero {
  padding: var(--space-12) 0 var(--space-8);
}
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-faint); }

/* ===== FORMS ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
}
@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
.form__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.form__select {
  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 fill='none' stroke='%235e5852' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(232, 93, 47, 0.12);
}
.form__hint {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.5;
}
.form__success {
  display: none;
  padding: var(--space-6);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.form__success.is-visible { display: block; }

/* ===== CONTACT PAGE LAYOUT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-5), 4vw, var(--space-8));
}
.contact-card--dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.contact-card--dark h3 { color: var(--cream); }
.contact-card--dark p { color: rgba(246, 241, 232, 0.7); }
.contact-card--dark a { color: var(--cream); }
.contact-card--dark a:hover { color: var(--accent); }
.contact-card--warm {
  background: var(--surface-warm);
}
.contact-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ===== CALCULATOR PAGE (full kalkulacka.html) ===== */
.calc-page {
  padding: var(--space-8) 0 var(--space-16);
}
.calc-page__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-5), 4vw, var(--space-8));
  box-shadow: var(--shadow-md);
}
.calc-page__result {
  margin-top: var(--space-6);
  display: none;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-5), 4vw, var(--space-8));
}
.calc-page__result.is-visible { display: block; }
.calc-page__result h3 { color: var(--cream); }
.calc-page__result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-5);
}
@media (max-width: 480px) { .calc-page__result-grid { grid-template-columns: 1fr; } }
.calc-page__result-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calc-page__result-cell--big { grid-column: 1 / -1; }
.calc-page__result-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.55);
}
.calc-page__result-value {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.calc-page__result-cell--big .calc-page__result-value {
  font-size: clamp(2rem, 1.25rem + 2.5vw, 3rem);
}

/* ===== SLUŽBA detail page ===== */
.service-page {
  padding: var(--space-8) 0 var(--space-16);
}
.service-page__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 880px) { .service-page__inner { grid-template-columns: 1fr; } }
.service-page__main h2 {
  font-size: 1.5rem;
  margin: var(--space-8) 0 var(--space-4);
  letter-spacing: -0.02em;
}
.service-page__main h2:first-child { margin-top: 0; }
.service-page__main p {
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.service-page__main ul {
  margin-bottom: var(--space-4);
  padding-left: 0;
  list-style: none;
}
.service-page__main ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-2);
  color: var(--ink-soft);
  line-height: 1.55;
}
.service-page__main ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px; height: 14px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.service-page__aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
@media (max-width: 880px) { .service-page__aside { position: static; } }
.service-page__price-card {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-7);
  border-radius: var(--r-xl);
}
.service-page__price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin: var(--space-2) 0 var(--space-1);
  font-variant-numeric: tabular-nums;
}
.service-page__price-meta {
  font-size: 0.875rem;
  color: rgba(246, 241, 232, 0.6);
  margin-bottom: var(--space-5);
}
.service-page__price-card .btn { width: 100%; justify-content: center; }
.service-page__meta {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.6;
}
.service-page__meta strong { color: var(--ink); font-weight: 600; }

/* ===== Eyebrow utility ===== */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow--accent { color: var(--accent); }

/* ===== tnum util ===== */
.tnum { font-variant-numeric: tabular-nums; }

/* ===== Reveal-on-scroll (Apple-like, subtle) ===== */
.reveal,
.step-card,
.how__item,
.faq-item,
.market__cell,
.svc-card,
.method__cell,
.fact-card,
.benefit-card,
.breakdown-card,
.process-step,
.contact-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
  will-change: opacity, transform;
}
.reveal.in-view,
.step-card.in-view,
.how__item.in-view,
.faq-item.in-view,
.market__cell.in-view,
.svc-card.in-view,
.method__cell.in-view,
.fact-card.in-view,
.benefit-card.in-view,
.breakdown-card.in-view,
.process-step.in-view,
.contact-card.in-view {
  opacity: 1;
  transform: none;
}

/* Hero text — vyjede zespoda při načtení stránky */
.hero__title,
.hero__lead,
.hero__cta-row,
.hero__trust {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-rise 0.9s var(--ease-apple) forwards;
}
.hero__title { animation-delay: 0.05s; }
.hero__lead { animation-delay: 0.18s; }
.hero__cta-row { animation-delay: 0.30s; }
.hero__trust { animation-delay: 0.42s; }

.page-hero .breadcrumb,
.page-hero .hero__title,
.page-hero .hero__lead {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 0.8s var(--ease-apple) forwards;
}
.page-hero .breadcrumb { animation-delay: 0.05s; }
.page-hero .hero__title { animation-delay: 0.14s; }
.page-hero .hero__lead { animation-delay: 0.26s; }

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Stagger: kartry/itemy se odhalují s mírným zpožděním dle data-stagger */
.in-view[data-stagger="1"] { transition-delay: 0.06s; }
.in-view[data-stagger="2"] { transition-delay: 0.12s; }
.in-view[data-stagger="3"] { transition-delay: 0.18s; }
.in-view[data-stagger="4"] { transition-delay: 0.24s; }
.in-view[data-stagger="5"] { transition-delay: 0.30s; }
.in-view[data-stagger="6"] { transition-delay: 0.36s; }

/* Section headers (nadpisy sekcí) se taky odhalí jemně */
.section-head,
.method__head,
.svc-section__head,
.faq__head,
.process__head,
.market__head {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
}
.section-head.in-view,
.method__head.in-view,
.svc-section__head.in-view,
.faq__head.in-view,
.process__head.in-view,
.market__head.in-view {
  opacity: 1;
  transform: none;
}

/* Respekt k prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .step-card, .how__item, .faq-item, .market__cell, .svc-card,
  .method__cell, .fact-card, .benefit-card, .breakdown-card,
  .process-step, .contact-card,
  .section-head, .method__head, .svc-section__head, .faq__head, .process__head, .market__head {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__title, .hero__lead, .hero__cta-row, .hero__trust,
  .page-hero .breadcrumb, .page-hero .hero__title, .page-hero .hero__lead {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ===== Methodology (Z čeho vycházím) ===== */
.method {
  padding: var(--space-16) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.method__head {
  max-width: 760px;
  margin: 0 auto var(--space-10);
  text-align: center;
}
.method__head h2 {
  margin-top: var(--space-3);
}
.method__head p {
  margin-top: var(--space-4);
  color: var(--ink-mute);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.method__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.method__card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.method__card-num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.method__card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.method__card-body {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.65;
}
.method__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-4);
}
.method__card-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-mute);
  border: 1px solid var(--line);
  font-weight: 500;
}
.method__note {
  margin-top: var(--space-8);
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-faint);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .method__grid { grid-template-columns: 1fr; }
}

/* ===== Automation pillar (highlighted) ===== */
.auto-pillar {
  padding: var(--space-16) 0;
  background: var(--ink);
  color: var(--bg);
}
.auto-pillar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.auto-pillar__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.auto-pillar__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.auto-pillar h2 {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: var(--space-4);
  color: var(--bg);
}
.auto-pillar h2 em {
  font-style: normal;
  color: var(--accent);
}
.auto-pillar__lead {
  margin-top: var(--space-5);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(246, 241, 232, 0.75);
}
.auto-pillar__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.auto-pillar__point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(246, 241, 232, 0.04);
  border: 1px solid rgba(246, 241, 232, 0.10);
  border-radius: var(--radius-md);
}
.auto-pillar__point-num {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  width: 28px;
}
.auto-pillar__point-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 4px;
}
.auto-pillar__point-body {
  font-size: 0.9375rem;
  color: rgba(246, 241, 232, 0.7);
  line-height: 1.6;
}
.auto-pillar__cta {
  margin-top: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bg);
  font-weight: 600;
  border-bottom: 1px solid rgba(246, 241, 232, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.2s ease;
}
.auto-pillar__cta:hover {
  border-color: var(--accent);
}
@media (max-width: 880px) {
  .auto-pillar__inner { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ============================================
   V3.6 — Sekce 'Znáte potenciál své nemovitosti?'
   ============================================ */
.potential {
  padding: var(--space-16) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.potential__inner {
  max-width: 920px;
  margin: 0 auto;
}
.potential__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.potential__title {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: var(--space-4);
  color: var(--ink);
}
.potential__title em {
  font-style: normal;
  color: var(--accent);
}
.potential__lead {
  margin-top: var(--space-5);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-mute);
}
.potential__lead em {
  font-style: italic;
  color: var(--ink);
  font-weight: 600;
}
.potential__paths {
  margin-top: var(--space-9);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.potential__path {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--ink);
}
.potential__path:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 20, 18, 0.06);
}
.potential__path-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.potential__path-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}
.potential__path-body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-mute);
  flex: 1;
}
.potential__path-cta {
  margin-top: var(--space-3);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.potential__note {
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: rgba(232, 93, 47, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-mute);
}
@media (max-width: 880px) {
  .potential__paths { grid-template-columns: 1fr; }
}

/* ============================================
   V3.4 — Investiční kalkulačka (kalkulacka.html)
   ============================================ */

/* Form sekce */
.form__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.form__section-title {
  font-family: var(--font-display, inherit);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form__section-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  user-select: none;
}
.form__section-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 38px;
  height: 22px;
  background: var(--line);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.form__section-toggle input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.form__section-toggle input[type="checkbox"]:checked {
  background: var(--accent);
}
.form__section-toggle input[type="checkbox"]:checked::after {
  transform: translateX(16px);
}
.form__mortgage[hidden] { display: none; }
.form__hint-inline {
  font-size: 0.75rem;
  color: var(--ink-faint);
  line-height: 1.4;
}
.form__hint {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  line-height: 1.5;
  margin-top: var(--space-2);
}

/* Result topline + bloky */
.calc-result__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.calc-result__block {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(246, 241, 232, 0.1);
}
.calc-result__block:first-of-type {
  margin-top: var(--space-5);
  padding-top: 0;
  border-top: none;
}
.calc-result__block[hidden] { display: none; }
.calc-result__block-title {
  display: block;
  font-family: var(--font-display, inherit);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.55);
  margin-bottom: var(--space-4);
}
.calc-result__note {
  margin-top: var(--space-3);
  font-size: 0.8125rem;
  color: rgba(246, 241, 232, 0.5);
  font-style: italic;
}

/* Tlačítko Print (na tmavém pozadí) */
.btn--ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(246, 241, 232, 0.2);
  border-radius: var(--r-md);
  color: rgba(246, 241, 232, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s var(--ease-out);
}
.btn--ghost-dark:hover {
  background: rgba(246, 241, 232, 0.06);
  border-color: rgba(246, 241, 232, 0.4);
  color: var(--cream);
}

/* Benchmark bary */
.calc-result__bench {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.calc-result__bench-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
}
@media (max-width: 640px) {
  .calc-result__bench-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}
.calc-result__bench-label {
  font-size: 0.875rem;
  color: rgba(246, 241, 232, 0.7);
  font-weight: 500;
}
.calc-result__bench-bar {
  position: relative;
  padding-top: 36px;
  padding-bottom: 28px;
}
.calc-result__bench-marks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
}
.calc-result__bench-mark {
  position: absolute;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  color: rgba(246, 241, 232, 0.5);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.calc-result__bench-mark em {
  font-style: normal;
  display: inline-block;
}
.calc-result__bench-mark::before {
  content: '';
  display: block;
  width: 1px;
  height: 8px;
  background: rgba(246, 241, 232, 0.25);
  margin: 0 auto 4px;
}
.calc-result__bench-track {
  position: relative;
  height: 6px;
  background: rgba(246, 241, 232, 0.08);
  border-radius: 3px;
  overflow: visible;
}
.calc-result__bench-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(to right, rgba(232, 93, 47, 0.4), var(--accent));
  border-radius: 3px;
  transition: width 0.5s var(--ease-out);
}
.calc-result__bench-dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  background: var(--cream);
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: left 0.5s var(--ease-out);
  z-index: 2;
}
.calc-result__bench-value {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.8125rem;
  color: var(--cream);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Methodology box */
.calc-page__methodology {
  margin-top: var(--space-8);
  padding: var(--space-5);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* ============================================
   PRINT STYLES (Uložit jako PDF)
   ============================================ */
@media print {
  /* Skryj nepotřebné prvky */
  .header,
  .footer,
  .breadcrumb,
  .page-hero p,
  .calc-page__form,
  .calc-result__topline button,
  .calc-result__block:last-of-type ~ div,
  .btn,
  #btnPrint {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .page-hero {
    padding: 16px 0 !important;
    background: #fff !important;
  }
  .hero__title,
  .hero__title em {
    color: #000 !important;
    font-size: 1.5rem !important;
    font-style: normal !important;
  }

  .calc-page__result {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    page-break-inside: auto;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .calc-page__result .eyebrow,
  .calc-result__block-title,
  .calc-page__result-label,
  .calc-result__bench-label,
  .calc-result__note,
  .calc-result__bench-mark {
    color: #555 !important;
  }
  .calc-page__result-value,
  .calc-result__bench-value {
    color: #000 !important;
  }
  .calc-page__result-cell {
    background: #f5f1ea !important;
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }
  .calc-result__block {
    page-break-inside: avoid;
    border-top: 1px solid #ddd !important;
  }
  .calc-result__bench-track {
    background: #e0d8cc !important;
  }
  .calc-result__bench-fill {
    background: #e85d2f !important;
  }
  .calc-result__bench-dot {
    background: #fff !important;
    border-color: #e85d2f !important;
  }
  .calc-page__methodology {
    page-break-inside: avoid;
    background: #faf7f0 !important;
  }
  /* Hlavička pro tisk */
  .calc-page::before {
    content: 'kolikvydelam.cz — Investiční kalkulačka · Karlovy Vary';
    display: block;
    font-size: 0.75rem;
    color: #666;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
  }
}

/* === Breakdown V ceně / Není v ceně (V3.9) === */
.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-4) 0 var(--space-6);
}
.breakdown-card {
  border-radius: 14px;
  padding: var(--space-5);
  border: 1px solid var(--line);
}
.breakdown-card--in {
  background: rgba(232, 93, 47, 0.06);
  border-color: rgba(232, 93, 47, 0.25);
}
.breakdown-card--out {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}
.breakdown-card ul,
.service-page__main .breakdown-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 0;
}
.breakdown-card ul li,
.service-page__main .breakdown-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.55;
  font-size: 0.9375rem;
  color: var(--ink);
}
.service-page__main .breakdown-card--in ul li::before {
  content: '✓';
  background: transparent;
  border: none;
  width: auto; height: auto;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.55;
}
.service-page__main .breakdown-card--out ul li {
  color: var(--ink-mute);
}
.service-page__main .breakdown-card--out ul li::before {
  content: '−';
  background: transparent;
  border: none;
  width: auto; height: auto;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink-mute);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .breakdown-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

/* === Hero notice — vysvetleni co je / neni v cene (V3.10) === */
.hero-notice {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: rgba(232, 93, 47, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 760px;
}
.hero-notice strong {
  color: var(--ink);
  font-weight: 600;
}

/* =====================================================
   LEGAL PAGES — VOP, GDPR, Cookies, Odstoupení
   ===================================================== */
.legal-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--ink);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  color: var(--ink);
}
.legal-content p {
  margin-bottom: var(--space-3);
  color: var(--ink);
}
.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-3);
  padding-left: 1.5rem;
}
.legal-content li {
  margin-bottom: var(--space-1);
  color: var(--ink);
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--accent-deep);
}
.legal-content strong {
  font-weight: 600;
  color: var(--ink);
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
}
.legal-content th,
.legal-content td {
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.legal-content th {
  font-weight: 600;
  background: var(--cream-deep);
  color: var(--ink);
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  max-width: 380px;
  background: var(--cream);
  color: var(--ink);
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  z-index: 9999;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.18), 0 4px 12px -4px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.85;
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__text a:hover {
  color: var(--accent-deep);
}
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.cookie-btn--reject {
  background: transparent;
  color: var(--ink);
  opacity: 0.7;
  border: 1px solid rgba(0,0,0,0.15);
}
.cookie-btn--reject:hover {
  opacity: 1;
  background: rgba(0,0,0,0.04);
}
.cookie-btn--settings {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.15);
}
.cookie-btn--settings:hover {
  background: rgba(0,0,0,0.04);
}
.cookie-btn--accept {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.cookie-btn--accept:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.cookie-modal[data-visible="true"] {
  display: flex;
}
.cookie-modal__panel {
  background: var(--cream);
  max-width: 560px;
  width: 100%;
  border-radius: 16px;
  padding: var(--space-6);
  max-height: 85vh;
  overflow-y: auto;
}
.cookie-modal__title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--ink);
}
.cookie-modal__desc {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}
.cookie-category {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule);
}
.cookie-category:last-of-type {
  border-bottom: 0;
}
.cookie-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.cookie-category__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.cookie-category__desc {
  font-size: 0.875rem;
  color: var(--ink-mute);
  margin-top: 0.25rem;
  line-height: 1.5;
}
.cookie-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  background: var(--rule);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.cookie-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.cookie-toggle[data-on="true"] {
  background: var(--accent);
}
.cookie-toggle[data-on="true"]::after {
  transform: translateX(18px);
}
.cookie-toggle[data-locked="true"] {
  background: var(--accent);
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}
.cookie-modal__actions .cookie-btn {
  flex: 1;
  min-width: 140px;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__actions .cookie-btn {
    flex: 1;
  }
}

/* =====================================================
   FORM CONSENT CHECKBOX (GDPR)
   ===================================================== */
.form__group--consent {
  margin-top: var(--space-2);
}
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-mute);
}
.form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}
.form__consent a {
  color: var(--accent);
  text-decoration: underline;
}
.form__consent a:hover {
  color: var(--accent-deep);
}
