/* ==========================================================================
   NádeJ – víkendovka Nová DNA
   Vizuálny jazyk novadna.netlify.app (Plus Jakarta Sans, karty na ľanových
   plochách, pill tlačidlá, fotky) + pôvodná červená z novadna.sk.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Červená z pôvodného novadna.sk */
  --red: #8B0000;           /* akcenty, odkazy, J */
  --red-btn: #761616;       /* tlačidlá */
  --red-btn-hover: #5E1111;
  --red-soft: #F6E8E4;      /* dlaždice ikon, štítky */
  --red-light: #F0B4A6;     /* akcenty na tmavom */

  /* Úsvit */
  --gold: #F5C77E;
  --linen: #F7F4EE;
  --dawn: #FBF0E8;

  --ink: #221C1B;
  --ink-2: #3A302E;
  --muted: #675B58;
  --white: #FFFFFF;
  --dark: #361519;          /* tmavé víno – pätička, tmavé plochy */
  --line: rgba(34, 28, 27, .1);
  --on-dark: rgba(255, 255, 255, .92);
  --on-dark-muted: rgba(255, 255, 255, .74);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-card: 0 8px 24px rgba(34, 28, 27, .05), 0 0 0 1px rgba(34, 28, 27, .06);
  --shadow-lift: 0 18px 40px rgba(34, 28, 27, .12);
  --container: 1160px;
  --gutter: 20px;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --gutter: 40px; } }

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (min-width: 1000px) { html { scroll-padding-top: 24px; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 5.2vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--red-light); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red-btn); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.note { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; }

/* NádeJ – veľké J zvýraznené ako ranné svetlo */
.j {
  color: var(--red); font-weight: 800;
  background: linear-gradient(transparent 60%, rgba(245, 199, 126, .55) 60%, rgba(245, 199, 126, .55) 92%, transparent 92%);
  padding: 0 .03em;
}

/* ---------- Sekcie ---------- */
.section { padding: 72px 0; scroll-margin-top: -62px; }
@media (min-width: 900px) { .section { padding: 112px 0; scroll-margin-top: -88px; } }
/* scroll-margin: pri skoku na sekciu (napr. #cena) preskoč väčšinu horného odsadenia, nech nadpis nie je ďaleko dole */
.section--linen { background: var(--linen); }
.section--dawn { background: linear-gradient(180deg, var(--dawn) 0%, var(--linen) 100%); }
.section--linen .panel, .section--linen .card, .section--linen .person, .section--linen .testimonial,
.section--dawn .panel, .section--dawn .testimonial { box-shadow: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; flex: none; }
.lead { font-size: 1.0625rem; line-height: 1.65; color: var(--muted); max-width: 62ch; }
@media (min-width: 900px) { .lead { font-size: 1.15rem; } }
.section-head { margin-bottom: 36px; max-width: 680px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { margin-bottom: 0; }
.section-head .cta-row__deadline { margin-top: 14px; }
@media (min-width: 900px) { .section-head { margin-bottom: 48px; } }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.3;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red-btn); color: #fff; }
.btn--primary:hover { background: var(--red-btn-hover); color: #fff; }
.btn--outline { border-color: rgba(34, 28, 27, .22); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--red-btn); }
.btn--light:hover { background: var(--dawn); color: var(--red-btn-hover); }
.btn--outline-light { border-color: rgba(255, 255, 255, .65); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 10px; }
.btn-row .btn { width: 100%; }
@media (min-width: 560px) { .btn-row { flex-direction: row; flex-wrap: wrap; gap: 12px; } .btn-row .btn { width: auto; } }

