/* ============================================================
   styles.css – design systém
   Všechna vizuální rozhodnutí jdou přes CSS custom properties.
   Hodnoty dle docs/brand-brief.md (paleta, typografie, sazba).
   ============================================================ */

/* === Fonty (lokální, viz /fonts) === */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
       url('fonts/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Italic.woff2') format('woff2'),
       url('fonts/PlayfairDisplay-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter_18pt-Regular.woff2') format('woff2'),
       url('fonts/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter_18pt-Italic.woff2') format('woff2'),
       url('fonts/Inter_18pt-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter_18pt-Bold.woff2') format('woff2'),
       url('fonts/Inter_18pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* === Barvy (brand-brief, kap. 7) === */
  --color-bg: #F8F5F1;           /* ivory – základní plocha */
  --color-card: #F2EDE9;         /* karta / střídání sekcí */
  --color-secondary: #EBE6E0;    /* jemné odlišení, hover ploch */
  --color-border: #DED9D3;       /* linky, oddělovače */
  --color-muted: #817367;        /* labely, popisky, patička */
  --color-text: #362C26;         /* nadpisy, text, tlačítka */
  --color-accent: #B08D57;       /* mosaz – jen jako „tečka" */
  --color-accent-dark: #97784A;

  /* === Typografie === */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* === Radiusy === */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* === Easing === */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);          /* scroll reveal */
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1); /* hover lift */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);       /* scale/zoom/barvy */

  /* === Layout === */
  --maxw: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 64px;
}

/* === Reset / základ === */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7; /* texty mají dýchat */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400; /* nadpisy vzdušné, žádná agresivní tučnost */
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--color-accent); color: var(--color-bg); }

/* === Layout helpery === */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* === Sekce (rytmus stránky) === */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--card { background: var(--color-card); }

/* Hlavička sekce: label s mosaznou linkou + nadpis */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  letter-spacing: 0.01em;
  max-width: 18ch;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head .section-title { margin-bottom: 0; }
.section-head__note {
  max-width: 38ch;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === Tlačítka === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--color-text);
  border-radius: var(--r-pill);
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), transform 0.3s var(--ease-spring);
}
.btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
}
.btn--ghost:hover { color: var(--color-bg); }
.btn .ti { font-size: 1.05rem; }

/* Textový odkaz s mosazným podtržením */
.link-accent {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-soft);
}
.link-accent:hover { color: var(--color-accent); }

/* === Skip link === */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: top 0.2s var(--ease-soft);
}
.skip-link:focus { top: 12px; }

/* ============================================================
   Navigace – plovoucí pilulka (insp-01)
   ============================================================ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 2 * var(--gutter)), var(--maxw));
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px 0 24px;
  background: rgba(248, 245, 241, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  transition: box-shadow 0.3s var(--ease-soft);
}
.nav.is-scrolled { box-shadow: 0 12px 32px rgba(54, 44, 38, 0.08); }

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-muted);
  border-radius: var(--r-pill);
  transition: color 0.25s var(--ease-soft), background 0.25s var(--ease-soft);
}
.nav__links a:hover { color: var(--color-text); }
.nav__links a.is-active { color: var(--color-text); }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: var(--r-pill);
}
.nav__toggle .ti-x { display: none; }
.nav__toggle[aria-expanded="true"] .ti-x { display: block; }
.nav__toggle[aria-expanded="true"] .ti-menu-2 { display: none; }

/* Mobilní menu – celoplošný overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-soft), visibility 0.35s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.nav-overlay a {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2rem);
  text-decoration: none;
  color: var(--color-text);
}
.nav-overlay a:hover { color: var(--color-accent); }

body.menu-open { overflow: hidden; }

/* ============================================================
   Hero – fullscreen fotografie s textem (insp-01)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 56px;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(248, 245, 241, 0.18) 0%,
    rgba(248, 245, 241, 0) 35%,
    rgba(248, 245, 241, 0.55) 72%,
    rgba(248, 245, 241, 0.92) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: var(--gutter);
  max-width: 760px;
}
.hero__kicker {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.hero__kicker .ti {
  color: var(--color-accent);
  font-size: 0.85rem;
  vertical-align: -1px;
}
.hero__title {
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  margin-bottom: 0.4em;
}
.hero__lead {
  max-width: 44ch;
  margin: 0 auto 32px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text);
}
.hero__actions { display: flex; flex-direction: column; align-items: center; }

/* Modality (dotyk · obraz · kruhy) – citlivě nad CTA */
.hero__modalities {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 5vw, 52px);
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
.hero__modalities li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
}
.hero__modalities .ti {
  font-size: 1.4rem;
  color: var(--color-text);
}

