/* ILMA Studio — web
   Barvy ILMA jsou černá a bílá (logo, produkční manuál). Akcent je jediná barva navíc:
   tlačítka a drobné detaily. Mění se na jednom místě: --accent. */

:root {
  --bg: #000000;
  --bg-2: #000000;
  --surface: #0b0b0b;
  --surface-2: #141414;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #fbf8f2;
  --muted: #a6a59f;
  --accent: #ff6e00;
  --accent-ink: #ffffff;
  --accent-2: #ff6e00;
  --accent-alpha: 40%; /* průhlednost všech plných ploch v akcentu (nastavitelné v panelu Barva) */
  --accent-fill: color-mix(in srgb, var(--accent) var(--accent-alpha), transparent);
  --accent-fill-hover: color-mix(in srgb, var(--accent) min(100%, calc(var(--accent-alpha) + 22%)), transparent);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent-fill); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font);
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0;
}
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
@supports not (-webkit-text-stroke: 1px) { .outline { color: var(--text); } }
.h1 { font-size: clamp(56px, 15.5vw, 236px); }
.h2 { font-size: clamp(40px, 7.4vw, 112px); }
.h2 .outline { -webkit-text-stroke-width: 1.2px; }
.h3 { font-size: clamp(30px, 4.6vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text);
}

.lede { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; margin: 22px 0 0; }
.corner { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: 0.01em; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--accent-fill); color: var(--accent-ink); }
.btn--accent:hover { background: var(--text); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, 0.75); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Placeholders (chybějící podklady) ---------- */
.todo {
  display: inline-block; font: 600 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  color: #ffd38a; background: rgba(24, 18, 8, 0.88); border: 1px dashed rgba(255, 190, 80, 0.55);
  padding: 0.45em 0.75em; border-radius: 8px; letter-spacing: 0;
}
.todo-block {
  display: grid; place-items: center; text-align: center; min-height: 160px; padding: 24px;
  border: 1.5px dashed rgba(255, 190, 80, 0.45); border-radius: var(--radius);
  background: rgba(255, 190, 80, 0.035); color: #ffd38a;
  font: 600 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter);
  transition: height 0.35s var(--ease), background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  --nav-h: 64px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__logo { display: flex; align-items: center; color: var(--text); }
.nav__logo svg { height: 26px; width: auto; transition: height 0.35s var(--ease); }
.nav.is-scrolled .nav__logo svg { height: 20px; }
.nav__main { margin-left: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 34px); list-style: none; padding: 0; margin-block: 0; }
.nav__links a { font-size: 14px; font-weight: 500; color: rgba(243, 242, 238, 0.82); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--accent); transition: right 0.3s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }
.nav__cta { margin-left: clamp(12px, 2vw, 28px); }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: 4px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 96px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.nav-open .menu { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.menu a.display { font-size: clamp(34px, 10vw, 64px); padding: 6px 0; }
.menu a.display:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--text); }
.menu .btn { margin-top: 28px; align-self: flex-start; }
.menu__meta { margin-top: auto; padding-top: 32px; color: var(--muted); font-size: 14px; }