/* Odpočet – nenápadná "pilulka" */
.countdown { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 8px 16px; border-radius: 999px; font-size: .88rem; background: rgba(255, 255, 255, .14); color: var(--on-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.countdown .ico { width: 17px; height: 17px; color: var(--gold); }
.countdown__units { white-space: nowrap; word-spacing: .14em; }
.countdown b { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.countdown.is-closed .countdown__units { display: none; }
.deadline__line { font-size: .9rem; margin: 0 0 10px; color: var(--on-dark); }
.deadline__line strong { color: #fff; }

/* ==========================================================================
   HERO – fotka z prednášky
   ========================================================================== */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--dark); display: flex; flex-direction: column; }
@media (min-width: 900px) { .hero { min-height: min(100vh, 860px); } .hero__inner { padding-top: 72px; } }
.hero__media { position: absolute; inset: 0; }
.hero__media { overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 55% 55%; will-change: transform; animation: hero-zoom 20s ease-in-out infinite alternate; }
/* Jemné, pomalé priblíženie a oddialenie – fotka nie je statická */
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
/* Mobil: namiesto zoomu pomalý posun zľava doprava (nie až po okraje fotky).
   Obrázok je vždy aspoň o 70 % širší ako obrazovka, posun -8 % → -36 % jeho šírky
   preto nikdy neodkryje okraj. */
@media (max-width: 699px) {
  .hero__media img { position: absolute; top: 0; left: 0; width: auto; height: 100%; min-width: 170%; max-width: none; object-fit: cover; animation-name: hero-pan; animation-duration: 48s; }
  @keyframes hero-pan { from { transform: translateX(-8%); } to { transform: translateX(-36%); } }
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36, 12, 14, .55) 0%, rgba(36, 12, 14, .2) 16%, rgba(44, 12, 16, .62) 34%, rgba(40, 10, 14, .9) 56%, rgba(36, 10, 13, .97) 100%);
}
@media (min-width: 900px) {
  .hero__media img { object-position: 50% 50%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(38, 11, 14, .94) 0%, rgba(38, 11, 14, .82) 34%, rgba(38, 11, 14, .35) 62%, rgba(38, 11, 14, .1) 100%),
      linear-gradient(180deg, rgba(38, 11, 14, .5) 0%, transparent 25%, transparent 70%, rgba(38, 11, 14, .55) 100%);
  }
}
.topbar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand img { width: 140px; height: auto; }
@media (min-width: 900px) { .brand img { width: 168px; } .topbar { padding-top: 26px; } }
.topnav { display: none; align-items: center; gap: 26px; font-size: .94rem; font-weight: 600; }
.topnav a:not(.btn) { color: rgba(255, 255, 255, .9); text-decoration: none; }
.topnav a:not(.btn):hover { color: #fff; text-decoration: underline; }
@media (min-width: 1000px) { .topnav { display: flex; } }

.hero__inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(48px, 11svh, 110px); padding-bottom: 40px; }
.hero__inner > * { max-width: 620px; }
@media (min-width: 900px) { .hero__inner { padding-bottom: 88px; } }
.hero .eyebrow { color: var(--red-light); margin-bottom: 10px; }
.hero__title { font-size: clamp(3.5rem, 15vw, 6.5rem); line-height: .95; letter-spacing: -0.04em; font-weight: 800; color: #fff; margin: 0 0 10px; }
.hero__title .j, .hero__sub .j {
  background: linear-gradient(170deg, #FFE0A3 10%, var(--gold) 45%, var(--red-light) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0;
}
.hero__sub { font-size: clamp(1.15rem, 4.4vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: #fff; margin-bottom: 18px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; font-size: .95rem; font-weight: 600; color: #fff; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .ico { width: 17px; height: 17px; color: var(--gold); }
.hero__trust { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--on-dark-muted); margin: 0; }
.hero__trust .ico { width: 17px; height: 17px; color: var(--gold); }
/* Hlavné CTA + odpočet v spoločnom stĺpci – rovnaká šírka */
.hero__cta-group { display: grid; gap: 12px; margin-top: 22px; width: 100%; }
@media (min-width: 560px) { .hero__cta-group { width: max-content; max-width: 100%; } }
.hero__cta-group .btn { width: 100%; }
.btn--lg { min-height: 56px; padding: 15px 34px; font-size: 1.02rem; }
.ico--down { width: 18px; height: 18px; transform: rotate(90deg); }
.countdown--block { display: flex; justify-content: center; }

/* Jemné "poštuchnutie" tlačidla raz za pár sekúnd – nenápadné, pri hover/focus stojí */
.btn--nudge { animation: nudge 7s ease-in-out 2.5s infinite; }
.btn--nudge:hover, .btn--nudge:focus-visible { animation-play-state: paused; }
@keyframes nudge {
  0%, 86%, 100% { transform: translateX(0); }
  88% { transform: translateX(-3px); }
  90% { transform: translateX(3px); }
  92% { transform: translateX(-2px); }
  94% { transform: translateX(2px); }
  96% { transform: translateX(0); }
}
.hero__capacity { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 6px 14px; border-radius: 999px; background: rgba(240, 180, 166, .2); color: #fff; font-size: .88rem; font-weight: 700; }
.hero__capacity[hidden] { display: none; }
.hero__capacity .ico { width: 17px; height: 17px; color: var(--gold); }

/* ==========================================================================
   Komponenty
   ========================================================================== */

/* Pás so citátom pod hero */
.quote-strip { background: var(--dawn); padding: 28px 0; text-align: center; }
.quote-strip blockquote { margin: 0; }
.quote-strip p { margin: 0; font-size: clamp(1.05rem, 3.8vw, 1.35rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.quote-strip figcaption { margin-top: 6px; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) { .quote-strip { padding: 36px 0; } }

/* Úvod – "Čítať viac" (natívne <details>, prístupné z klávesnice aj čítačky) */
.more { margin-top: 4px; }
.more > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-weight: 700; color: var(--red); padding: 6px 0; border-radius: 6px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary .ico { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.more[open] > summary .ico { transform: rotate(-90deg); }
.more__close, .more[open] .more__open { display: none; }
.more[open] .more__close { display: inline; }
.more[open] > .prose { margin-top: 12px; }
.more__punch { font-weight: 700; color: var(--ink); font-size: 1.12rem; }

/* Menu sekcií – prilepené hore (mobil, tablet) */
.subnav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gutter); scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 15px; border-radius: 999px; background: var(--linen); transition: background .18s, color .18s; }
.subnav a:hover { background: var(--red-soft); color: var(--ink); }
.subnav a.is-active { background: var(--red-btn); color: #fff; }
@media (min-width: 1000px) { .subnav { display: none; } }

/* Program – len dve fotky vedľa seba */
.photo-row.photo-row--two { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0 0 40px; padding: 0; gap: 10px; }
.photo-row--two .photo-card::after { display: none; }
@media (min-width: 760px) { .photo-row.photo-row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 56px; } }

/* Harmonogram – dni ako záložky (mobil), 2×2 (desktop) */
.days__tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.days__tabs button { flex: 1 1 0; display: inline-flex; flex-direction: column; align-items: center; gap: 1px; border: 0; border-radius: 14px; padding: 9px 6px; background: #fff; color: var(--ink); font: inherit; font-size: .92rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.days__tabs button small { font-size: .74rem; font-weight: 500; color: var(--muted); }
.days__tabs [aria-selected="true"] { background: var(--red-btn); color: #fff; }
.days__tabs [aria-selected="true"] small { color: var(--on-dark-muted); }
.days__grid { display: grid; gap: 16px; }
.js .day:not(.is-active) { display: none; }
@media (min-width: 900px) {
  .days__tabs { display: none; }
  .days__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .js .day:not(.is-active) { display: block; }
}
.hours--program td { padding: 8px 0; }
.hours--program td:first-child { min-width: 7.4em; }
.hours tr.is-quiet td { color: var(--muted); }
.hours tr.is-quiet td:first-child { color: var(--muted); font-weight: 600; }

/* Split text + fotka */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--reverse > :first-child { order: 2; } }
.split > * { min-width: 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-lg); background: #ECE4D9; }

.bullets { display: grid; gap: 10px; margin-top: 22px; }
.bullets li { position: relative; padding-left: 28px; color: var(--ink-2); }
.bullets li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red-light); box-shadow: 0 0 0 4px var(--red-soft); }

.prose { font-size: 1.02rem; line-height: 1.75; color: var(--ink-2); max-width: 65ch; }
.prose > :last-child { margin-bottom: 0; }
.h-statement { font-size: clamp(2rem, 6.4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 14px; }

.callout { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 20px 22px; margin-top: 32px; }
.callout--soft { background: var(--dawn); }
.callout__ico { width: 42px; height: 42px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; font-size: 1.3rem; }
.callout--soft .callout__ico { background: #fff; }
.callout h3 { font-size: 1rem; margin-bottom: 4px; }
.callout p { margin: 0; color: var(--ink-2); }

.ico-wrap { width: 42px; height: 42px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ico-wrap .ico { width: 20px; height: 20px; }
.tag { display: inline-block; vertical-align: 2px; margin-left: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 3px 8px; border-radius: 999px; }

/* CTA riadok medzi sekciami */
.cta-row { margin-top: 44px; padding: 22px; border-radius: var(--radius); background: #fff; display: grid; gap: 14px; }
.section:not(.section--linen):not(.section--dawn) .cta-row { background: var(--linen); }
.cta-row__deadline { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .9rem; color: var(--muted); }
.cta-row__deadline .ico { width: 18px; height: 18px; color: var(--red); margin-top: .12em; }
.cta-row__deadline strong { color: var(--ink); }
@media (min-width: 860px) { .cta-row { grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 22px 28px; } .cta-row__deadline { justify-content: flex-end; text-align: right; } }

/* Fotky programu */
.photo-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(-1 * var(--gutter)) 40px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.photo-row::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .photo-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0 0 56px; padding: 0; gap: 20px; } }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--dark); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(30, 12, 12, .7) 100%); }
.photo-card__cap { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; font-weight: 700; font-size: 1.05rem; }

/* Zoznamy s ikonou (program, praktické) – bez rámčekov */
.features, .checklist { display: grid; gap: 22px 32px; }
@media (min-width: 640px) { .features, .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features, .checklist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; } }
.features li, .checklist li { display: flex; gap: 14px; align-items: flex-start; }
.features h3, .checklist h3 { font-size: 1rem; margin: 0 0 2px; }
.features p, .checklist p { font-size: .93rem; color: var(--muted); line-height: 1.55; margin: 0; }
.checklist { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
/* Preklik z karty Miesto na odvoz – položka sa jemne zvýrazní */
#odvoz { scroll-margin-top: 120px; border-radius: 14px; }
#odvoz:target { animation: target-glow 2.6s ease-out; }
@keyframes target-glow {
  0%, 45% { background: var(--dawn); box-shadow: 0 0 0 12px var(--dawn); }
  100% { background: transparent; box-shadow: 0 0 0 12px transparent; }
}
#program .callout { margin-top: 40px; }

/* Témy */
.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; align-items: center; }
.steps li::before { content: counter(step); grid-column: 1; grid-row: 1; align-self: center; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red-btn); color: #fff; font-weight: 700; }
@media (min-width: 760px) { .steps li { padding: 22px 24px; } }
.steps strong { display: block; grid-column: 2; grid-row: 1; font-size: 1.05rem; line-height: 1.35; }
.steps li:has(.steps__ref)::before { grid-row: 1 / 3; }
.steps__ref { display: block; grid-column: 2; grid-row: 2; margin-top: 4px; color: var(--muted); font-size: .9rem; font-style: italic; }

/* Poradenstvo */
.facts { display: grid; gap: 10px; margin: 24px 0 16px; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Poradenstvo: fotka vedľa nadpisu a textu, 4 boxy pod tým v mriežke 2×2 */
.facts--below { margin: 32px 0 14px; }
@media (min-width: 960px) { .facts--below { margin-top: 48px; gap: 16px; } .facts--below li { padding: 18px 22px; } }
.facts li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 16px; }
.facts strong { display: block; line-height: 1.3; }
.facts span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* Lektori */
.people { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .people { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } }
.person { width: 100%; height: 100%; display: flex; flex-direction: column; text-align: left; background: #fff; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); font: inherit; color: inherit; cursor: pointer; transition: transform .22s, box-shadow .22s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.person__img { display: block; aspect-ratio: 1 / 1.05; background: var(--red-soft); overflow: hidden; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex-grow: 1; }
.person__body strong { font-size: .98rem; line-height: 1.3; }
.person__body > span:not(.person__more) { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.person__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 700; color: var(--red); }
.person__more .ico { width: 15px; height: 15px; }

/* Bio dialóg */
.bio { width: min(640px, calc(100% - 24px)); max-height: 88vh; border: 0; border-radius: 22px; padding: 28px 22px; color: var(--ink); box-shadow: 0 30px 80px rgba(20, 8, 8, .35); }
.bio::backdrop { background: rgba(26, 12, 12, .55); }
.bio__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--linen); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.bio__close:hover { background: var(--red-soft); }
.bio__head { display: flex; align-items: center; gap: 16px; margin: 0 40px 20px 0; }
.bio__head img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; object-position: center 20%; flex: none; }
.bio__head h3 { margin: 0 0 2px; font-size: 1.15rem; }
.bio__head p { margin: 0; color: var(--muted); font-size: .9rem; }
.bio .prose { font-size: .97rem; }
@media (min-width: 560px) { .bio { padding: 32px; } .bio__head img { width: 96px; height: 96px; } .bio__head h3 { font-size: 1.3rem; } }

/* Galéria – dve veľké fotky (vľavo hore, vpravo dole) a štyri menšie */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery li { border-radius: 14px; overflow: hidden; background: #ECE4D9; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__wide { grid-column: span 2; }
.gallery__wide img { aspect-ratio: 16 / 9; }
/* Mobil: 2. a 3. fotka (poznámky ↔ prednášajúca) v opačnom poradí */
@media (max-width: 899px) {
  .gallery li { order: 4; }
  .gallery li:nth-child(1) { order: 1; }
  .gallery li:nth-child(2) { order: 3; }
  .gallery li:nth-child(3) { order: 2; }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gallery__wide { grid-column: 1 / 3; grid-row: 1 / 3; }
  .gallery__wide--right { grid-column: 2 / 4; grid-row: 3 / 5; }
  .gallery__wide img { aspect-ratio: auto; }
}

/* Svedectvá – sekcia sa zobrazí len vtedy, keď obsahuje reálne svedectvo */
#svedectva:not(:has(.testimonial)) { display: none; }
@supports not selector(:has(*)) { #svedectva { display: none; } }
.testimonials { display: grid; gap: 16px; }
@media (min-width: 860px) { .testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.testimonial { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.testimonial blockquote { flex: 1; }
.testimonial > .ico { width: 32px; height: 32px; color: var(--red-light); fill: currentColor; stroke: none; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.6; font-weight: 500; }
.testimonial blockquote p { margin: 0; }
.testimonial__who { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.testimonial__who { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.stars { display: inline-flex; gap: 2px; color: #D9A441; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }

/* Ako sa prihlásiť – 3 kroky nad cenníkom */
.howto { display: grid; gap: 10px; margin: 0 0 24px; counter-reset: none; }
@media (min-width: 760px) { .howto { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; } }
.howto li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--linen); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.howto__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red-btn); color: #fff; font-size: .85rem; font-weight: 700; }
.howto__muted { font-weight: 500; color: var(--muted); }

/* Ceny */
.prices { display: grid; gap: 16px; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.price { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow-card); }
.price__kind { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.price h3 { font-size: 1.05rem; margin-bottom: 12px; }
.price__amount { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin-bottom: 18px; }
.price__amount span { font-size: .55em; font-weight: 700; color: var(--muted); }
.checks { display: grid; gap: 8px; margin-bottom: 24px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.checks .ico { width: 18px; height: 18px; color: var(--red); margin-top: .18em; }
.price--accent { background: var(--dark); color: var(--on-dark); box-shadow: none; position: relative; overflow: hidden; }
.price--accent::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 199, 126, .28), transparent 65%); pointer-events: none; }
.price--accent h3, .price--accent .price__amount { color: #fff; }
.price--accent .price__kind { color: var(--red-light); }
.price--accent .price__amount span { color: var(--on-dark-muted); }
.price--accent .checks li { color: var(--on-dark); }
.price--accent .checks .ico { color: var(--gold); }
.price__note { margin: 10px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.price--accent .price__note { color: var(--on-dark-muted); }

/* Panely a cenník */
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid { gap: 20px; } }
.panel { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-card); }
@media (min-width: 900px) { .panel { padding: 26px 28px; } }
.panel h3 { display: flex; align-items: center; gap: 9px; font-size: 1.02rem; margin-bottom: 12px; }
.panel h3 .ico { width: 18px; height: 18px; color: var(--red); }
.panel__text { margin: 0; color: var(--ink-2); font-size: .95rem; }
.panel .note:last-child { margin-bottom: 0; }
.pricelist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.pricelist li:last-child { border-bottom: 0; }
.pricelist li > span:first-child { color: var(--ink-2); }
.pricelist li > span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.pricelist small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.pricelist__total span { font-size: 1.1rem; font-weight: 800 !important; color: var(--ink) !important; }
.addon { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--dawn); font-size: .93rem; }
.addon .ico { color: var(--red); width: 18px; height: 18px; margin-top: .15em; }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.hours td:first-child { white-space: nowrap; color: var(--red); font-weight: 700; padding-right: 18px; width: 1%; font-variant-numeric: tabular-nums; }
.hours tr:last-child td { border-bottom: 0; }

/* Karty s fotkou */
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: .93rem; margin: 10px 0 0; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #ECE4D9; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 22px; }
.card__body h3 { margin: 0 0 6px; }
.card__text { color: var(--muted); font-size: .93rem; line-height: 1.6; margin: 0; }

/* FAQ */
.accordion { display: grid; gap: 10px; }
details.acc { background: #fff; border-radius: 16px; }
details.acc > summary { list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; font-weight: 650; color: var(--ink); position: relative; line-height: 1.4; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B0000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
  transform: translateY(-50%); transition: transform .2s;
}
details.acc[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
.acc__body { padding: 0 22px 20px; font-size: .97rem; color: var(--ink-2); }
.acc__body p:last-child { margin-bottom: 0; }

/* Záverečné CTA – fotka cez celú šírku */
.final { position: relative; overflow: hidden; padding: 96px 0; background: var(--dark); color: var(--on-dark); text-align: center; }
@media (min-width: 900px) { .final { padding: 144px 0; } }
.final__media { position: absolute; inset: 0; }
.final__media img { width: 100%; height: 100%; object-fit: cover; }
.final__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(40, 12, 15, .78) 0%, rgba(40, 12, 15, .6) 60%, rgba(40, 12, 15, .5) 100%); }
.final__inner { position: relative; }
.final .eyebrow { color: var(--red-light); }
.final h2 { color: #fff; font-size: clamp(2rem, 6vw, 3.1rem); letter-spacing: -0.03em; }
.final .lead { color: var(--on-dark); margin: 0 auto 28px; }
.final .j { color: var(--gold); background: none; }
.final .btn-row { justify-content: center; margin-bottom: 22px; }
.final__note { margin: 14px 0 0; font-size: .85rem; color: var(--on-dark-muted); }

/* Pätička */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 56px 0 28px; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer a:hover { text-decoration: underline; }
.footer a .ico { color: var(--red-light); width: 18px; height: 18px; }
.footer__logo { width: 160px; margin-bottom: 16px; }
.footer__inner { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-light); margin-bottom: .9em; }
.footer__links { display: grid; gap: 6px; }
.footer p { margin-bottom: .5em; }
.footer__muted { font-size: .85rem; }
.footer__copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
@media (max-width: 767px) { .footer { padding-bottom: 100px; } }

/* ==========================================================================
   Sticky CTA – len mobil, jeden riadok
   ========================================================================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -16px rgba(34, 28, 27, .3);
  transform: translateY(110%); transition: transform .3s ease; visibility: hidden;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta .btn { min-height: 48px; padding: 0 16px; gap: 6px; }
.sticky-cta__meta { font-weight: 500; font-size: .86rem; opacity: .82; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
