@font-face {
  font-family: "Kalieb Luxury";
  src: url("fonts/KaliebLuxury-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kalieb Luxury";
  src: url("fonts/KaliebLuxury-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f7f7f7;
  --paper: #e9e9e9;
  --ink: #111111;
  --text: #303030;
  --muted: #686868;
  --navy: #111111;
  --green: #303030;
  --plum: #111111;
  --gold: #8a8a8a;
  --gold-dark: #4d4d4d;
  --cream: #f2f2f2;
  --line: rgba(0, 0, 0, 0.18);
  --radius: 0px;
  --container: min(1160px, calc(100vw - 40px));
  --sans: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --display: "Kalieb Luxury", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; filter: grayscale(1); }

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

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 18px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Topline ---------- */
.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: var(--container);
  margin: 0 auto;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topline-address { margin: 0; color: var(--muted); }
.topline-phone { color: var(--plum); font-weight: 600; text-decoration: none; }
.topline-phone:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 16px max(20px, calc((100vw - 1160px) / 2));
  background: var(--bg);
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 42px;
  width: auto;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--navy);
  background: none;
  cursor: pointer;
  position: relative;
}
.menu-toggle-line,
.menu-toggle-line::before,
.menu-toggle-line::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle-line { top: 20px; }
.menu-toggle-line::before { top: -7px; left: 0; right: 0; }
.menu-toggle-line::after { top: 7px; left: 0; right: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-line { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-line::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-line::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--plum); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--cream) !important;
  border: 1px solid var(--gold);
  padding: 14px 32px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: var(--gold);
  color: var(--navy) !important;
}
.btn-big { padding: 18px 44px; font-size: 15px; }
.btn-nav { padding: 10px 22px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: 32px;
  width: var(--container);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.hero h1 {
  margin: 0 0 22px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.hero-tag {
  position: absolute;
  right: 24px;
  background: var(--cream);
  color: var(--plum);
  border-left: 3px solid var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 34px;
}
.hero-tag-1 { top: 18%; }
.hero-tag-2 { bottom: 18%; }

/* ---------- Statement ---------- */
.statement {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
}
.statement h2 {
  max-width: 24ch;
  margin: 0 auto 24px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.15;
}
.accent { color: var(--plum); font-style: italic; }
.statement p {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Statistiky ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: var(--container);
  margin: 0 auto;
  padding: 24px 0 80px;
  text-align: center;
}
.stat strong {
  display: block;
  color: var(--plum);
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Sekce obecně ---------- */
.section-title {
  margin: 0 0 46px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}
.star {
  color: var(--gold);
  width: 0.55em;
  height: 0.62em;
  display: inline-block;
  vertical-align: baseline;
}

/* ---------- Služby ---------- */
.services {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}
.service-card { position: relative; margin: 0; }
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.service-card h3 {
  position: absolute;
  bottom: 22px;
  left: 24px; right: 24px;
  margin: 0;
}
.service-card h3 span {
  display: block;
  background: var(--cream);
  color: var(--plum);
  border-left: 3px solid var(--gold);
  text-align: center;
  padding: 16px 10px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Galerie střihů ---------- */
.styles-gallery {
  background: var(--paper);
  padding: 80px 0;
}
.styles-intro {
  width: var(--container);
  margin: 0 auto 46px;
  text-align: center;
}
.styles-intro h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(28px, 4.8vw, 44px);
  font-weight: 400;
  color: var(--navy);
  text-transform: uppercase;
}
.styles-intro p { margin: 0; color: var(--muted); font-style: italic; }

.styles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  width: var(--container);
  margin: 0 auto;
}
.styles-grid figure { margin: 0; }
.styles-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1);
}
.styles-grid figcaption {
  margin-top: 12px;
  color: var(--plum);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.2vw, 32px);
  text-transform: lowercase;
}
.styles-cta {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
}

/* ---------- O nás ---------- */
.about {
  width: var(--container);
  margin: 0 auto;
  padding: 80px 0;
}
.about-inner {
  display: grid;
  gap: 36px;
  align-items: center;
}
.about-inner img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1);
}
.about-copy p { margin: 0 0 18px; }
.about-copy .btn { margin-top: 8px; }

/* ---------- Ceník ---------- */
.pricing {
  background: var(--navy);
  color: #f2f2f2;
  padding: 80px 0;
}
.pricing .section-title { color: #f2f2f2; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  width: var(--container);
  margin: 0 auto;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  align-self: start;
}
.price-table caption {
  color: var(--gold);
  text-align: left;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 14px;
}
.price-table th, .price-table td {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 4px;
  font-size: 15px;
  vertical-align: top;
}
.price-table th {
  text-align: left;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}
.price-table td {
  text-align: right;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}
