/* =========================================================
   Tomáš Veigl — Slyším váš domov
   ========================================================= */
:root {
  --bg: #F5F7FA;
  --bg-alt: #EDF1FC;
  --paper: #FCFDFE;
  --text: #111D29;
  --muted: #56606E;
  --line: rgba(17, 29, 41, 0.12);
  --accent: #1F7F8C;
  --accent-hover: #176570;
  --accent-soft: #D4EEF1;
  --accent-bright: #73C7D2;
  --accent-bright-hover: #5DB9C6;
  --dark: #111D29;
  --dark-2: #1A2B3C;
  --dark-text: #EDF1FC;
  --dark-muted: #9AA8BA;
  --dark-line: rgba(237, 241, 252, 0.12);

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --h1: clamp(3.4rem, 8.5vw, 8.5rem);
  --h2: clamp(2.3rem, 4.6vw, 4.2rem);
  --h3: clamp(1.35rem, 2vw, 1.75rem);
  --body: clamp(0.95rem, 1vw, 1.0625rem);
  --small: clamp(0.8125rem, 0.9vw, 0.875rem);

  --section-py: clamp(6rem, 12vw, 10rem);
  --gap-xl: clamp(4rem, 7vw, 6.5rem);
  --gap-lg: clamp(2.5rem, 4vw, 4rem);
  --gap-md: clamp(1.5rem, 2.5vw, 2.5rem);
  --gap-sm: clamp(0.75rem, 1.25vw, 1.25rem);
  --container: min(1280px, 100% - 3rem);
  --narrow: min(760px, 100% - 3rem);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --shadow-soft: 0 1px 2px rgba(17, 29, 41, 0.04), 0 14px 40px rgba(17, 29, 41, 0.08);
  --shadow-lift: 0 2px 4px rgba(17, 29, 41, 0.05), 0 24px 60px color-mix(in srgb, var(--accent) 14%, transparent);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 45%, transparent) transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 350;
  line-height: 1.7;
  letter-spacing: 0.005em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035; background-image: var(--noise); background-size: 256px 256px;
}
img, video, svg { display: block; max-width: 100%; }
img { filter: saturate(1.04) contrast(1.02); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; text-wrap: balance; }
h1 { letter-spacing: -0.035em; }
h2 { font-size: var(--h2); letter-spacing: -0.025em; }
h3 { font-size: var(--h3); letter-spacing: -0.012em; line-height: 1.15; }
p { text-wrap: pretty; }
em { font-style: italic; }
h1 em, h2 em, h3 em, .serif em { color: var(--accent); }
.dark h2 em, .dark h1 em { color: #73C7D2; }

.container { width: var(--container); margin-inline: auto; }
.narrow { width: var(--narrow); margin-inline: auto; }
.section { padding-block: var(--section-py); position: relative; }
.label {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--gap-sm);
}
.label::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.dark .label { color: #73C7D2; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.65; color: var(--muted); max-width: 52ch; font-weight: 300; }
.dark .lead { color: var(--dark-muted); }
.h-thin { color: var(--muted); }
.dark .h-thin { color: var(--dark-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons & links ---------- */
.btn {
  --bgc: var(--accent-bright);
  position: relative; display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.6rem 1rem 1.8rem; border-radius: 100px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--bgc); color: var(--text); overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease-expo), box-shadow 0.4s var(--ease-out), background 0.3s var(--ease-out);
}
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: translateY(101%); transition: transform 0.55s var(--ease-expo); border-radius: inherit; }
.btn:hover { box-shadow: var(--shadow-lift); color: var(--paper); }
.btn:hover::after { transform: translateY(0); }
.btn .arr { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(255,255,255,0.35); transition: transform 0.5s var(--ease-expo); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn--ghost { --bgc: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost .arr { background: var(--bg-alt); }
.btn--ghost:hover { color: var(--paper); }
.btn--light { --bgc: var(--paper); color: var(--text); }
.btn--light .arr { background: var(--bg-alt); }

.btn--light::after { background: var(--accent-bright); }
.btn--light:hover { color: var(--text); }
.dark .btn--ghost { color: var(--dark-text); box-shadow: inset 0 0 0 1px var(--dark-line); }
.dark .btn--ghost .arr { background: rgba(255,255,255,0.08); }
.dark .btn--ghost::after { background: var(--dark-text); }
.dark .btn--ghost:hover { color: var(--dark); }
.btn-magnetic { will-change: transform; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-size: 0.9375rem;
}
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease-expo);
}
.link:hover::after { transform: scaleX(1); }
.link-u { position: relative; }
.link-u::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-bright); z-index: 300; transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 200;
  padding-block: 1.3rem;
  transition: background 0.45s var(--ease-out), padding 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), color 0.3s;
}
.nav-inner { width: var(--container); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; position: relative; z-index: 2; }
.brand img { width: 46px; height: auto; transition: filter 0.3s; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.01em; }
.brand-name small { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.3rem; opacity: 0.6; }
.nav-menu { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav-menu > a:not(.btn) { font-size: 0.875rem; font-weight: 450; letter-spacing: 0.01em; opacity: 0.85; transition: opacity 0.2s; }
.nav-menu > a:not(.btn):hover, .nav-menu > a.active { opacity: 1; }
.nav-menu > a.active::after { transform: scaleX(1); }
.nav .btn { padding: 0.8rem 1.25rem; font-size: 0.72rem; }
.nav.scrolled { background: color-mix(in srgb, var(--paper) 94%, transparent); padding-block: 0.8rem; box-shadow: 0 1px 0 var(--line); color: var(--text); }
.nav.scrolled .brand img.b-light { display: none; }
.nav.scrolled .brand img.b-dark { display: block; }
.brand img.b-light { display: none; }
body[data-nav="light"] .nav:not(.scrolled) { color: var(--dark-text); }
body[data-nav="light"] .nav:not(.scrolled) .brand img.b-dark { display: none; }
body[data-nav="light"] .nav:not(.scrolled) .brand img.b-light { display: block; }
body[data-nav="light"] .nav:not(.scrolled) .btn--ghost { color: var(--dark-text); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 2; border-radius: 50%; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease-expo), opacity 0.3s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.nav-phone { font-size: 0.875rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.5rem; }
.nav-phone i { width: 7px; height: 7px; border-radius: 50%; background: #5DA36E; box-shadow: 0 0 0 4px rgba(93,163,110,0.18); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 0; z-index: 1; background: var(--paper); color: var(--text);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.35rem;
    padding: 6rem max(1.5rem, calc((100vw - 1280px) / 2)) 3rem;
    clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-in-out);
    visibility: hidden;
  }
  .nav-menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav-menu > a:not(.btn) { font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1.12; opacity: 1; letter-spacing: -0.02em; }
  .nav-menu > a.active { color: var(--accent); }
  .nav-menu .btn { margin-top: 1.5rem; padding: 1rem 1.6rem; font-size: 0.8rem; }
  .nav-menu .nav-phone { margin-top: 1rem; }
  body.menu-open .nav { color: var(--text) !important; }
  body.menu-open .brand img.b-light { display: none !important; }
  body.menu-open .brand img.b-dark { display: block !important; }
}
@media (min-width: 1181px) { .nav-menu .nav-phone { display: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-expo); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.clip-reveal { clip-path: inset(0 0 99% 0); transition: clip-path 1.4s var(--ease-in-out); transition-delay: calc(var(--i, 0) * 120ms); }
.clip-reveal.in { clip-path: inset(0 0 0 0); }
.clip-reveal img { transform: scale(1.14); transition: transform 1.8s var(--ease-expo); transition-delay: calc(var(--i, 0) * 120ms); }
.clip-reveal.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .clip-reveal, .clip-reveal img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
}

