/* ============================================================
   Autoservis MAF — design systém
   Tmavý „garage" styl · červený akcent podle loga · 2026
   ============================================================ */

/* ---------- Fonty (self-hosted, GDPR friendly) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-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;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/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;
}

/* ---------- Tokeny ---------- */
:root {
  --bg: #0b0d10;
  --bg-alt: #0e1116;
  --panel: #14181e;
  --panel-2: #191e26;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f4f6;
  --text-muted: #9aa3ae;
  --accent: #e01e2f;
  --accent-bright: #ff4d5a;
  --accent-soft: rgba(224, 30, 47, 0.12);
  --gradient-accent: linear-gradient(135deg, #e01e2f 0%, #ff5a2e 100%);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 10px 30px rgba(224, 30, 47, 0.35);
  --header-h: 72px;
  --container: 1200px;
  --pad: clamp(1.1rem, 4vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; }
table { border-collapse: collapse; width: 100%; }

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

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

.container {
  width: min(100% - 2 * var(--pad), var(--container));
  margin-inline: auto;
}

.muted { color: var(--text-muted); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

section { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 30, 47, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }

.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.05rem; }

/* ---------- Hlavička ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 13, 16, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2 * var(--pad), var(--container));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
}
.brand-text span:not(strong) {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--text);
  transition: background 0.18s, color 0.18s;
}
.site-nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.08); }
.site-nav a.active {
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 60rem);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(2rem, 6vh, 4rem)) 0 clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11, 13, 16, 0.25) 32%, rgba(11, 13, 16, 0.45) 100%),
    linear-gradient(100deg, rgba(11, 13, 16, 0.94) 0%, rgba(11, 13, 16, 0.72) 42%, rgba(11, 13, 16, 0.25) 78%, rgba(11, 13, 16, 0.15) 100%);
}
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255, 255, 255, 0.025) 0 2px,
    transparent 2px 14px
  );
  mask-image: linear-gradient(to right, black, transparent 55%);
  -webkit-mask-image: linear-gradient(to right, black, transparent 55%);
}

.hero-inner { max-width: 46rem; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(11, 13, 16, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 0 0 1.4rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px var(--accent-bright);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw + 0.6rem, 4.3rem);
  font-weight: 700;
  margin-bottom: 0.5em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-bright), #ff7a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.2vw + 0.8rem, 1.2rem);
  color: #c7cdd4;
  max-width: 38rem;
  margin-bottom: 1.8rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(20, 24, 30, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.88rem;
  font-weight: 500;
  color: #d6dbe1;
}
.hero-badges .check { color: var(--accent-bright); font-weight: 700; }
.hero-badges li.is-open .check { color: #2fd573; }
.hero-badges li.is-break .check { color: #ffb02e; }
.hero-badges li.is-closed .check { color: var(--accent-bright); }

/* ---------- Sekce ---------- */
.section { padding: clamp(4rem, 9vh, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vh, 3.2rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.kicker::before {
  content: "";
  width: 2.2rem;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    -55deg,
    var(--accent) 0 6px,
    transparent 6px 10px
  );
}

.section-head h2 {
  font-size: clamp(1.75rem, 2.6vw + 0.8rem, 2.7rem);
  font-weight: 700;
}
.section-lead { color: var(--text-muted); font-size: 1.06rem; max-width: 42rem; }

/* ---------- Služby (bento grid) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.22rem; margin: 0 0 0.45em; }
.card-body p { color: var(--text-muted); font-size: 0.97rem; margin: 0; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-bright);
  margin-bottom: 1rem;
}
.card-icon svg { width: 24px; height: 24px; }

.card-accent {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 122, 61, 0.28) 0%, transparent 55%),
    linear-gradient(150deg, #a3121f 0%, #e01e2f 55%, #c11424 100%);
  border-color: rgba(255, 255, 255, 0.14);
}
.card-accent .card-body { justify-content: center; }
.card-accent .card-icon { background: rgba(255, 255, 255, 0.14); color: #fff; }
.card-accent p { color: rgba(255, 255, 255, 0.85); }
.card-accent:hover { box-shadow: var(--shadow-accent); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.97rem;
}
.card-link span { transition: transform 0.2s; }
.card-link:hover span { transform: translateX(4px); }

/* ---------- Proč MAF ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}

.why-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(11, 13, 16, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  font-size: 0.92rem;
  color: #e6eaee;
}
.why-photo-chip strong { color: var(--accent-bright); }

.usp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.usp-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.usp-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid rgba(224, 30, 47, 0.25);
}
.usp-icon svg { width: 26px; height: 26px; }
.usp-list h3 { font-size: 1.13rem; margin: 0.15em 0 0.35em; }
.usp-list p { color: var(--text-muted); font-size: 0.97rem; margin: 0; }

/* ---------- Ceník ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.price-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  color: var(--text);
}
.price-card h3 svg { width: 22px; height: 22px; color: var(--accent-bright); flex: none; }

.price-card ul { list-style: none; margin: 0; padding: 0; }
.price-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.66rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.98rem;
}
.price-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-card li span { color: var(--text-muted); }
.price-card li strong {
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

.price-note {
  margin-top: 1.8rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.price-note p { margin: 0; color: var(--text-muted); }
.price-note strong { color: var(--text); }

/* ---------- Galerie ---------- */
.gallery { columns: 3; column-gap: 1.1rem; }
.gallery-item {
  display: block;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  break-inside: avoid;
  position: relative;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.gallery-item::after {
  content: "⤢";
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 13, 16, 0.65);
  color: #fff;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.045); }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1.4rem;
  align-items: start;
}

.contact-info { display: grid; gap: 1.4rem; }

.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.contact-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--accent-bright);
  text-decoration: none;
  margin-bottom: 1rem;
}
.contact-phone svg { width: 1.5rem; height: 1.5rem; }
.contact-phone:hover { text-decoration: underline; text-underline-offset: 6px; }

.contact-card address { margin-bottom: 0.8rem; line-height: 1.55; }
.contact-ids { font-size: 0.9rem; margin-bottom: 1.2rem; }
.contact-nav-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hours-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.open-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 0.8rem;
}
.open-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-muted); }
.open-indicator.is-open .open-dot { background: #2fd573; box-shadow: 0 0 10px #2fd573; }
.open-indicator.is-break .open-dot { background: #ffb02e; box-shadow: 0 0 10px #ffb02e; }
.open-indicator.is-closed .open-dot { background: var(--accent-bright); box-shadow: 0 0 10px var(--accent-bright); }

.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
  font-weight: 500;
}
.hours-table td { text-align: right; font-family: var(--font-display); font-weight: 600; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .hours-sub th, .hours-table .hours-sub td { color: var(--text-muted); font-size: 0.92rem; font-weight: 400; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--accent-bright); }
.hours-note { font-size: 0.92rem; margin: 0.9rem 0 0; }

.contact-map {
  display: grid;
  gap: 1.4rem;
}
.contact-map iframe {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  filter: grayscale(0.2) contrast(1.02);
  background: var(--panel);
}
.map-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-photo img { width: 100%; object-fit: cover; }
.map-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(11, 13, 16, 0.88), transparent);
  font-size: 0.93rem;
  font-weight: 500;
}

