/* ==========================================================
   Zahrady od Zuzky – hlavní styly
   Barvy a rozměry se mění v sekci :root níže.
   ========================================================== */

:root {
  --brand: #e21b42;          /* malinová z loga Zahrady od Zuzky */
  --brand-dark: #b5112f;
  --brand-soft: #fdf0f2;     /* jemný nádech barvy loga */
  --brand-tint: #f9d3db;
  --leaf: #7db52f;           /* zelená z loga */
  --leaf-dark: #5a8a1c;
  --ink: #26221f;
  --text: #4a4542;
  --muted: #7a7370;
  --line: #ece6e3;
  --bg: #ffffff;
  --bg-alt: #faf7f5;
  --footer: #211c1f;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(38, 34, 31, .08);
  --shadow-lg: 0 24px 60px rgba(38, 34, 31, .14);
  --container: 1180px;
  --header-h: 76px;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--brand-soft); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(226, 27, 66, .28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--ink); font-weight: 600; font-size: .96rem;
  padding: 8px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.nav .btn { margin-left: 10px; padding: 10px 20px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto;
  position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 28px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 12px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero (úvod) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 60%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
}
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(125, 181, 47, .14), transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { font-size: 1.15rem; max-width: 560px; }
.typed {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-size: 1.35rem; font-weight: 700; color: var(--ink); margin: 26px 0 32px;
  min-height: 2.2em;
}
.typed__word { color: var(--brand); border-right: 3px solid var(--brand); padding-right: 4px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-lg);
}
.hero-media::before {
  content: ""; position: absolute; inset: 6% -5% -5% 6%;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--brand-tint); z-index: -1; transform: rotate(-6deg);
}
.hero-badge {
  position: absolute; left: -12px; bottom: 8%;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.3;
}
.hero-badge svg { width: 36px; height: 36px; color: var(--leaf); flex: none; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin: 0 auto; }
}