@media (max-width: 1060px) {
  .nav__main { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; }
}
@media (max-width: 420px) {
  .nav__cta { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .nav__logo svg { height: 22px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero__media.has-video img { animation: none; }
.hero__media video.is-ready { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 28%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.94) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 65%),
    rgba(0,0,0,0.22);
}
.hero__content { width: 100%; padding-bottom: clamp(88px, 13vh, 150px); padding-top: calc(var(--nav-h) + 40px); }
.hero__title { margin-top: 22px; }
.hero__title span { display: block; }
.hero__sub { font-size: clamp(18px, 1.9vw, 24px); margin: clamp(18px, 2.4vw, 30px) 0 0; color: rgba(243,242,238,0.92); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 38px); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(243,242,238,0.75);
}
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--text), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: -1px; top: -12px; width: 3px; height: 12px; background: var(--accent); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 40px; } }
.hero__note { position: absolute; right: var(--gutter); bottom: 22px; }
@media (max-width: 640px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero__note { left: var(--gutter); right: auto; bottom: 14px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(84px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 40px; margin-bottom: clamp(36px, 5vw, 72px); }
.section__head .corners { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: clamp(20px, 3vw, 40px); }
.section__head .lede { margin-top: 18px; }
@media (max-width: 760px) { .section__head { grid-template-columns: 1fr; } }

/* ---------- Showreel carousel ---------- */
.reels { position: relative; height: clamp(500px, 76vh, 760px); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reel {
  position: absolute; left: 50%; top: 50%;
  height: 100%; aspect-ratio: 9 / 16; max-width: 82vw;
  border-radius: 20px; overflow: hidden; background: #000;
  transform: translate(-50%, -50%);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease), opacity 0.7s var(--ease);
  will-change: transform; cursor: pointer;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__sound {
  position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.3s var(--ease), background 0.25s;
}
.reel__sound svg { width: 22px; height: 22px; }
.reel__sound .mute { display: none; }
.reel.is-muted .reel__sound .mute { display: block; }
.reel.is-muted .reel__sound .wave { display: none; }
.reel.is-active .reel__sound { opacity: 1; transform: none; }
.reel__sound:hover { background: var(--accent-fill-hover); color: var(--accent-ink); border-color: transparent; }
.reels__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.reels__nav:hover { background: var(--accent-fill-hover); color: var(--accent-ink); border-color: transparent; }
.reels__nav svg { width: 22px; height: 22px; }
.reels__nav--prev { left: max(var(--gutter), 3vw); }
.reels__nav--next { right: max(var(--gutter), 3vw); }
.reels__caption { text-align: center; margin-top: 26px; min-height: 52px; }
.reels__caption strong { display: block; font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: 15px; letter-spacing: 0.02em; }
.reels__caption a { color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line-strong); }
.reels__caption a:hover { color: var(--text); border-color: var(--accent); }
.reels__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.reels__dots button { width: 26px; height: 3px; border-radius: 2px; background: var(--line-strong); transition: background 0.3s, width 0.3s; }
.reels__dots button[aria-current="true"] { background: var(--accent); width: 44px; }
@media (max-width: 640px) {
  .reels { height: min(128vw, 640px); }
  .reels__nav { width: 48px; height: 48px; top: auto; bottom: -74px; transform: none; }
  .reels__nav--prev { left: var(--gutter); }
  .reels__nav--next { right: var(--gutter); }
  .reels__caption { padding-inline: 64px; }
}

/* ---------- Services ---------- */
/* 3 sloupce: malé dlaždice 1×, videa 2× (Foto | Videoprohlídka, Showreel | AI viz, Půdorys | AI video) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(300px, 29vw, 440px); gap: 14px; }
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(18px, 2vw, 28px);
  border-radius: var(--radius); background: var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.svc__media { position: absolute; inset: 0; z-index: -2; }
.svc__media > img, .svc__media > video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc__media > img, .svc:hover .svc__media > video { transform: scale(1.05); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.88) 100%); }
.svc__num { position: absolute; top: clamp(16px, 2vw, 24px); left: clamp(18px, 2vw, 28px); z-index: 2; color: rgba(243,242,238,0.8); }
.svc h3 { margin: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.05; letter-spacing: 0.005em; pointer-events: none; }
.svc p { margin: 0; color: rgba(243,242,238,0.85); font-size: 15px; line-height: 1.4; pointer-events: none; }
.svc--wide { grid-column: span 2; }
.svc--wide h3 { font-size: clamp(24px, 2.8vw, 40px); }
.svc--wide p { font-size: 16px; }
.svc--flag { outline: 1.5px solid var(--accent); outline-offset: -1.5px; }
.svc--flag h3 { font-size: clamp(28px, 3.4vw, 50px); }
.svc--flag::before { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.9) 100%), linear-gradient(90deg, rgba(0,0,0,0.5), rgba(0,0,0,0)); }
.svc__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; background: var(--surface); }
.strip__cell { position: relative; overflow: hidden; border-radius: 10px; min-height: 0; }
.strip__cell video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform 1.2s var(--ease); }
.svc:hover .strip__cell video { transform: scale(1.06); }
.svc--plan .svc__media { background: #fff; }
.svc--plan .svc__media > img { object-fit: contain; padding: 8% 10% 26%; }
.svc--plan::before { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.92) 100%); }
.svc--ba::before { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.88) 100%); }
.svc--ba .svc__media { z-index: 0; }
.svc--ba h3, .svc--ba p, .svc--ba .svc__num { position: relative; z-index: 1; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--accent-fill); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 8px; }
@media (max-width: 860px) {
  .services { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; grid-auto-flow: row dense; gap: 10px; }
  .svc { aspect-ratio: 3 / 4; padding: 14px; }
  .svc--wide, .svc--plan { grid-column: span 2; aspect-ratio: 16 / 11; }
  .svc--reels { aspect-ratio: 4 / 3.4; }
  .svc h3 { font-stretch: 92%; font-size: 15px; letter-spacing: -0.005em; }
  .svc--wide h3, .svc--flag h3 { font-stretch: 125%; font-size: 24px; }
  .svc p { font-size: 13px; }
  .svc--wide p { font-size: 14px; }
  .svc--plan .svc__media > img { padding: 6% 18% 24%; }
}

/* ---------- Před / Po posuvník ---------- */
.ba { position: absolute; inset: 0; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #111; }
.ba > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255,255,255,0.95); box-shadow: 0 0 18px rgba(0,0,0,0.35); pointer-events: none; }
.ba__knob {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: rgba(0,0,0,0.55); border: 2px solid #fff; color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 55%, transparent);
}
.ba__knob svg { width: 16px; height: 16px; }
.ba__tag { position: absolute; top: 14px; padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(0,0,0,0.6); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.ba__tag--l { left: 14px; }
.ba__tag--r { right: 14px; background: var(--accent-fill); color: var(--accent-ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Showcase ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; color: rgba(243,242,238,0.85); transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filters button:hover { border-color: var(--text); color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters button sup { font-size: 10px; margin-left: 3px; opacity: 0.6; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px) clamp(14px, 1.6vw, 22px); }
.card { display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity 0.5s; }
.card__media video { opacity: 0; object-position: 50% 12%; }
.card.is-previewing .card__media video { opacity: 1; }
.card__go {
  position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-fill); color: var(--accent-ink); display: grid; place-items: center;
  transform: scale(0.6); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.35s;
}
.card__go svg { width: 20px; height: 20px; }
.card:hover .card__go, .card:focus-visible .card__go { transform: scale(1); opacity: 1; }
.card__body { padding-top: 16px; }
.card__title { margin: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.1; }
.card__loc { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; list-style: none; padding: 0; }
.tags li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: rgba(243,242,238,0.85); }
.tags li.is-ai { border-color: var(--accent-2); color: var(--accent-2); }
@media (max-width: 1060px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
}

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 22px; background: var(--bg-2); }
.quote__mark { font-weight: 800; font-stretch: 125%; font-size: 64px; line-height: 0.6; color: var(--accent-2); height: 28px; }
.quote__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent-fill); color: var(--accent-ink); font-weight: 800; font-stretch: 125%; font-size: 16px; letter-spacing: 0.02em; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(243,242,238,0.92); }
.quote__ref { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-top: 2px; }
.quote__ref svg { width: 14px; height: 14px; }
.quote__ref:hover { color: var(--accent); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA strip ---------- */
.cta { border-block: 1px solid var(--line); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: clamp(36px, 5vw, 64px); }
.cta p { margin: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(22px, 3.2vw, 44px); line-height: 1.02; max-width: 22ch; }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(56px, 7vw, 96px) 32px; color: var(--muted); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo svg { height: 34px; width: auto; color: var(--text); }
.footer h4 { margin: 0 0 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer__mail { font-size: 18px; color: var(--text); border-bottom: 1px solid var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); padding-top: 20px; font-size: 13px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Subpages ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 130px)); padding-bottom: clamp(40px, 5vw, 72px); }
.page-head .h2 span { display: block; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.member__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.6s, transform 1s var(--ease); }
.member:hover .member__photo img { filter: none; transform: scale(1.03); }
.member h3 { margin: 18px 0 2px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; }
.member h3 em { font-style: normal; color: var(--accent); }
.member p { margin: 4px 0 0; color: var(--muted); }
.team-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: clamp(60px, 8vw, 120px); }
.team-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } .member__photo { aspect-ratio: 4 / 4; } .team-strip { grid-template-columns: 1fr 1fr; } .team-strip img:first-child { grid-column: 1 / -1; } }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: end; padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 110px)); }
.contact .h3 span { display: block; }
.contact__list { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-size: 19px; }
.contact__list a:hover { color: var(--accent); }
.form { display: grid; gap: 14px; align-content: start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; color: rgba(243,242,238,0.85); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 52px;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a59f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface-2); }
.form__consent { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.form__consent a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__status { font-size: 14px; color: var(--muted); min-height: 1.4em; margin: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }

.prose { max-width: 72ch; color: rgba(243,242,238,0.88); }
.prose h2 { font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: 20px; margin: 44px 0 10px; color: var(--text); }
.prose a { border-bottom: 1px solid var(--accent); }

/* ---------- Reference detail ---------- */
.d-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.d-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.d-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.92) 100%); }
.d-hero__in { width: 100%; padding-bottom: clamp(40px, 6vw, 80px); }
.d-hero .h2 { margin-top: 16px; }
.d-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.d-hero__meta .loc { font-size: 18px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(243,242,238,0.85); }
.back:hover { color: var(--accent); }
.back svg { width: 16px; height: 16px; }

