/* ==========================================================================
   Marek Danko – realizace podlah · návrh webu v1
   Layout: architektonický rytmus tmavých a světlých pásů, mřížka s tenkými
   linkami jako dilatační spáry; měď jen pro akcenty, výzvy k akci a detaily.
   Web má záměrně jeden vzhled (tmavé i světlé sekce), nepřepíná se podle
   systémového tmavého režimu.
   ========================================================================== */

/* ---------- Písma (hostovaná přímo na webu, bez Google Fonts) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mrs Saint Delafield';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/mrs-saint-delafield-podpis.woff2") format('woff2');
  unicode-range: U+20, U+44, U+4d, U+61, U+65, U+6b, U+6e-6f, U+72;
}

:root {
  /* Barvy */
  --ink: #111112;            /* nejtmavší antracit – patička, lightbox */
  --anthracite: #18181a;     /* tmavé sekce */
  --graphite: #222225;       /* karty a pole na tmavém podkladu */
  --graphite-2: #2c2c30;
  --stone: #e8e6e2;          /* světle šedá – galerie */
  --paper: #f4f3f0;          /* teplá bílá – světlé sekce */
  --white: #ffffff;
  --copper: #c48a5a;         /* hlavní akcent (na tmavém podkladu, tlačítka) */
  --copper-hi: #dcaa7b;      /* zvýraznění na tmavém podkladu */
  --copper-ink: #8f5c33;     /* měděný text na světlém podkladu (kontrast AA) */
  --copper-deep: #a86d3f;    /* velké nadpisy na světlém podkladu */
  --text-dark: #18181a;
  --text-light: #f4f2ee;
  --muted-on-light: #4f4b46;
  --muted-on-dark: #a9a59f;
  --line-on-light: rgba(17, 17, 18, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(17, 17, 18, 0.22);  /* podtržení polí formuláře */
  --error-ink: #b13d26;                   /* chybové hlášky na světlém podkladu */

  /* Typografie */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Mrs Saint Delafield", "Brush Script MT", cursive;

  /* Rozměry a pohyb */
  --maxw: 1400px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --header-h: 88px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--copper); color: var(--ink); }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--copper); color: var(--ink);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.container--wide { --maxw: 1640px; }

.section { padding-block: clamp(84px, 10vw, 150px); position: relative; }
.section--dark { background: var(--anthracite); color: var(--text-light); }
.section--paper { background: var(--paper); color: var(--text-dark); }
.section--stone { background: var(--stone); color: var(--text-dark); }
.section--white { background: var(--white); color: var(--text-dark); }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-size: 12px; font-weight: 650; font-stretch: 112%;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--copper-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .lightbox .eyebrow { color: var(--copper); }

.h2 {
  margin: 0 0 28px;
  font-size: clamp(2.05rem, 4.2vw, 3.7rem);
  font-weight: 760; font-stretch: 115%;
  line-height: 1.0; letter-spacing: -0.005em;
  text-transform: uppercase;
}
.h2 em, .hero__title em { font-style: normal; }
.h2 em { color: var(--copper-deep); }
.section--dark .h2 em { color: var(--copper-hi); }

