/* =====================================================================
   Truhlářství Sedláček — Warm Premium Wood
   Art direction: krémová základna · dub & ořech · espresso · mosaz
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Barvy */
  --cream:        #f5efe4;
  --cream-2:      #efe6d6;
  --paper:        #fbf8f2;
  --sand:         #e7dcc7;
  --oak:          #c9a86a;
  --oak-soft:     #d8c19a;
  --walnut:       #7a5636;
  --walnut-deep:  #5c3e26;
  --espresso:     #2a1c11;
  --espresso-2:   #3a2a1c;
  --brass:        #b08a4f;
  --brass-light:  #c79b5c;
  --ink:          #241812;
  --muted:        #7c6f5f;
  --line:         rgba(42, 28, 17, 0.12);
  --line-soft:    rgba(42, 28, 17, 0.07);

  /* Typografie */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluidní velikosti */
  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.2vw, 2.4rem);
  --step-3:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-4:  clamp(2.7rem, 1.8rem + 4.4vw, 5.6rem);

  /* Rozestupy & tvar */
  --gutter: clamp(1.15rem, 0.8rem + 2.2vw, 2.6rem);
  --wrap:   1280px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--oak); color: var(--espresso); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4rem, 3rem + 7vw, 9rem); }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.6rem); }
.section-head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head__note { color: var(--muted); max-width: 42ch; }
.section-head__note--center { margin-inline: auto; text-align: center; }
.section-head--split .section-head__note { text-align: right; }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin-top: 0.7rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95em 1.7em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--espresso);
  color: var(--cream);
  box-shadow: 0 12px 30px -14px rgba(42, 28, 17, 0.7);
}
.btn--primary:hover { background: var(--walnut-deep); transform: translateY(-3px); box-shadow: 0 18px 38px -14px rgba(42, 28, 17, 0.75); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 239, 228, 0.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(245, 239, 228, 0.12); transform: translateY(-3px); border-color: var(--cream); }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--dark:hover { background: var(--walnut-deep); transform: translateY(-3px); }
.btn--block { width: 100%; }

.link-arrow {
  font-weight: 600;
  color: var(--espresso);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease);
  display: inline-flex;
  gap: 0.4rem;
}
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow span { transition: transform 0.3s var(--ease); display: inline-block; }

/* =====================================================================
   NAVIGACE
   ===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.nav__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--oak);
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 1.35rem;
  border-radius: 8px;
  flex: none;
}
.nav__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--cream);
  transition: color 0.4s var(--ease);
}
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 0.3rem + 1.4vw, 2.1rem); }
.nav__link {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245, 239, 228, 0.85);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__link:not(.nav__link--cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:not(.nav__link--cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover { color: var(--cream); }
.nav__link--cta {
  border: 1px solid rgba(245, 239, 228, 0.4);
  padding: 0.55em 1.2em;
  border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav__link--cta:hover { background: var(--oak); border-color: var(--oak); color: var(--espresso); }

/* Scrolled state */
.nav.is-scrolled {
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 40px -28px rgba(42, 28, 17, 0.6);
  height: 66px;
}
.nav.is-scrolled .nav__name { color: var(--espresso); }
.nav.is-scrolled .nav__link { color: var(--espresso-2); }
.nav.is-scrolled .nav__link--cta { border-color: var(--line); }
.nav.is-scrolled .nav__link--cta:hover { color: var(--espresso); }
.nav.is-scrolled .nav__burger span { background: var(--espresso); }

