/* =========================================================
   Наталія Мороз — Tichá hodnota / Тиха цінність
   Dark cinematic site for a Prague mortgage & investment consultant
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #0A0E16;
  --bg-alt: #070B12;
  --surface: #111726;
  --surface-2: #0E1422;
  --line: #1E2A44;
  --gold: #C8A24B;
  --gold-soft: #E4CE8F;
  --gold-deep: #9A7B33;
  --accent: #1E2A44;
  --text: #F4F1E9;
  --text-muted: #9AA3B2;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px; --space-11: 160px; --space-12: 200px;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 18px; --radius-pill: 999px;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 80px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
section[id], #main { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html.lenis { scroll-behavior: auto; } }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: rgba(200, 162, 75, 0.28); color: #fff; }

/* ---------- Trilingual switching ---------- */
[data-lang] { display: none; }
html[lang="uk"] [data-lang="uk"],
html[lang="cs"] [data-lang="cs"],
html[lang="ru"] [data-lang="ru"] { display: inline; }
.hero__title .htl,
.brand__line [data-lang] { display: none; }
html[lang="uk"] .hero__title .htl[data-lang="uk"],
html[lang="cs"] .hero__title .htl[data-lang="cs"],
html[lang="ru"] .hero__title .htl[data-lang="ru"] { display: block; }
html[lang="uk"] .brand__line [data-lang="uk"],
html[lang="cs"] .brand__line [data-lang="cs"],
html[lang="ru"] .brand__line [data-lang="ru"] { display: inline-block; }
.hero__title .htl__m { display: block; overflow: hidden; padding: 0.04em 0.05em 0.16em; margin: -0.04em -0.05em -0.12em; }
.hero__title .htl__i { display: block; will-change: transform; }
html.js .hero__title .htl__i { transform: translateY(120%); }
@media (prefers-reduced-motion: reduce) { html.js .hero__title .htl__i { transform: none; } }

/* ---------- Typography helpers ---------- */
.kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.003em;
}
.display-accent {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
}
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--text-muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(96px, 12vh, 160px); position: relative; }
.skip-link {
  position: fixed; top: -120px; left: 16px; z-index: 2000;
  background: var(--gold); color: #0A0E16; padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 600; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  position: relative; overflow: hidden;
  padding: 16px 30px; border-radius: var(--radius-md);
  font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.01em;
  cursor: pointer; border: 1px solid transparent;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.3s var(--ease);
  min-height: 44px;
}
.btn > span { position: relative; z-index: 1; }
.btn--gold { background: var(--gold); color: #0A0E16; font-weight: 600; }
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--gold-soft); transform: translateX(-101%); transition: transform 0.5s var(--ease);
}
.btn--gold:hover::before { transform: translateX(0); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, transparent, rgba(200,162,75,0.12), transparent);
  transform: translateX(-101%); transition: transform 0.6s var(--ease);
}
.btn--ghost:hover { border-color: var(--gold); }
.btn--ghost:hover::before { transform: translateX(101%); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; min-height: 38px; }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 500; font-size: 0.95rem;
  margin-top: var(--space-5);
  border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: border-color 0.4s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); gap: 16px; }
.link-arrow__icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .link-arrow__icon { transform: translateX(4px); }

/* ---------- Cursor (classic arrow, gold) ---------- */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M2,1 L2,18 L6.6,13.7 L9.6,20 L12.2,18.8 L9.2,12.7 L15,12.6 Z' fill='%23C8A24B' stroke='%230A0E16' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 2 1, auto;
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), backdrop-filter 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(8, 11, 18, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-5); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.04em;
  color: var(--text); border-bottom: 1px solid var(--gold); padding-bottom: 1px; line-height: 1;
}
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__line { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.brand__sub { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--text-muted); }