.section-head--split {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px 64px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head--split .h2 { margin-bottom: 0; }
.section-head__aside p { max-width: 46ch; margin-bottom: 22px; color: var(--muted-on-light); }
.section--dark .section-head__aside p { color: var(--muted-on-dark); }
.section-head__aside p:only-child { margin-bottom: 0; }

/* ---------- Tlačítka a odkazy ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: inherit; --btn-bd: transparent; --btn-hover: rgba(255, 255, 255, 0.08);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 26px;
  font-size: 13px; font-weight: 650; font-stretch: 108%;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.55s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn .icon { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn:disabled { cursor: progress; opacity: 0.7; }

.btn--copper { --btn-bg: var(--copper); --btn-fg: var(--ink); --btn-hover: var(--copper-hi); }
.btn--ghost { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.5); --btn-hover: rgba(255, 255, 255, 0.1); }
.btn--ghost:hover { border-color: var(--white); }
.btn--ghost:hover .icon { transform: none; }
.btn--dark { --btn-bg: var(--anthracite); --btn-fg: var(--white); --btn-hover: var(--graphite-2); }
.btn--outline-light { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.3); --btn-hover: var(--copper); }
.btn--outline-light:hover { color: var(--ink); border-color: var(--copper); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12px; gap: 10px; }
.btn--lg { min-height: 58px; padding: 0 30px; }
.btn--block { width: 100%; }

.link-arrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 13px; font-weight: 650; font-stretch: 108%;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--copper-ink); background: none; border: 0; cursor: pointer;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 28px; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--copper-hi); }

.photo-tag {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  padding: 5px 9px;
  font-size: 10px; font-weight: 600; line-height: 1.2;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(12, 12, 13, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--radius);
  pointer-events: none;
}

/* ---------- Hlavička ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--text-light);
  transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(17, 17, 18, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-on-dark);
}
.header__inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
  transition: height 0.45s var(--ease);
}
.site-header.is-scrolled .header__inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand__mark {
  width: 46px; height: auto;
  fill: none; stroke: var(--copper); stroke-width: 3.4;
  stroke-linecap: square; stroke-linejoin: miter;
}
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-size: 15px; font-weight: 700; font-stretch: 120%;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
}
.brand__tag {
  margin-top: 6px;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase;
  line-height: 1; color: var(--muted-on-dark);
}

.nav { margin-inline: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.1vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover { color: var(--white); }
.nav__link.is-active { color: var(--copper-hi); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 22px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none;
  color: rgba(255, 255, 255, 0.9); white-space: nowrap;
}
.header__phone .icon { width: 18px; height: 18px; color: var(--copper); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  place-items: center;
  background: transparent; color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle__bars span {
  position: absolute; left: 0; height: 1.5px; width: 100%; background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.3s, top 0.4s var(--ease-out);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; width: 70%; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobilní menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding-top: calc(100px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--white);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: block; padding: 12px 0;
  font-size: clamp(1.6rem, 6.6vw, 2.4rem); font-weight: 720; font-stretch: 115%;
  line-height: 1.1; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--line-on-dark);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
  transition-delay: calc(var(--i, 0) * 45ms);
}
.mobile-menu__nav a:hover { color: var(--copper-hi); }
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu__foot { display: grid; gap: 18px; }
.mobile-menu__contact { margin: 0; font-size: 14px; color: var(--muted-on-dark); }
.mobile-menu__contact a { text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  min-height: min(100vh, 980px);
  min-height: min(100svh, 980px);
  background: var(--ink); color: var(--text-light);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.8s var(--ease), transform 9s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero.is-intro .hero__slide.is-active { animation: heroImageIn 2.6s var(--ease-out) both; }
@keyframes heroImageIn { from { opacity: 0; transform: scale(1.14); } to { opacity: 1; transform: scale(1); } }

.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.88) 0%, rgba(10, 10, 11, 0.6) 34%, rgba(10, 10, 11, 0.1) 66%, rgba(10, 10, 11, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 10, 11, 0.92) 0%, rgba(10, 10, 11, 0) 40%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.6) 0%, rgba(10, 10, 11, 0) 24%);
}

.hero__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-top: calc(var(--header-h) + 64px + env(safe-area-inset-top, 0px));
  padding-bottom: 48px;
}
.hero__content { max-width: 1200px; }
.hero__eyebrow { margin-bottom: 26px; }

.hero__title {
  margin: 0 0 28px;
  font-size: clamp(2rem, 0.8rem + 4.9vw, 5.4rem);
  font-weight: 790; font-stretch: 116%;
  line-height: 0.95; letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero__title em { color: var(--copper-hi); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero__title .line > span { display: block; animation: lineUp 1.15s var(--ease-out) both; }
.hero__title .line:nth-child(1) > span { animation-delay: 0.25s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.37s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.49s; }
@keyframes lineUp { from { transform: translateY(108%); } to { transform: translateY(0); } }

.hero__lead {
  max-width: 36ch; margin-bottom: 38px;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__lead, .hero__actions, .hero__eyebrow { animation: fadeUp 1s var(--ease-out) both; }
.hero__eyebrow { animation-delay: 0.15s; }
.hero__lead { animation-delay: 0.7s; }
.hero__actions { animation-delay: 0.85s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__counter {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.7);
}
.hero__count-current { color: var(--white); }
.hero__count-track { position: relative; width: 1px; height: 120px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.hero__count-bar { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--copper); transform: scaleY(0); transform-origin: top; }
.hero__counter.is-running .hero__count-bar { animation: countBar var(--slide-ms, 6500ms) linear forwards; }
@keyframes countBar { to { transform: scaleY(1); } }

.hero__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: 26px;
  padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  position: relative;
}
.hero__bottom::before {
  content: ""; position: absolute; top: 0; height: 1px; background: var(--line-on-dark);
  left: max(var(--gutter), env(safe-area-inset-left, 0px));
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.hero__features {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 20px clamp(24px, 3.4vw, 56px);
  animation: fadeUp 1s var(--ease-out) 1s both;
}
.feature { display: flex; align-items: center; gap: 14px; }
.feature__icon {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(196, 138, 90, 0.6); color: var(--copper-hi);
}
.feature__icon .icon { width: 21px; height: 21px; }
.feature__text { display: flex; flex-direction: column; line-height: 1.35; }
.feature__text strong { font-size: 14px; font-weight: 650; font-stretch: 106%; }
.feature__text span { font-size: 13px; color: rgba(255, 255, 255, 0.62); }

.hero__scroll {
  display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none;
  font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}
.hero__scroll-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s, background-color 0.3s;
}
.hero__scroll:hover .hero__scroll-circle { border-color: var(--copper); background: rgba(196, 138, 90, 0.15); }
.hero__scroll .icon { width: 18px; height: 18px; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

.hero > .photo-tag {
  top: calc(var(--header-h) + 18px + env(safe-area-inset-top, 0px)); bottom: auto;
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- O nás ---------- */
.about { position: relative; }
.about__grid {
  display: grid;
  grid-template-columns:
    minmax(max(var(--gutter), env(safe-area-inset-left, 0px)), 1fr)
    minmax(0, calc(var(--maxw) * 0.47))
    minmax(0, calc(var(--maxw) * 0.53))
    minmax(0, 1fr);
}
.about__text {
  grid-column: 2;
  padding-block: clamp(84px, 9.5vw, 150px);
  padding-right: clamp(32px, 5.5vw, 96px);
}
.about__copy p { color: var(--muted-on-light); max-width: 58ch; }
.checklist {
  list-style: none; margin: 34px 0 40px; padding: 26px 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px;
  border-top: 1px solid var(--line-on-light);
}
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 550; line-height: 1.4; }
.checklist .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--copper-ink); stroke-width: 2; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.about__media {
  grid-column: 3 / 5;
  position: relative; margin: 0; overflow: hidden;
  min-height: 560px;
}
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgba(10, 10, 11, 0) 40%, rgba(10, 10, 11, 0.78) 100%);
}
.about__quote {
  position: absolute; z-index: 2;
  left: clamp(24px, 4vw, 64px); right: clamp(24px, 4vw, 64px); bottom: clamp(28px, 4.5vw, 72px);
  max-width: 17ch;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem); font-weight: 400; font-stretch: 104%;
  line-height: 1.25; color: var(--white);
}
.about__quote::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 22px; background: var(--copper); }
.about__quote-mark { color: var(--copper-hi); }
.about__media .photo-tag { top: 16px; bottom: auto; right: 16px; }

