/* ==========================================================================
   TimLuks – subpages.css
   Bohatší dizajn podstránok (služby, projekty, o nás, cenník, FAQ, blog, kontakt, právne stránky, 404).
   Nadväzuje na homepage: rovnaké tokeny z base.css (--bg/--ink/--accent/--line, --radius, --ease…),
   rovnaké karty (jemne odlíšené od pozadia, zelený okraj pri hoveri), rovnaké zvýraznené „písané“
   slová v nadpisoch (.title-script) a tlačidlá (.btn--dark/.btn--ghost z base.css).
   Nič tu neprepisuje index.html – súbor sa načítava len na podstránkach (po service-page.css/service-extras.css).

   Obsah:
   1. Animácia pri scrolle (.reveal)        7. Kroky (.steps) a harmonogram (.schedule)
   2. Hero podstránky (.page-hero)           8. Štítky (.tags), cenová poznámka (.price-note)
   3. Miesto na fotku (.photo-slot)          9. FAQ (.faq)
   4. Dlhý text (.prose) + bočný panel       10. Súvisiace služby, CTA pás
   5. Čísla (.stat-grid), karty (.feature)   11. Prehľad služieb, blog, projekty, právne stránky, 404
   6. Pomocné: .section__lead, .split        12. Úzke obrazovky
   ========================================================================== */

/* ---------- 1. Animácia pri scrolle ----------
   Prvky .reveal sú skryté LEN ak JS (assets/js/subpages.js) pridá na <html> .reveal-ready – bez JS
   alebo pri „znížený pohyb“ je všetko viditeľné hneď. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.reveal-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 2. Hero podstránky ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 0;
  padding-bottom: clamp(48px, 7vw, 96px);
}

/* Jemná zelená žiara vpravo hore a bodkovaná sieť – rovnaký jazyk ako hero homepage, len tichšie. */
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -22%;
  right: -12%;
  width: min(72vw, 820px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.16), transparent 72%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(var(--ink-rgb), 0.16) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(115deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 38%, #000 100%);
  pointer-events: none;
}

.page-hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .page-hero__grid--single { grid-template-columns: minmax(0, 1fr); }
}

.page-hero__eyebrow { margin-bottom: 18px; }

.page-hero__title {
  max-width: 15em;
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.page-hero__title--post { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 20em; }

/* Zvýraznené slovo v nadpise – rovnaký štýl ako .section__title .title-script (base.css), len v h1. */
.page-hero__title .title-script {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.08em;
  letter-spacing: 0;
  color: var(--accent-text);
  text-shadow: 0 0 0.6em rgba(var(--accent-rgb), 0.28);
}
:root[data-theme="light"] .page-hero__title .title-script { text-shadow: none; }

.page-hero .service-hero__lead { max-width: 40em; }

/* Rýchle fakty pod tlačidlami hera. */
.hero-facts {
  display: grid;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
}
@media (min-width: 700px) {
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hero-fact {
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
}
.hero-fact dt {
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.hero-fact dd {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.hero-visual { position: relative; }
.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.78);
  color: var(--on-ink);
  font-size: 0.85rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6);
  animation: badge-pulse 2.4s var(--ease) infinite;
}
@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); }
}

/* ---------- 3. Miesto na fotku ----------
   <figure class="photo-slot"><div class="photo-slot__ph">…</div><img class="photo-slot__img"></figure>
   Súbor s fotkou stačí nahrať na cestu v atribúte src (komentár <!-- FOTO … --> nad každým miestom).
   Ak súbor existuje, onload pridá na figure .is-loaded a placeholder zmizne; ak neexistuje, onerror
   schová <img> a ostane placeholder (gradient + ikona + štítok „Sem pridajte fotku“). */

.photo-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 80% at 20% 15%, rgba(var(--accent-rgb), 0.24), transparent 70%),
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), transparent 55%),
    color-mix(in srgb, var(--bg) 92%, var(--ink) 8%);
}
.photo-slot--wide { aspect-ratio: 16 / 9; }
.photo-slot--tall { aspect-ratio: 4 / 5; }
.photo-slot--square { aspect-ratio: 1; }

.photo-slot__ph {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
}
.photo-slot__ph svg { width: 44px; height: 44px; color: var(--accent-text); opacity: 0.85; }
.photo-slot__label {
  max-width: 24em;
  padding: 0.4em 0.95em;
  border: 1px dashed rgba(var(--accent-rgb), 0.6);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
}
:root[data-theme="light"] .photo-slot__label { border-color: rgba(var(--accent-deep-rgb), 0.55); }

