/* CPPF — Centrum pre psychické funkcie
   Dizajnový systém z pôvodného náhľadu (paleta, typografia, karty), rozšírený na viacstránkový web.
   Akcent je priamo vypočítaná farba — pôvodný náhľad ho posúval cez filter: hue-rotate(14deg). */

:root {
  --primary: #37475B;
  --primary-deep: #2A3747;
  --accent: #A47E4D;
  --accent-strong: #86653A;
  --accent-soft: #EFE6D9;
  --bg: #F2F1EB;
  --bg-cream: #FAF8F2;
  --bg-mist: #ECEAE2;
  --ink: #1A2128;
  --muted: #5E6770;
  --card: #FFFFFF;
  --line: rgba(26, 33, 40, 0.08);
  --line-strong: rgba(26, 33, 40, 0.16);
  --shadow-soft: 0 12px 32px -16px rgba(26, 33, 40, 0.18);
  --shadow-lift: 0 28px 60px -24px rgba(26, 33, 40, 0.22);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 1.02rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, white); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -0.012em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.85rem); letter-spacing: -0.014em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
h4 { font-size: 1.08rem; font-weight: 600; }
.em-italic { font-style: italic; font-weight: 500; color: var(--accent); }

.container { width: min(1220px, calc(100% - 2.6rem)); margin: 0 auto; }
.container.narrow { width: min(820px, calc(100% - 2.6rem)); }
section { padding: clamp(3.4rem, 7vw, 6.8rem) 0; }
.bg-cream { background: var(--bg-cream); }
.bg-mist { background: var(--bg-mist); }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ===== Header ===== */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 241, 235, 0.9);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); min-width: 0; }
.brand img { width: 52px; height: 52px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.14rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.brand-name { white-space: nowrap; }

.nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links .sub-toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
  padding: 0.55rem 0.7rem; border-radius: 10px; white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-links > li > a:hover, .nav-links .sub-toggle:hover, .nav-links > li:focus-within > .sub-toggle { background: color-mix(in srgb, var(--primary) 7%, transparent); color: var(--primary); }
.nav-links a.is-active, .nav-links .sub-toggle.is-active { color: var(--primary); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 10px 10px 2px 2px; }
.sub-toggle i { font-size: 0.62rem; opacity: 0.6; transition: transform 0.2s; }
.sub {
  position: absolute; top: calc(100% + 8px); left: -0.4rem;
  min-width: 290px; list-style: none;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lift);
  padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.sub::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle i, .has-sub.open .sub-toggle i { transform: rotate(180deg); }
.sub a { display: flex; align-items: center; gap: 0.7rem; padding: 0.62rem 0.8rem; border-radius: 10px; color: var(--ink); font-size: 0.93rem; }
.sub a i { width: 18px; text-align: center; color: var(--accent); font-size: 0.9rem; }
.sub a:hover { background: color-mix(in srgb, var(--primary) 6%, white); color: var(--primary); }
.sub a.is-active { background: var(--accent-soft); }
.sub .sub-all { border-top: 1px dashed var(--line-strong); margin-top: 0.3rem; padding-top: 0.75rem; font-weight: 600; color: var(--primary); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.74rem 1.35rem; border-radius: 999px;
  background: var(--accent-strong); color: #fff;
  font-weight: 600; font-size: 0.94rem; white-space: nowrap;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px color-mix(in srgb, var(--accent) 75%, transparent); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.45rem; color: var(--ink); cursor: pointer; padding: 0.45rem; border-radius: 10px; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 40; }

/* ===== Buttons ===== */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1.02rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: 1.02rem; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-strong); color: #fff; box-shadow: 0 14px 38px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline i { color: var(--accent); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 600; border-bottom: 1px dashed color-mix(in srgb, var(--primary) 35%, transparent); padding-bottom: 2px; transition: gap 0.2s; }
.link-arrow:hover { gap: 0.75rem; border-bottom-color: var(--primary); }
.link-arrow i { font-size: 0.78rem; }