/* Certifikát ze školení – karta pod odrážkami */
.cert {
  display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; align-items: center;
  margin: 0 0 40px; padding: 18px 22px 18px 18px;
  background: var(--white);
  border: 1px solid var(--line-on-light); border-left: 2px solid var(--copper);
}
.cert__thumb {
  position: relative; display: block; padding: 0; overflow: hidden;
  border: 0; border-radius: var(--radius); background: var(--stone);
  box-shadow: 0 12px 26px -16px rgba(17, 17, 18, 0.55);
  cursor: zoom-in;
}
.cert__thumb img { width: 100%; transition: transform 0.6s var(--ease-out); }
.cert__thumb:hover img { transform: scale(1.04); }
.cert__zoom {
  position: absolute; right: 8px; bottom: 8px;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  color: var(--white); background: rgba(17, 17, 18, 0.72);
  transition: background-color 0.3s, color 0.3s;
}
.cert__zoom .icon { width: 16px; height: 16px; }
.cert__thumb:hover .cert__zoom, .cert__thumb:focus-visible .cert__zoom { background: var(--copper); color: var(--ink); }
.cert__label { margin: 0 0 4px; font-size: 11.5px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-ink); }
.cert__title { margin: 0 0 6px; font-size: 1.15rem; font-weight: 720; font-stretch: 108%; line-height: 1.2; }
.cert__text { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--muted-on-light); }
.cert__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cert__tags li {
  padding: 2px 10px; font-size: 12px; font-weight: 600; line-height: 1.6;
  border: 1px solid var(--line-on-light); border-radius: 999px;
}

/* ---------- Služby ---------- */
.services {
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(196, 138, 90, 0.09), transparent 62%),
    var(--anthracite);
}
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--graphite); border: 1px solid var(--line-on-dark);
  overflow: hidden;
  transition: border-color 0.45s var(--ease), transform 0.6s var(--ease-out), opacity 0.9s var(--ease-out);
}
.service:hover { border-color: rgba(196, 138, 90, 0.45); }
.service__media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--ink); }
.service__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88) brightness(0.92);
  transition: transform 1.3s var(--ease-out), filter 0.6s var(--ease);
}
.service:hover .service__media img { transform: scale(1.06); filter: none; }
.service__media::after {
  content: ""; position: absolute; inset: auto 0 0; height: 45%;
  background: linear-gradient(0deg, var(--graphite), rgba(34, 34, 37, 0));
}
.service .photo-tag { top: 12px; bottom: auto; }
.service__body {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 26px 24px 24px;
}
.service__body::before {
  content: ""; position: absolute; top: 0; left: 24px; width: 36px; height: 2px;
  background: var(--copper); transition: width 0.7s var(--ease-out);
}
.service:hover .service__body::before { width: calc(100% - 48px); }
.service__title { margin: 4px 0 0; font-size: 1.22rem; font-weight: 700; font-stretch: 108%; line-height: 1.2; }
.service__body p { flex: 1; margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--muted-on-dark); }
.services__note { margin: 44px 0 0; text-align: center; color: var(--muted-on-dark); }
.services__note a { color: var(--copper-hi); text-underline-offset: 4px; }

/* ---------- Realizace ---------- */
.work__head { margin-bottom: 36px; }
.work__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; margin-bottom: 28px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--text-dark); background: transparent;
  border: 1px solid rgba(17, 17, 18, 0.2); border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.filter:hover { border-color: var(--anthracite); }
.filter__count { font-size: 11px; font-weight: 600; color: var(--muted-on-light); font-variant-numeric: tabular-nums; }
.filter.is-active { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.filter.is-active .filter__count { color: rgba(17, 17, 18, 0.7); }
.work__notice {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 13px; color: var(--muted-on-light);
}
.work__notice .icon { width: 18px; height: 18px; color: var(--copper-ink); }

.work__grid {
  --row: clamp(150px, 16.5vw, 290px);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: var(--row); gap: 12px;
  min-height: 300px;
}
.work__noscript { grid-column: 1 / -1; color: var(--muted-on-light); }

.tile {
  position: relative; overflow: hidden; margin: 0;
  background: var(--graphite); color: var(--white);
  opacity: 1; transform: none;
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.work__grid.is-switching .tile { opacity: 0; transform: translateY(18px) scale(0.985); transition-delay: 0s; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--ease-out), filter 0.6s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(10, 10, 11, 0.9) 0%, rgba(10, 10, 11, 0.45) 38%, rgba(10, 10, 11, 0) 64%);
  opacity: 0.9; transition: opacity 0.5s var(--ease);
}
.tile:hover img { transform: scale(1.055); }
.tile:hover::before { opacity: 1; }
.tile:focus-within { outline: 2px solid var(--copper); outline-offset: 3px; }
.tile__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: clamp(16px, 1.8vw, 28px);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.tile__cat {
  display: block; margin-bottom: 8px;
  font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--copper-hi);
}
.tile__title { margin: 0; font-size: clamp(1rem, 1.25vw, 1.3rem); font-weight: 700; font-stretch: 108%; line-height: 1.2; }
.tile--lg .tile__title { font-size: clamp(1.25rem, 1.9vw, 1.9rem); font-stretch: 112%; text-transform: uppercase; }
.tile__meta { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.tile { cursor: pointer; }
.tile__btn { all: unset; cursor: pointer; }
.tile__open {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45); color: var(--white);
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.tile__open .icon { width: 18px; height: 18px; }
.tile:hover .tile__open, .tile:focus-within .tile__open {
  opacity: 1; transform: none; background: var(--copper); border-color: var(--copper); color: var(--ink);
}
.tile .photo-tag { top: 12px; bottom: auto; }

.work__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: clamp(36px, 4vw, 56px);
}
.work__foot p { margin: 0; font-size: 1.1rem; font-weight: 500; }