.nav { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav__link { font-size: 0.875rem; color: var(--text-muted); position: relative; padding: 6px 0; transition: color 0.3s var(--ease); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: var(--space-4); }
.lang { display: flex; align-items: center; gap: 6px; }
.lang__btn { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; cursor: pointer; padding: 4px 2px; transition: color 0.3s var(--ease); position: relative; }
.lang__btn.is-active { color: var(--gold); }
.lang__btn.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.lang__sep { color: var(--line); font-size: 0.8rem; }

.burger { display: none; flex-direction: column; gap: 6px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: rgba(7, 11, 18, 0.97);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: var(--space-5); text-align: center; }
.mobile-menu__link { font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 500; opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu__link--cta { color: var(--gold); }
.mobile-menu.is-open .mobile-menu__link:nth-child(1){ transition-delay: .08s }
.mobile-menu.is-open .mobile-menu__link:nth-child(2){ transition-delay: .14s }
.mobile-menu.is-open .mobile-menu__link:nth-child(3){ transition-delay: .20s }
.mobile-menu.is-open .mobile-menu__link:nth-child(4){ transition-delay: .26s }
.mobile-menu.is-open .mobile-menu__link:nth-child(5){ transition-delay: .32s }
.mobile-menu.is-open .mobile-menu__link:nth-child(6){ transition-delay: .38s }
.mobile-menu.is-open .mobile-menu__link:nth-child(7){ transition-delay: .44s }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__canvas.is-on { opacity: 1; }
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 12%, transparent 40%, rgba(10,14,22,0.55) 100%),
    linear-gradient(180deg, rgba(10,14,22,0.55) 0%, transparent 28%, transparent 62%, var(--bg) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 880px; }
.hero__kicker { color: var(--gold); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: var(--space-5); }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3.1rem, 7.4vw, 6.75rem); line-height: 0.98; letter-spacing: 0.004em;
  margin-bottom: var(--space-5);
}
.hero__sub { max-width: 600px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--text-muted); margin-bottom: var(--space-7); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-muted); }
.hero__scroll-text { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: scrollPulse 2.4s var(--ease-io) infinite; }
@keyframes scrollPulse { 0% { transform: translateY(0); } 100% { transform: translateY(300%); } }

/* ---------- Reveal base ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }

/* ---------- Trust ---------- */
.trust__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.portrait-frame { position: relative; aspect-ratio: 4/5; max-width: 420px; }
.portrait-frame__img {
  position: absolute; inset: 12px; border-radius: var(--radius-sm);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(200,162,75,0.16), transparent 70%),
    linear-gradient(160deg, var(--surface), var(--bg-alt));
  display: flex; align-items: center; justify-content: center;
}
.portrait-frame__placeholder { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem); color: rgba(200,162,75,0.35); letter-spacing: -0.05em; }
.portrait-frame__img { overflow: hidden; }
/* Real portrait: cover-fit + slight zoom to frame her face and push a stray right-edge object out of view.
   To re-frame later, tweak object-position and transform-origin (both are single-line changes). */
.portrait-frame__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.12); transform-origin: 44% 28%; display: block; }
.portrait-frame__line { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-frame__line rect { fill: none; stroke: var(--gold); stroke-width: 0.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.trust__portrait.is-in .portrait-frame__line rect { transition: stroke-dashoffset 1.6s var(--ease) 0.2s; stroke-dashoffset: 0; }

.trust__role { color: var(--gold); font-size: 1rem; margin-top: var(--space-3); margin-bottom: var(--space-5); }
.trust__body { margin-bottom: var(--space-6); color: var(--text-muted); }
.trust__points { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-7); }
.trust__points li { position: relative; padding-left: 26px; color: var(--text); font-size: 0.97rem; }
.trust__points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 1px; background: var(--gold); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-5); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.stat__value { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--gold); display: flex; align-items: baseline; }
.stat__suffix { font-size: 0.5em; color: var(--gold-deep); margin-left: 2px; }
.stat__label { font-size: 0.85rem; color: var(--text-muted); margin-top: var(--space-2); line-height: 1.4; }
/* Quiet-values variant: abstract words instead of numbers — slightly smaller for elegant fit */
.stats--values .stat__value { font-size: clamp(1.9rem, 4vw, 2.6rem); }

/* ---------- Pillars ---------- */
.pillar { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.pillar--mirror { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.pillar__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pillar__tagline { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--text); margin: var(--space-4) 0 var(--space-5); }
.pillar__desc { color: var(--text-muted); }
.pillar__cards { display: flex; flex-direction: column; gap: var(--space-4); }
.o-card {
  position: relative; display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-6); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.o-card:hover { transform: translateY(-4px); border-color: rgba(200,162,75,0.5); background: var(--surface-2); }
.o-card__idx { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); line-height: 1; min-width: 32px; }
.o-card p { font-size: 0.97rem; color: var(--text); }

/* ---------- Calculator ---------- */
.calc { background: var(--bg-alt); position: relative; }
.calc__head { text-align: center; max-width: 680px; margin: 0 auto var(--space-8); }
.calc__sub { margin-top: var(--space-4); }
.calc__shell {
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  box-shadow: 0 40px 120px -40px rgba(0,0,0,0.7);
}
.calc__controls { padding: clamp(24px, 4vw, 48px); border-right: 1px solid var(--line); }
.calc__modes { position: relative; display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-pill); margin-bottom: var(--space-7); }
.calc__mode { position: relative; z-index: 1; background: none; border: none; padding: 9px 22px; border-radius: var(--radius-pill); color: var(--text-muted); font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: color 0.4s var(--ease); }
.calc__mode.is-active { color: #0A0E16; }
.calc__modes-slug { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--gold); border-radius: var(--radius-pill); transition: transform 0.45s var(--ease); }
.calc__modes[data-active="mortgage"] .calc__modes-slug { transform: translateX(100%); }