/* word reveal (split at build time) */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.words .w > span { display: inline-block; transform: translateY(105%); animation: rise 1.15s var(--ease-expo) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 1s var(--ease-expo) forwards; animation-delay: var(--d, 0.7s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- waveform (signature motif) ---------- */
.wave { display: flex; align-items: center; gap: var(--wgap, 3px); height: var(--wh, 56px); overflow: hidden; }
@media (max-width: 700px) { .wave-divider .wave i:nth-child(2n), .hero-wave .wave i:nth-child(2n) { display: none; } }
.wave i { flex: 1 1 0; min-width: 2px; max-width: 5px; height: 100%; border-radius: 3px; background: currentColor; transform: scaleY(var(--s)); transform-origin: center; opacity: 0.9; }
.wave.live i { animation: wv var(--d) ease-in-out infinite alternate; animation-delay: var(--dl); }
.wave.paused i { animation-play-state: paused; }
@keyframes wv { from { transform: scaleY(calc(var(--s) * 0.25)); } to { transform: scaleY(var(--s)); } }
@media (prefers-reduced-motion: reduce) { .wave.live i { animation: none; } }

/* flat → wave divider */
.wave-divider { color: var(--accent); width: var(--container); margin-inline: auto; }
.wave-divider .wave { --wh: 44px; }
.wave-divider .wave i { max-width: none; }
.wave-divider .wave i { transform: scaleY(0.06); transition: transform 1.2s var(--ease-expo); transition-delay: calc(var(--k) * 12ms); }
.wave-divider.in .wave i { transform: scaleY(var(--s)); }

/* ripples */
.ripples { position: absolute; pointer-events: none; aspect-ratio: 1; }
.ripples span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid currentColor; opacity: 0; animation: ripple 7.5s var(--ease-out) infinite; }
.ripples span:nth-child(2) { animation-delay: 1.9s; }
.ripples span:nth-child(3) { animation-delay: 3.8s; }
.ripples span:nth-child(4) { animation-delay: 5.7s; }
@keyframes ripple { 0% { transform: scale(0.28); opacity: 0; } 12% { opacity: 0.55; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ripples span { animation: none; opacity: 0.2; } .ripples span:nth-child(2){transform:scale(.6)} .ripples span:nth-child(3){transform:scale(.8)} }

/* ---------- HOME HERO ---------- */
.hero {
  position: relative; min-height: 100svh; padding-top: clamp(7rem, 12vh, 9rem);
  display: grid; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 40%, color-mix(in srgb, var(--accent) 13%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
}
.hero-grid { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: end; position: relative; }
.hero-copy { position: relative; z-index: 3; padding-bottom: clamp(7rem, 14vh, 9rem); align-self: center; }
.hero h1 { font-size: clamp(4rem, 9.4vw, 10rem); line-height: 0.9; white-space: nowrap; margin-left: -0.05em; margin-bottom: var(--gap-md); }
.hero h1 .l2 { display: block; padding-left: 0.62em; }
.hero h1 em { color: var(--accent); }
.hero-sub { font-size: clamp(1.02rem, 1.3vw, 1.2rem); font-weight: 300; line-height: 1.65; color: var(--muted); max-width: 44ch; margin-bottom: var(--gap-lg); }
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.hero-proof { display: flex; align-items: center; gap: 0.9rem; font-size: 0.85rem; color: var(--muted); }
.hero-proof b { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.stars { color: var(--accent); letter-spacing: 0.12em; font-size: 0.8rem; }
.hero-figure { position: relative; align-self: end; height: min(84svh, 860px); display: flex; justify-content: center; align-items: flex-end; }
.hero-figure .ripples { width: min(150%, 980px); left: 50%; top: 32%; translate: -50% -50%; color: var(--accent); }
.hero-arch {
  position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: 82%; height: 78%;
  border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #5DB9C6 0%, var(--accent-bright) 55%, #92D5DE 100%);
  overflow: hidden;
}
.hero-arch::after { content: ''; position: absolute; inset: 0; background-image: var(--noise); opacity: 0.18; mix-blend-mode: overlay; }
.hero-figure img.portrait { position: relative; z-index: 2; width: auto; height: 96%; max-width: none; object-fit: contain; filter: saturate(1.02) contrast(1.03); }
.hero-tag {
  position: absolute; z-index: 3; left: -6%; bottom: 20%; background: var(--paper); border-radius: var(--r-lg);
  padding: 1rem 1.2rem; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 0.9rem; max-width: 250px;
  font-size: 0.8rem; line-height: 1.4;
}
.hero-tag .wave { --wh: 28px; --wgap: 2px; width: 64px; color: var(--accent); }
.hero-tag strong { display: block; font-weight: 600; font-size: 0.85rem; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
.hero-grid { z-index: 2; }
.hero-wave { color: var(--text); opacity: 0.9; width: 100%; }
.hero-wave .wave { --wh: 70px; --wgap: 4px; }
.scroll-hint { position: absolute; z-index: 5; right: max(1rem, calc((100vw - 1280px) / 2 - 3rem)); top: 50%; writing-mode: vertical-rl; display: flex; align-items: center; gap: 0.8rem; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.scroll-hint .line { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint .line::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--accent); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { top: -100%; } 60%, 100% { top: 100%; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 1.5rem; }
  .hero h1 { white-space: normal; font-size: clamp(3.4rem, 15.5vw, 7rem); }
  .hero h1 .l2 { padding-left: 0.35em; }
  .hero-grid > * { min-width: 0; }
  .hero-figure { height: 62svh; min-height: 420px; }
  .hero-tag { left: 0; bottom: 14%; }
  .scroll-hint { display: none; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; padding-block: 1.6rem; border-block: 1px solid var(--line); background: var(--paper); position: relative; z-index: 3; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.01em; color: var(--text); padding-right: 0.6em; display: inline-flex; align-items: center; gap: 0.6em; }
.marquee-track span b { font-weight: 400; font-style: normal; color: var(--accent); font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.dark { background: var(--dark); border-color: var(--dark-line); }
.marquee.dark span { color: var(--dark-text); }

/* ---------- statement ---------- */
.statement { background: var(--paper); }
.statement-grid { display: grid; grid-template-columns: 0.32fr 1fr; gap: var(--gap-lg); align-items: start; }
.statement-text { font-family: var(--font-display); font-size: clamp(1.9rem, 3.7vw, 3.55rem); line-height: 1.16; letter-spacing: -0.02em; }
.statement-text em { color: var(--accent); }
.statement-text .soft { color: color-mix(in srgb, var(--text) 38%, var(--paper)); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); margin-top: var(--gap-xl); padding-top: var(--gap-md); border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; }
.pillar .n { font-family: var(--font-display); font-size: 1rem; color: var(--accent); grid-row: span 2; padding-top: 0.2rem; }
.pillar h3 { font-size: 1.5rem; }
.pillar p { color: var(--muted); font-size: 0.95rem; }
.sig { display: flex; align-items: center; gap: 1rem; margin-top: var(--gap-md); }
.sig img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--bg-alt); }
.sig small { display: block; color: var(--muted); font-size: 0.8rem; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } .pillars { grid-template-columns: 1fr; } }

/* ---------- feature (full-bleed listing) ---------- */
.feature { position: relative; height: min(100svh, 980px); min-height: 620px; overflow: hidden; color: var(--dark-text); display: flex; align-items: flex-end; }
.feature-media { position: absolute; inset: -12% 0; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 18, 26,0.15) 0%, rgba(10, 18, 26,0.1) 40%, rgba(10, 18, 26,0.78) 100%), linear-gradient(90deg, rgba(10, 18, 26,0.45) 0%, transparent 60%); }
.feature-inner { position: relative; z-index: 2; width: var(--container); margin-inline: auto; padding-bottom: clamp(3rem, 8vh, 6rem); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--gap-lg); align-items: end; }
.feature h2 { font-size: clamp(2.8rem, 6.6vw, 6.4rem); line-height: 0.96; }
.feature h2 em { color: #73C7D2; }
.feature .label { color: #73C7D2; }
.feature-card { background: rgba(252, 253, 254, 0.97); color: var(--text); border-radius: var(--r-lg); padding: 1.6rem 1.7rem; box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.feature-card .price { font-family: var(--font-display); font-size: 2.3rem; letter-spacing: -0.02em; line-height: 1; margin: 0.3rem 0 1rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-bottom: 1.2rem; }
.facts div { padding: 0.8rem 0; }
.facts div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.facts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.facts small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border-radius: 100px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: var(--bg-alt); color: var(--text); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pill--live::before { background: #4F9A63; }
.pill--res::before { background: #D4A13B; }
.pill--done::before { background: var(--muted); }
@media (max-width: 860px) { .feature-inner { grid-template-columns: 1fr; } }

@supports (animation-timeline: view()) {
  .parallax { animation: parallax linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  @keyframes parallax { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
  @media (prefers-reduced-motion: reduce) { .parallax { animation: none; } }
}

/* ---------- offers (horizontal) ---------- */
.offers { background: var(--bg); overflow: hidden; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: var(--gap-md); margin-bottom: var(--gap-lg); flex-wrap: wrap; }
.sec-head h2 { max-width: 16ch; }
.sec-head .side { display: flex; align-items: center; gap: 1rem; }
.arrows { display: flex; gap: 0.5rem; }
.arrows button { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.arrows button:hover { background: var(--text); color: var(--paper); }
.rail {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(1.5rem, calc((100vw - 1280px) / 2)); scroll-padding-inline: max(1.5rem, calc((100vw - 1280px) / 2));
  padding-bottom: 0.5rem;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 clamp(290px, 31vw, 420px); scroll-snap-align: start; }

/* listing card */
.card { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.card-media { position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo), filter 0.6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .pill { position: absolute; top: 0.9rem; left: 0.9rem; background: rgba(252, 253, 254,0.95); }
.card-media .go { position: absolute; right: 0.9rem; bottom: 0.9rem; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transform: scale(0.6) rotate(-45deg); opacity: 0; transition: transform 0.6s var(--ease-expo), opacity 0.3s; }
.card:hover .card-media .go { transform: scale(1) rotate(-45deg); opacity: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
.card h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.18; }
.card .price { font-weight: 600; font-size: 0.95rem; }
.card.is-done .card-media img { filter: grayscale(0.55) contrast(0.95); }
.card.is-done:hover .card-media img { filter: none; }
.card.is-done .card-media::after { content: attr(data-stamp); position: absolute; right: 0.9rem; top: 0.9rem; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--paper); background: color-mix(in srgb, var(--text) 70%, transparent); padding: 0.1rem 0.8rem 0.2rem; border-radius: 100px; }
.card-cta { background: var(--dark); color: var(--dark-text); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; position: relative; overflow: hidden; }
.card-cta h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); color: var(--paper); }
.card-cta h3 em { color: #C9EEF2; }
.card-cta .ripples { width: 420px; right: -160px; bottom: -160px; color: var(--accent-bright); }

/* ---------- story (dark, signature: muffled → clear) ---------- */
.dark { background: var(--dark); color: var(--dark-text); }
.story { overflow: clip; }
.story::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 40% at 85% 10%, rgba(115, 199, 210, 0.14), transparent 70%); pointer-events: none; }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--gap-xl); align-items: start; position: relative; }
.story-aside { position: sticky; top: 7rem; }
.story-aside h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); margin-bottom: var(--gap-md); }
.story-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.3; max-width: 360px; margin-top: var(--gap-md); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.story-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; font-size: 0.78rem; color: var(--dark-text); display: flex; align-items: center; gap: 0.7rem; }
.story-photo figcaption .wave { --wh: 18px; --wgap: 2px; width: 44px; color: #73C7D2; }
.story-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 14, 20,0.7)); }
.story-photo figcaption { z-index: 2; }
.hear-lines { display: flex; flex-direction: column; gap: clamp(5rem, 16vh, 10rem); padding-block: clamp(2rem, 14vh, 9rem) clamp(2rem, 8vh, 5rem); }
.hear { font-family: var(--font-display); font-size: clamp(1.7rem, 3.1vw, 2.9rem); line-height: 1.2; letter-spacing: -0.015em; }
.hear small { display: block; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0; line-height: 1.75; color: var(--dark-muted); margin-top: 0.9rem; max-width: 54ch; }
.hear em { color: #73C7D2; }
.hear { filter: blur(6px); opacity: 0.16; transition: filter 1.4s var(--ease-out), opacity 1.4s var(--ease-out); }
.hear.in { filter: blur(0); opacity: 1; }
@supports (animation-timeline: view()) {
  .hear { transition: none; animation: hear linear both; animation-timeline: view(); animation-range: entry 5% cover 42%; }
  @keyframes hear { from { filter: blur(7px); opacity: 0.14; } 70% { filter: blur(0.4px); opacity: 0.9; } to { filter: blur(0); opacity: 1; } }
}
.hear.clear-now { filter: none; opacity: 1; animation: none; }
@media (prefers-reduced-motion: reduce) { .hear { filter: none !important; opacity: 1 !important; animation: none !important; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--gap-xl); border-top: 1px solid var(--dark-line); position: relative; }
.stat { padding: var(--gap-md) var(--gap-sm) 0 0; }
.stat + .stat { padding-left: var(--gap-md); border-left: 1px solid var(--dark-line); }
.stat-num { font-family: var(--font-display); font-size: clamp(3.4rem, 6.5vw, 6.2rem); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: 0.42em; color: #73C7D2; vertical-align: top; position: relative; top: 0.25em; margin-left: 0.05em; }
.stat p { font-size: 0.85rem; color: var(--dark-muted); margin-top: 0.6rem; max-width: 22ch; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-aside { position: relative; top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--dark-line); margin-top: var(--gap-md); }
}

/* ---------- services editorial list ---------- */
.services-list { border-top: 1px solid var(--line); }
.srow {
  display: grid; grid-template-columns: clamp(3.5rem, 7vw, 7rem) minmax(200px, 1.1fr) 1.3fr auto; gap: var(--gap-md); align-items: center;
  padding-block: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); position: relative;
  transition: padding-left 0.6s var(--ease-expo);
}
.srow::before { content: ''; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-expo); z-index: -1; }
.srow:hover { padding-left: 1.4rem; }
.srow:hover::before { transform: scaleY(1); }
.srow .idx { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3.2rem); color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 45%, transparent); line-height: 1; transition: color 0.4s, -webkit-text-stroke-color 0.4s; }
.srow:hover .idx { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.srow h3 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); transition: color 0.3s; }
.srow:hover h3 { color: var(--accent); }
.srow p { color: var(--muted); font-size: 0.95rem; max-width: 46ch; }
.srow .arr { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background 0.4s, color 0.4s, transform 0.6s var(--ease-expo); }
.srow:hover .arr { background: var(--accent); color: var(--paper); transform: rotate(-45deg); box-shadow: none; }
.srow-preview { position: fixed; left: 0; top: 0; width: 300px; height: 210px; border-radius: var(--r-md); pointer-events: none; z-index: 60; opacity: 0; scale: 0.85; transition: opacity 0.35s var(--ease-out), scale 0.5s var(--ease-expo); background-size: cover; background-position: center; box-shadow: 0 30px 60px rgba(17, 29, 41,0.25); }
.srow-preview.on { opacity: 1; scale: 1; }
@media (max-width: 800px) {
  .srow { grid-template-columns: 3rem 1fr; gap: 0.4rem 1rem; }
  .srow p { grid-column: 2; }
  .srow .arr { display: none; }
  .srow-preview { display: none; }
}