.d-sec { padding-block: clamp(56px, 7vw, 110px); border-top: 1px solid var(--line); }
.d-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); }
.d-sec__head h2 { margin: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 52px); line-height: 1; }
.d-sec__head h2 .outline { -webkit-text-stroke-width: 1px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery button { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--3 button:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
.gallery__cap { position: absolute; left: 10px; bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(0,0,0,0.7); padding: 4px 9px; border-radius: 999px; }
@media (max-width: 760px) {
  .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery button:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
}

.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.player > img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.3s, transform 1s var(--ease); }
.player:hover > img { opacity: 0.9; transform: scale(1.02); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(76px, 9vw, 116px); height: clamp(76px, 9vw, 116px); border-radius: 50%;
  background: var(--accent-fill); color: var(--accent-ink); display: grid; place-items: center;
  transition: transform 0.35s var(--ease);
}
.player__btn svg { width: 34%; height: 34%; margin-left: 6%; }
.player:hover .player__btn { transform: translate(-50%, -50%) scale(1.08); }

.reelblock { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.reelblock__video { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #000; }
.reelblock__video video, .reelblock__video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.reelblock p { color: var(--muted); font-size: 18px; max-width: 36ch; }
@media (max-width: 760px) { .reelblock { grid-template-columns: 1fr; } .reelblock__video { max-width: 340px; width: 100%; margin-inline: auto; } }

.broker { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }

.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1060px) { .more { grid-template-columns: repeat(2, 1fr); } .more .card:nth-child(3) { display: none; } }
@media (max-width: 640px) { .more { grid-template-columns: 1fr; } .more .card:nth-child(3) { display: flex; } }
.d-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(6,6,6,0.97); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); }
.lb__count { font-size: 13px; letter-spacing: 0.16em; color: var(--muted); }
.lb__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; touch-action: pan-y; }
.lb__media { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.lb__media img, .lb__media video { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 6px; background: #000; }
.lb__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: rgba(0,0,0,0.6); transition: background 0.25s, color 0.25s; }
.lb__btn:hover { background: var(--accent-fill-hover); color: var(--accent-ink); border-color: transparent; }
.lb__btn svg { width: 20px; height: 20px; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: var(--gutter); }
.lb__next { right: var(--gutter); }
.lb__cap { text-align: center; padding: 14px var(--gutter) 20px; color: var(--muted); font-size: 14px; min-height: 52px; }
@media (max-width: 640px) { .lb__prev, .lb__next { top: auto; bottom: -62px; transform: none; } .lb__stage { padding: 0; } .lb__cap { padding-bottom: 84px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }


/* ---------- Detail: koláž (fotky, videa, vizualizace, půdorysy na jednom místě) ---------- */
.d-collage { padding-block: clamp(20px, 3vw, 40px) clamp(56px, 7vw, 100px); }
.collage { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: row dense; gap: 10px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--surface); padding: 0; text-align: left; }
.tile > img, .tile > video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s; }
.tile:hover > img, .tile:hover > video { transform: scale(1.04); }
.cell { grid-area: var(--d); min-width: 0; min-height: 0; }
.cell > .tile { width: 100%; height: 100%; }
.is-dhide { display: none; }
.tile--ba .ba { border-radius: 12px; }
.tile--plan { background: #fff; }
.tile--plan > img { object-fit: contain; padding: 6%; }
.tile__chip { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(0,0,0,0.7); color: #fff; padding: 5px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile__play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-fill); color: var(--accent-ink);
  transition: transform 0.35s var(--ease);
}
.tile--reel .tile__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.tile__play svg { width: 34%; height: 34%; margin-left: 6%; }
.tile:hover .tile__play { transform: scale(1.1); }
@media (max-width: 760px) {
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 8px; }
  .cell { grid-area: var(--m); }
  .is-dhide { display: block; }
  .is-mhide { display: none; }
}

