/* DOPET ElektroInstal – web
   Barvy a písmo podle firemní vizitky: kamenná šedá, světle žlutý blesk, černé písmo Montserrat. */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #fce898;
  --yellow-strong: #f6d966;
  --yellow-soft: #fef7dc;
  --ink: #141413;
  --charcoal: #1f1e1c;
  --charcoal-2: #2c2b28;
  --stone: #8f8882;
  --stone-dark: #77716b;
  --stone-light: #e9e6e2;
  --gray-600: #55514c;
  --gray-300: #d3cfca;
  --gray-100: #f5f3f0;
  --white: #ffffff;
  --danger: #a3261b;
  --success: #2f6b3a;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 20, 19, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 20, 19, 0.18);
  --header-h: 72px;
  --container: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* jemná zrnitá textura jako na vizitce */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--gray-100);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--yellow-strong); outline-offset: 3px; border-radius: 4px; }

/* Místo k doplnění – viditelně označené, dokud nedodáte údaje */
.doplnit {
  display: inline;
  background: repeating-linear-gradient(135deg, rgba(252,232,152,.55) 0 8px, rgba(252,232,152,.3) 8px 16px);
  border: 1px dashed #c9ad3f;
  border-radius: 4px;
  padding: .05em .4em;
  font-style: italic;
  font-weight: 500;
  color: var(--gray-600);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.stone .doplnit, .site-footer .doplnit { color: var(--ink); }

/* ===== Textury ===== */
.stone {
  background-color: var(--stone);
  background-image: var(--grain);
}
.stone-light {
  background-color: var(--stone-light);
  background-image: var(--grain);
  background-blend-mode: soft-light;
}

/* ===== Tlačítka ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--yellow); box-shadow: 0 6px 18px rgba(20,20,19,.25); }
.btn-primary:hover { background: var(--charcoal-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--yellow); }
.btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; box-shadow: none; }

/* ===== Hlavička ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(31, 30, 28, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  color: var(--white);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-bolt { width: 18px; height: 30px; fill: var(--yellow); flex: none; }
.brand-name strong { font-weight: 800; }
.brand-name { font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav ul { display: flex; gap: 1.6rem; }
.main-nav ul a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .98rem; padding: .4rem 0; color: #e8e5e1;
  transition: color .2s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a[aria-current="true"] { color: var(--white); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.btn-reviews {
  min-height: 42px; padding: .5rem 1.1rem; font-size: .92rem;
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
}
.btn-reviews svg { width: 18px; height: 18px; fill: currentColor; }
.btn-reviews:hover { background: transparent; color: var(--yellow); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 12px; width: 24px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bar::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--charcoal);
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    transform: translateY(-110%); visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .main-nav.is-open { transform: translateY(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .9rem .25rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav ul a::after { display: none; }
  .btn-reviews { min-height: 48px; }
}

/* ===== Úvod ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  padding: 5rem 0 6rem;
}
.hero.has-photo {
  background-image: url("/img/uvod.jpg");
  background-size: cover; background-position: center 40%;
}
.hero.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(143,136,130,.96) 0%, rgba(143,136,130,.85) 45%, rgba(143,136,130,.35) 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-bolt {
  position: absolute; right: max(4vw, calc(50% - 600px)); top: 50%;
  width: clamp(160px, 24vw, 330px); height: auto;
  transform: translateY(-50%) rotate(4deg);
  fill: var(--yellow);
  filter: drop-shadow(0 20px 40px rgba(20,20,19,.18));
  animation: bolt-in 1.1s var(--ease) both .15s;
}
@keyframes bolt-in { from { opacity: 0; transform: translateY(-46%) rotate(4deg) scale(.92); } }
.eyebrow {
  font-size: .9rem; font-weight: 600; letter-spacing: .22em; text-transform: lowercase;
  color: var(--gray-600); margin-bottom: 1rem;
}
.stone .eyebrow { color: var(--ink); opacity: .8; }
.hero h1 {
  font-size: clamp(2.4rem, 6.6vw, 5rem); font-weight: 800; max-width: 13ch; margin-bottom: 1.2rem;
}
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (max-width: 700px) {
  .hero.has-photo::before { background: rgba(143,136,130,.9); }
  .hero { min-height: auto; padding: 4rem 0 4.5rem; }
  .hero-bolt { right: -30px; top: 4.5rem; width: 110px; opacity: .45; transform: rotate(4deg); }
  .hero-inner { padding-right: 0; }
}

/* ===== Sekce ===== */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }

/* Proč my */
.why { background: var(--white); }
.why .section-title { text-align: center; margin-bottom: 2.5rem; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.why-card {
  padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--gray-100);
  border: 1px solid #ebe8e4;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card h3 { font-size: 1.2rem; margin: 1.1rem 0 0; }
.why-card p { margin: 0; color: var(--gray-600); }
.why-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink);
}
.why-icon svg { width: 26px; height: 26px; fill: var(--yellow); }