/* ---------- reviews ---------- */
.reviews { background: var(--bg-alt); overflow: hidden; }
.quote-big { display: grid; grid-template-columns: auto 1fr; gap: var(--gap-lg); align-items: start; }
.quote-mark { font-family: var(--font-display); font-size: clamp(8rem, 16vw, 15rem); line-height: 0.7; color: var(--accent); }
.quote-big blockquote p { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3.3rem); line-height: 1.16; letter-spacing: -0.02em; max-width: 26ch; }
.quote-big cite { display: flex; align-items: center; gap: 1rem; margin-top: var(--gap-md); font-style: normal; font-size: 0.9rem; }
.quote-big cite b { font-weight: 600; }
.rating-badge { display: inline-flex; align-items: center; gap: 1rem; padding: 0.9rem 1.3rem; border-radius: 100px; background: var(--paper); font-size: 0.85rem; box-shadow: var(--shadow-soft); }
.rating-badge b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.rev-marquee { margin-top: var(--gap-xl); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rev-track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 90s linear infinite; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
.rev { width: clamp(280px, 30vw, 380px); background: var(--paper); border-radius: var(--r-lg); padding: 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-soft); white-space: normal; }
.rev p { font-size: 0.95rem; line-height: 1.65; }
.rev footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--muted); }
.rev footer b { color: var(--text); font-weight: 600; }
@media (max-width: 700px) { .quote-big { grid-template-columns: 1fr; gap: 0; } }