/* ---------- Vzorník metalických odstínů ---------- */
.swatches {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(196, 138, 90, 0.1), transparent 62%),
    var(--ink);
}
.swatches__layout {
  display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}

/* Náhled vybraného odstínu (na desktopu drží při scrollování) */
.swatch-preview {
  position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); z-index: 2;
  background: var(--graphite); border: 1px solid var(--line-on-dark);
}
.swatch-preview__media {
  --mx: 30%; --my: 25%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--anthracite);
}
.swatch-preview__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.25s var(--ease), transform 0.7s var(--ease-out);
}
.swatch-preview__media img.is-changing { opacity: 0; transform: scale(1.05); }
/* odlesk, který sleduje kurzor */
.swatch-preview__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: soft-light;
}
/* pomalý přelev světla po metalickém povrchu */
.swatch-preview__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0) 61%) no-repeat;
  background-size: 260% 100%;
  mix-blend-mode: screen;
  animation: sheen 6s var(--ease) infinite;
}
@keyframes sheen { 0% { background-position: 130% 0; } 45%, 100% { background-position: -30% 0; } }
.swatch-preview__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 24px 24px; }
.swatch-preview__label {
  margin: 0; font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-on-dark);
}
.swatch-preview__name {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 740; font-stretch: 112%; line-height: 1.1;
  text-transform: uppercase; color: var(--white); overflow-wrap: break-word;
}
.swatch-preview__extra { margin: 0; font-size: 13px; color: var(--copper-hi); }
.swatch-preview__cta { margin-top: 14px; }
.swatch-preview__cta-short { display: none; }

/* Mřížka vzorků */
.swatch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 14px; }
.swatch {
  display: flex; flex-direction: column; gap: 9px;
  padding: 0; text-align: left; color: inherit; background: none; border: 0; cursor: pointer;
}
.swatch__img {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius);
  outline: 1px solid rgba(255, 255, 255, 0.1); outline-offset: 0;
  transition: outline-color 0.3s var(--ease), outline-offset 0.3s var(--ease), transform 0.45s var(--ease-out);
}
.swatch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.swatch__img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-130%); transition: transform 0.9s var(--ease-out);
}
.swatch:hover .swatch__img { transform: translateY(-3px); }
.swatch:hover .swatch__img img { transform: scale(1.08); }
.swatch:hover .swatch__img::after { transform: translateX(130%); }
.swatch[aria-pressed="true"] .swatch__img { outline: 2px solid var(--copper); outline-offset: 3px; }
.swatch:focus-visible { outline: none; }
.swatch:focus-visible .swatch__img { outline: 2px solid var(--copper-hi); outline-offset: 3px; }
.swatch__name { font-size: 13px; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.82); transition: color 0.3s var(--ease); }
.swatch__name small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--muted-on-dark); }
.swatch:hover .swatch__name { color: var(--white); }
.swatch[aria-pressed="true"] .swatch__name { color: var(--copper-hi); }
.swatches__note { max-width: 70ch; margin: clamp(32px, 4vw, 48px) 0 0; font-size: 13.5px; color: var(--muted-on-dark); }

@media (max-width: 1140px) {
  .swatch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .swatches__layout { grid-template-columns: minmax(0, 1fr); }
  /* Na tabletu a mobilu je náhled kompaktní lišta, která drží pod hlavičkou */
  .swatch-preview {
    top: calc(70px + env(safe-area-inset-top, 0px));
    display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: stretch;
    background: rgba(34, 34, 37, 0.95);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  }
  .swatch-preview__media { aspect-ratio: auto; min-height: 72px; }
  .swatch-preview__body {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label cta" "name cta" "extra cta";
    align-content: center; align-items: center; gap: 2px 12px;
    padding: 10px 12px 10px 14px;
  }
  .swatch-preview__label { grid-area: label; font-size: 10px; }
  .swatch-preview__name { grid-area: name; font-size: 1.05rem; }
  .swatch-preview__extra { grid-area: extra; font-size: 12px; }
  .swatch-preview__cta { grid-area: cta; margin-top: 0; min-height: 42px; padding: 0 14px; }
  .swatch-preview__cta-long { display: none; }
  .swatch-preview__cta-short { display: inline; }
}
@media (max-width: 760px) {
  .swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .swatch__name { font-size: 12px; }
}
@media (max-width: 520px) {
  /* Úzký telefon: menší náhled, bez popisku a šipky, aby se vešel celý název odstínu */
  .swatch-preview { grid-template-columns: 84px minmax(0, 1fr); }
  .swatch-preview__label { display: none; }
  .swatch-preview__body { grid-template-areas: "name cta" "extra cta"; gap: 2px 10px; padding: 8px 10px 8px 12px; }
  .swatch-preview__name { font-size: 0.95rem; font-stretch: 100%; }
  .swatch-preview__cta .icon { display: none; }
}