/* ===== Home hero ===== */
.hero { position: relative; padding: clamp(3.4rem, 7vw, 6.4rem) 0 clamp(3rem, 5vw, 4.6rem); overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 92% 88%, color-mix(in srgb, var(--primary) 13%, transparent) 0%, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.4rem, 5vw, 4.4rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.46rem 1rem; border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent);
  margin-bottom: 1.4rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { max-width: 13ch; margin-bottom: 1.4rem; line-height: 1.04; }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.24rem); color: color-mix(in srgb, var(--ink) 80%, transparent); max-width: 54ch; line-height: 1.6; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-secondary { margin-top: 1.4rem; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.fact-num { font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 600; color: var(--primary); line-height: 1.05; letter-spacing: -0.015em; }
.hero-facts .fact-num { white-space: nowrap; font-size: clamp(1.2rem, 1.75vw, 1.65rem); }
.fact-label { font-size: 0.84rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.4; }
.hero-visual { position: relative; aspect-ratio: 5/6; max-height: 600px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(26,33,40,0.28) 100%); }
.hero-badge {
  position: absolute; bottom: 1.3rem; left: 1.3rem; right: 1.3rem; z-index: 1;
  background: rgba(255, 255, 255, 0.97); border-radius: var(--radius);
  padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.95rem; box-shadow: var(--shadow-soft);
}
.hero-badge .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.hero-badge .small { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.hero-badge .big { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin-top: 2px; }

/* ===== Inner page hero ===== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.4rem, 5vw, 4.4rem) 0 clamp(2.4rem, 4.5vw, 3.8rem); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 4vw, 3.6rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 1.1rem; max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }
.page-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4/3; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.84rem; color: var(--muted); margin-bottom: 1.2rem; list-style: none; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs li + li::before { content: '/'; margin-right: 0.4rem; opacity: 0.5; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; }
.chip i { color: var(--accent); }

/* ===== Section heading ===== */
.sec-head { max-width: 760px; margin: 0 0 3rem; }
.sec-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.sec-eyebrow { display: inline-block; padding: 0.42rem 0.95rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, white); color: var(--primary); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.15rem; }
.sec-head p { color: color-mix(in srgb, var(--ink) 74%, transparent); margin-top: 1rem; font-size: 1.08rem; line-height: 1.65; max-width: 62ch; }
.sec-head.centered p { margin-left: auto; margin-right: auto; }
.sec-foot { margin-top: 2.4rem; display: flex; justify-content: flex-start; }

/* ===== Service cards ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.svc-card { background: var(--card); border-radius: var(--radius); padding: 1.9rem 1.75rem 1.5rem; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; color: var(--ink); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: color-mix(in srgb, var(--accent) 32%, transparent); }
.svc-card::after { content: ''; position: absolute; inset: 0 auto auto 0; width: 44px; height: 3px; background: var(--accent); opacity: 0; transition: opacity 0.25s, width 0.3s; }
.svc-card:hover::after { opacity: 1; width: 72px; }
.svc-card.featured { background: linear-gradient(150deg, color-mix(in srgb, var(--primary) 7%, white) 0%, white 62%); border-color: color-mix(in srgb, var(--primary) 18%, transparent); box-shadow: var(--shadow-soft); }
.svc-card.featured::after { opacity: 1; width: 60px; }
.svc-icon { width: 56px; height: 56px; border-radius: 15px; background: color-mix(in srgb, var(--primary) 10%, white); color: var(--primary); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 1.3rem; transition: background 0.25s, color 0.25s; }
.svc-card.featured .svc-icon { background: var(--primary); color: #fff; }
.svc-card:hover .svc-icon { background: var(--accent-soft); color: var(--accent-strong); }
.svc-card h3 { font-weight: 600; font-size: 1.32rem; line-height: 1.2; margin-bottom: 0.55rem; }
.svc-card p { color: color-mix(in srgb, var(--ink) 74%, transparent); font-size: 0.98rem; line-height: 1.6; flex-grow: 1; margin-bottom: 1.15rem; }
.svc-more { margin-top: auto; padding-top: 0.95rem; border-top: 1px dashed var(--line-strong); color: var(--accent-strong); font-weight: 600; font-size: 0.94rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.svc-more i { transition: transform 0.2s; font-size: 0.78rem; }
.svc-card:hover .svc-more i { transform: translateX(4px); }
.svc-tag { position: absolute; top: 1.3rem; right: 1.3rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-strong); font-weight: 600; }

/* ===== Split feature ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.4rem); align-items: center; }
.split.top { align-items: start; }
.split .sec-head { margin-bottom: 1.5rem; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 1.5rem 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-soft); margin-top: 1.6rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-row .fact-num { font-size: 1.55rem; }
.mosaic { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: 1fr 1fr; gap: 0.9rem; height: clamp(360px, 42vw, 560px); }
.mosaic figure { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 0.8rem; bottom: 0.8rem; background: rgba(255,255,255,0.95); padding: 0.32rem 0.75rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.check-list { list-style: none; display: grid; gap: 0.7rem; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 0.6rem; align-items: start; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-size: 0.7rem; margin-top: 1px; }
.check-list.cols { grid-template-columns: 1fr 1fr; column-gap: 1.6rem; }

/* ===== Dark band ===== */
.band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 4.5vw, 3.6rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: center; position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; width: 340px; height: 340px; bottom: -130px; right: -110px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.band > * { position: relative; z-index: 1; }
.band .sec-eyebrow { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.band h2 { color: #fff; margin-bottom: 1rem; }
.band h2 .em-italic { color: #E3C9A4; }
.band p { color: rgba(255,255,255,0.84); line-height: 1.7; }
.band-list { list-style: none; display: grid; gap: 0.75rem; }
.band-list a, .band-list > li > div { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 1.15rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.13); border-radius: var(--radius); color: #fff; transition: background 0.2s, transform 0.2s; }
.band-list a:hover { background: rgba(255,255,255,0.14); transform: translateX(3px); }
.band-list .ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.15); display: grid; place-items: center; flex-shrink: 0; }
.band-list .ttl { font-weight: 600; }
.band-list .desc { color: rgba(255,255,255,0.74); font-size: 0.88rem; line-height: 1.5; }
.band .btn { margin-top: 1.6rem; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.team-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; color: var(--ink); transition: transform 0.25s, box-shadow 0.25s; }
a.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.team-photo { aspect-ratio: 4/5; background: color-mix(in srgb, var(--primary) 12%, white); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.team-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 16%, white), color-mix(in srgb, var(--accent) 16%, white)); color: var(--primary); font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.team-body { padding: 1.1rem 1.2rem 1.25rem; }
.team-name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.25; }
.team-role { font-size: 0.78rem; color: var(--accent-strong); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.35rem; }