/* ---------- regions ---------- */
.regions-list { list-style: none; border-top: 1px solid var(--line); }
.regions-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: 1.05; letter-spacing: -0.025em; transition: color 0.3s, padding 0.6s var(--ease-expo); }
.regions-list li small { font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; }
.regions-list li:hover { color: var(--accent); padding-left: 1rem; }

/* ---------- blog cards ---------- */
.posts { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: var(--gap-md); }
.post { display: flex; flex-direction: column; gap: 1rem; }
.post-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2.1; background: var(--bg-alt); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo); }
.post:hover .post-media img { transform: scale(1.05); }
.post time { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); transition: color 0.3s; }
.post:hover h3 { color: var(--accent); }
.post p { font-size: 0.92rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.posts .post:first-child .post-media { aspect-ratio: 4 / 3.2; }
.posts .post:first-child h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* ---------- CTA dark ---------- */
.cta { position: relative; overflow: hidden; }
.cta .ripples { width: min(1100px, 140vw); right: -22%; top: 50%; translate: 0 -50%; color: #73C7D2; }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--gap-lg); align-items: end; }
.cta h2 { font-size: clamp(3rem, 7.5vw, 7.4rem); line-height: 0.95; }
.cta-contact { display: flex; flex-direction: column; gap: 1.2rem; }
.cta-contact a.big { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -0.01em; line-height: 1.05; }
.cta-contact small { color: var(--dark-muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: #0B141D; color: var(--dark-muted); padding: var(--gap-xl) 0 2rem; font-size: 0.9rem; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--gap-lg); padding-bottom: var(--gap-lg); }
.footer h4 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark-text); margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer a:hover { color: var(--dark-text); }
.footer .brand { color: var(--dark-text); margin-bottom: 1.2rem; }
.footer-badges { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.4rem; }
.footer-badges img { height: 34px; width: auto; opacity: 0.85; border-radius: 3px; }
.footer-badges img.inv { filter: brightness(0) invert(0.9); height: 24px; }
.footer-giant { font-family: var(--font-display); font-size: clamp(4rem, 15.5vw, 15rem); line-height: 0.8; letter-spacing: -0.045em; color: var(--dark-text); opacity: 0.06; white-space: nowrap; margin: 1rem 0 -0.08em -0.04em; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid var(--dark-line); font-size: 0.78rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- PAGE HERO (subpages) ---------- */
.phero { position: relative; padding: clamp(9rem, 18vh, 12rem) 0 var(--gap-lg); background: linear-gradient(180deg, var(--paper), var(--bg)); overflow: hidden; }
.phero h1 { font-size: var(--h1); line-height: 0.94; max-width: 14ch; margin-left: -0.04em; }
.phero .lead { margin-top: var(--gap-md); }
.phero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--gap-lg); align-items: end; }
.phero .ripples { width: 820px; right: -240px; top: -200px; color: var(--accent); opacity: 0.6; }
.crumbs { display: flex; gap: 0.6rem; font-size: 0.78rem; color: var(--muted); margin-bottom: var(--gap-md); letter-spacing: 0.04em; }
.crumbs a:hover { color: var(--accent); }
.crumbs span::before { content: '/'; margin-right: 0.6rem; opacity: 0.5; }
@media (max-width: 860px) { .phero-grid { grid-template-columns: 1fr; } }

/* ---------- příběh page ---------- */
.portrait-hero { position: relative; }
.portrait-hero .img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.portrait-hero .img img { width: 100%; height: 100%; object-fit: cover; }
.overlap-up { margin-top: clamp(-9rem, -10vw, -4rem); position: relative; z-index: 3; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--dark-line); margin-top: var(--gap-lg); }
.tl { padding: var(--gap-md) var(--gap-sm) 0 0; position: relative; }
.tl::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #73C7D2; }
.tl b { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; display: block; line-height: 1; color: var(--dark-text); }
.tl p { font-size: 0.88rem; color: var(--dark-muted); margin-top: 0.6rem; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.frame { border-radius: var(--r-xl); overflow: hidden; position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.02rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 1.8em; }
.prose h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin-top: 1.7em; }
.prose strong { font-weight: 600; }
.prose ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 0.8rem; height: 1px; background: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.dropcap::first-letter { font-family: var(--font-display); float: left; font-size: 4.6em; line-height: 0.82; padding: 0.06em 0.12em 0 0; color: var(--accent); }
.badges { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.badge-card { background: var(--paper); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 0.3rem; }
.badge-card b { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.badge-card small { color: var(--muted); font-size: 0.82rem; }

/* ---------- jak pracuji ---------- */
.steps-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--gap-xl); align-items: start; }
.steps-aside { position: sticky; top: 7rem; }
.step-counter { font-family: var(--font-display); font-size: clamp(7rem, 16vw, 15rem); line-height: 0.8; letter-spacing: -0.05em; color: var(--accent); font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; }
.step-counter small { font-size: 0.2em; color: var(--muted); letter-spacing: 0; margin-left: 0.5rem; margin-top: 0.4em; }
.step-phase { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-top: 1rem; min-height: 2.6em; }
.phase-dots { display: flex; gap: 6px; margin-top: 1.4rem; flex-wrap: wrap; max-width: 330px; }
.phase-dots i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background 0.4s, transform 0.4s var(--ease-expo); }
.phase-dots i.on { background: var(--accent); box-shadow: none; }
.phase-dots i.cur { transform: scale(1.5); }
.step { padding-block: clamp(2.2rem, 5vw, 3.6rem); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 1rem; }
.step:first-child { border-top: 1px solid var(--line); }
.step .k { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.step h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.step p { color: var(--muted); max-width: 58ch; }
.step .step-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9.5; margin-top: 0.6rem; background: var(--bg-alt); }
.step .step-img img { width: 100%; height: 100%; object-fit: cover; }
.step .step-img.contain img { object-fit: contain; background: var(--paper); padding: 1.2rem; }
.phase-title { padding-top: var(--gap-lg); padding-bottom: 0.6rem; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 0.8rem; }
.phase-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 900px) { .steps-wrap { grid-template-columns: 1fr; } .steps-aside { position: sticky; top: 4.4rem; z-index: 5; background: var(--bg); padding: 0.8rem 0; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); } .step-counter { font-size: 3.2rem; } .step-phase { margin: 0; font-size: 1.2rem; min-height: 0; } .phase-dots, .steps-aside .extra { display: none; } }