/* ============================================================
   O mně – text + portrét se zajímavým ořezem (insp-06)
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__text .section-title { max-width: 22ch; }
.about__text p { max-width: 54ch; }
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--r-xl);
  border-top-left-radius: clamp(80px, 12vw, 150px);
}

/* ============================================================
   Služby – samostatné sekce, text + fotografie střídavě
   ============================================================ */
.service-section__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.service-section__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  border-top-right-radius: clamp(80px, 12vw, 150px);
}

/* Zrcadlová varianta – fotografie vlevo */
.service-section--flip .service-section__text { order: 2; }
.service-section--flip .service-section__media { order: 1; }
.service-section--flip .service-section__media img {
  border-radius: var(--r-xl);
  border-top-left-radius: clamp(80px, 12vw, 150px);
}

.service-section__text > p { max-width: 54ch; }

/* Proof points – konkrétní body s ikonami */
.service-section__points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.service-section__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  max-width: 50ch;
}
.service-section__points .ti {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  font-size: 1.35rem;
  color: var(--color-accent-dark);
  background: var(--color-card);
  border-radius: var(--r-pill);
}
.section--card .service-section__points .ti { background: var(--color-bg); }

.service-section__location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 28px;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.service-section__location .ti { color: var(--color-accent); font-size: 1.05rem; }

/* ============================================================
   Galerie – kartičky podle služeb (taby)
   ============================================================ */
.gallery__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.gallery__tabs [role="tab"] {
  padding: 12px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s var(--ease-soft), background 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft);
}
.gallery__tabs [role="tab"]:hover { color: var(--color-text); border-color: var(--color-muted); }
.gallery__tabs [role="tab"][aria-selected="true"] {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-bg);
}

.gallery__panel { animation: gallery-fade 0.45s var(--ease); }
.gallery__panel[hidden] { display: none; }
@keyframes gallery-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.gallery__panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.gallery__panel-grid figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gallery__panel-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-soft);
}
.gallery__panel-grid figure:hover img { transform: scale(1.03); }

.gallery__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ============================================================
   Reference – velké citace, horizontální scroll (insp-10)
   ============================================================ */
.testimonials { overflow: hidden; }
.testimonials__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* karta „vykukuje" vpravo a vede ke scrollu do boku */
  padding-right: clamp(48px, 14vw, 180px);
}
.testimonials__track::-webkit-scrollbar { display: none; }

.testimonial {
  flex: 0 0 min(680px, 88%);
  scroll-snap-align: start;
  padding: clamp(28px, 4vw, 52px);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
}
.testimonial .ti-quote {
  font-size: 1.8rem;
  color: var(--color-accent);
}
.testimonial blockquote {
  margin: 14px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
}
.testimonial blockquote:last-child { margin-bottom: 0; }  /* citace bez jména/fotky */
.testimonial figcaption {
  font-size: 0.88rem;
  color: var(--color-muted);
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial__author img {
  width: 76px;
  height: 76px;
  border-radius: var(--r-pill);
}

.testimonials__nav {
  display: flex;
  gap: 10px;
}
.testimonials__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), opacity 0.25s;
}
.testimonials__nav button:hover { background: var(--color-text); color: var(--color-bg); }
.testimonials__nav button:disabled { opacity: 0.35; pointer-events: none; }