/* Recenze makléře na detailu */
.d-review { padding-block: clamp(48px, 6vw, 90px); border-top: 1px solid var(--line); }
.d-review blockquote { margin: 18px 0 0; max-width: 34ch; font-weight: 700; font-stretch: 112%; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.2; }
.d-review__who { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; }

/* Navigace v detailu: zpět v menu + šipky v úvodu */
.nav__back {
  display: inline-flex; align-items: center; gap: 8px; margin-left: clamp(12px, 2vw, 28px);
  height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600; color: rgba(243,242,238,0.9); transition: border-color 0.2s, color 0.2s;
}
.nav__back svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.nav__back:hover { border-color: var(--accent); color: var(--accent); }
.nav__back:hover svg { transform: translateX(-3px); }
@media (max-width: 520px) { .nav__back { width: 36px; padding: 0; justify-content: center; margin-left: 10px; } .nav__back span { display: none; } }
.d-hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pager { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.12em; color: rgba(243,242,238,0.75); }
.pager a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.pager a.back { width: auto; height: auto; border: 0; border-radius: 0; letter-spacing: 0; font-size: 14px; }
.pager a:not(.back):hover { background: var(--accent-fill-hover); color: var(--accent-ink); border-color: transparent; }
.pager svg { width: 16px; height: 16px; }