/* ---------- Proč si vybrat nás ---------- */
.why__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px); align-items: start;
}
.why__intro { position: sticky; top: 110px; }
.why__lead { max-width: 36ch; font-size: 1.1rem; color: var(--muted-on-light); }
.why__media { position: relative; margin: 40px 0 0; aspect-ratio: 4 / 3; overflow: hidden; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }

.why__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-on-light);
}
.value {
  position: relative;
  padding: clamp(30px, 3.6vw, 52px) clamp(20px, 3vw, 44px) clamp(30px, 3.6vw, 52px) 0;
  border-bottom: 1px solid var(--line-on-light);
}
.value:nth-child(odd) { border-right: 1px solid var(--line-on-light); }
.value:nth-child(even) { padding-left: clamp(20px, 3vw, 44px); padding-right: 0; }
.value::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--copper); transition: width 0.8s var(--ease-out);
}
.value:hover::after { width: 100%; }
.value__icon {
  width: 62px; height: 62px; margin-bottom: 28px;
  display: grid; place-items: center;
  border: 1px solid rgba(196, 138, 90, 0.55); color: var(--copper-ink);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.value__icon .icon { width: 28px; height: 28px; stroke-width: 1.25; }
.value:hover .value__icon { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.value__title { margin: 0 0 12px; font-size: 1.3rem; font-weight: 700; font-stretch: 110%; line-height: 1.2; }
.value p { margin: 0; color: var(--muted-on-light); }

/* ---------- Jak probíhá spolupráce ---------- */
.process { overflow: hidden; isolation: isolate; background: var(--ink); }
.process__bg { position: absolute; inset: -12% 0; z-index: -2; }
.process__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.process::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 17, 18, 0.94) 0%, rgba(17, 17, 18, 0.55) 48%, rgba(17, 17, 18, 0.92) 100%);
}

.timeline {
  --dot: 64px;
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px;
}
.timeline::before, .timeline::after {
  content: ""; position: absolute; top: calc(var(--dot) / 2); left: calc(var(--dot) / 2); right: 10%;
  height: 1px; background: rgba(255, 255, 255, 0.18);
}
.timeline::after {
  background: linear-gradient(90deg, var(--copper), var(--copper-hi));
  transform: scaleX(0); transform-origin: left;
  transition: transform 2.2s var(--ease-out) 0.2s;
}
.timeline.is-in::after { transform: scaleX(1); }
.step { position: relative; }
.step__icon {
  position: relative; z-index: 1;
  width: var(--dot); height: var(--dot); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--copper-hi);
  border: 1px solid rgba(196, 138, 90, 0.4);
  transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease), background-color 0.6s var(--ease);
}
.step__icon .icon { width: 26px; height: 26px; stroke-width: 1.3; }
.timeline.is-in .step__icon {
  border-color: var(--copper); background: #1d1a18;
  box-shadow: 0 0 0 7px rgba(196, 138, 90, 0.09);
}
.timeline.is-in .step:nth-child(1) .step__icon { transition-delay: 0.2s; }
.timeline.is-in .step:nth-child(2) .step__icon { transition-delay: 0.6s; }
.timeline.is-in .step:nth-child(3) .step__icon { transition-delay: 1s; }
.timeline.is-in .step:nth-child(4) .step__icon { transition-delay: 1.4s; }
.timeline.is-in .step:nth-child(5) .step__icon { transition-delay: 1.8s; }
.step__num {
  display: block; margin: 26px 0 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums; color: var(--copper);
}
.step__title { margin: 0 0 10px; font-size: 1.08rem; font-weight: 700; font-stretch: 106%; line-height: 1.28; }
.step p { margin: 0; font-size: 0.94rem; line-height: 1.6; color: var(--muted-on-dark); }
.process__cta { margin-top: clamp(48px, 5vw, 72px); }

/* ---------- Kontakt ---------- */
.contact__card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  background: var(--white);
  box-shadow: 0 60px 120px -70px rgba(17, 17, 18, 0.45);
}

/* Tmavý panel s kontakty */
.contact__panel {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--text-light);
}
.contact__panel-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
}
.contact__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 17, 18, 0.95) 0%, rgba(17, 17, 18, 0.84) 46%, rgba(17, 17, 18, 0.5) 100%);
}
.contact__panel-inner {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(32px, 4vw, 60px);
}
.contact__panel .h2 { font-size: clamp(1.9rem, 2.9vw, 2.9rem); }
.contact__lead { max-width: 38ch; color: rgba(255, 255, 255, 0.72); }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-on-dark); }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-on-dark); }
.contact-list__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(196, 138, 90, 0.5); color: var(--copper-hi);
}
.contact-list__icon .icon { width: 18px; height: 18px; }
.contact-list small {
  display: block; margin-bottom: 2px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-on-dark);
}
.contact-list strong { font-size: 0.98rem; font-weight: 600; color: var(--white); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--copper-hi); }
.contact__signature { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; padding-top: 44px; }
.signature {
  font-family: var(--font-script); font-size: clamp(2.6rem, 3.4vw, 3.4rem); line-height: 1;
  color: var(--white); transform: rotate(-4deg); transform-origin: left center;
}
.contact__signature-tag {
  margin-top: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.contact__panel .photo-tag { top: 14px; right: 14px; bottom: auto; }

/* Světlý formulář */
.contact__form {
  display: flex; flex-direction: column;
  padding: clamp(28px, 4.2vw, 64px);
  color: var(--text-dark);
}
.inquiry__head { margin-bottom: 30px; }
.inquiry__title {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2vw, 1.8rem); font-weight: 740; font-stretch: 112%;
  line-height: 1.1; text-transform: uppercase;
}
.inquiry__head p { margin: 0; color: var(--muted-on-light); }

