/* ═══════════════════════════════════════════════════════════
   Kadlec & Dřevo — varianta 03 "Moderní"
   Implementace artboardu z design projektu (Modern.jsx).
   Inter Tight + Inter, čisté karty, dřevo jako akcent.
   ═══════════════════════════════════════════════════════════ */

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, figure, dl, dd, dt, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
/* Autorská pravidla (např. .form{display:grid}) mají stejnou specificitu
   jako UA pravidlo [hidden]{display:none} a přebila by ho — proto !important. */
[hidden] { display: none !important; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-200%);
  background: var(--ink-900); color: var(--cream);
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

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

/* ── Typografie ───────────────────────────────────────────── */
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.h2--light { color: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--wood-700);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow--light { color: var(--wood-300); }

.section__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 560px;
}

/* ── Tlačítka ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s, color 0.18s,
              border-color 0.18s, box-shadow 0.18s;
}
.btn__arrow { transition: transform 0.18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--dark { background: var(--ink-900); color: var(--cream); }
.btn--dark:hover { background: var(--wood-800); box-shadow: var(--shadow-lift); }

.btn--ghost {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--ink-100);
}
.btn--ghost:hover { border-color: var(--wood-400); color: var(--wood-800); box-shadow: var(--shadow-card); }

.btn--wood { background: var(--wood-800); color: var(--cream); }
.btn--wood:hover { background: var(--wood-700); box-shadow: var(--shadow-lift); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; padding: 17px 28px; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  border-bottom: 1px solid rgba(58, 40, 23, 0.06);
  transition: box-shadow 0.2s, background 0.2s;
}
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .nav { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.nav.is-stuck { box-shadow: 0 1px 16px rgba(58, 40, 23, 0.08); }

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding-block: 16px;
  min-height: var(--nav-h);
}

.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }

/* Značka z loga + wordmark sazbou — bitmapový nápis by byl v této
   velikosti nečitelný. */
.brand__mark { height: 40px; width: auto; }
.brand__word {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-900);
  white-space: nowrap;
}
.brand__amp { color: var(--wood-600); }

.nav__links { display: flex; gap: 32px; justify-content: center; }

.nav__link {
  position: relative;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding-block: 4px;
  transition: color 0.15s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--wood-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--wood-800); }
.nav__link--phone { display: none; }

.nav__right { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }

.nav__phone {
  color: var(--ink-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s;
}
.nav__phone:hover { color: var(--wood-800); }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-pill);
  background: var(--white);
  cursor: pointer;
  place-items: center;
}
.nav__burger-box { display: grid; gap: 5px; width: 17px; }
.nav__burger-box span {
  display: block; height: 2px; width: 100%;
  background: var(--ink-900); border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.18s;
}
.nav__burger[aria-expanded="true"] .nav__burger-box span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] .nav__burger-box span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 96px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wood-50);
  color: var(--wood-800);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--wood-100);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(90, 107, 62, 0.15);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero__accent {
  font-style: italic;
  /* Kurzíva přesahuje svůj inline box, takže background-clip: text
     ořízne poslední glyf. Padding box rozšíří, margin to skoro vyrovná. */
  padding-inline-end: 0.09em;
  margin-inline-end: -0.07em;
  background: linear-gradient(135deg, var(--wood-700), var(--wood-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--wood-600);          /* fallback bez background-clip */
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__accent { -webkit-text-fill-color: transparent; color: transparent; }
}

.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-500);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Koláž fotek */
.hero__media { position: relative; height: clamp(360px, 45vw, 580px); }

.hero__img { overflow: hidden; background: var(--bone); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }

.hero__img--main {
  position: absolute; top: 0; right: 0;
  width: 78%; height: 78%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-hero);
}
.hero__img--sub {
  position: absolute; bottom: 0; left: 0;
  width: 52%; height: 46%;
  border-radius: var(--radius-xl);
  border: 6px solid var(--cream);
  box-shadow: 0 16px 40px rgba(58, 40, 23, 0.18);
}

/* ═══════════ SEKCE ═══════════ */
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }

/* ── Služby ───────────────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  /* Řádek 2 pohltí zbylou výšku: obsah karet je zarovnaný nahoře
     a CTA drží u spodní hrany i u kratších popisků. */
  grid-template-rows: auto 1fr;
  gap: 0;
  align-items: start;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-xl);
  border: var(--edge);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              border-color 0.22s;
}
.service:hover, .service:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(58, 40, 23, 0.12);
}