.photo-slot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Nenačítaný obrázok nesmie ukázať ikonku ani alt text cez placeholder. */
  color: transparent;
  font-size: 0;
}
/* Ilustrácie (SVG) majú tmavé línie, takže ležia na svetlej ploche a celé sa zmestia. */
.photo-slot__img[src$=".svg"] {
  object-fit: contain;
  padding: 6%;
  background: #f4f6ef;
}
.photo-slot__img[hidden] { display: none; }
.photo-slot.is-loaded .photo-slot__ph { display: none; }

/* Fotka v kartičke blogu: bez vlastného rámika, okraj dáva karta. */
.post-card .photo-slot { border: 0; border-radius: 0; border-bottom: 1.5px solid var(--line); }

/* ---------- 4. Dlhý text ---------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
}
@media (min-width: 980px) {
  .article-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    align-items: start;
  }
  .article-layout__aside {
    position: sticky;
    top: calc(var(--header-h) + var(--header-top) + 24px);
  }
}
.article-layout__aside { display: grid; gap: 16px; }

.prose { max-width: 46em; }
.prose--wide { max-width: 56em; }
.prose--legal { max-width: 50em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
}
.prose > h2:first-child,
.prose > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: 0.8em; }
.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.75;
}
.prose strong { color: var(--ink); }
.prose a {
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-text-rgb), 0.75);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--ease);
}
.prose a:hover,
.prose a:focus-visible { text-decoration-color: var(--ink); }
.prose .service-list { gap: 12px; }
.prose--article h2 { scroll-margin-top: calc(var(--header-h) + 24px); }

mark.todo {
  padding: 0.05em 0.4em;
  border-radius: 4px;
  background: rgba(255, 196, 0, 0.28);
  color: var(--ink);
  font-weight: 700;
}

/* Bočný panel (rovnaký vzhľad ako .service-content__aside na pôvodných podstránkach). */
.side-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
}
.side-card--cta { border-color: rgba(var(--accent-rgb), 0.55); }
.side-card__title { margin-bottom: 14px; font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; }
.side-card__text { margin-bottom: 20px; color: var(--muted); line-height: 1.6; }
.side-card__links { display: flex; flex-wrap: wrap; gap: 10px; }
.side-card > .btn { margin-top: 20px; }
.side-card__text + .btn { margin-top: 0; }
.side-card__quote {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.side-card--quote { border-color: rgba(var(--accent-rgb), 0.55); }

.side-facts { display: grid; gap: 14px; }
.side-facts div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.side-facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.side-facts dt {
  margin-bottom: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.side-facts dd { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.45; }

/* Obsah článku */
.toc__title { margin-bottom: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); }
.toc ol { display: grid; gap: 8px; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 10px; font-size: 0.95rem; line-height: 1.4; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-weight: 700; font-size: 0.8rem; color: var(--accent-text); padding-top: 0.15em; }
.toc a { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.toc a:hover, .toc a:focus-visible { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-text); text-underline-offset: 3px; }

/* Porovnávacia tabuľka v článku */
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-soft); line-height: 1.5; }
.cmp thead th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%); }
.cmp tbody th { color: var(--ink); font-weight: 700; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* ---------- 5. Čísla a karty ---------- */

.section--band { background: color-mix(in srgb, var(--bg) 97%, var(--ink) 3%); }

.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
}
.stat::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.24), transparent);
  pointer-events: none;
}
.stat__num {
  display: block;
  font-family: var(--font-headline);
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-text);
}
.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.feature {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
@media (hover: hover) {
  .feature:hover { border-color: rgba(var(--accent-rgb), 0.55); transform: translateY(-4px); }
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink-fixed);
}
.feature__title { margin-bottom: 8px; font-size: 1.12rem; font-weight: 700; }
.feature__text { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.why-grid--4 { }
@media (min-width: 700px) {
  .why-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .why-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 6. Pomocné ---------- */

.section__lead {
  max-width: 46em;
  margin-top: calc(clamp(28px, 4vw, 56px) * -1 + 14px);
  margin-bottom: clamp(28px, 4vw, 48px);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
}
.section__lead--center { margin-inline: auto; text-align: center; }

.split {
  display: grid;
  gap: 0 clamp(32px, 5vw, 72px);
  margin-bottom: clamp(20px, 3vw, 32px);
}
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
.split .section__lead { margin-bottom: 0; }
@media (min-width: 900px) {
  .split .section__title { margin-bottom: clamp(20px, 2.4vw, 32px); }
  .split__col:last-child .section__lead { margin-bottom: 0; }
}

/* ---------- 7. Kroky a harmonogram ---------- */

.steps-layout {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}
@media (min-width: 720px) {
  .steps-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
  .steps-layout__side { position: sticky; top: calc(var(--header-h) + var(--header-top) + 24px); }
}
@media (min-width: 720px) {
  .steps-layout > .steps { align-self: center; }
}
.steps-layout__side .section__lead { margin-top: calc(clamp(28px, 4vw, 56px) * -1 + 14px); margin-bottom: 28px; }

.steps {
  position: relative;
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}
.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 24px;
  bottom: 24px;
  width: 1.5px;
  background: linear-gradient(to bottom, rgba(var(--accent-text-rgb), 0.85), var(--line));
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-fixed);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 6px var(--bg);
}
.section--band .step__num { box-shadow: 0 0 0 6px color-mix(in srgb, var(--bg) 97%, var(--ink) 3%); }
.step__body {
  padding: 18px 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
}
.step__title { margin-bottom: 6px; font-size: 1.15rem; font-weight: 700; }
.step__text { color: var(--muted); font-size: 0.96rem; line-height: 1.6; }