/* ============================================================
   Kontakt – fotka + kontaktní kartička (insp-12)
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.contact__media img {
  width: 100%;
  border-radius: var(--r-xl);
}
.contact__card {
  padding: clamp(32px, 4vw, 56px);
  background: var(--color-bg);
  border-radius: var(--r-xl);
}
.contact__card > p { max-width: 44ch; }
.contact__divider {
  width: 100%;
  height: 1px;
  margin: 28px 0;
  background: var(--color-border);
  border: 0;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact__list a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: color 0.25s var(--ease-soft);
}
.contact__list a:hover { color: var(--color-accent-dark); }
.contact__list .ti {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  font-size: 1.15rem;
  color: var(--color-accent-dark);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
}

/* ============================================================
   Patička (insp-13/14)
   ============================================================ */
.footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding: clamp(56px, 8vw, 96px) 0 0;
}
.footer a { text-decoration: none; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
.footer__brand .footer__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 12px;
}
.footer__brand p {
  max-width: 34ch;
  color: rgba(248, 245, 241, 0.65);
  font-size: 0.95rem;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(248, 245, 241, 0.85);
  font-size: 0.9rem;
  transition: color 0.25s var(--ease-soft);
}
.footer__social .ti { font-size: 1.25rem; color: var(--color-accent); }
.footer__social:hover { color: var(--color-bg); }

.footer__heading {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__nav a {
  color: rgba(248, 245, 241, 0.75);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease-soft);
}
.footer__nav a:hover { color: var(--color-bg); }

/* Kontaktní kartička v patičce (insp-13) */
.footer__card {
  align-self: start;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(248, 245, 241, 0.07);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__card a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(248, 245, 241, 0.85);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease-soft);
}
.footer__card a:hover { color: var(--color-bg); }
.footer__card .ti { color: var(--color-accent); font-size: 1.15rem; }

.footer__bottom {
  border-top: 1px solid rgba(248, 245, 241, 0.14);
  padding: 22px 0;
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.82rem;
  color: rgba(248, 245, 241, 0.55);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.footer__bottom button,
.footer__legal a {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease-soft);
}
.footer__bottom button:hover,
.footer__legal a:hover { color: var(--color-bg); }

/* ============================================================
   Právní stránky (zpracování osobních údajů apod.)
   ============================================================ */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal__updated {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 3em;
}
.legal h2 { font-size: 1.3rem; margin-top: 2.4em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.35em; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery__panel { animation: none; }
  .gallery__panel-grid img { transition: none; }
}

/* ============================================================
   Responsivita
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }

  .about__grid,
  .contact__grid,
  .service-section__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 480px; }

  /* Služby: fotografie nad textem, nižší ořez */
  .service-section__media,
  .service-section--flip .service-section__media { order: -1; max-width: 560px; }
  .service-section__media img { aspect-ratio: 4 / 3; }

  .gallery__panel-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 540px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .contact__card { padding: 28px 22px; }

  /* Reference na celou šířku */
  .testimonials__track { padding-right: 0; }
  .testimonial { flex-basis: 100%; }
}

/* ============================================================
   Nav CTA – „Domluvit setkání"
   ============================================================ */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--color-text);
  color: var(--color-bg);
  border: 1px solid var(--color-text);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft);
}
.nav__cta:hover { background: var(--color-accent); border-color: var(--color-accent); }

/* Nav se sbalí do hamburgeru dřív, aby se CTA i odkazy pohodlně vešly */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ============================================================
   Poptávka – formulářová stránka
   ============================================================ */
.poptavka { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 96px)); }

.poptavka__head {
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  text-align: center;
}
.poptavka__title { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 0.4em; }
.poptavka__lead {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.form { max-width: 640px; margin: 0 auto; }

.field { margin-bottom: clamp(18px, 3vw, 24px); border: 0; padding: 0; min-width: 0; }
.field > label:not(.consent),
.field--time legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}
.field__req { color: var(--color-accent); }
.field__opt { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: 0.75; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.form textarea { min-height: 130px; line-height: 1.6; resize: vertical; }
.form ::placeholder { color: var(--color-muted); opacity: 0.6; }

.form select {
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23817367' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Mosazný akcent jen na :focus – rámeček + jemný ring */
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.18);
}