/* ---------- nemovitosti listing ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.chip { padding: 0.65rem 1.1rem; border-radius: 100px; font-size: 0.82rem; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background 0.3s, color 0.3s, box-shadow 0.3s; display: inline-flex; gap: 0.5rem; align-items: center; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--text); }
.chip.on { background: var(--text); color: var(--paper); box-shadow: none; }
.chip sup { font-size: 0.68rem; opacity: 0.6; top: 0; }
.filter-bar { position: sticky; top: 4.6rem; z-index: 20; background: color-mix(in srgb, var(--bg) 96%, transparent); padding-block: 1rem; border-bottom: 1px solid var(--line); margin-bottom: var(--gap-lg); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.filter-bar select { appearance: none; background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 100px; padding: 0.65rem 2.4rem 0.65rem 1.1rem; font-size: 0.82rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231D1C1A' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; cursor: pointer; }
.grid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg) var(--gap-md); }
.grid-list .card.is-hidden { display: none; }
.grid-list .card.feat { grid-column: span 2; }
.grid-list .card.feat .card-media { aspect-ratio: 16 / 9.4; }
.grid-list .card.feat h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.empty-note { display: none; padding: 3rem 0; color: var(--muted); }
@media (max-width: 1000px) { .grid-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-list { grid-template-columns: 1fr; } .grid-list .card.feat { grid-column: auto; } .filter-bar { position: relative; top: 0; } }

/* ---------- property detail ---------- */
.dhero { position: relative; height: 92svh; min-height: 560px; color: var(--dark-text); display: flex; align-items: flex-end; overflow: hidden; }
.dhero .feature-media { inset: -10% 0; }
.dhero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 18, 26,0.5) 0%, rgba(10, 18, 26,0.08) 26%, rgba(10, 18, 26,0.3) 50%, rgba(10, 18, 26,0.86) 100%); }
.dhero-inner { position: relative; z-index: 2; width: var(--container); margin-inline: auto; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.dhero h1 { font-size: clamp(2.4rem, 5.6vw, 5.4rem); line-height: 0.98; max-width: 20ch; margin: 1rem 0 1.2rem -0.03em; }
.dhero .crumbs { color: rgba(237, 241, 252,0.7); }
.dhero .addr { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; opacity: 0.85; }
.dbar { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.dbar-inner { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.dbar-inner > div { padding: 1.4rem 1.2rem; border-left: 1px solid var(--line); }
.dbar-inner > div:first-child { border-left: 0; padding-left: 0; }
.dbar b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; }
.dbar b.price { color: var(--accent); }
.dbar small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.dgrid.side-wide { grid-template-columns: 1fr 400px; }
.dgrid { display: grid; grid-template-columns: 1fr 360px; gap: var(--gap-xl); align-items: start; }
.dside { position: sticky; top: 6.5rem; display: flex; flex-direction: column; gap: 1rem; }
.agent-card { background: var(--dark); color: var(--dark-text); border-radius: var(--r-lg); padding: 1.8rem; position: relative; overflow: hidden; }
.agent-card .ripples { width: 380px; right: -150px; top: -150px; color: #73C7D2; }
.agent-card .who { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; position: relative; }
.agent-card .who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--accent); }
.agent-card .who b { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; display: block; line-height: 1.1; }
.agent-card .who small { color: var(--dark-muted); font-size: 0.78rem; }
.agent-card a.tel { display: block; font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 0.2rem; position: relative; }
.agent-card a.mail { color: var(--dark-muted); font-size: 0.88rem; position: relative; }
.agent-card .btn { margin-top: 1.3rem; width: 100%; justify-content: space-between; position: relative; }
.lead-quote { font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: var(--gap-lg); padding-left: 1.4rem; border-left: 2px solid var(--accent); }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 0.5rem; }
.gal a { border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--bg-alt); cursor: zoom-in; }
.gal a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-expo); }
.gal a:hover img { transform: scale(1.05); }
.gal a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal a:nth-child(6) { grid-column: span 2; }
.gal a.more::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 29, 41,0.62); color: var(--dark-text); font-family: var(--font-display); font-size: 2rem; }
.gal.plans a img { object-fit: contain; background: var(--paper); padding: 0.6rem; }
.gal.plans { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 20vw, 280px); }
.gal.plans a:nth-child(1) { grid-column: auto; grid-row: auto; }
.gal.plans a:nth-child(6) { grid-column: auto; }
@media (max-width: 1000px) { .dgrid, .dgrid.side-wide { grid-template-columns: 1fr; } .dside { position: relative; top: 0; } }
@media (max-width: 640px) { .gal { grid-template-columns: repeat(2, 1fr); } .gal a:nth-child(6) { grid-column: auto; } .gal.plans { grid-template-columns: 1fr 1fr; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(8, 14, 20,0.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: min(92vw, 1500px); max-height: 84vh; object-fit: contain; border-radius: 4px; filter: none; }
.lb button { position: absolute; color: var(--dark-text); width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,0.1); }
.lb .x { top: 1.2rem; right: 1.2rem; }
.lb .p { left: 1.2rem; top: 50%; translate: 0 -50%; }
.lb .n { right: 1.2rem; top: 50%; translate: 0 -50%; }
.lb .c { position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; color: var(--dark-muted); font-size: 0.8rem; letter-spacing: 0.1em; }

/* ---------- služby ---------- */
.svc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--gap-xl); align-items: start; }
.svc-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; position: sticky; top: 7rem; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--dark-line); border-radius: var(--r-lg); overflow: hidden; margin-top: var(--gap-lg); }
.guarantees > div { background: var(--dark-2); padding: 1.8rem; }
.guarantees b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; color: #73C7D2; letter-spacing: -0.02em; }
.guarantees p { color: var(--dark-muted); font-size: 0.9rem; margin-top: 0.6rem; }
.nb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc-media { position: relative; top: 0; aspect-ratio: 16/11; } .guarantees { grid-template-columns: 1fr; } .nb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nb-grid { grid-template-columns: 1fr; } }