/* Kroky vedľa seba (cenník) */
@media (min-width: 900px) {
  .steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--row::before { display: none; }
  .steps--row .step { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps--row .step__num { box-shadow: none; }
}

.schedule {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
}
.schedule__row {
  display: grid;
  gap: 6px 24px;
  padding: 18px clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--line);
}
.schedule__row:first-child { border-top: 0; }
@media (min-width: 760px) {
  .schedule__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) 190px; align-items: center; }
}
.schedule__phase { font-weight: 700; }
.schedule__text { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.schedule__time {
  justify-self: start;
  padding: 0.35em 0.9em;
  border: 1.5px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.schedule__time--link { padding: 0; border: 0; }
.schedule__time--link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45em 1em;
  border: 1.5px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 999px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
@media (hover: hover) {
  .schedule__time--link a:hover { background: var(--accent); color: var(--ink-fixed); }
}
.schedule + .price-note { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- 8. Štítky a cenová poznámka ---------- */

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag {
  padding: 0.55em 1.05em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}
.tags--links { margin-top: 0; margin-bottom: clamp(28px, 4vw, 48px); }
.tags--links .tag { padding: 0; }
.tags--links .tag a { display: block; padding: 0.6em 1.15em; border-radius: 999px; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
@media (hover: hover) {
  .tags--links .tag:hover { border-color: var(--accent); }
  .tags--links .tag a:hover { background: var(--accent); color: var(--ink-fixed); }
}
.tags--links .tag a:focus-visible { outline-offset: 0; border-radius: 999px; }

.price-note {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1.5px solid rgba(var(--accent-rgb), 0.55);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), transparent 60%),
    color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
}
@media (min-width: 900px) { .price-note { grid-template-columns: minmax(0, 1.5fr) auto; } }
.price-note__title { margin: 14px 0 10px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; }
.price-note__text { max-width: 42em; color: var(--ink-soft); line-height: 1.65; }
.price-note__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 9. FAQ (natívny <details>, funguje bez JS a s klávesnicou) ---------- */

.faq { max-width: 56em; border-top: 1px solid var(--line); }
.faq--center { margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline-offset: 0; border-radius: 8px; }
.faq__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  transition: transform 0.35s var(--ease-out), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
@media (hover: hover) {
  .faq__q:hover .faq__icon { border-color: var(--ink); }
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-fixed);
}
.faq__a { padding: 0 4px 22px; max-width: 48em; color: var(--ink-soft); line-height: 1.7; }

.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 60px); }
.faq-group__title { margin-bottom: 18px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group .faq { max-width: none; }

/* ---------- 10. Súvisiace služby a CTA pás ---------- */

.related-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.related-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 14px; background: rgba(var(--accent-rgb), 0.16); color: var(--accent-text); }
.related-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.related-card__text { flex: 1; color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
.related-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.92rem; font-weight: 600; color: var(--accent-text); }
.related-card__more svg { transition: transform 0.3s var(--ease-out); }
@media (hover: hover) {
  .related-card:hover { border-color: rgba(var(--accent-rgb), 0.55); transform: translateY(-4px); }
  .related-card:hover .related-card__more svg { transform: translateX(4px); }
}
.related__all { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 36px); }

.section--cta { border-top: 0; padding-top: 0; }
.cta-band {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border: 1.5px solid rgba(var(--accent-rgb), 0.5);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70%;
  right: -12%;
  width: 64%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.24), transparent 70%);
  pointer-events: none;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1.4fr) auto; } }