/* ---------- Patička ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding-top: clamp(2.5rem, 6vh, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { max-width: 26rem; font-size: 0.95rem; }

.site-footer h3 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer ul a { text-decoration: none; color: var(--text); opacity: 0.85; transition: opacity 0.15s, color 0.15s; }
.site-footer ul a:hover { opacity: 1; color: var(--accent-bright); }
.footer-contact li { color: var(--text-muted); }
.footer-contact a { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-bottom p { margin: 0; }

/* ---------- Plovoucí tlačítko volání (mobil) ---------- */
.fab-call {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
  transform: translateY(120%) scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.fab-call svg { width: 1.6rem; height: 1.6rem; }
.fab-call.visible { transform: none; opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop {
  background: rgba(5, 6, 8, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox figure {
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #cdd3da;
  font-size: 0.95rem;
}
.lb-counter { color: var(--text-muted); }

.lightbox button {
  position: fixed;
  z-index: 5;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(20, 24, 30, 0.7);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, transform 0.15s;
}
.lightbox button:hover { background: var(--accent); transform: scale(1.06); }
.lb-close { top: 1rem; right: 1rem; font-size: 1.1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Scroll-reveal animace ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: none; }

.services-grid .reveal:nth-child(2), .price-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3), .price-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.services-grid .reveal:nth-child(4), .price-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.26s; }

/* ---------- Responzivita ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .span-3, .span-2 { grid-column: auto; }
  .gallery { columns: 2; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { max-height: 420px; }
  .why-photo img { max-height: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fab-call { display: grid; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }

  .nav-burger {
    display: grid;
    gap: 5px;
    padding: 0.7rem;
    cursor: pointer;
    border-radius: 10px;
    z-index: 60;
  }
  .nav-burger span:not(.visually-hidden) {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-header { background: rgba(11, 13, 16, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--border); }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1rem var(--pad) 1.4rem;
    background: rgba(11, 13, 16, 0.97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  .site-nav ul { flex-direction: column; gap: 0.2rem; }
  .site-nav a:not(.btn) { display: block; padding: 0.8rem 1rem; font-size: 1.05rem; }
  .btn-nav-call { justify-content: center; margin-top: 0.5rem; }

  .nav-toggle:checked ~ .site-nav { transform: translateY(0); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 88vh; }
  .hero-overlay {
    background:
      linear-gradient(to top, var(--bg) 0%, rgba(11, 13, 16, 0.5) 40%, rgba(11, 13, 16, 0.6) 100%);
  }

  .price-grid { grid-template-columns: 1fr; }
  .price-note { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 0.7rem; }
  .gallery-item { margin-bottom: 0.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .contact-nav-links .btn { width: 100%; justify-content: center; }
}

/* ---------- Redukovaný pohyb ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}