/* ---------- Jak to funguje: vše na jedné obrazovce ---------- */
.how { min-height: 100svh; display: flex; }
.how__in { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: clamp(32px, 6vw, 110px); align-items: stretch; padding-top: calc(var(--nav-h) + clamp(28px, 4vh, 56px)); padding-bottom: clamp(24px, 4vh, 48px); }
.how__head { align-self: center; }
.how__head .h2 { font-size: clamp(40px, 5.4vw, 86px); }
.how__head .h2 span { display: block; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; height: calc(100svh - var(--nav-h) - clamp(56px, 8vh, 104px)); min-height: 520px; border-top: 1px solid var(--line); }
.step {
  flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: clamp(64px, 8vw, 128px) 1fr; gap: 12px; align-items: center;
  border-bottom: 1px solid var(--line); overflow: hidden; cursor: default; outline: none;
  transition: flex-grow 0.6s var(--ease), background 0.4s;
}
.step__n { font-weight: 800; font-stretch: 125%; font-size: clamp(30px, 4.4vw, 64px); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--text); transition: color 0.35s, -webkit-text-stroke-color 0.35s, transform 0.6s var(--ease); align-self: center; }
.step__t { margin: 0; font-weight: 700; font-stretch: 125%; text-transform: uppercase; font-size: clamp(18px, 2vw, 30px); line-height: 1.1; }
.step__t { transition: color 0.35s, transform 0.55s var(--ease); }
.step__d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.step__d p { overflow: hidden; margin: 0; color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; max-width: 52ch; opacity: 0; transform: translateY(12px); transition: opacity 0.45s 0.1s, transform 0.55s 0.1s var(--ease); }
.step:hover, .step:focus-visible, .step.is-open { flex-grow: 2.4; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%); }
.step:hover .step__n, .step:focus-visible .step__n, .step.is-open .step__n { color: var(--accent); -webkit-text-stroke-color: var(--accent); transform: translateX(6px); }
.step:hover .step__t, .step:focus-visible .step__t, .step.is-open .step__t { color: var(--accent); transform: translateX(8px); }
.step:hover .step__d, .step:focus-visible .step__d, .step.is-open .step__d { grid-template-rows: 1fr; }
.step:hover .step__d p, .step:focus-visible .step__d p, .step.is-open .step__d p { opacity: 1; transform: none; margin-top: 10px; }
.page-how .footer { border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .how__in { grid-template-columns: 1fr; gap: 28px; }
  .steps { height: auto; min-height: 0; }
  .step { flex: none; padding-block: 18px; cursor: pointer; }
}

/* ---------- Tým: popis ---------- */
.team-about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); margin-top: clamp(56px, 7vw, 110px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
.team-about__big { margin: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(24px, 3vw, 44px); line-height: 1.05; }
.team-about__text p { margin: 0 0 14px; color: rgba(243,242,238,0.85); font-size: 17px; }
@media (max-width: 860px) { .team-about { grid-template-columns: 1fr; } }

/* Video na šířku v karuselu svislých reels: celé, s rozmazaným pozadím */
.reel__bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(22px) brightness(0.55); }
.reel--landscape video { position: relative; object-fit: contain; }

