/* ─── Inter — lokálně hostovaný font ─────────────── */
/* latin-ext (čeština: á č ď é ě í ň ó ř š ť ú ů ý ž) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-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;
}
/* ─── Reset & base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #f7f7f7;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Variables ──────────────────────────────────── */
:root {
  --primary: #1f2123;
  --bg-light: #f7f7f7;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --border: rgba(31,33,35,0.1);
  --container: 1280px;
  --pad-x: 1.5rem;
  --section-y: 6rem;
}

/* ─── Utilities ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.label {
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(31,33,35,0.35);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hf-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
}
.icon-sm { font-size: 1.1rem; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: scale(1.03); }

/* ─── Header ─────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(247,247,247,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-desktop a {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  transition: opacity 0.2s;
}
.nav-desktop a:hover { opacity: 0.5; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-nav:hover { opacity: 0.85; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: -6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid var(--border);
  background: rgba(247,247,247,0.97);
}
.mobile-menu.open { max-height: 400px; }
.mobile-menu nav {
  padding: 0.5rem var(--pad-x) 1rem;
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(31,33,35,0.06);
  transition: opacity 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { opacity: 0.5; }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
}
.hero-bg picture {
  display: block;
}
.hero-bg img {
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.38) 60%, #f7f7f7 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.25rem;
  max-width: 900px;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.5rem, 10vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: #fff;
  font-size: 2rem;
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── About ──────────────────────────────────────── */
.about {
  padding: var(--section-y) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 { margin-bottom: 2rem; }
.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.value-card {
  padding: 1.75rem;
  border-radius: 1rem;
  background: rgba(31,33,35,0.04);
  border: 1px solid rgba(31,33,35,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.value-card .hf-icon {
  font-size: 1.75rem;
  color: var(--primary);
}
.value-card h3 {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.value-card p { font-size: 0.78rem; color: var(--text-faint); line-height: 1.5; }

/* ─── Team ───────────────────────────────────────── */
.team {
  padding: var(--section-y) 0;
  background: rgba(31,33,35,0.04);
  border-top: 1px solid rgba(31,33,35,0.08);
  border-bottom: 1px solid rgba(31,33,35,0.08);
}
.team-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.team-photo {
  aspect-ratio: 3/4;
  max-height: 520px;
  border-radius: 1rem;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.photo-placeholder {
  text-align: center;
  color: #94a3b8;
}
.photo-placeholder .hf-icon { font-size: 4rem; display: block; margin: 0 auto 0.75rem; }
.photo-placeholder p {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.team-bio .label { margin-bottom: 0.5rem; }
.team-bio h3 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.team-bio p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.tag {
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  background: rgba(31,33,35,0.08);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── Services ───────────────────────────────────── */
.services {
  padding: var(--section-y) 0;
  background: var(--primary);
  color: #fff;
}
.services .label { color: rgba(255,255,255,0.4); }
.services .section-title { color: #fff; }
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.services-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  white-space: nowrap;
}
.services-link .hf-icon { font-size: 1.1rem; transition: transform 0.2s; }
.services-link:hover { color: #fff; }
.services-link:hover .hf-icon { transform: translateX(4px); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 5rem;
}
.service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
  gap: 1rem;
}
.service-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.service-item p { font-size: 0.82rem; color: rgba(255,255,255,0.38); margin-top: 0.25rem; }
.service-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: #94a3b8;
  flex-shrink: 0;
}
.services-note {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.28);
}

/* ─── Gallery ────────────────────────────────────── */
.gallery { padding: var(--section-y) 0; }
.gallery-header { text-align: center; margin-bottom: 3.5rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 3/4;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:nth-child(4n+2),
.gallery-item:nth-child(4n+4) { margin-top: 2rem; }
.gallery-lightbox-trigger {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
}
.gallery-lightbox-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.gallery-lightbox-trigger:hover img,
.gallery-lightbox-trigger:focus-visible img {
  transform: scale(1.035);
  filter: contrast(1.05);
}
.gallery-lightbox-trigger:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
.gallery-placeholder {
  text-align: center;
  color: #94a3b8;
}
.gallery-placeholder .hf-icon { font-size: 2.5rem; display: block; margin: 0 auto 0.5rem; }
.gallery-placeholder p { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.gallery-note {
  text-align: center;
  margin-top: 3.5rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 500;
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 13, 14, 0.82);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}
.gallery-lightbox-panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(860px, calc(100vh - 2rem));
  background: #f7f7f5;
  border-radius: 1rem;
  box-shadow: 0 30px 90px rgba(0,0,0,0.38);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}
.gallery-lightbox-top,
.gallery-lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
}
.gallery-lightbox-top {
  border-bottom: 1px solid rgba(31,33,35,0.08);
}
.gallery-lightbox-kicker {
  margin: 0 0 0.1rem;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}
.gallery-lightbox-top h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-main);
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
  border: 0;
  background: var(--primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover { opacity: 0.86; }
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
  outline: 3px solid rgba(31,33,35,0.22);
  outline-offset: 3px;
}
.gallery-lightbox-stage {
  position: relative;
  min-height: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox-stage img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  display: block;
}
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.gallery-lightbox-prev { left: 1rem; }
.gallery-lightbox-next { right: 1rem; }
.gallery-lightbox-bottom {
  border-top: 1px solid rgba(31,33,35,0.08);
  color: var(--text-muted);
  font-size: 0.86rem;
}
.gallery-lightbox-bottom p {
  margin: 0;
  line-height: 1.5;
}
#gallery-lightbox-count {
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

/* ─── Contact ────────────────────────────────────── */
.contact {
  padding: var(--section-y) 0;
  background: var(--bg-light);
  border-top: 1px solid rgba(31,33,35,0.05);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info h2 { margin-bottom: 3rem; }
.contact-items { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(31,33,35,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon .hf-icon { font-size: 1.25rem; color: var(--primary); }
.contact-item-label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.contact-item-value {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-item-value a { color: var(--text-muted); transition: color 0.2s; }
.contact-item-value a:hover { color: var(--primary); }
.social-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(31,33,35,0.07);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s;
}
.social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-btn:hover { background: rgba(31,33,35,0.14); }
.map-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.14);
  background: #e2e8f0;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.2);
  opacity: 0.82;
  border: 0;
}
.map-cta {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}
.map-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  transition: opacity 0.2s;
  white-space: nowrap;
}
.map-cta a:hover { opacity: 0.88; }
.map-cta .hf-icon { font-size: 1.2rem; }

/* ─── Footer ─────────────────────────────────────── */
footer { background: var(--primary); color: #fff; }

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.footer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-card {
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-card-icon .hf-icon { font-size: 1.1rem; color: #fff; }
.footer-card-label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.6rem;
}
.footer-card-phone {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.2s;
  line-height: 1.2;
}
.footer-card-phone:hover { opacity: 0.65; }
.footer-card-email {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  transition: color 0.2s;
}
.footer-card-email:hover { color: #fff; }
.footer-card-address {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.75rem;
  line-height: 1.6;
}
.hours-list { display: flex; flex-direction: column; gap: 0.5rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}
.hours-row span:first-child { color: #94a3b8; }
.hours-row .time { font-weight: 700; color: #fff; }
.hours-row .time-note { color: #64748b; }
.footer-social-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: color 0.2s;
}
.footer-social-link:hover { color: #fff; }
.footer-social-link .s-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.footer-social-link:hover .s-icon { background: rgba(255,255,255,0.18); }
.footer-social-link svg { width: 15px; height: 15px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.75rem;
}
.footer-bottom p { color: rgba(255,255,255,0.22); }
.footer-legal-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-legal-link:hover { color: rgba(255,255,255,0.7); }
.footer-credit {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-credit:hover { color: #fff; }
.footer-credit strong { font-weight: 900; color: rgba(255,255,255,0.65); }

/* ─── Responsive ─────────────────────────────────── */
.mobile-menu-cta {
  margin-top: 0.75rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff !important;
  padding: 0.85rem 1.5rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: none !important;
  transition: opacity 0.2s;
}
.mobile-menu-cta:hover { opacity: 0.85; }

@media (max-width: 1024px) {
  :root { --section-y: 5rem; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .btn-nav-desktop { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { gap: 1.5rem 3rem; }
  .footer-top { padding: 4rem 0 3rem; }
}

@media (max-width: 768px) {
  :root { --section-y: 4rem; --pad-x: 1.1rem; }
  .team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-photo {
    width: min(100%, 520px);
    max-height: none;
    justify-self: center;
    margin-inline: auto;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .gallery-item:nth-child(4n+2),
  .gallery-item:nth-child(4n+4) { margin-top: 0; }
  .gallery-item:nth-child(n+13) { display: none; }
  .gallery-lightbox {
    padding: 0.75rem;
  }
  .gallery-lightbox-panel {
    max-height: calc(100vh - 1.5rem);
  }
  .gallery-lightbox-stage img {
    max-height: calc(100vh - 180px);
  }
  .gallery-lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .gallery-lightbox-prev { left: 0.65rem; }
  .gallery-lightbox-next { right: 0.65rem; }
  .gallery-lightbox-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 3rem 0 2.5rem; }
  .footer-top .btn-primary { width: 100%; justify-content: center; }
  .footer-cards { grid-template-columns: 1fr; gap: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  .map-wrap { min-height: 280px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.4rem; }
  .hero-content p { font-size: 0.95rem; }
  .values-grid { gap: 0.75rem; }
  .value-card { padding: 1.25rem; }
  .section-title { font-size: 1.9rem; }
  .team-bio h3 { font-size: 2rem; }
}

/* ─── Generic page template ─────────────────────── */
.page-single {
  padding-top: 72px;
}
.page-hero {
  background: var(--primary);
  padding: 5rem 0 4rem;
}
.page-hero .label {
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
.page-hero .section-title {
  color: #fff;
}

/* Content area — shared base */
.page-content {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  padding-bottom: 6rem;
  line-height: 1.8;
  color: #374151;
}
.page-content > *:first-child { margin-top: 4rem; }

/* alignwide — zůstává v kontejneru, jen bez bočního paddingu */
.page-content .alignwide {
  margin-left: calc(-1 * var(--pad-x));
  margin-right: calc(-1 * var(--pad-x));
}

/* alignfull — smí na celou šířku viewportu */
.page-content .alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Prose template: centrovaný textový sloupec */
.page-content--prose {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Prose typography */
.page-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 2.5rem 0 0.75rem;
}
.page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 0.5rem;
}
.page-content p { margin-bottom: 1.2rem; }
.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.page-content li { margin-bottom: 0.4rem; }
.page-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content a:hover { opacity: 0.65; }
.page-content strong { font-weight: 700; color: var(--primary); }
.page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.page-content figure { margin-bottom: 1.5rem; }
.page-content figure img { border-radius: 0.75rem; }
.page-content figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ─── 404 page ───────────────────────────────────── */
.page-404 {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.page-404::before {
  content: '';
  position: absolute;
  left: -220px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 2px solid rgba(31,33,35,0.07);
  pointer-events: none;
}
.page-404-inner {
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}
.page-404-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 2.5rem;
  line-height: 1;
}
.page-404-num {
  font-size: clamp(7rem, 18vw, 13rem);
  font-weight: 900;
  color: rgba(31,33,35,0.1);
  letter-spacing: -0.04em;
  user-select: none;
}
.page-404-scissors {
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  color: var(--primary);
  margin: 0 0.15em;
  display: flex;
  align-items: center;
}
.page-404-heading {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.page-404-text {
  font-size: 1rem;
  color: #6b7280;
  max-width: 440px;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}
.page-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid var(--primary);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.03);
}
@media (max-width: 480px) {
  .page-404-actions { flex-direction: column; align-items: center; }
  .page-404-actions a { width: 100%; justify-content: center; }
}

/* ─── Cookie consent banner ──────────────────────── */
.hf-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.875rem;
  padding: 1.75rem;
  width: min(360px, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  animation: hf-cc-slide 0.3s cubic-bezier(0.16,1,0.3,1);
}
@keyframes hf-cc-slide {
  from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.hf-cc-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.hf-cc-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

/* Shared button base */
.hf-cc-btn {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
}
.hf-cc-btn--full { width: 100%; }
.hf-cc-btn--solid {
  background: #fff;
  color: var(--primary);
}
.hf-cc-btn--solid:hover { opacity: 0.88; }
.hf-cc-btn--outline {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15) !important;
}
.hf-cc-btn--outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.hf-cc-btn--link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  text-align: center;
  padding: 0.25rem 0;
  transition: color 0.15s;
  width: 100%;
}
.hf-cc-btn--link:hover { color: rgba(255,255,255,0.6); }

/* Dark variants for modal */
.hf-btn-text--dark {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.hf-btn-text--dark:hover { color: var(--primary); }

/* ─── Cookie modal overlay ───────────────────────── */
.hf-cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9100;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ─── Cookie modal ───────────────────────────────── */
.hf-cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9200;
  width: min(540px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  outline: none;
}
.hf-cookie-modal-inner {
  padding: 2rem;
  position: relative;
}
.hf-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 0.5rem;
  transition: color 0.15s, background 0.15s;
}
.hf-modal-close:hover { color: var(--primary); background: var(--bg-light); }
.hf-cookie-modal-inner h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}
.hf-modal-intro {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.hf-consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.hf-consent-category-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.hf-consent-category-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.hf-always-on {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #16a34a;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toggle switch */
.hf-toggle {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}
.hf-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.hf-toggle-track {
  display: block;
  width: 44px;
  height: 26px;
  background: #d1d5db;
  border-radius: 13px;
  transition: background 0.2s;
  position: relative;
}
.hf-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.hf-toggle input:checked + .hf-toggle-track { background: var(--primary); }
.hf-toggle input:checked + .hf-toggle-track::after { transform: translateX(18px); }
.hf-toggle input:focus-visible + .hf-toggle-track {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Modal footer */
.hf-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}
/* Override cc-btn colors for light modal */
.hf-modal-footer .hf-cc-btn--solid {
  background: var(--primary);
  color: #fff;
}
.hf-modal-footer .hf-cc-btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(31,33,35,0.2) !important;
}
.hf-modal-footer .hf-cc-btn--outline:hover {
  background: rgba(31,33,35,0.04);
  color: var(--primary);
}
.hf-modal-reject-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--text-faint);
  cursor: pointer;
  text-align: center;
  padding: 0.25rem 0;
  transition: color 0.15s;
}
.hf-modal-reject-link:hover { color: var(--text-muted); }

@media (max-width: 600px) {
  .hf-cookie-banner { bottom: 0; left: 0; right: 0; transform: none; width: 100%; border-radius: 0.875rem 0.875rem 0 0; }
  .hf-modal-footer button { width: 100%; }
}