/* ---------- reference page ---------- */
.masonry { columns: 3 320px; column-gap: var(--gap-md); }
.masonry .rev { width: auto; break-inside: avoid; margin-bottom: var(--gap-md); }
.rev .reply { border-top: 1px solid var(--line); padding-top: 0.9rem; font-size: 0.85rem; color: var(--muted); display: flex; gap: 0.7rem; }
.rev .reply img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--accent); flex: none; }
.big-rating { font-family: var(--font-display); font-size: clamp(8rem, 22vw, 20rem); line-height: 0.8; letter-spacing: -0.05em; color: var(--accent); }

/* ---------- blog article ---------- */
.article-hero { padding: clamp(9rem, 18vh, 12rem) 0 var(--gap-lg); background: linear-gradient(180deg, var(--paper), var(--bg)); }
.article-hero h1 { font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: 1; max-width: 18ch; }
.article-cover { width: var(--container); margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.byline { display: flex; align-items: center; gap: 1rem; margin-top: var(--gap-md); font-size: 0.88rem; color: var(--muted); }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--accent); }
.byline b { color: var(--text); font-weight: 600; display: block; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label, .field legend { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-md);
  padding: 1rem 1.1rem; font-size: 1rem; transition: box-shadow 0.3s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
fieldset.field { border: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label { font-size: 0.9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); padding: 0.75rem 1.2rem; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; background: var(--paper); transition: all 0.3s; }
.opts input:checked + label { background: var(--text); color: var(--paper); box-shadow: none; }
.opts input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 0.78rem; color: var(--muted); }
.form-ok { display: none; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: color-mix(in srgb, #4F9A63 14%, var(--paper)); font-size: 0.95rem; }
.form.sent + .form-ok { display: block; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- kontakt ---------- */
.contact-big a.cb { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -0.03em; transition: color 0.3s; word-break: break-word; }
.contact-big a.cb:hover { color: var(--accent); }
.contact-big > small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 2.2rem 0 0.4rem; }
.map { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.85) sepia(0.2) contrast(1.02); }
.person { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--accent); }