/* Burger */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
}
.nav__burger span {
  height: 2px; width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 2rem + 5vw, 6rem);
  overflow: hidden;
  color: var(--cream);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 118%;
  object-fit: cover;
  transform: translateY(-6%) scale(1.06);
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 15, 8, 0.55) 0%, rgba(24, 15, 8, 0.15) 35%, rgba(24, 15, 8, 0.35) 68%, rgba(20, 12, 6, 0.92) 100%),
    radial-gradient(120% 90% at 15% 90%, rgba(20, 12, 6, 0.7), transparent 55%);
}
.hero__content { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hero__eyebrow { color: var(--oak-soft); margin-bottom: 1.5rem; }
.hero__eyebrow::before { background: var(--oak-soft); }
.hero__title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.hero__title em { font-style: italic; color: var(--oak-soft); }
.hero__title .reveal-line { display: block; overflow: hidden; }
.hero__lead {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgba(245, 239, 228, 0.9);
  font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 2rem + 5vw, 6rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.75);
  writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 56px; background: linear-gradient(var(--oak-soft), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--cream);
  animation: scrollpulse 2.2s var(--ease) infinite;
}
@keyframes scrollpulse { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* =====================================================================
   FILOZOFIE
   ===================================================================== */
.philosophy { background: var(--cream); }
.philosophy__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.philosophy__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin-top: 1rem;
}
.philosophy__body > p { font-size: var(--step-1); line-height: 1.55; color: var(--espresso-2); max-width: 52ch; }
.pillars {
  margin-top: clamp(2rem, 1.4rem + 2vw, 3.4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 0.6rem + 2vw, 2.4rem);
}
.pillar { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.pillar__num { font-family: var(--serif); font-size: 1.1rem; color: var(--brass); }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-1); margin: 0.4rem 0 0.5rem; color: var(--espresso); }
.pillar p { font-size: var(--step--1); color: var(--muted); line-height: 1.6; }

.stats {
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: clamp(2rem, 1.4rem + 2vw, 3rem);
  border-top: 1px solid var(--line);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  line-height: 1;
  color: var(--walnut);
  letter-spacing: -0.02em;
}
.stat__label { display: block; margin-top: 0.5rem; font-size: var(--step--1); color: var(--muted); letter-spacing: 0.02em; }

/* =====================================================================
   SLUŽBY
   ===================================================================== */
.services { background: var(--paper); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.4rem + 1.6vw, 1.6rem);
}
.service {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(42, 28, 17, 0.45); }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.service:hover .service__img img { transform: scale(1.07); }
.service__text { padding: clamp(1.2rem, 0.9rem + 1vw, 1.8rem); }
.service__text h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-1); color: var(--espresso); margin-bottom: 0.5rem; }
.service__text p { font-size: var(--step--1); color: var(--muted); line-height: 1.6; }
.service--cta {
  background: var(--espresso);
  color: var(--cream);
  display: flex;
  align-items: center;
}
.service--cta:hover { box-shadow: 0 30px 60px -34px rgba(42, 28, 17, 0.6); }
.service--cta h3 { color: var(--cream); }
.service--cta p { color: rgba(245, 239, 228, 0.72); margin-bottom: 1.2rem; }
.service--cta .link-arrow { color: var(--oak-soft); border-color: var(--oak-soft); }

/* =====================================================================
   GALERIE / BENTO
   ===================================================================== */
.gallery { background: var(--cream); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 230px);
  gap: clamp(0.7rem, 0.3rem + 1.2vw, 1.2rem);
}
.bento__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  grid-column: span 1;
  grid-row: span 1;
}
.bento__item--wide { grid-column: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
  will-change: transform;
}
.bento__item:hover img { transform: scale(1.06); }
.bento__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 12, 6, 0.72));
  opacity: 0.85;
  transition: opacity 0.5s var(--ease);
}
.bento__item:hover::after { opacity: 1; }
.bento__item figcaption {
  position: absolute;
  left: 1.1rem; bottom: 1rem; right: 1.1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.bento__item:hover figcaption { transform: translateY(0); opacity: 1; }
.bento__item figcaption span:first-child { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.bento__item figcaption span:last-child { font-size: var(--step--1); color: var(--oak-soft); letter-spacing: 0.04em; }

/* =====================================================================
   BEFORE / AFTER
   ===================================================================== */
.beforeafter { background: var(--espresso); color: var(--cream); }
.beforeafter .section-title { color: var(--cream); }
.beforeafter .eyebrow { color: var(--oak-soft); }
.beforeafter .eyebrow::before { background: var(--oak-soft); }
.beforeafter .section-head__note { color: rgba(245, 239, 228, 0.7); }

.ba {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; }
.ba__img--before { width: 50%; overflow: hidden; border-right: 2px solid var(--cream); }
.ba__img--before img { width: 1040px; max-width: none; }
@media (max-width: 1040px) { .ba__img--before img { width: min(1040px, 96vw); } }
.ba__tag {
  position: absolute;
  top: 1rem;
  padding: 0.4em 0.9em;
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.ba__tag--before { left: 1rem; background: rgba(20, 12, 6, 0.6); color: var(--cream); }
.ba__tag--after { right: 1rem; background: rgba(201, 168, 106, 0.9); color: var(--espresso); }
.ba__handle {
  position: absolute;
  top: 0; left: 50%;
  width: 46px; height: 100%;
  transform: translateX(-50%);
  cursor: ew-resize;
  display: grid;
  place-items: center;
  z-index: 3;
}
.ba__handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--cream);
}
.ba__grip {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--espresso);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  letter-spacing: -2px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

/* =====================================================================
   POSTUP
   ===================================================================== */
.process { background: var(--paper); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 0.6rem + 2.4vw, 3rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.4rem; border-top: 2px solid var(--line); }
.step__num {
  position: absolute;
  top: -0.2rem; left: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  color: var(--oak);
  line-height: 1;
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-1); color: var(--espresso); margin-bottom: 0.6rem; }
.step p { font-size: var(--step--1); color: var(--muted); line-height: 1.6; }