/* O nás */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-text p { font-size: 1.08rem; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.photo-placeholder {
  display: grid; place-items: center; align-content: center; gap: .8rem;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background-color: var(--stone); background-image: var(--grain);
  color: var(--ink); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: lowercase;
  border: 2px dashed rgba(20,20,19,.25);
}
.photo-placeholder svg { width: 54px; height: auto; fill: var(--yellow); filter: drop-shadow(0 6px 14px rgba(0,0,0,.15)); }

.about-card {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.5);
  padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow-lg);
}
.about-card-bolt { position: absolute; right: -24px; top: -20px; width: 150px; fill: var(--yellow); opacity: .9; filter: drop-shadow(0 12px 24px rgba(20,20,19,.2)); }
.about-facts { position: relative; display: grid; gap: 1.3rem; margin-bottom: 1.75rem; max-width: 80%; }
.about-facts li { display: flex; flex-direction: column; padding-left: 1rem; border-left: 4px solid var(--ink); }
.about-facts strong { font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.about-facts span { font-size: .98rem; }
@media (max-width: 520px) { .about-facts { max-width: 100%; } .about-card-bolt { width: 90px; opacity: .5; } }

/* Služby */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; margin-top: 2.5rem; }
.service-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--gray-100);
  border: 1px solid #ebe8e4;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-head {
  display: grid; place-items: center; height: 132px;
  background-color: var(--charcoal); background-image: var(--grain);
}
.service-head svg { width: 52px; height: 52px; fill: var(--yellow); transition: transform .4s var(--ease); }
.service-card:hover .service-head svg { transform: scale(1.12) rotate(-4deg); }
.service-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-body { padding: 1.5rem 1.6rem 1.75rem; }
.service-body h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.service-body p { margin: 0; color: var(--gray-600); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.gallery:empty { display: none; }
.gallery a { display: block; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--stone); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.gallery a::after {
  content: ""; position: absolute; inset: 0; background: rgba(20,20,19,.0); transition: background .3s;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { background: rgba(20,20,19,.15); }
.gallery-empty {
  margin-top: 2rem; display: flex; gap: 1.25rem; align-items: center;
  padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); max-width: 720px;
}
.gallery-empty svg { width: 44px; height: 44px; flex: none; fill: var(--stone); }
.gallery-empty p { margin: 0; }
.gallery-empty a { font-weight: 700; }
.gallery-empty[hidden] { display: none; }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem;
  padding: 1rem;
  background: rgba(14, 14, 13, .94);
  animation: fade-in .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } }
.lb-figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: .75rem; min-width: 0; }
.lb-figure img { max-width: 100%; max-height: 82vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-figure figcaption { color: #ddd9d4; font-size: .95rem; text-align: center; }
.lb-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); color: var(--white); font-size: 2rem; line-height: 1;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(252,232,152,.25); }
.lb-close { position: absolute; top: 1rem; right: 1rem; font-size: 2.2rem; }
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 1fr; padding: 4.5rem .5rem 5.5rem; }
  .lb-figure { grid-column: 1; }
  .lb-prev, .lb-next { position: absolute; bottom: 1.25rem; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* Recenze */
.reviews { background: var(--white); }
.reviews-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--charcoal); color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.reviews-card::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 340px; opacity: .08;
  background: var(--yellow);
  clip-path: polygon(31% 0, 93% 0, 68% 28%, 100% 28%, 20% 100%, 42% 49%, 0 49%);
}
.qr-box {
  width: 200px; height: 200px; padding: 14px; border-radius: var(--radius); background: var(--white);
  display: grid; place-items: center;
}
.qr-box img, .qr-box svg { width: 100%; height: 100%; }
.qr-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  border: 2px dashed #c9ad3f; border-radius: 8px; color: var(--gray-600); font-weight: 600; font-style: italic;
  background: var(--yellow-soft);
}
.reviews-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--yellow); }
.reviews-text p { color: #d9d5d0; max-width: 34rem; margin-bottom: 1.5rem; }
.reviews .btn-primary { background: var(--yellow); color: var(--ink); }
.reviews .btn-primary:hover { background: var(--yellow-strong); }
@media (max-width: 680px) {
  .reviews-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .reviews-text p { margin-inline: auto; }
}

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-lead { font-size: 1.1rem; margin-bottom: 2rem; }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list li > div { display: flex; flex-direction: column; }
.ci-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.contact-list a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.ci-sub { font-weight: 500; font-size: .95rem; }
.ci-hours { font-size: 1.02rem; }
.ci-hours strong { font-weight: 700; }
.ci-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); }
.ci-icon svg { width: 22px; height: 22px; fill: var(--yellow); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--white); border-radius: calc(var(--radius) * 1.3); padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); background: var(--gray-100);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(252,232,152,.7);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); background: #fdf3f2; }
.field-error { margin: .3rem 0 0; font-size: .85rem; color: var(--danger); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .7rem; align-items: start; margin-top: .5rem; }
.field-check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--ink); }
.field-check label { font-weight: 500; font-size: .92rem; margin: 0; }
.field-check .field-error { grid-column: 2; }
.field-check.has-error label { color: var(--danger); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; margin-top: .75rem; min-height: 54px; font-size: 1.05rem; }
.btn-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-note { font-size: .82rem; color: var(--gray-600); margin: .75rem 0 0; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-success { background: #e8f3ea; color: var(--success); border: 1px solid #b9d8bf; }
.form-status.is-error { background: #fbeceb; color: var(--danger); border: 1px solid #efc3bf; }

/* Patička */
.site-footer { background: var(--charcoal); color: #cfcbc6; padding: 3rem 0 2rem; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 3rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand .brand-bolt { width: 22px; height: 36px; }
.footer-brand div { display: flex; flex-direction: column; gap: .2rem; }
.footer-brand strong { color: var(--white); font-size: 1.05rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: flex-end; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.copyright { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; opacity: .7; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } .footer-links { justify-content: flex-start; } }

/* Podstránka (ochrana osobních údajů) */
.page { padding: clamp(3rem, 7vw, 5rem) 0; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.page h2 { font-size: 1.35rem; margin-top: 2rem; }
.page ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; }

/* Animace při posunu */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { 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; }
}