.calc__fields { display: flex; flex-direction: column; gap: var(--space-6); }
.calc__fields.is-hidden { display: none; }
.field__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--space-3); }
.field__val { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold); font-feature-settings: "tnum" 1; }

/* range slider */
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 3px; background: var(--line); outline: none; }
.slider::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 30%), var(--line) var(--p, 30%)); }
.slider::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); }
.slider::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--gold); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; margin-top: -7.5px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-alt); box-shadow: 0 0 0 1px var(--gold), 0 0 14px rgba(200,162,75,0.6); cursor: pointer; transition: transform 0.2s var(--ease); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-alt); box-shadow: 0 0 0 1px var(--gold), 0 0 14px rgba(200,162,75,0.6); cursor: pointer; }
.slider:hover::-webkit-slider-thumb, .slider:active::-webkit-slider-thumb { transform: scale(1.18); }
.slider:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.calc__result { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; }
.calc__result-label { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); }
.calc__rl.is-hidden { display: none; }
.calc__result-value { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--gold); margin: var(--space-3) 0 var(--space-5); font-feature-settings: "tnum" 1; }
.calc__breakdown { display: flex; flex-direction: column; gap: var(--space-3); padding-block: var(--space-5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: var(--space-5); }
.calc__breakdown li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.92rem; }
.calc__breakdown .b-label { color: var(--text-muted); }
.calc__breakdown .b-value { color: var(--text); font-weight: 500; font-feature-settings: "tnum" 1; }
.calc__note { font-size: 0.8rem; line-height: 1.5; color: var(--text-muted); margin-bottom: var(--space-5); }
.calc__cta { margin-top: auto; }