/* =====================================================================
   O MNĚ
   ===================================================================== */
.about { background: var(--cream); }
.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__media img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.about__badge {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: rgba(251, 248, 242, 0.92);
  color: var(--espresso);
  padding: 0.55em 1.1em;
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.about__title { font-family: var(--serif); font-weight: 400; font-size: var(--step-3); color: var(--espresso); margin: 0.6rem 0 1.4rem; line-height: 1; }
.about__text > p { color: var(--espresso-2); margin-bottom: 1.1rem; max-width: 54ch; }
.about__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--walnut);
  border-left: 2px solid var(--oak);
  padding-left: 1.4rem;
  margin: 1.8rem 0;
}
.about__quote cite { display: block; margin-top: 0.8rem; font-style: normal; font-family: var(--sans); font-size: var(--step--1); color: var(--muted); }

/* =====================================================================
   MATERIÁLY
   ===================================================================== */
.materials { background: var(--espresso-2); color: var(--cream); }
.materials .section-title { color: var(--cream); }
.materials .eyebrow { color: var(--oak-soft); }
.materials .eyebrow::before { background: var(--oak-soft); }
.materials .section-head__note { color: rgba(245, 239, 228, 0.7); }
.materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 239, 228, 0.14);
  border: 1px solid rgba(245, 239, 228, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.material {
  background: var(--espresso-2);
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  transition: background 0.4s var(--ease);
}
.material:hover { background: var(--walnut-deep); }
.material h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-1); color: var(--oak-soft); margin-bottom: 0.5rem; }
.material p { font-size: var(--step--1); color: rgba(245, 239, 228, 0.78); line-height: 1.6; }

/* =====================================================================
   REFERENCE
   ===================================================================== */