/* Chybový stav (tlumená zemitá červená, žádná křiklavá) */
.field.has-error input,
.field.has-error select { border-color: #b15c4d; }
.field.has-error input:focus,
.field.has-error select:focus { box-shadow: 0 0 0 3px rgba(177, 92, 77, 0.18); }
.field__error { margin: 7px 0 0; font-size: 0.85rem; color: #a23b2d; }

/* Preferovaný čas – segmentové pilulky */
.timepills { display: flex; flex-wrap: wrap; gap: 10px; }
.timepill { cursor: pointer; }
.timepill input { position: absolute; width: 0; height: 0; opacity: 0; }
.timepill span {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  background: var(--color-bg);
  color: var(--color-muted);
  font-size: 0.85rem;
  transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft);
}
.timepill input:checked + span {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-bg);
}
.timepill input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Souhlas se zpracováním */
.field--consent { margin-top: 4px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.consent input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Honeypot – mimo obrazovku, pro lidi neviditelné */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { width: 100%; justify-content: center; margin-top: 8px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Stavová hláška (chyba) */
.form__status { margin: 18px 0 0; padding: 13px 16px; border-radius: var(--r-md); font-size: 0.92rem; }
.form__status--error {
  background: rgba(162, 59, 45, 0.08);
  border: 1px solid rgba(162, 59, 45, 0.22);
  color: #a23b2d;
}

/* Potvrzení po odeslání */
.form__success {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 7vw, 72px) 0;
}
.form__success .ti { font-size: 3rem; color: var(--color-accent); }
.form__success h2 { margin: 16px 0 8px; font-size: clamp(1.6rem, 3vw, 2rem); }
.form__success p { color: var(--color-muted); }

/* ============================================================
   „Byla jsem hostem" – tmavá feature sekce s videem
   ============================================================ */
.section--dark { background: var(--color-text); color: var(--color-bg); }
.section--dark .section-title { color: var(--color-bg); }

.video-section { text-align: center; }
.video-section__title { max-width: none; margin-bottom: clamp(28px, 4vw, 44px); }

.video { max-width: 960px; margin: 0 auto; }

.video__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  background: #2a211c;
}
.video__poster {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, #5b4838, #2a211c 70%);
  background-size: cover;
  background-position: center;
}
/* Jemné ztmavení (hlavně pod tlačítkem), aby play bylo vidět i na světlém náhledu */
.video__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(42, 33, 28, 0.5) 0%, rgba(42, 33, 28, 0.24) 55%, rgba(42, 33, 28, 0.12) 100%);
  transition: background 0.3s var(--ease-soft);
}
.video__btn:hover .video__poster::after {
  background: radial-gradient(circle at center, rgba(42, 33, 28, 0.56) 0%, rgba(42, 33, 28, 0.32) 60%, rgba(42, 33, 28, 0.22) 100%);
}
.video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video__play-disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(62px, 8vw, 86px);
  height: clamp(62px, 8vw, 86px);
  color: var(--color-text);
  background: rgba(248, 245, 241, 0.92);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.video__play-disc svg { width: 40%; height: 40%; }
.video__btn:hover .video__play-disc,
.video__btn:focus-visible .video__play-disc { transform: scale(1.08); background: var(--color-accent); color: var(--color-bg); }
.video__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(14px, 2vw, 20px);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 245, 241, 0.65);
}

/* Po kliknutí vložený přehrávač */
.video__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.video__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(20px, 3vw, 30px);
  color: rgba(248, 245, 241, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 3px;
  transition: color 0.25s var(--ease-soft);
}
.video__link:hover { color: var(--color-bg); }
.video__link .ti { color: var(--color-accent); font-size: 1rem; }
.video__link[hidden] { display: none; }  /* skrytý dokud není doplněn YouTube odkaz */