/* ---------- helpers ---------- */
.bg-paper { background: var(--paper); }
.bg-alt { background: var(--bg-alt); }
.center { text-align: center; }
.mt-sm { margin-top: var(--gap-sm); } .mt-md { margin-top: var(--gap-md); } .mt-lg { margin-top: var(--gap-lg); } .mt-xl { margin-top: var(--gap-xl); }
.row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.deco-text { position: absolute; font-family: var(--font-display); font-style: italic; font-size: clamp(8rem, 24vw, 24rem); line-height: 0.8; letter-spacing: -0.05em; white-space: nowrap; pointer-events: none; color: var(--text); opacity: 0.045; z-index: 0; }
.dark .deco-text { color: var(--dark-text); opacity: 0.05; }
@supports (animation-timeline: view()) {
  .drift { animation: drift linear both; animation-timeline: view(); }
  @keyframes drift { from { transform: translateX(6%); } to { transform: translateX(-18%); } }
}
@media (max-width: 860px) {
  .feature::before { background: linear-gradient(180deg, rgba(10, 18, 26,0.62) 0%, rgba(10, 18, 26,0.35) 45%, rgba(10, 18, 26,0.8) 100%); }
  .quote-mark { font-size: 6rem; margin-bottom: -1.5rem; }
}
@media (max-width: 1180px) { .nav-menu > a.nav-phone { font-family: var(--font-body); font-size: 1.05rem; letter-spacing: 0; } }
@media (max-width: 700px) { .dhero .crumbs span:last-child { display: none; } }

/* ---------- brand: logo + house motif (from the TV logo) ---------- */
:root { --house: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath fill-rule='evenodd' d='M12 1l11 9.2V25H1V10.2zM8.6 12.6h3v3h-3zm3.8 0h3v3h-3zm-3.8 3.8h3v3h-3zm3.8 0h3v3h-3z'/%3E%3C/svg%3E"); }
.brand img { height: 50px; width: auto; }
.nav.scrolled .brand img { height: 42px; }
.brand img { transition: height 0.45s var(--ease-out); }
.label::before { width: 13px; height: 14px; background: currentColor; -webkit-mask: var(--house) center / contain no-repeat; mask: var(--house) center / contain no-repeat; }
.label::after { content: ''; width: 26px; height: 1px; background: currentColor; order: -1; opacity: 0.5; }
.house-rule { display: flex; align-items: center; gap: 14px; color: var(--text); max-width: 520px; }
.house-rule::before, .house-rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.house-rule::after { background: linear-gradient(90deg, currentColor, transparent); }
.house-rule span { width: 22px; height: 24px; background: currentColor; -webkit-mask: var(--house) center / contain no-repeat; mask: var(--house) center / contain no-repeat; }
.dark .house-rule { color: var(--dark-text); }
.hero-proof .vr { width: 1px; height: 34px; background: var(--line); margin-inline: 0.4rem; }
.hero-proof .powered { height: 22px; width: auto; filter: none; }
.footer-logo img { width: 190px; height: auto; filter: none; }
.footer-powered { width: 150px; height: auto; margin-top: 1rem; filter: none; }
.footer-grid { align-items: start; }
@media (max-width: 560px) { .brand img { height: 42px; } .hero-proof { flex-wrap: wrap; } }
.brand img { height: 46px; }
.nav.scrolled .brand img { height: 40px; }
@media (max-width: 560px) { .brand img { height: 36px; } .nav.scrolled .brand img { height: 34px; } }
.dgrid > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
@media (max-width: 560px) { .hero-proof .vr { display: none; } .hero-proof .powered { flex-basis: 100%; max-width: 132px; height: auto; } }

/* ---------- topbar + lockup ---------- */
.nav { padding-block: 0; }
.nav.scrolled { padding-block: 0; }
.topbar { background: var(--dark); color: var(--dark-text); font-size: 0.76rem; letter-spacing: 0.02em; height: 38px; overflow: hidden; transition: margin-top 0.45s var(--ease-out); }
.topbar-inner { width: var(--container); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 1.6rem; white-space: nowrap; }
.topbar .tb-left > * + *::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--accent-bright); margin-right: 1.6rem; vertical-align: middle; position: relative; top: -1px; }
.topbar .tb-left { color: var(--dark-muted); }
.topbar .stars { color: var(--accent-bright); font-size: 0.7rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar .tb-cal { color: var(--dark); background: var(--accent-bright); padding: 0.3rem 0.8rem; border-radius: 100px; font-weight: 600; transition: background 0.3s; }
.topbar .tb-cal:hover { background: #fff; }
.topbar .tb-cal svg { width: 11px; }
.nav-inner { padding-block: 1.05rem; transition: padding 0.45s var(--ease-out); }
.nav.scrolled .topbar { margin-top: -38px; }
.nav.scrolled .nav-inner { padding-block: 0.65rem; }
.lockup { display: flex; align-items: center; gap: clamp(0.9rem, 1.4vw, 1.3rem); position: relative; z-index: 2; }
.brand-sep { width: 1px; height: 34px; background: currentColor; opacity: 0.22; }
.brand-r11 img { height: 27px; width: auto; filter: none; transition: height 0.45s var(--ease-out); }
.nav.scrolled .brand-r11 img { height: 23px; }
.nav .b-light { display: none; }
.nav .b-dark { display: block; }
body[data-nav="light"] .nav:not(.scrolled) .b-dark { display: none; }
body[data-nav="light"] .nav:not(.scrolled) .b-light { display: block; }
.nav-menu { gap: clamp(0.9rem, 1.5vw, 1.8rem); }
.hero { padding-top: calc(clamp(7rem, 12vh, 9rem) + 38px); }
.phero, .article-hero { padding-top: calc(clamp(9rem, 18vh, 12rem) + 38px); }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 0; z-index: 1; background: var(--paper); color: var(--text);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.35rem;
    padding: 6rem max(1.5rem, calc((100vw - 1280px) / 2)) 3rem;
    clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-in-out); visibility: hidden;
  }
  .nav-menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav-menu > a:not(.btn) { font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1.12; opacity: 1; letter-spacing: -0.02em; }
  .nav-menu > a.nav-phone { font-family: var(--font-body); font-size: 1.05rem; letter-spacing: 0; margin-top: 1rem; }
  .nav-menu .btn { margin-top: 1.5rem; padding: 1rem 1.6rem; font-size: 0.8rem; }
  body.menu-open .nav { color: var(--text) !important; }
  body.menu-open .nav .b-light { display: none !important; }
  body.menu-open .nav .b-dark { display: block !important; }
}
@media (min-width: 1241px) { .nav-menu .nav-phone { display: none; } }
@media (max-width: 1000px) { .topbar .tb-left { display: none; } .topbar-inner { justify-content: flex-end; } }
@media (max-width: 760px) {
  .topbar { display: none; }
  .hero { padding-top: clamp(6rem, 12vh, 8rem); }
  .phero, .article-hero { padding-top: clamp(8rem, 16vh, 10rem); }
  .brand-r11 img { height: 20px; } .brand-sep { height: 26px; }
}
@media (max-width: 420px) { .brand img, .nav.scrolled .brand img { height: 31px; } .brand-r11 img, .nav.scrolled .brand-r11 img { height: 18px; } .lockup { gap: 0.7rem; } }