.reviews { background: var(--cream); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 0.6rem + 2vw, 2rem);
}
.review {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.review__stars { color: var(--oak); letter-spacing: 3px; font-size: 1.05rem; }
.review blockquote { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; color: var(--espresso); font-weight: 400; }
.review figcaption { margin-top: auto; }
.review__name { display: block; font-weight: 700; color: var(--espresso); }
.review__meta { display: block; font-size: var(--step--1); color: var(--muted); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { background: var(--paper); }
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 1rem + 3vw, 4.5rem);
  align-items: start;
}
.faq__head p { color: var(--muted); margin-top: 1rem; }
.faq__head a { color: var(--walnut); border-bottom: 1px solid var(--oak); }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--espresso);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--brass);
  transition: transform 0.35s var(--ease);
}
.faq__icon::before { width: 15px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2px; height: 15px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__answer { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq__item[open] .faq__answer { max-height: 320px; }
.faq__answer p { padding-bottom: 1.3rem; color: var(--muted); max-width: 60ch; }

/* =====================================================================
   KONTAKT + FORMULÁŘ
   ===================================================================== */
.contact { background: var(--cream); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.contact__intro > p { color: var(--espresso-2); max-width: 44ch; margin-top: 1rem; }
.contact__details { margin-top: 2.2rem; display: grid; gap: 1.4rem; }
.contact__details li { display: grid; gap: 0.2rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.contact__label { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.contact__details a { font-family: var(--serif); font-size: var(--step-1); color: var(--espresso); transition: color 0.3s var(--ease); }
.contact__details a:hover { color: var(--walnut); }
.contact__details li span:last-child { color: var(--espresso-2); }

.contact__formwrap {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.6rem);
  box-shadow: 0 40px 80px -50px rgba(42, 28, 17, 0.5);
}
.form__row { margin-bottom: 1.2rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--espresso-2); }
.field label span { color: var(--brass); }
.field input, .field textarea, .select-wrap select {
  width: 100%;
  padding: 0.85em 1em;
  font: inherit;
  font-size: var(--step--1);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .select-wrap select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176, 138, 79, 0.16);
  background: var(--paper);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #b23c2e; box-shadow: 0 0 0 3px rgba(178, 60, 46, 0.12); }
.field__error { color: #b23c2e; font-size: 0.8rem; min-height: 1em; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute; right: 1em; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--walnut);
  border-bottom: 2px solid var(--walnut);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { appearance: none; cursor: pointer; }
.form__note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 1rem; }
.btn--block { margin-top: 0.4rem; }

.form__success {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(122, 86, 54, 0.08);
  border: 1px solid var(--oak);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.form__success[hidden] { display: none; }
.form__success-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--oak);
  color: var(--espresso);
  border-radius: 50%;
  font-weight: 700;
}
.form__success strong { display: block; color: var(--espresso); }
.form__success span { font-size: var(--step--1); color: var(--muted); }

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  filter: sepia(0.12) saturate(0.9);
}
.contact__map iframe { display: block; }

/* =====================================================================
   PATIČKA
   ===================================================================== */
.footer { background: var(--espresso); color: rgba(245, 239, 228, 0.75); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(1.6rem, 1rem + 2vw, 3rem);
  padding-bottom: clamp(2.5rem, 1.6rem + 3vw, 4rem);
}
.nav__brand--footer .nav__name { color: var(--cream); }
.footer__brand p { margin-top: 1rem; max-width: 32ch; font-size: var(--step--1); }
.footer__col h4 { font-family: var(--serif); font-weight: 500; color: var(--oak-soft); font-size: var(--step-1); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: 0.55rem; font-size: var(--step--1); }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  border-top: 1px solid rgba(245, 239, 228, 0.14);
  padding-block: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(245, 239, 228, 0.55);
}

/* =====================================================================
   STICKY CTA
   ===================================================================== */
.floating-cta {
  position: fixed;
  right: clamp(1rem, 0.5rem + 2vw, 2rem);
  bottom: clamp(1rem, 0.5rem + 2vw, 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.9em 1.4em;
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 600;
  box-shadow: 0 18px 40px -16px rgba(42, 28, 17, 0.7);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.5s var(--ease), background 0.3s var(--ease);
}
.floating-cta.is-visible { transform: translateY(0); opacity: 1; }
.floating-cta:hover { background: var(--walnut-deep); }
.floating-cta__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--oak); box-shadow: 0 0 0 0 rgba(201, 168, 106, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 168, 106, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(201, 168, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 168, 106, 0); } }

/* =====================================================================
   REVEAL ANIMACE
   ===================================================================== */
.reveal, .reveal-img { will-change: transform, opacity; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); opacity: 0; transition: clip-path 1s var(--ease), opacity 0.6s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); opacity: 1; }
.hero__title .reveal-line > * , .hero__title .reveal-line { }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .philosophy__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .materials__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; gap: 1rem; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16 / 10; max-height: 460px; }
  .faq__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 380px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem var(--gutter);
    background: var(--espresso);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.6);
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__link { color: var(--cream); font-size: 1.4rem; font-family: var(--serif); }
  .nav.is-scrolled .nav__link { color: var(--cream); }
  .nav__link--cta { border-color: rgba(245, 239, 228, 0.4); }
  .nav.is-scrolled .nav__link--cta { border-color: rgba(245, 239, 228, 0.4); }
  .nav__burger { display: flex; z-index: 101; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .section-head--split { align-items: flex-start; }
  .section-head--split .section-head__note { text-align: left; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 30vw, 220px); }
  .bento__item--wide { grid-column: span 2; }
  .bento__item--tall { grid-row: span 2; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .materials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: clamp(200px, 62vw, 300px); }
  .bento__item--wide, .bento__item--tall { grid-column: span 1; grid-row: span 1; }
  .bento__item figcaption { opacity: 1; transform: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .ba { aspect-ratio: 4 / 5; }
  .footer__bottom { flex-direction: column; }
}