.service__icon {
  grid-column: 1 / -1;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--wood-50);
  display: grid; place-items: center;
  margin-bottom: 8px;
  color: var(--wood-700);
  transition: background 0.22s, color 0.22s;
}
.service__icon svg { width: 32px; height: 32px; }
.service:hover .service__icon { background: var(--wood-100); }

.service__body { grid-column: 1; }
.service__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.service__desc { font-size: 14px; line-height: 1.6; color: var(--ink-500); }

.service__sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--wood-700);
  margin-bottom: 10px;
}

.service__cta {
  grid-column: 1 / -1;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}
/* celá karta je klikatelná skrz rozšířený hit-area odkazu */
.service__cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl); }
.service:hover .service__cta { color: var(--wood-800); text-decoration: underline; }
.service:hover .service__cta .btn__arrow { transform: translateX(4px); }

/* ── Projekty ─────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }

.filter {
  background: var(--white);
  border: 1px solid var(--ink-100);
  color: var(--ink-700);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}
.filter:hover { border-color: var(--wood-400); color: var(--wood-800); }
.filter.is-active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--cream);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project {
  display: block;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: var(--edge);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.project__img {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bone);
}
.project__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.project:hover .project__img img { transform: scale(1.04); }

.project__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-900);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.project__body { padding: 18px 22px 22px; }
.project__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.project__loc { font-size: 14px; color: var(--ink-500); }

.projects__empty {
  margin-top: 32px;
  font-size: 15px;
  color: var(--ink-500);
}

/* ── O nás ────────────────────────────────────────────────── */
.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.28rem + 1.09vw, 2rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.about {
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.about p { font-size: 17px; line-height: 1.7; color: var(--ink-700); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  counter-reset: none;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--white);
  border: var(--edge);
  border-radius: var(--radius-xl);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.step__n {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--wood-50);
  border: 1px solid var(--wood-100);
  color: var(--wood-700);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.step__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.step__desc { font-size: 14px; line-height: 1.6; color: var(--ink-500); }

/* ── Recenze ──────────────────────────────────────────────── */
.badge--plain { background: var(--white); border-color: var(--ink-100); color: var(--ink-700); }

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  border: var(--edge);
  border-radius: var(--radius-xl);
  padding: 30px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.review__quote {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0;
  flex: 1;
}
.review__by {
  display: grid;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-100);
}
.review__name { font-size: 14px; font-weight: 600; }
.review__job { font-size: 13px; color: var(--ink-500); }

/* Patka sekce s doplňujícím tlačítkem */
.section__foot { margin-top: clamp(32px, 4vw, 48px); }

/* ── Instagram pruh ───────────────────────────────────────── */
.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(28px, 3.5vw, 40px);
  background: rgba(232, 211, 187, 0.06);
  border: 1px solid rgba(232, 211, 187, 0.12);
  border-radius: var(--radius-2xl);
}
.social__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 8px;
}
.social__desc { font-size: 15px; line-height: 1.6; color: rgba(250, 246, 240, 0.7); max-width: 520px; }
.btn--light { background: var(--cream); color: var(--ink-900); }
.btn--light:hover { background: var(--white); box-shadow: var(--shadow-lift); }
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Formulář: hlavička a příloha ─────────────────────────── */
.form__head { margin-bottom: 4px; }
.form__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.form__intro { font-size: 14px; line-height: 1.6; color: var(--ink-500); }

.filedrop {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 20px;
  background: var(--white);
  border: 1px dashed rgba(58, 40, 23, 0.28);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.filedrop:hover { border-color: var(--wood-600); background: var(--wood-50); }
.filedrop__icon { width: 22px; height: 22px; color: var(--wood-600); }
.filedrop__text { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.filedrop__hint { font-size: 12px; color: var(--ink-500); }
/* Fokus na sr-only inputu musí být vidět na jeho vizuální náhradě. */
[data-file-input]:focus-visible + .filedrop { outline: 2px solid var(--wood-600); outline-offset: 3px; }
.filedrop.has-files { border-style: solid; border-color: var(--wood-600); background: var(--wood-50); }

/* ═══════════ KONTAKT ═══════════ */
.contact { background: var(--ink-900); color: var(--cream); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(250, 246, 240, 0.7);
  max-width: 560px;
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}
.contact__card {
  background: rgba(232, 211, 187, 0.06);
  border: 1px solid rgba(232, 211, 187, 0.12);
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: background 0.2s, border-color 0.2s;
}
.contact__card:hover { background: rgba(232, 211, 187, 0.1); border-color: rgba(232, 211, 187, 0.22); }
.contact__key {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--wood-300);
  margin-bottom: 8px;
}
.contact__val {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500; line-height: 1.4;
  color: var(--cream);
}
.contact__val a { text-decoration: none; transition: color 0.15s; word-break: break-word; }
.contact__val a:hover { color: var(--wood-200); }

.contact__note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 246, 240, 0.55);
  max-width: 560px;
}