/* ---------- intents ---------- */
.intents { padding-block: var(--gap-xl); background: var(--bg); }
.intent-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.intent { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 2rem 1.8rem 4.4rem; isolation: isolate; transition: color 0.4s; }
.intent + .intent { border-left: 1px solid var(--line); }
.intent::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--dark); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-expo); }
.intent:hover { color: var(--dark-text); }
.intent:hover::before { transform: scaleY(1); }
.intent .n { font-family: var(--font-display); color: var(--accent); font-size: 1rem; }
.intent b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.05; letter-spacing: -0.015em; }
.intent small { color: var(--muted); font-size: 0.88rem; line-height: 1.55; transition: color 0.4s; }
.intent:hover small { color: var(--dark-muted); }
.intent:hover .n { color: var(--accent-bright); }
.intent .arr { position: absolute; left: 1.8rem; bottom: 1.6rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background 0.4s, transform 0.6s var(--ease-expo), box-shadow 0.4s, color 0.4s; }
.intent:hover .arr { background: var(--accent-bright); color: var(--dark); box-shadow: none; transform: rotate(-45deg); }
@media (max-width: 960px) { .intent-grid { grid-template-columns: 1fr 1fr; } .intent:nth-child(3) { border-left: 0; } .intent:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .intent-grid { grid-template-columns: 1fr; } .intent + .intent { border-left: 0; border-top: 1px solid var(--line); } .intent { padding: 1.5rem 1.4rem 1.5rem 5rem; } .intent .arr { left: auto; right: 1.3rem; top: 50%; bottom: auto; translate: 0 -50%; } .intent .n { position: absolute; left: 1.4rem; top: 1.7rem; } }

/* ---------- sold wall ---------- */
.sold-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-top: var(--gap-xl); margin-bottom: var(--gap-md); padding-top: var(--gap-md); border-top: 1px solid var(--line); }
.sold-head p { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; max-width: 34ch; }
.sold-head b { font-weight: 400; color: var(--accent); font-size: 1.5em; }
.sold-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sold-track { display: flex; gap: 0.75rem; width: max-content; animation: marquee 110s linear infinite; }
.sold-marquee:hover .sold-track { animation-play-state: paused; }
.sold-item { position: relative; width: 210px; flex: none; }
.sold-item img { width: 210px; height: 160px; object-fit: cover; border-radius: var(--r-md); filter: grayscale(0.35); transition: filter 0.4s; }
.sold-item:hover img { filter: none; }
.sold-item .stamp { position: absolute; top: 0.6rem; left: 0.6rem; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--dark); background: var(--accent-bright); padding: 0 0.6rem 0.1rem; border-radius: 100px; }
.sold-item small { display: block; margin-top: 0.45rem; font-size: 0.75rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .sold-track { animation: none; } .sold-marquee { overflow-x: auto; } }

/* ---------- partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2.4rem 1.5rem 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 170px; transition: background 0.4s; }
.partner img { max-height: 52px; max-width: 170px; width: auto; height: auto; object-fit: contain; opacity: 0.72; filter: none; transition: opacity 0.4s, transform 0.6s var(--ease-expo); }
.partner small { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.partner:hover { background: var(--bg); }
.partner:hover img { opacity: 1; transform: scale(1.04); }
@media (max-width: 800px) { .partner-grid { grid-template-columns: 1fr 1fr; } .partner { min-height: 130px; padding: 1.6rem 1rem 1.2rem; } .partner img { max-height: 40px; max-width: 130px; } }

/* ---------- mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem; position: fixed; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 150; padding: 0.45rem; background: rgba(17, 29, 41, 0.96); border-radius: 100px; box-shadow: 0 12px 40px rgba(17, 29, 41, 0.3); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; height: 48px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
  .mbar-call { color: var(--dark-text); padding-inline: 1.2rem; }
  .mbar-cta { background: var(--accent-bright); color: var(--dark); }

  body.menu-open .mbar { display: none; }
  .footer { padding-bottom: 6rem; }
}
/* client logo (tomasveigl.cz — Slyším váš domov) */
.brand img { height: 48px; }
.nav.scrolled .brand img { height: 40px; }
.footer-logo img { width: 250px; }
@media (max-width: 560px) { .brand img, .nav.scrolled .brand img { height: 36px; } }
@media (max-width: 420px) { .brand img, .nav.scrolled .brand img { height: 32px; } }