.price-table th small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.35;
}
.pricing-note {
  width: var(--container);
  margin: 36px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-style: italic;
}
/* ---------- Galerie interiéru ---------- */
.interior-gallery {
  width: var(--container);
  margin: 0 auto;
  padding: 80px 0;
}
.gallery-intro {
  max-width: 680px;
  margin: 0 auto 46px;
  text-align: center;
}
.gallery-intro .section-title { margin-bottom: 12px; }
.gallery-intro p { margin: 0; color: var(--muted); }
.interior-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.interior-photo {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}
.interior-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 0.6s ease, transform 0.7s ease;
}
.interior-photo-tall img { object-position: 35% center; }
.gallery-hint {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 48px 82px;
  border: 0;
  background: rgba(0, 0, 0, 0.94);
  color: #ffffff;
  overflow: hidden;
}
.gallery-lightbox[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.gallery-lightbox::backdrop { background: rgba(0, 0, 0, 0.94); }
.gallery-lightbox-content {
  min-width: 0;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 12px;
}
.gallery-lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}
.gallery-lightbox-content figcaption {
  color: #ffffff;
  font-size: 14px;
  text-align: center;
}
.gallery-close,
.gallery-arrow {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.46);
  color: #ffffff;
  cursor: pointer;
}
.gallery-close:hover,
.gallery-arrow:hover { background: #ffffff; color: #111111; }
.gallery-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 31px;
  line-height: 1;
}
.gallery-arrow {
  width: 52px;
  height: 70px;
  font-size: 44px;
  line-height: 1;
}
.gallery-position {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-align: center;
}
body.gallery-open { overflow: hidden; }

@media (hover: hover) {
  .interior-photo:hover img {
    filter: grayscale(0) contrast(1.02);
  }
}