/* ---------- Hero s videem v pozadí (varianta) ---------- */
.btn--outline-white { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn--outline-white:hover { background: #fff; color: var(--brand); }

.hero-video {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  padding: 96px 0 120px;
  color: #fff; background: var(--ink);
}
.hero-video__media, .hero-video__media img, .hero-video__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-video__media { z-index: -2; }
.hero-video__poster { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -1%); } }
.hero-video__video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing .hero-video__video { opacity: 1; }
/* překryv kvůli čitelnosti textu: barva loga zleva, průhledné vpravo */
.hero-video::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(130, 10, 32, .88) 0%, rgba(181, 17, 47, .62) 42%, rgba(33, 28, 31, .15) 100%),
    linear-gradient(0deg, rgba(33, 28, 31, .45) 0%, transparent 40%);
}
.hero-video__content { max-width: var(--container); }
.hero-video__content > * { max-width: 640px; }
.hero-video h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-video h1 em { font-style: normal; color: #ffd3db; }
.hero-video .eyebrow { color: #ffd3db; }
.hero-video .hero-lead { color: rgba(255,255,255,.92); }
.hero-video .typed { color: #fff; }
.hero-video .typed__word { color: #ffd3db; border-color: #ffd3db; }

.hero-video__toggle {
  position: absolute; right: 24px; bottom: 24px;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.25); color: #fff; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background .2s;
}
.hero-video__toggle:hover { background: rgba(0,0,0,.5); }
.hero-video__toggle[hidden] { display: none; }
.hero-video__toggle svg { width: 18px; height: 18px; }
.hero-video__toggle .i-play { display: none; }
.hero-video.is-paused .hero-video__toggle .i-play { display: block; }
.hero-video.is-paused .hero-video__toggle .i-pause { display: none; }

.hero-video__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; color: #fff;
  animation: bob 2s ease-in-out infinite;
}
.hero-video__scroll svg { width: 28px; height: 28px; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

@media (max-width: 700px) {
  .hero-video { min-height: auto; padding: 72px 0 104px; }
  .hero-video::before { background: linear-gradient(180deg, rgba(130, 10, 32, .78), rgba(33, 28, 31, .7)); }
}

/* ---------- O nás ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.video-btn {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--brand); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.35);
  transition: transform .2s, background .2s, color .2s;
}
.video-btn:hover { transform: scale(1.08); background: var(--brand); color: #fff; }
.video-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.about-media video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-text .lead { font-size: 1.15rem; color: var(--ink); }
.about-claim { margin-top: 28px; font-size: 1.1rem; font-weight: 700; color: var(--brand); letter-spacing: .02em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.feature svg { width: 30px; height: 30px; color: var(--leaf); margin-bottom: 8px; }
.feature strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.35; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
}
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Služby ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); color: var(--text);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card__body .eyebrow { margin-bottom: 8px; font-size: .72rem; }
.service-card__body p { color: var(--muted); font-size: .98rem; }
.more { margin-top: auto; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.service-card:hover .more svg { transform: translateX(4px); }

@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- CTA pruh ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--brand) 0%, #f0566e 100%);
  color: #fff; border-radius: var(--radius);
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.cta h2 { color: #fff; margin: 0; max-width: 620px; font-size: clamp(1.4rem, 2.6vw, 2rem); position: relative; z-index: 1; }
.cta .btn { position: relative; z-index: 1; }

/* ---------- Klienti ---------- */
.client-names { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.client-names span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 20px; font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: var(--ink);
}
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logos li {
  list-style: none; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line);
  flex: 0 1 calc((100% - 80px) / 5); height: 120px; padding: 16px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.logos img { max-height: 70px; max-width: 100%; width: auto; height: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logos li span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.logos li:has(span) img { max-height: 56px; }
.logos li:hover img { filter: none; opacity: 1; }
.logos { padding: 0; margin: 0; }
@media (max-width: 860px) { .logos li { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 520px) { .logos li { flex-basis: calc((100% - 20px) / 2); height: 100px; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-info { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding: clamp(32px, 5vw, 56px); }
.contact-info h2 { color: #fff; }
.contact-info p { color: rgba(255,255,255,.88); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.contact-list svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.contact-list a, .contact-list strong { color: #fff; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

.contact-form { padding: clamp(32px, 5vw, 56px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.field label .req { color: var(--brand); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt);
  padding: 13px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(226, 27, 66, .1); }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-weight: 600; margin: 0; }
.form-status.ok { color: var(--leaf-dark); }
.form-status.err { color: #c62828; }

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Patička ---------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 18px; }
.footer-logo img { height: 64px; width: auto; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.powered a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.powered a:hover { text-decoration-color: currentColor; }
@media (max-width: 560px) { .footer-bottom { padding-bottom: 96px; } } /* místo pro tlačítko „nahoru“ */
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, visibility .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Podstránky služeb ---------- */
.page-hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  /* pás v šířce obsahu – zarovnaný s textem vlevo a s bočním boxem vpravo */
  width: min(calc(var(--container) - 48px), calc(100% - 48px)); margin: 32px auto 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 80px);
  background: var(--ink) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,28,31,.55), rgba(181, 17, 47,.55)); }
.page-hero .container { position: relative; }
.page-hero + .section { padding-top: clamp(40px, 5vw, 64px); }
.page-hero h1 { color: #fff; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.page-hero .eyebrow { color: #fff; opacity: .9; }
.breadcrumb { font-size: .88rem; margin-top: 18px; opacity: .85; }
.breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail-text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.detail-text h3 { margin-top: 1.6em; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e21b42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .checklist--cols { grid-template-columns: 1fr; } }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--brand-soft); border-radius: var(--radius); padding: 32px; }
.aside-card h3 { margin-bottom: .4em; }
.aside-card p { font-size: .96rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card .aside-contact { margin-top: 20px; display: grid; gap: 6px; font-weight: 600; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .aside-card { position: static; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; padding: 0; list-style: none; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: none; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.05); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 16, 18, .88); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer;
}

.service-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-nav a {
  display: flex; flex-direction: column; gap: 4px; padding: 24px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 1.1rem;
  transition: border-color .2s, box-shadow .2s;
}
.service-nav a:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--brand); }
.service-nav small { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.service-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .service-nav { grid-template-columns: 1fr; } .service-nav .next { grid-column: auto; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: var(--brand-tint); line-height: 1; margin-bottom: 12px; }

/* ---------- Animace při scrollu ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