.fs { min-width: 0; }
.fs + .fs { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line-on-light); }
.fs__legend {
  display: block; margin: 0 0 14px;
  font-size: 15px; font-weight: 650; font-stretch: 105%; line-height: 1.3;
  color: var(--text-dark);
}
.fs__num {
  display: inline-block; margin-right: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums; color: var(--copper-ink);
}
.fs__opt { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted-on-light); }

/* Štítky (radio) pro typ podlahy a plochu */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.chip span {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px;
  font-size: 14px; font-weight: 550; line-height: 1.2;
  color: var(--text-dark); background: var(--white);
  border: 1px solid rgba(17, 17, 18, 0.18); border-radius: var(--radius);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip span::before {
  content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%;
  border: 1px solid rgba(17, 17, 18, 0.35);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.chip input:hover + span { border-color: var(--anthracite); }
.chip input:checked + span { background: var(--anthracite); border-color: var(--anthracite); color: var(--white); }
.chip input:checked + span::before { background: var(--copper); border-color: var(--copper); transform: scale(1.15); }
.chip input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.chips.is-flash .chip input:checked + span { animation: chipFlash 1.4s var(--ease-out); }
@keyframes chipFlash {
  0%, 35% { box-shadow: 0 0 0 4px rgba(196, 138, 90, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(196, 138, 90, 0); }
}

/* Pole s podtržením (měděná linka se při psaní roztáhne) */
.uf input, .exact input, .msg {
  display: block; width: 100%;
  padding: 10px 0;
  font: inherit; font-size: 16px; line-height: 1.4;
  color: var(--text-dark);
  background: transparent linear-gradient(var(--copper), var(--copper)) no-repeat left bottom / 0 2px;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: background-size 0.5s var(--ease-out), border-color 0.3s var(--ease);
}
.uf input:hover, .exact input:hover, .msg:hover { border-bottom-color: rgba(17, 17, 18, 0.42); }
.uf input:focus, .exact input:focus, .msg:focus { outline: none; background-size: 100% 2px; }
.uf input:-webkit-autofill {
  -webkit-text-fill-color: var(--text-dark);
  transition: background-color 600000s 0s, color 600000s 0s, background-size 0.5s var(--ease-out);
}
.exact input::placeholder, .msg::placeholder { color: rgba(17, 17, 18, 0.4); }

.uf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; }
.uf { position: relative; min-width: 0; padding-top: 18px; }
.uf--full { grid-column: 1 / -1; }
.uf input { height: 46px; }
.uf label {
  position: absolute; left: 0; top: 30px;
  font-size: 16px; line-height: 1.4; color: var(--muted-on-light);
  transform-origin: left top; pointer-events: none;
  transition: transform 0.35s var(--ease-out), color 0.3s var(--ease);
}
.uf input:focus + label,
.uf input:not(:placeholder-shown) + label { transform: translateY(-24px) scale(0.78); color: var(--copper-ink); }
.req { color: var(--copper-ink); }

.exact { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--muted-on-light); }
.exact label { white-space: nowrap; }
.exact input { width: 96px; text-align: center; -moz-appearance: textfield; }
.exact input::-webkit-outer-spin-button, .exact input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.msg { min-height: 96px; resize: none; overflow: hidden; }

.uf.is-invalid input, .exact.is-invalid input { border-bottom-color: var(--error-ink); }
.uf.is-invalid label { color: var(--error-ink); }
.field__error { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.35; color: var(--error-ink); }
.field__error:empty { display: none; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__hint { margin: 12px 0 0; font-size: 13px; color: var(--muted-on-light); }
.inquiry__hint.is-error { color: var(--error-ink); }
.inquiry__status { margin: 22px 0 0; font-size: 14px; }
.inquiry__status:empty { display: none; }
.inquiry__status.is-error { color: var(--error-ink); }
.inquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.inquiry__submit { flex: none; }
.inquiry__legal { flex: 1 1 240px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted-on-light); }
.inquiry__legal a { color: var(--text-dark); text-decoration-color: var(--copper); text-underline-offset: 3px; }

/* Potvrzení po odeslání */
.inquiry-success {
  flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px;
  padding-block: clamp(20px, 4vw, 60px);
  outline: none;
}
.inquiry-success__icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--copper); color: var(--ink);
  animation: pop 0.6s var(--ease-out) both;
}
.inquiry-success__icon .icon { width: 30px; height: 30px; stroke-width: 2; }
.inquiry-success h3 { margin: 8px 0 0; font-size: 1.6rem; font-weight: 740; font-stretch: 110%; line-height: 1.15; text-transform: uppercase; }
.inquiry-success p { margin: 0; max-width: 46ch; color: var(--muted-on-light); }
.inquiry-success .inquiry-success__demo {
  padding: 12px 14px; font-size: 13.5px;
  color: var(--copper-ink); background: rgba(196, 138, 90, 0.08);
  border: 1px dashed rgba(143, 92, 51, 0.55);
}
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 960px) {
  .contact__card { grid-template-columns: minmax(0, 1fr); }
  .contact__signature { padding-top: 32px; }
}
@media (max-width: 760px) {
  /* Na telefonu karta od okraje k okraji */
  .contact > .container { padding-left: 0; padding-right: 0; }
  .contact__panel-inner, .contact__form {
    padding-top: 40px; padding-bottom: 40px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .contact__panel .h2 { font-size: clamp(1.75rem, 8.6vw, 2.6rem); }
}
@media (max-width: 560px) {
  .uf-grid { grid-template-columns: minmax(0, 1fr); }
  .inquiry__submit { width: 100%; }
}

/* ---------- Patička ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding-top: clamp(64px, 8vw, 110px); }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px; padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
.brand--footer { color: var(--white); margin-bottom: 22px; }
.footer__brand p { max-width: 32ch; font-size: 14.5px; }
.footer__title {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 650; font-stretch: 110%; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer__col p { font-size: 14.5px; margin-bottom: 20px; }
.site-footer a { text-decoration: none; transition: color 0.3s; }
.site-footer a:not(.btn):hover { color: var(--copper-hi); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-top: 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  font-size: 13px;
}
.footer__bottom p { margin: 0; }

/* ---------- Mobilní CTA lišta ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none;
  padding-top: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: linear-gradient(0deg, rgba(17, 17, 18, 0.96), rgba(17, 17, 18, 0.8));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }

/* ---------- Lightbox – detail realizace ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: 100vw; max-height: 100vh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--text-light);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(8, 8, 9, 0.88); }
.lightbox[open] { animation: lbIn 0.5s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
.lb { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 440px); height: 100%; }
.lb__stage { position: relative; overflow: hidden; background: #0b0b0c; touch-action: pan-y; }
.lb__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity 0.35s var(--ease), transform 0.6s var(--ease-out);
}
.lb__img.is-loading { opacity: 0; transform: scale(1.015); }
.lb__photo-nav {
  position: absolute; top: 50%; z-index: 2;
  width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white); background: rgba(17, 17, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.lb__photo-nav:hover { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.lb__photo-nav--prev { left: max(18px, env(safe-area-inset-left, 0px)); }
.lb__photo-nav--next { right: 18px; }
.lb__thumbs {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 2;
  transform: translateX(-50%);
  display: flex; gap: 8px; padding: 6px;
  background: rgba(17, 17, 18, 0.55); border-radius: var(--radius);
}
.lb__thumb {
  width: 66px; height: 46px; padding: 0; overflow: hidden;
  border: 2px solid transparent; border-radius: var(--radius);
  background: var(--graphite); cursor: pointer; opacity: 0.6;
  transition: opacity 0.3s, border-color 0.3s;
}
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumb:hover { opacity: 1; }
.lb__thumb.is-active { border-color: var(--copper); opacity: 1; }
.lb__stage .photo-tag { top: calc(16px + env(safe-area-inset-top, 0px)); bottom: auto; left: max(16px, env(safe-area-inset-left, 0px)); right: auto; }

.lb__panel {
  display: flex; flex-direction: column;
  padding-top: calc(26px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  padding-left: 36px;
  padding-right: max(36px, env(safe-area-inset-right, 0px));
  overflow-y: auto;
  background: var(--anthracite); border-left: 1px solid var(--line-on-dark);
}
.lb__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.lb__count { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; color: var(--muted-on-dark); }
.lb__close {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--white); background: transparent;
  border: 1px solid var(--line-on-dark); border-radius: 50%;
  cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.lb__close:hover { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.lb__title {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem); font-weight: 760; font-stretch: 112%;
  line-height: 1.05; text-transform: uppercase;
}
.lb__space { margin: 0 0 22px; font-size: 14px; color: var(--copper-hi); }
.lb__desc { margin: 0 0 28px; color: var(--muted-on-dark); }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 0 0 30px; border-top: 1px solid var(--line-on-dark); }
.specs dt, .specs dd { margin: 0; padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--line-on-dark); }
.specs dt { padding-right: 20px; color: var(--muted-on-dark); }
.specs dd { text-align: right; color: var(--white); }
.specs dd.is-empty { color: rgba(255, 255, 255, 0.42); font-style: italic; }
.lb__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 28px; }
.lb__nav-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 0;
  font-size: 12.5px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: none; border: 0; cursor: pointer;
  transition: color 0.3s;
}
.lb__nav-btn:hover { color: var(--copper-hi); }
.lb__nav-btn .icon { width: 18px; height: 18px; }
html.is-locked { overflow: hidden; }

/* ---------- Certifikát – zvětšení ---------- */
.cert-dialog {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: 100vw; max-height: 100vh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: rgba(11, 11, 12, 0.97); color: var(--text-light);
}
.cert-dialog::backdrop { background: rgba(8, 8, 9, 0.88); }
.cert-dialog[open] { display: grid; place-items: center; animation: lbIn 0.5s var(--ease-out); }
.cert-dialog__close {
  position: absolute; z-index: 2;
  top: calc(16px + env(safe-area-inset-top, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
}
.cert-dialog__figure {
  margin: 0; display: grid; justify-items: center; gap: 14px;
  padding: calc(76px + env(safe-area-inset-top, 0px)) max(16px, 3vw) calc(24px + env(safe-area-inset-bottom, 0px));
}
.cert-dialog__figure img {
  width: auto; max-width: min(1100px, 100%); max-height: calc(100dvh - 160px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
}
.cert-dialog__figure figcaption { font-size: 13px; line-height: 1.5; text-align: center; color: var(--muted-on-dark); }

/* ---------- Animace při scrollování ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.95s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Maska ("lití" fotky zdola nahoru) je až na fotce uvnitř – oříznutý prvek by
   IntersectionObserver nezachytil a animace by se nespustila. */
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"] > img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.5s var(--ease-out);
}
.js [data-reveal="mask"].is-in > img { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"]::after,
.js [data-reveal="mask"] > :not(img) { opacity: 0; transition: opacity 0.9s var(--ease) 0.5s; }
.js [data-reveal="mask"].is-in::after,
.js [data-reveal="mask"].is-in > :not(img) { opacity: 1; }
.js .service[data-reveal].is-in:hover { transform: translateY(-4px); }

/* ---------- Režim návrhu: zvýraznění neověřených textů ---------- */
html.draft-on [data-draft] {
  position: relative;
  outline: 1.5px dashed var(--copper); outline-offset: 5px;
  background-color: rgba(196, 138, 90, 0.07);
}
html.draft-on [data-draft]::after {
  content: attr(data-draft);
  position: absolute; left: -6px; top: -8px; z-index: 6;
  transform: translateY(-100%);
  padding: 3px 7px;
  font: 600 10px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; font-style: normal;
  color: var(--ink); background: var(--copper); border-radius: var(--radius);
  white-space: nowrap; pointer-events: none;
}
html.draft-on .header__phone[data-draft]::after { top: auto; bottom: -8px; transform: translateY(100%); }

.draft-bar {
  position: fixed; z-index: 60;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px;
  font-size: 12px; color: var(--white);
  background: rgba(17, 17, 18, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 138, 90, 0.45); border-radius: 999px;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.6);
}
.draft-bar__label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); }
.draft-bar__toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  color: var(--white); background: rgba(255, 255, 255, 0.07);
  border: 0; border-radius: 999px; cursor: pointer;
}
.draft-bar__toggle b { font-weight: 700; color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.draft-bar__switch { position: relative; width: 30px; height: 18px; border-radius: 9px; background: rgba(255, 255, 255, 0.22); transition: background-color 0.3s; flex: none; }
.draft-bar__switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); transition: transform 0.3s var(--ease-out);
}
.draft-bar__toggle[aria-pressed="true"] .draft-bar__switch { background: var(--copper); }
.draft-bar__toggle[aria-pressed="true"] .draft-bar__switch::after { transform: translateX(12px); }

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1320px) {
  .header__phone { display: none; }
}