/* ---------- Kontakt ---------- */
.contact {
  width: var(--container);
  margin: 0 auto;
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  gap: 40px;
}
.contact-phone {
  display: block;
  color: var(--plum);
  font-family: var(--display);
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 8px;
}
.contact-phone:hover { text-decoration: underline; }
.contact-mail {
  display: block;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
}
.contact-mail:hover { color: var(--plum); }
.contact-address {
  margin: 0 0 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.hours {
  border-collapse: collapse;
  margin-bottom: 34px;
}
.hours th, .hours td {
  padding: 9px 0;
  font-size: 15px;
  border-top: 1px solid var(--line);
}
.hours th {
  text-align: left;
  padding-right: 40px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 1px solid var(--navy);
  filter: grayscale(1) contrast(0.95);
}
.map-placeholder {
  min-height: 340px;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 36px;
  border: 1px solid var(--navy);
  background:
    linear-gradient(rgba(247, 247, 247, 0.9), rgba(247, 247, 247, 0.9)),
    repeating-linear-gradient(45deg, var(--paper) 0 18px, var(--bg) 18px 36px);
  text-align: center;
}
.map-placeholder strong,
.map-placeholder span { display: block; }
.map-placeholder strong {
  color: var(--navy);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}
.map-placeholder span { margin-top: 4px; }
.map-placeholder small { max-width: 36ch; color: var(--muted); }
.contact-map.is-loaded .map-placeholder { display: none; }
.contact-map.is-loaded iframe { display: block; }

/* ---------- Patička ---------- */
.site-footer {
  background: var(--navy);
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--gold); }
.site-footer p { margin: 0; color: var(--cream); font-size: 14px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 0 auto 18px;
}
.footer-legal a,
.footer-legal button,
.footer-credit a {
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.footer-legal a:hover,
.footer-legal button:hover,
.footer-credit a:hover { color: var(--gold); }
.site-footer .footer-credit { margin-top: 4px; font-size: 13px; }

/* ---------- Právní a chybové stránky ---------- */
.subpage .site-header,
.error-page .site-header { position: relative; }
.simple-nav { display: flex; align-items: center; gap: 14px; }
.simple-nav a:not(.btn) {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.page-hero {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1,
.error-content h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 82px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}
.page-hero p { max-width: 62ch; margin: 18px 0 0; }
.legal-content {
  width: min(820px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 48px 0 84px;
}
.legal-content h2 {
  margin: 46px 0 14px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 400;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 28px 0 10px; color: var(--navy); }
.legal-content p,
.legal-content li { max-width: 72ch; }
.legal-content a { color: var(--plum); }
.legal-content address { font-style: normal; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.legal-content th,
.legal-content td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-content th { color: var(--navy); }
.effective-date { color: var(--muted); font-size: 14px; }
.error-main {
  min-height: 66vh;
  display: grid;
  place-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
}
.error-content h1 { max-width: none; }
.error-code {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(90px, 22vw, 220px);
  line-height: 0.8;
}
.error-content p { max-width: 48ch; margin: 24px auto 30px; }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed;
  z-index: 300;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 4px; color: #fff; font-size: 19px; }
.cookie-banner p { margin: 0; max-width: 68ch; font-size: 14px; line-height: 1.55; }
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { padding: 11px 17px; font-size: 12px; cursor: pointer; }
.cookie-actions .btn-primary { background: var(--gold); color: var(--navy) !important; }
.cookie-actions .btn-secondary { background: transparent; }
.cookie-dialog {
  width: min(580px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--gold);
  background: var(--bg);
  color: var(--text);
}
.cookie-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.cookie-dialog-inner { padding: 28px; }
.cookie-dialog h2 { margin: 0 0 12px; color: var(--navy); font-family: var(--display); font-size: 30px; font-weight: 400; }
.cookie-dialog p { margin: 0 0 18px; }
.cookie-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cookie-option:last-of-type { border-bottom: 1px solid var(--line); }
.cookie-option input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--plum); }
.cookie-option strong,
.cookie-option small { display: block; }
.cookie-option small { color: var(--muted); }
.cookie-required { margin-left: auto; color: var(--plum); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.cookie-dialog .cookie-actions { margin-top: 24px; }
.cookie-dialog-close {
  float: right;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

/* ---------- Načítání stránky ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease 0.15s, visibility 0.7s ease 0.15s;
}
.loader svg {
  width: 54px;
  height: 61px;
  color: var(--navy);
}
body.is-loaded .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .loader svg {
    animation: loader-turn 2.2s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  }
  @keyframes loader-turn {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.12); }
    100% { transform: rotate(360deg) scale(1); }
  }

  /* Nástup hero sekce po načtení */
  html.js .hero-copy h1,
  html.js .hero-copy p,
  html.js .hero-copy .btn,
  html.js .hero-media {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  html.js body.is-loaded .hero-copy h1 { opacity: 1; transform: none; transition-delay: 0.25s; }
  html.js body.is-loaded .hero-copy p { opacity: 1; transform: none; transition-delay: 0.45s; }
  html.js body.is-loaded .hero-copy .btn { opacity: 1; transform: none; transition-delay: 0.6s; }
  html.js body.is-loaded .hero-media { opacity: 1; transform: none; transition-delay: 0.5s; }
}

/* ---------- Hover efekty fotek ---------- */
.service-card,
.styles-grid figure,
.hero-media {
  overflow: hidden;
}
.service-card img,
.styles-grid img,
.hero-media img,
.about-inner img {
  transition: filter 0.6s ease, transform 0.7s ease;
}
.service-card:hover img,
.styles-grid figure:hover img,
.hero-media:hover img,
.about-inner img:hover {
  filter: grayscale(0) contrast(1.02);
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover img,
  .styles-grid figure:hover img,
  .hero-media:hover img,
  .interior-photo:hover img {
    transform: scale(1.05);
  }
  .service-card:hover h3 span {
    border-left-width: 6px;
  }
  .service-card h3 span { transition: border-left-width 0.3s ease; }
}

/* ---------- Najetí nadpisů zleva/zprava ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .slide-in {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  html.js .slide-in.from-left { transform: translateX(-64px); }
  html.js .slide-in.from-right { transform: translateX(64px); }
  html.js .slide-in.is-visible { opacity: 1; transform: none; }

  html.js .split-heading .split-l,
  html.js .split-heading .split-r {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  html.js .split-heading .split-l { transform: translateX(-70px); }
  html.js .split-heading .split-r { transform: translateX(70px); transition-delay: 0.12s; }
  html.js .split-heading.is-visible .split-l,
  html.js .split-heading.is-visible .split-r {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reveal animace při scrollu ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s, transform 0.6s;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Mobilní menu ---------- */
@media (max-width: 879px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--navy);
    padding: 8px 0 16px;
  }
  .site-nav a {
    padding: 12px 4px;
    width: 100%;
  }
  .site-nav .btn-nav { width: auto; margin: 10px 4px 0; }
  body.menu-open .site-nav { display: flex; }
}

@media (max-width: 700px) {
  .cookie-banner { grid-template-columns: 1fr; left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-actions { justify-content: flex-start; }
  .cookie-actions .btn { flex: 1 1 auto; text-align: center; }
  .simple-nav .btn { padding: 10px 14px; }
  .simple-nav a:not(.btn) { display: none; }
  .legal-content table { display: block; overflow-x: auto; }
  .gallery-lightbox { padding: 70px 14px 24px; }
  .gallery-lightbox[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }
  .gallery-lightbox-content { grid-column: 1 / -1; grid-row: 1; }
  .gallery-prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .gallery-next { grid-column: 2; grid-row: 2; justify-self: start; }
  .gallery-position { grid-row: 3; }
  .gallery-arrow { width: 64px; height: 48px; font-size: 35px; }
}

/* ---------- Širší layouty ---------- */
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr 1fr; }
  .interior-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 80px 0 100px;
  }
  .styles-grid { grid-template-columns: repeat(4, 1fr); }
  .interior-grid { grid-template-columns: repeat(3, 1fr); }
  .interior-photo-wide { grid-column: span 2; }
  .interior-photo-wide img,
  .interior-photo-tall img { aspect-ratio: auto; }
}