.people { display: grid; gap: 1.6rem; }
.person { display: grid; grid-template-columns: 270px 1fr; gap: clamp(1.5rem, 3.5vw, 2.8rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 2.5vw, 1.8rem); box-shadow: var(--shadow-soft); align-items: start; }
.person .team-photo { border-radius: var(--radius); overflow: hidden; }
.person h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-bottom: 0.5rem; }
.person .roles { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.person .roles span { font-size: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.person.compact { grid-template-columns: 170px 1fr; align-items: center; }

/* ===== Timeline (course outline) ===== */
.timeline { display: grid; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 1.3rem; padding: 1rem 0; position: relative; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 28px; top: 70px; bottom: -6px; width: 2px; background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 50%, transparent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.step .num { width: 58px; height: 58px; border-radius: 50%; background: var(--card); border: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent-strong); font-family: var(--font-display); font-size: 1.35rem; display: grid; place-items: center; box-shadow: 0 8px 24px -10px rgba(0,0,0,0.1); }
.step h3 { font-size: 1.22rem; font-weight: 600; margin: 0.7rem 0 0.5rem; }
.step ul { list-style: none; display: grid; gap: 0.35rem; }
.step li { position: relative; padding-left: 1.1rem; color: color-mix(in srgb, var(--ink) 80%, transparent); font-size: 0.98rem; }
.step li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ===== Prose ===== */
.prose { font-size: 1.04rem; line-height: 1.75; color: color-mix(in srgb, var(--ink) 88%, transparent); }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.4rem; }
.prose h3 { font-size: 1.28rem; font-weight: 600; margin-top: 1.9rem; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 0.5rem; }
.prose ul:not(.check-list):not(.gallery) li { position: relative; padding-left: 1.4rem; }
.prose ul:not(.check-list):not(.gallery) li::before { content: ''; position: absolute; left: 0.2rem; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; position: relative; padding-left: 2.1rem; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: 0.15em; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.prose li ul { margin-top: 0.45rem; }
.prose figure { margin: 1.8rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--bg-mist); }
.prose figure img { max-height: 72vh; width: auto; margin-inline: auto; }
.prose figure.poster { max-width: 440px; background: transparent; }
.prose .source { font-size: 0.9rem; color: var(--muted); font-style: italic; border-top: 1px dashed var(--line-strong); padding-top: 1rem; margin-top: 2rem; }
.prose .lead-p { font-size: 1.16rem; color: var(--ink); }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.1rem; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.45rem 1.4rem; box-shadow: var(--shadow-soft); }
.aside-card h3 { font-size: 1.14rem; font-weight: 600; margin-bottom: 0.8rem; }
.aside-card p { font-size: 0.93rem; color: var(--muted); line-height: 1.55; }
.aside-card.dark { background: linear-gradient(160deg, var(--primary), var(--primary-deep)); color: #fff; border: 0; }
.aside-card.dark h3 { color: #fff; }
.aside-card.dark p { color: rgba(255,255,255,0.8); }
.aside-links { list-style: none; display: grid; gap: 0.15rem; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.55rem 0.2rem; border-bottom: 1px dashed var(--line); color: var(--ink); font-size: 0.94rem; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover, .aside-links a.is-active { color: var(--primary); }
.aside-links a.is-active { font-weight: 600; }
.aside-links a i { font-size: 0.7rem; color: var(--accent); }
.contact-lines { list-style: none; display: grid; gap: 0.7rem; margin: 0.9rem 0 1.1rem; }
.contact-lines li { display: grid; grid-template-columns: 20px 1fr; gap: 0.6rem; font-size: 0.95rem; align-items: start; }
.contact-lines i { color: var(--accent); margin-top: 5px; }
.aside-card.dark .contact-lines i { color: #E3C9A4; }
.contact-lines a { color: inherit; font-weight: 600; }
.aside-card .btn { width: 100%; justify-content: center; padding: 0.85rem 1rem; font-size: 0.96rem; }
.mini-team { list-style: none; display: grid; gap: 0.7rem; }
.mini-team a { display: grid; grid-template-columns: 46px 1fr; gap: 0.75rem; align-items: center; color: var(--ink); }
.mini-team img, .mini-team .initials { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.mini-team .initials { background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; }
.mini-team strong { display: block; font-size: 0.93rem; line-height: 1.25; }
.mini-team span { font-size: 0.8rem; color: var(--muted); }

/* ===== Info cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.stack { grid-template-columns: 1fr; align-content: start; }
.gallery.posters { grid-template-columns: repeat(3, 1fr); }
.gallery.posters .g-item { aspect-ratio: 10 / 16; background: transparent; }
.lector-list { list-style: none; display: grid; gap: 0.75rem; }
.lector-list li { font-size: 0.95rem; line-height: 1.35; }
.lector-list small { color: var(--muted); font-size: 0.82rem; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.45rem; }
.info-card .svc-icon { width: 48px; height: 48px; font-size: 1.1rem; margin-bottom: 1rem; }
.info-card h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: 0.45rem; }
.info-card p { font-size: 0.95rem; color: color-mix(in srgb, var(--ink) 75%, transparent); }
.info-card .when { margin-top: 0.9rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; font-weight: 600; color: var(--accent-strong); }

.loc-card { background: var(--card); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.loc-city { font-size: 0.74rem; color: var(--accent-strong); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 0.35rem; }
.loc-card h3 { font-weight: 600; margin-bottom: 0.8rem; }
.loc-row { display: grid; grid-template-columns: 18px 1fr; gap: 0.7rem; padding: 0.65rem 0; font-size: 0.95rem; }
.loc-row + .loc-row { border-top: 1px dashed var(--line); }
.loc-row i { color: var(--accent); margin-top: 5px; }
.loc-row a { color: var(--ink); font-weight: 500; }
.loc-row .lbl { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== Courses ===== */
.course-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.7rem 1.5rem; display: flex; flex-direction: column; color: var(--ink); transition: transform 0.25s, box-shadow 0.25s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.course-card .kicker { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-strong); font-weight: 600; }
.course-card h3 { font-size: 1.35rem; font-weight: 600; margin: 0.5rem 0 0.35rem; }
.course-card .sub-title { font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem; }
.course-card p { font-size: 0.96rem; color: color-mix(in srgb, var(--ink) 76%, transparent); flex-grow: 1; }
.course-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.1rem 0 0.2rem; }
.course-meta span { font-size: 0.8rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 7%, white); color: var(--primary); font-weight: 500; }
.course-meta span.price { background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; }

/* ===== Gallery + lightbox ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.7rem; }
.gallery.large { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g-item { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-mist); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-item.poster img { object-fit: contain; background: var(--bg-mist); }
.gallery-block + .gallery-block { margin-top: 2.6rem; }
.gallery-block h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.3rem; }
.gallery-block .gb-note { font-size: 0.92rem; color: var(--muted); margin-bottom: 1rem; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 20, 26, 0.94); display: none; align-items: center; justify-content: center; padding: 3.5rem 4.5rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-btn { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,0.24); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.75); font-size: 0.85rem; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform 0.25s, box-shadow 0.25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.news-img { aspect-ratio: 16/10; background: var(--bg-mist); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-img.poster img { object-fit: contain; }
.news-img.none { display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--primary) 12%, white), var(--accent-soft)); }
.news-img.none img { width: 88px; height: 88px; opacity: 0.9; }
.news-body { padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex-grow: 1; }
.news-date { font-size: 0.8rem; color: var(--accent-strong); font-weight: 600; letter-spacing: 0.04em; }
.news-card h3 { font-size: 1.16rem; font-weight: 600; line-height: 1.3; margin: 0.4rem 0 0.5rem; }
.news-card p { font-size: 0.93rem; color: color-mix(in srgb, var(--ink) 72%, transparent); flex-grow: 1; }
.news-year { font-family: var(--font-display); font-size: 1.6rem; margin: 2.6rem 0 1.1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line-strong); }
.news-year:first-child { margin-top: 0; }
.article-head { max-width: 820px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: none; }
.article-date { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--accent-strong); margin-bottom: 0.9rem; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.article-nav a { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--ink); transition: box-shadow 0.2s; }
.article-nav a:hover { box-shadow: var(--shadow-soft); }
.article-nav .dir { display: block; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.article-nav .next { text-align: right; }
.article-nav strong { font-family: var(--font-display); font-weight: 600; line-height: 1.3; }

/* ===== Docs ===== */
.doc-list { list-style: none; display: grid; gap: 0.7rem; }
.doc-list a { display: grid; grid-template-columns: 46px 1fr auto; gap: 1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; color: var(--ink); transition: box-shadow 0.2s, border-color 0.2s; }
.doc-list a:hover { box-shadow: var(--shadow-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.doc-list .ico { width: 46px; height: 46px; border-radius: 12px; background: #F6E3E1; color: #A8332B; display: grid; place-items: center; font-size: 1.2rem; }
.doc-list .size { font-size: 0.84rem; color: var(--muted); white-space: nowrap; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.4rem; font-size: 0.98rem; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; }

/* ===== FAQ ===== */
.faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 3.5vw, 3.5rem); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.faq-wrap { background: var(--card); border-radius: var(--radius); padding: 0.3rem 1.7rem; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q { cursor: pointer; padding: 1.35rem 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.4rem; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.35; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.icon-plus { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 10%, white); color: var(--primary); display: grid; place-items: center; transition: transform 0.3s, background 0.3s, color 0.3s; font-size: 0.8rem; }
.faq-item[open] .icon-plus { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { padding: 0 0 1.35rem; color: color-mix(in srgb, var(--ink) 78%, transparent); line-height: 1.72; max-width: 62ch; }
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Contact + form ===== */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 3.5vw, 3rem); align-items: stretch; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 380px; background: var(--card); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.form-card { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-soft); }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 0.4rem; }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.bf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.bf-full { grid-column: 1 / -1; }
.bf-field label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.bf-field input, .bf-field select, .bf-field textarea { padding: 0.75rem 0.95rem; border: 1.5px solid color-mix(in srgb, var(--ink), #fff 80%); border-radius: var(--radius-sm); font: inherit; font-size: 0.95rem; color: var(--ink); background: #fff; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.bf-field input:focus, .bf-field select:focus, .bf-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary), transparent 80%); }
.bf-field .invalid { border-color: #c4302b !important; }
.bf-field textarea { resize: vertical; min-height: 96px; }
.bf-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); margin: 0.2rem 0 1.2rem; }
.bf-check input { margin-top: 4px; accent-color: var(--primary); }
.bf-check.invalid, .bf-check:has(.invalid) { color: #c4302b; }
.bf-hint { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.bf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bf-error { background: #fdf0ef; border-left: 3px solid #c4302b; color: #7d1f1b; padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.92rem; margin: 0 0 1rem; }
.bf-error a { color: inherit; font-weight: 700; }
.bf-success { text-align: center; padding: 2rem 1rem; }
.bf-success i { font-size: 2.4rem; color: var(--accent-strong); display: block; margin-bottom: 0.6rem; }
.bf-success h3 { margin-bottom: 0.4rem; }
.bf-success p { color: var(--muted); }
.note { display: flex; gap: 0.8rem; align-items: flex-start; background: var(--accent-soft); border-radius: var(--radius-sm); padding: 1rem 1.15rem; font-size: 0.95rem; }
.note i { color: var(--accent-strong); margin-top: 4px; }

/* ===== CTA strip ===== */
.cta-strip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.6rem, 4vw, 2.8rem); display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; box-shadow: var(--shadow-soft); flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-strip p { color: var(--muted); margin-top: 0.35rem; }

/* ===== Footer ===== */
footer.site { background: linear-gradient(180deg, #1F2A34 0%, #161E27 100%); color: rgba(255, 255, 255, 0.76); padding: 4rem 0 2rem; font-size: 0.94rem; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.6rem; margin-bottom: 2.6rem; }
footer.site h4 { color: #fff; margin-bottom: 1rem; font-size: 0.86rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
footer.site .brand { color: #fff; }
footer.site .brand-sub { color: rgba(255,255,255,0.55); }
footer.site .brand img { background: rgba(255,255,255,0.06); border-radius: 50%; }
.foot-about { line-height: 1.7; margin-top: 1.1rem; max-width: 40ch; color: rgba(255,255,255,0.68); }
.foot-list { list-style: none; display: grid; gap: 0.55rem; }
.foot-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.foot-list a { color: rgba(255, 255, 255, 0.78); transition: color 0.2s; }
.foot-list a:hover { color: #fff; }
.foot-list i { color: #D4B48A; margin-top: 5px; font-size: 0.85rem; width: 16px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.55); }
.foot-bottom a { color: rgba(255, 255, 255, 0.7); }

/* ===== Sticky mobile CTA ===== */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-strong); padding: 0.65rem; gap: 0.55rem; box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.12); }
.sticky-cta a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 0.5rem; border-radius: 12px; font-weight: 600; font-size: 0.92rem; }
.sticky-cta .call { background: var(--primary); color: #fff; }
.sticky-cta .book { background: var(--accent-strong); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1360px) {
  .brand-sub { display: none; }
}
@media (max-width: 1240px) {
  .nav-links > li > a, .nav-links .sub-toggle { padding: 0.5rem 0.48rem; font-size: 0.92rem; }
  .nav-cta { padding: 0.7rem 1.1rem; }
}
@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  /* backdrop-filter robí z hlavičky containing block pre position:fixed — zásuvka menu by sa
     orezala na výšku hlavičky. Na mobile preto plná farba bez rozmazania. */
  header.site { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(380px, 100%);
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    background: var(--bg-cream); padding: 1rem 1rem 6rem; overflow-y: auto;
    display: none; z-index: 45;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,0.25);
  }
  /* display:none, nie translateX — posunutý fixed panel by rozšíril stránku do strany */
  .nav-links.open { display: flex; animation: drawer-in 0.22s ease; }
  @keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .nav-backdrop.show { display: block; }
  .nav-links > li > a, .nav-links .sub-toggle { width: 100%; justify-content: space-between; padding: 0.85rem 0.9rem; font-size: 1.02rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0.4rem 0.6rem; min-width: 0; display: none; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .nav-links .nav-cta-item { margin-top: 0.8rem; }
  .nav-links .nav-cta-item .nav-cta { width: 100%; justify-content: center; }
  .nav > .nav-cta { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1081px) { .nav-links .nav-cta-item { display: none; } }
@media (max-width: 880px) {
  .hero-grid, .page-hero-grid, .split, .band, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/11; max-height: none; }
  .page-hero-img { max-height: 360px; }
  .person { grid-template-columns: 1fr; }
  .person .team-photo { max-width: 260px; }
  .person.compact { grid-template-columns: 110px 1fr; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  .card-grid.two { grid-template-columns: 1fr; }
  .check-list.cols { grid-template-columns: 1fr; }
  .lightbox { padding: 3.5rem 0.6rem; }
  .lb-prev, .lb-next { top: auto; bottom: 0.8rem; transform: none; }
  .lb-prev { left: 30%; } .lb-next { right: 30%; }
}
@media (max-width: 600px) {
  .container, .container.narrow { width: calc(100% - 2.2rem); }
  .services-grid, .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .team-body { padding: 0.85rem 0.9rem 1rem; }
  .team-name { font-size: 0.98rem; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .bf-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; height: 420px; }
  .foot-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
  .doc-list a { grid-template-columns: 40px 1fr; }
  .doc-list .size { grid-column: 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1rem; }
  .person.compact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