@media (max-width: 1140px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header__actions { margin-left: auto; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service__media { aspect-ratio: 16 / 10; }
  .hero__features { grid-template-columns: repeat(2, minmax(0, auto)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__text {
    grid-column: 1;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
    padding-bottom: 56px;
  }
  .about__media { grid-column: 1; min-height: 0; aspect-ratio: 4 / 3; }
  .cert { grid-template-columns: 168px minmax(0, 1fr); gap: 24px; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__intro { position: static; }
  .why__media { aspect-ratio: 16 / 9; }

  .timeline { --dot: 56px; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline::before, .timeline::after {
    top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); left: calc(var(--dot) / 2); right: auto;
    width: 1px; height: auto;
  }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.is-in::after { transform: scaleY(1); }
  .step { padding: 0 0 36px calc(var(--dot) + 24px); min-height: var(--dot); }
  .step:last-child { padding-bottom: 0; }
  .step__icon { position: absolute; left: 0; top: 0; }
  .step__num { margin: 4px 0 6px; }
  .step p { max-width: 52ch; }

  .lb { grid-template-columns: minmax(0, 1fr); grid-template-rows: 56vh auto; height: auto; min-height: 100%; }
  .lightbox { overflow-y: auto; }
  .lb__panel { border-left: 0; border-top: 1px solid var(--line-on-dark); overflow: visible; padding-top: 22px; }
  .lb__top { margin-bottom: 24px; }
  .lb__stage .photo-tag { top: 14px; }
}

@media (max-width: 860px) {
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
  .work__grid .tile { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1 / 1.08; }
  .work__grid .tile.is-wide { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }
  .tile__open { opacity: 1; transform: none; width: 40px; height: 40px; }
  .tile--lg .tile__title { text-transform: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 74px; }
  body { font-size: 16px; }
  .header__cta { display: none; }
  .brand__mark { width: 40px; }
  .brand__name { font-size: 14px; }
  .mobile-cta { display: block; }
  .site-footer { padding-bottom: 74px; }

  .hero__inner { padding-top: calc(var(--header-h) + 52px + env(safe-area-inset-top, 0px)); padding-bottom: 36px; }
  .hero__counter, .hero__scroll { display: none; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(10, 10, 11, 0.82) 0%, rgba(10, 10, 11, 0.5) 100%),
      linear-gradient(0deg, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0) 50%);
  }
  .hero__actions .btn { flex: 1 1 240px; }
  .hero__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; width: 100%; }
  .feature { gap: 10px; align-items: flex-start; }
  .feature__icon { width: 38px; height: 38px; }
  .feature__icon .icon { width: 18px; height: 18px; }
  .feature__text strong { font-size: 13px; }
  .feature__text span { font-size: 12px; }
  .hero > .photo-tag { top: auto; bottom: auto; top: calc(var(--header-h) + 10px + env(safe-area-inset-top, 0px)); }

  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .why__list { grid-template-columns: minmax(0, 1fr); }
  .value, .value:nth-child(even) { padding: 30px 0; border-right: 0; }
  .value:nth-child(odd) { border-right: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .draft-bar { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding-left: 6px; }
  .draft-bar__label { display: none; }
}

@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 10px; }
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .work__grid .tile, .work__grid .tile.is-wide { grid-column: auto !important; aspect-ratio: 4 / 3; }
  .work__toolbar { align-items: flex-start; }
  .filter { padding: 0 14px; }
  .lb__photo-nav { width: 44px; height: 44px; margin-top: -22px; }
  .cert { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 14px 14px 18px; }
}

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="mask"] > img { clip-path: none; }
  .js [data-reveal="mask"]::after, .js [data-reveal="mask"] > :not(img) { opacity: 1; }
  .hero__slide { transform: none !important; }
}