/* ---------- Process ---------- */
.process__head { text-align: center; max-width: 680px; margin: 0 auto var(--space-9); }
.process__rail { position: relative; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(40px, 7vh, 72px); padding-left: 56px; }
.process__spine { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.process__spark { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, 0); background: var(--gold); box-shadow: 0 0 16px 4px rgba(200,162,75,0.7); }
.step { position: relative; }
.step__num { position: absolute; left: -56px; top: -4px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); font-family: var(--font-display); color: var(--text-muted); font-size: 1.1rem; transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease); }
.step.is-active .step__num { color: #0A0E16; background: var(--gold); border-color: var(--gold); }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: var(--space-2); }
.step__body p { color: var(--text-muted); }

/* ---------- Why ---------- */
.why__head { max-width: 720px; margin-bottom: var(--space-8); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.why-card { padding: var(--space-7) var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.why-card:hover { transform: translateY(-4px); border-color: rgba(200,162,75,0.45); }
.why-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: var(--space-3); color: var(--gold-soft); }
.why-card p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Social proof ---------- */
.proof { background: var(--bg-alt); }
.proof__head { text-align: center; margin-bottom: var(--space-7); }
.proof__track { position: relative; max-width: 860px; margin: 0 auto; min-height: 260px; }
.quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.8s var(--ease); text-align: center; padding: var(--space-6); }
.quote.is-active { opacity: 1; visibility: visible; position: relative; }
.quote__mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.5; color: rgba(200,162,75,0.3); display: block; height: 40px; }
.quote blockquote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.35; color: var(--text); margin-bottom: var(--space-5); }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote__name { color: var(--gold); font-weight: 600; }
.quote__role { font-size: 0.85rem; color: var(--text-muted); }
.proof__dots { display: flex; gap: 10px; justify-content: center; margin-top: var(--space-6); }
.proof__dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.proof__dots button.is-active { background: var(--gold); transform: scale(1.3); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: var(--space-5) 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; color: var(--text); transition: color 0.3s var(--ease); }
.acc__q:hover { color: var(--gold-soft); }
.acc__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--gold); transition: transform 0.4s var(--ease); }
.acc__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.acc__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.acc.is-open .acc__icon::after { transform: translateX(-50%) scaleY(0); }
.acc__a { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.acc__a-inner { padding-bottom: var(--space-5); color: var(--text-muted); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__body { margin: var(--space-5) 0 var(--space-7); }
.contact__details { display: flex; flex-direction: column; gap: var(--space-5); }
.contact__details li { display: flex; flex-direction: column; gap: 2px; padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.contact__det-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.contact__det-value { font-size: 1.05rem; color: var(--text); transition: color 0.3s var(--ease); }
a.contact__det-value:hover { color: var(--gold); }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: var(--space-5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field--text { position: relative; }
.input { width: 100%; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 16px; color: var(--text); font-size: 0.95rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.input::placeholder { color: transparent; }
.input--select { color: var(--text); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8A24B' fill='none' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input--select.is-placeholder { color: var(--text-muted); }
.input--area { resize: vertical; min-height: 120px; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 6px 24px -12px rgba(200,162,75,0.5); }
.input__label { position: absolute; left: 16px; top: 16px; color: var(--text-muted); font-size: 0.95rem; pointer-events: none; transition: transform 0.25s var(--ease), color 0.25s var(--ease), font-size 0.25s var(--ease); transform-origin: left top; }
.input:focus + .input__label, .input:not(:placeholder-shown) + .input__label { transform: translateY(-28px) scale(0.8); color: var(--gold); }
.input__label--static { position: static; transform: none; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; display: block; }
.field--select { display: flex; flex-direction: column; }

.contact__submit { position: relative; margin-top: var(--space-2); }
.contact__submit-check { position: absolute; opacity: 0; transform: scale(0.5); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); color: #0A0E16; font-size: 1.2rem; }
.contact__submit.is-sent .contact__submit-text { opacity: 0; }
.contact__submit.is-sent .contact__submit-check { opacity: 1; transform: scale(1); }
.contact__success { font-size: 0.9rem; color: var(--gold-soft); opacity: 0; height: 0; overflow: hidden; transition: opacity 0.5s var(--ease); }
.contact__success.is-shown { opacity: 1; height: auto; }
.form-error { font-size: 0.85rem; color: #e0897e; display: none; }
.form-error.is-shown { display: block; }
.input[aria-invalid="true"] { border-color: #c0584b; }

/* Honeypot — off-screen, out of tab order; only bots fill it (see ADR-0010) */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hp-field__input { width: 1px; }

/* GDPR consent */
.field--consent { display: flex; align-items: flex-start; gap: 10px; }
.consent__box { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--gold); cursor: pointer; }
.consent__label { font-size: 0.8rem; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.consent__box[aria-invalid="true"] { outline: 2px solid #c0584b; outline-offset: 2px; }

/* Submit — loading / disabled while the POST is in flight */
.contact__submit.is-loading { opacity: 0.7; pointer-events: none; }
.contact__submit:disabled { cursor: progress; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: var(--space-8); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: center; }
.footer__brand { display: flex; align-items: center; gap: var(--space-5); }
.footer__mark { font-family: var(--font-display); font-size: 2.6rem; color: var(--text); border-bottom: 1px solid var(--gold); letter-spacing: -0.04em; line-height: 1; padding-bottom: 2px; }
.footer__tagline { font-size: 1.4rem; color: var(--gold-soft); }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--space-5); justify-content: flex-end; }
.footer__nav a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--gold); }
.footer__rights { grid-column: 1 / -1; padding-top: var(--space-6); border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.82rem; }

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .trust__grid, .pillar__grid, .pillar--mirror .pillar__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .pillar--mirror .pillar__cards { order: 2; }
  .calc__shell { grid-template-columns: 1fr; }
  .calc__controls { border-right: none; border-bottom: 1px solid var(--line); }
  .why__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .portrait-frame { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .stats { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .brand__sub { display: none; }
}

/* short / landscape viewports — give the hero natural height so it clears the fixed header */
@media (max-height: 560px) {
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 32px) 64px; align-items: flex-start; }
  .hero__scroll { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__scroll-line::after { display: none; }
  .process__spark { display: none; }
  .portrait-frame__line rect { stroke-dashoffset: 0 !important; }
}

/* =========================================================
   Services grid — "S čím vám pomůžu"  (NEW section)
   Uses existing tokens only (var(--gold), var(--surface), var(--space-*), --ease …).
   Visual DNA mirrors the existing .why card-grid + .o-card (surface + line +
   radius + hover-lift + gold display type). No new colors, no new fonts.
   ========================================================= */

/* ---------- Services grid ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.services__head { max-width: 720px; margin-bottom: var(--space-8); }
.services__intro { margin-top: var(--space-5); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 162, 75, 0.5);
  background: var(--surface-2);
}

.service-card__idx {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1.15;
  color: var(--gold-soft);
  margin-bottom: var(--space-3);
}
.service-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Responsive (mirrors the site's 980 / 620 breakpoints) ---------- */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Partners teaser — compact homepage section (NEW section)
   Tokens only. Bridges #why (--bg) into #proof (--bg-alt), mirroring .services.
   ========================================================= */
.partners-teaser { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.partners-teaser__inner { max-width: 900px; }
.partners-teaser__line { max-width: 720px; margin-top: var(--space-4); }
.partners-teaser__names {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-2);
}
.partners-teaser__names li {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--text-muted); font-size: 0.9rem; letter-spacing: 0.01em;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.partners-teaser__names li:hover { border-color: rgba(200, 162, 75, 0.5); color: var(--text); transform: translateY(-2px); }
.partners-teaser__more { margin-top: var(--space-6); }