/* ── Formulář ─────────────────────────────────────────────── */
.form-card {
  background: var(--cream);
  color: var(--ink-900);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-2xl);
}

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Dvouřádkový popisek v jednom sloupci by rozhodil zarovnání inputů —
   subgrid srovná řádky popisek/pole napříč oběma sloupci. */
@supports (grid-template-rows: subgrid) {
  .form__row { grid-template-rows: auto auto; }
  .form__row .field { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
}

.label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.input {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(58, 40, 23, 0.15);
  border-radius: var(--radius-md);
  color: var(--ink-900);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--ink-300); }
.input:hover { border-color: rgba(58, 40, 23, 0.28); }
.input:focus {
  outline: none;
  border-color: var(--wood-600);
  box-shadow: 0 0 0 3px rgba(122, 79, 51, 0.14);
}
.input[aria-invalid="true"] { border-color: var(--rust); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(184, 92, 60, 0.16); }

.textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

.select-wrap { position: relative; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}
.select-wrap__chev {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  color: var(--ink-500);
  pointer-events: none;
}

.error { color: var(--rust); font-size: 12px; font-weight: 500; margin-top: 6px; }
.form__note { font-size: 12px; line-height: 1.5; color: var(--ink-500); text-align: center; }

.form-done { padding: clamp(24px, 4vw, 48px) 0; text-align: center; }
.form-done__check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--wood-300);
  color: var(--wood-900);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  font-size: 28px;
}
.form-done__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.form-done__text { font-size: 15px; line-height: 1.6; color: var(--ink-500); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--ink-900);
  border-top: 1px solid rgba(232, 211, 187, 0.08);
  padding-block: 24px 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .brand__mark { height: 34px; }
.footer__copy,
.footer__note { color: rgba(250, 246, 240, 0.6); font-size: 13px; }

/* ═══════════ Scroll reveal ═══════════ */
/* Opt-in: třídu .js-reveal nasazuje inline skript v <head>, takže bez
   JavaScriptu je stránka od začátku plně viditelná (žádný skrytý obsah). */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ═══════════ Responzivita ═══════════ */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .hero { gap: 40px; }
}

@media (max-width: 900px) {
  .steps, .reviews { grid-template-columns: 1fr; }
  .social { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }

  /* Mobilní menu */
  .nav__inner { grid-template-columns: auto 1fr; gap: 16px; }
  .brand__mark { height: 34px; }

  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(58, 40, 23, 0.08);
    box-shadow: 0 16px 32px rgba(58, 40, 23, 0.1);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__link {
    font-size: 17px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(58, 40, 23, 0.07);
  }
  .nav__link::after { display: none; }
  .nav__link--phone { display: block; border-bottom: 0; color: var(--wood-800); font-weight: 600; }
  .nav__phone { display: none; }
  .nav__burger { display: grid; }

  /* Hero na výšku */
  .hero { grid-template-columns: 1fr; }
  .hero__lead { max-width: none; }
  .hero__media { height: auto; display: grid; grid-template-columns: 1fr; }
  .hero__img--main,
  .hero__img--sub { position: static; width: 100%; height: auto; }
  .hero__img--main { aspect-ratio: 4 / 3; }
  .hero__img--sub {
    display: none;                   /* sub-foto by na mobilu jen opakovala obsah */
  }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .services, .projects { grid-template-columns: 1fr; }
  .step { padding: 20px 22px; gap: 14px; }
  .review { padding: 24px 26px; }
  .social .btn { width: 100%; }
  .contact__cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nav__right .btn { width: auto; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .nav__right .btn--sm { display: none; }   /* CTA je hned v hero i v menu */
}

/* ═══════════ Preference & tisk ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .filters, .skip-link, .form, .social, .section__foot { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .contact, .footer { background: #fff !important; color: #000 !important; }
  .h2--light, .contact__val, .contact__lead, .contact__note { color: #000 !important; }
}