.cta-band__title { margin: 16px 0 14px; font-size: clamp(1.8rem, 3.8vw, 3.1rem); font-weight: 700; }
.cta-band__title .title-script {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.08em;
  letter-spacing: 0;
  color: var(--accent-text);
  text-shadow: 0 0 0.6em rgba(var(--accent-rgb), 0.28);
}
:root[data-theme="light"] .cta-band__title .title-script { text-shadow: none; }
.cta-band__text { max-width: 36em; color: var(--muted); line-height: 1.65; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 11. Prehľad služieb, blog, projekty, 404 ---------- */

.svc-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-card--accent { border-color: rgba(var(--accent-rgb), 0.55); }
@media (hover: hover) {
  .svc-card:hover { border-color: rgba(var(--accent-rgb), 0.55); transform: translateY(-4px); }
}
.svc-card__top { display: flex; align-items: center; justify-content: space-between; }
.svc-card__num { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; color: var(--accent-text); }
.svc-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(var(--accent-rgb), 0.16); color: var(--accent-text); }
.svc-card__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; }
.svc-card__text { color: var(--muted); line-height: 1.55; }
.svc-card__list { display: grid; gap: 8px; }
.svc-card__list li { position: relative; padding-left: 24px; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.45; }
.svc-card__list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 14px; height: 1.5px; background: var(--accent-text); }
.svc-card__who { margin-top: 2px; font-size: 0.88rem; color: var(--muted); }
.svc-card__who strong { color: var(--ink-soft); }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--accent-text); }
.svc-card__more svg { transition: transform 0.3s var(--ease-out); }
@media (hover: hover) { .svc-card:hover .svc-card__more svg { transform: translateX(4px); } }
/* Celá karta je odkaz (nadpis ju „natiahne“ cez pseudo-prvok) – bez vnorených odkazov v kartičke. */
.svc-card__link::after, .post-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-card:has(.svc-card__link:focus-visible),
.post-card:has(.post-card__link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.svc-card__link:focus-visible, .post-card__link:focus-visible { outline: none; }

.post-grid { display: grid; gap: 18px; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-grid--2 { margin-top: 0; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
@media (hover: hover) { .post-card:hover { border-color: rgba(var(--accent-rgb), 0.55); transform: translateY(-4px); } }
.post-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 28px); }
.post-meta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.15; }
.post-card__text { flex: 1; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--accent-text); }
.post-card__more svg { transition: transform 0.3s var(--ease-out); }
@media (hover: hover) { .post-card:hover .post-card__more svg { transform: translateX(4px); } }

.case-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case { padding: clamp(22px, 3vw, 34px); border: 1.5px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%); }
.case__title { margin-bottom: 18px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; }
.case__list { display: grid; gap: 14px; }
.case__list div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.case__list div:last-child { padding-bottom: 0; border-bottom: 0; }
.case__list dt { margin-bottom: 2px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.case__list dd { color: var(--ink-soft); line-height: 1.55; }

/* Stránka 404 */
.notfound { min-height: 100svh; display: flex; align-items: center; text-align: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; }
.notfound__code {
  font-family: var(--font-headline);
  font-size: clamp(7rem, 26vw, 17rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .notfound__code { background-image: linear-gradient(180deg, rgb(var(--accent-deep-rgb)) 0%, rgba(var(--accent-deep-rgb), 0.05) 100%); }
.notfound__title { margin-top: clamp(8px, 2vw, 16px); }
.notfound__lead { margin-inline: auto; }
.notfound__actions { justify-content: center; }
.notfound__links { justify-content: center; margin-top: clamp(28px, 4vw, 44px); margin-bottom: 0; }

/* ---------- 12. Úzke obrazovky ---------- */

@media (max-width: 599.98px) {
  .page-hero .service-hero__actions { flex-direction: column; }
  .page-hero .service-hero__actions .btn { width: 100%; }
  .cta-band__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .price-note__actions .btn { width: 100%; }
  .step { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .step__num { width: 36px; height: 36px; font-size: 0.75rem; box-shadow: 0 0 0 5px var(--bg); }
  .steps::before { left: 17px; }
  .step__body { padding: 16px 18px; }
  .feature-grid, .stat-grid { gap: 12px; }
  .stat__num { font-size: 2.3rem; }
}

@media (min-width: 760px) {
  .schedule__time { justify-self: end; }
}

/* Dátum zverejnenia pod nadpisom článku */
.post-date { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