/* Recenze: po najetí se objeví ohraničení v akcentu */
.quote { position: relative; transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s; }
.quote::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--accent); opacity: 0; transform: scale(0.985); transition: opacity 0.35s, transform 0.45s var(--ease); pointer-events: none; }
.quote:hover { transform: translateY(-4px); box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 14%, transparent); }
.quote:hover::after { opacity: 1; transform: none; }

/* Kopírování e-mailu a telefonu */
.copyrow { display: inline-flex; align-items: center; gap: 10px; }
.copy { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--muted); transition: color 0.2s, background 0.2s; flex: none; }
.copy svg { width: 17px; height: 17px; }
.copy .c2 { display: none; }
.copy:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.copy.is-done { color: var(--accent); }
.copy.is-done .c1 { display: none; }
.copy.is-done .c2 { display: block; }
.copy::after { content: "Zkopírováno"; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--text); color: var(--bg); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.copy.is-done::after { opacity: 1; transform: translate(-50%, 0); }
.footer .copy { width: 26px; height: 26px; }

/* Kotvy z menu: sekce sedne přesně pod zmenšenou lištu */
#showreel, #sluzby, #reference, #citace { scroll-margin-top: 64px; }
/* Showreel se vejde celý na jednu obrazovku */
#showreel { padding-block: clamp(28px, 4vh, 56px); min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; }
#showreel .section__head { margin-bottom: clamp(16px, 2.5vh, 32px); }
#showreel .section__head .corners { margin-bottom: clamp(12px, 2vh, 24px); }
#showreel .h2 { font-size: clamp(40px, min(7.4vw, 9vh), 112px); }
#showreel .lede { margin-top: 10px; }
.reels { height: clamp(360px, calc(100svh - 64px - 330px), 760px); }
.reels__caption { margin-top: 14px; min-height: 44px; }
.reels__dots { margin-top: 10px; }
@media (max-width: 640px) { .reels { height: clamp(380px, calc(100svh - 64px - 300px), 640px); } }

/* Karty referencí: po najetí jemné prolnutí na druhou fotku + linka pod názvem (bez videa) */
.card__media img { transition: transform 1.4s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__title span { background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1.5px no-repeat; padding-bottom: 3px; transition: background-size 0.6s var(--ease); }
.card:hover .card__title span, .card:focus-visible .card__title span { background-size: 100% 1.5px; }
.team .member:nth-child(3) .member__photo img { object-position: 50% 20%; }

.quote__avatar--photo { width: 60px; height: 60px; object-fit: cover; object-position: 50% 20%; background: #fff; padding: 0; }
.d-review__who .quote__avatar--photo { width: 72px; height: 72px; }

/* Reel v koláži vždy celý a na výšku (nikdy oříznutý na šířku) */
.tile--reel { background: transparent; border-radius: 0; overflow: visible; }
.reel-frame { position: relative; display: block; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: var(--surface); }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile--reel:hover .reel-frame video { transform: scale(1.04); }

/* ---------- Výběr barvy akcentu (jen v návrhu) ---------- */
.palette { position: fixed; left: 12px; bottom: 12px; z-index: 80; font: 600 12px/1.2 var(--font); }
.palette__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #000; border: 1px solid var(--line-strong); color: var(--text); }
.palette__toggle i { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.palette__panel { position: absolute; left: 0; bottom: calc(100% + 8px); width: min(300px, calc(100vw - 24px)); padding: 14px; border-radius: 16px; background: #000; border: 1px solid var(--line-strong); display: none; gap: 14px; }
.palette.is-open .palette__panel { display: grid; }
.palette__group > span { display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.palette__row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.palette__sw { aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; outline: 1px solid rgba(255,255,255,0.15); outline-offset: -1px; transition: transform 0.2s; }
.palette__sw:hover { transform: scale(1.15); }
.palette__sw[aria-pressed="true"] { border-color: #fff; outline: 0; }

/* Plné prvky v akcentu se sníženou opacitou */
.btn--accent:hover { background: var(--accent-fill-hover); color: var(--accent-ink); }

/* Kontakt: spodek formuláře (tlačítko) lícuje se spodní linkou kontaktů */
.form { position: relative; }
.form__status { position: absolute; left: 0; top: 100%; margin-top: 10px; }
@media (max-width: 860px) { .form__status { position: static; margin-top: 0; } }

.palette__alpha { display: grid; gap: 8px; padding-top: 4px; border-top: 1px solid var(--line); }
.palette__alpha label { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding-top: 10px; }
.palette__alpha input { width: 100%; accent-color: var(--accent); }
