/* Poradna KL – vizuální systém „Rozhovor“
   Motiv: chatová bublina (zaoblený tvar s jedním ostrým rohem). Malinová = vy, meruňková = poradna.
   Pravidla: tělo textu min. 18 px, písmo Satoshi (Indian Type Foundry, Fontshare, licence ITF FFL),
   kontrast textu AAA, cíle kliknutí min. 48 px, tlačítka = pilulky, plochy = bubliny. */

@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Tokeny ----------
   Barevnost „Malina“ (vybral klient 8. 10. 2026). Názvy --blue/--yellow zůstaly z původní palety:
   --blue = hlavní malinová, --yellow = meruňkový akcent. */
:root {
  color-scheme: light;
  --paper: #F7F3F0;
  --white: #FFFFFF;
  --ink: #2A1219;
  --ink-2: #573F47;
  --blue: #8E1B3E;
  --blue-deep: #6B132D;
  --on-blue: #FFFFFF;
  --on-blue-2: #FDEFF3;
  --yellow: #FFC29E;
  --sky: #F6DCE3;
  --butter: #FFE8DA;
  --peach: #EDE6DC;
  --line: rgb(42 18 25 / .14);
  --field: #6E5560;
  --error: #B42318;
  --crisis: #FFC2AD;
  --logo-b1-dark: var(--sky);
  /* Hero a záhlaví podstránek (panel) = sytá hlavní barva */
  --panel: var(--blue);
  --on-panel: var(--on-blue);
  --on-panel-2: var(--on-blue-2);
  --panel-accent: var(--yellow);
  --panel-btn: var(--yellow);
  --panel-btn-fg: var(--ink);
  --panel-btn-hover: var(--white);
  --panel-chip: rgb(42 18 25 / .28);
  --panel-line: rgb(255 255 255 / .75);
  --panel-soft: rgb(255 255 255 / .07);
  --panel-deco: rgb(255 255 255 / .14);

  --display: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1.125rem;
  --fs-lead: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  --fs-small: 1rem;
  --fs-h1: clamp(2.75rem, 1.6rem + 4.6vw, 5.75rem);
  --fs-h2: clamp(2.125rem, 1.5rem + 2.4vw, 3.75rem);
  --fs-h3: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);

  --r-bubble: 36px 36px 36px 6px;      /* bublina „vy“: ostrý roh vlevo dole */
  --r-bubble-r: 36px 36px 6px 36px;    /* bublina „poradna“: ostrý roh vpravo dole */
  --r-panel: 40px;
  --r-field: 14px;
  --gutter: 16px;
  --edge: 10px;                         /* odsazení „breakout“ panelů od okraje okna */
  --container: 1240px;
  --section: clamp(4rem, 2.8rem + 4.5vw, 7.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --fs-body: 1.1875rem; --gutter: 32px; --edge: 20px; } }

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: var(--fs-body); font-weight: 500; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 900; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -.035em; line-height: .96; }
h2 { font-size: var(--fs-h2); letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: var(--fs-h2); } .h3 { font-size: var(--fs-h3); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
p, ul, ol, dl, figure { margin: 0; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); }
.measure { max-width: 64ch; }

a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: currentColor; }
a:hover { text-decoration-thickness: 3px; }
main a:not([class]) { color: var(--blue); }

/* Fokus: tmavý + žlutý prstenec, čitelný na papíře i na modré */
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
a:focus-visible { outline: 3px solid transparent; background: var(--yellow); color: var(--ink) !important; box-shadow: 0 -2px var(--yellow), 0 4px var(--ink); text-decoration: none; }
a:focus-visible .i { color: var(--ink); }
@media (forced-colors: active) { :focus-visible { outline: 3px solid CanvasText; } }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -120px; z-index: 100; padding: 14px 22px; background: var(--yellow); color: var(--ink); font-weight: 700; border-radius: 0 0 16px 16px; }
.skip-link:focus { top: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.pt-0 { padding-top: 0 !important; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.mark { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 94%, transparent 94%); padding-inline: .05em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--text); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; color: var(--blue); margin-bottom: 18px; line-height: 1.3; }
.kicker::before { content: ""; width: 18px; height: 14px; background: currentColor; border-radius: 6px 6px 6px 1px; flex: none; }

/* ---------- Tlačítka (pilulky) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 56px; padding: .7em 1.6em; border: 2px solid transparent; border-radius: 999px; font: inherit; font-size: 1.125rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .i { width: 1.25em; height: 1.25em; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--on-blue); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--sun { background: var(--yellow); color: var(--ink); }
.btn--sun:hover { background: var(--white); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-light { background: transparent; color: var(--on-blue); border-color: rgb(255 255 255 / .75); }
.btn--ghost-light:hover { background: var(--on-blue); color: var(--blue); border-color: var(--on-blue); }
.btn--quiet { min-height: 48px; padding: .5em 1.15em; background: var(--white); color: var(--ink); border-color: var(--line); font-size: 1rem; }
.btn--quiet:hover { border-color: var(--ink); }
.btn:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
.btn[aria-disabled="true"] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } .btn { white-space: normal; text-align: center; } }
@media (forced-colors: active) { .btn { border-color: ButtonText; } }

.arrow-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; padding-block: .5em; color: var(--ink); }
.arrow-link .i { transition: transform .2s var(--ease); }
.arrow-link:hover .i { transform: translateX(4px); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding-block: 8px; }
.brand__mark { width: 48px; height: auto; flex: none; }
.brand__b1 { fill: var(--blue); } .brand__b2 { fill: var(--yellow); } .brand__b3 { fill: var(--ink); }
.brand__name { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5625rem; letter-spacing: -.035em; line-height: .95; }
.brand__name span { color: var(--blue); }
.brand__sub { display: block; margin-top: 5px; font-size: .8125rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; line-height: 1; }
.brand--light { color: var(--white); }
.brand--light .brand__name span { color: var(--yellow); }
.brand--light .brand__sub { color: #D9C2C9; }
.brand--light .brand__b3 { fill: var(--paper); }
.brand--light .brand__b1 { fill: var(--logo-b1-dark, var(--blue)); }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: saturate(1.5) blur(12px); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.nav__list { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 13px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 1.0625rem; font-weight: 650; white-space: nowrap; transition: background-color .15s var(--ease); }
.nav__link:hover { background: rgb(42 18 25 / .07); }
.nav__link[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav__cta { margin-left: 10px; }
.nav__cta .btn { min-height: 50px; padding: .55em 1.25em; font-size: 1.0625rem; }
.nav-toggle { display: none; }
@media (max-width: 1359px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 1.0625rem; font-weight: 700; cursor: pointer; }
  .nav-toggle .i { width: 24px; height: 24px; }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(42 18 25 / .35); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; padding: 8px var(--gutter) 24px; width: min(100%, var(--container) + 2 * var(--gutter)); margin-inline: auto; }
  .nav__link { width: 100%; min-height: 58px; padding: 0 18px; font-family: var(--display); font-size: 1.625rem; font-weight: 700; letter-spacing: -.02em; }
  .nav__cta { margin: 14px 0 0; }
  .nav__cta .btn { width: 100%; min-height: 58px; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; }
}

/* ---------- Dekorativní bubliny ---------- */
.bubble { position: absolute; display: block; border-radius: var(--r-bubble); }

/* ---------- Hero ---------- */
.hero { padding: 6px var(--edge) 0; }
.hero__panel { position: relative; overflow: hidden; display: grid; align-items: center; min-height: calc(100svh - var(--header-h) - 6px - var(--edge)); background: var(--panel); color: var(--on-panel); border-radius: var(--r-panel); }
.hero h1 { font-size: min(var(--fs-h1), 11.5svh); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; padding-block: clamp(36px, 5vw, 80px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; margin-bottom: 26px; border-radius: 999px; background: var(--panel-chip); font-size: 1rem; font-weight: 700; color: var(--on-panel); }
.hero__eyebrow .i { width: 22px; height: 22px; color: var(--panel-accent); }
.hero h1 { color: var(--on-panel); max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--panel-accent); }
.hero .lead { margin-top: 26px; color: var(--on-panel-2); max-width: 30ch; }
.hero .lead strong { color: var(--on-panel); }
.hero .btn-row { margin-top: 38px; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 560px); aspect-ratio: 1 / .92; isolation: isolate; }
.hero__photo { position: absolute; inset: 4% 2% 8% 10%; overflow: hidden; border-radius: 56px 56px 56px 8px; background: var(--yellow); }
.duo { background: var(--yellow); overflow: hidden; }
.hero__photo img, .duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.08); mix-blend-mode: multiply; }
.duo--sky { background: var(--sky); }
.hero__visual .bubble--a { width: 46%; aspect-ratio: 1.35; left: -1%; bottom: -3%; background: var(--peach); border-radius: 32px 32px 6px 32px; z-index: -1; }
.hero__visual .bubble--b { width: 26%; aspect-ratio: 1.25; right: 0; top: 0; background: var(--sky); z-index: -1; }
.hero__visual .bubble--c { left: 0; bottom: 6%; z-index: 2; padding: 14px 22px; background: var(--white); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, .95rem + .9vw, 1.75rem); letter-spacing: -.02em; line-height: 1.1; border-radius: 26px 26px 26px 4px; box-shadow: 0 24px 40px -22px rgb(0 0 0 / .55); }
.hero__visual .bubble--c span { display: block; font-family: var(--text); font-size: 1rem; font-weight: 650; letter-spacing: 0; color: var(--ink-2); margin-top: 4px; }
.hero__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__deco .bubble { background: var(--panel-soft); }
.hero__deco .d1 { width: 560px; height: 380px; right: -180px; bottom: -230px; border-radius: 140px 140px 16px 140px; }
@media (max-width: 599px) { .hero__deco { display: none; } .topic-card__bg { width: 34%; bottom: -30%; right: -10%; } }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 4vw, 72px); }
  .hero__visual { width: min(100%, 600px, calc((100svh - var(--header-h) - 150px) / .92)); }
}
@media (max-width: 959px) {
  .hero__visual { width: min(100%, 460px); aspect-ratio: 1.3; }
}
@media (max-width: 599px) {
  .hero__grid { gap: 26px; padding-top: 28px; padding-bottom: 28px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero .lead { margin-top: 16px; }
  .hero .btn-row { margin-top: 24px; }
  .hero__visual { aspect-ratio: 1.6; }
  .hero__photo { inset: 0 0 0 8%; border-radius: 40px 40px 40px 8px; }
  .hero__visual .bubble--a, .hero__visual .bubble--b { display: none; }
  .hero__visual .bubble--c { bottom: 10%; padding: 10px 16px; }
}

/* ---------- Nadpis sekce ---------- */
.section-head { margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 4rem); }
.section-head h2 { max-width: 16ch; }
.section-head p { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }

/* ---------- Oblasti pomoci: bento z bublin ---------- */
.topics { list-style: none; padding: 0; display: grid; gap: 14px; }
.topic-card { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 250px; padding: clamp(26px, 3vw, 44px); border-radius: var(--r-bubble); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .25s var(--ease); }
.topic-card:hover { transform: translateY(-4px); }
.topic-card--sky { background: var(--sky); }
.topic-card--butter { background: var(--butter); border-radius: var(--r-bubble-r); }
.topic-card--peach { background: var(--peach); }
.topic-card__icon { display: grid; place-items: center; width: 70px; height: 62px; border-radius: 22px 22px 22px 4px; background: var(--white); color: var(--blue); }
.topic-card__icon .i { width: 34px; height: 34px; }
.topic-card__title { display: block; margin-top: auto; padding-top: 36px; font-family: var(--display); font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; }
.topic-card__desc { display: block; margin-top: 12px; color: var(--ink); max-width: 36ch; }
.topic-card__bg { position: absolute; right: -7%; bottom: -24%; width: 38%; max-width: 230px; color: var(--ink); opacity: .07; pointer-events: none; transition: transform .4s var(--ease); }
.topic-card__bg .i { width: 100%; height: auto; }
.topic-card:hover .topic-card__bg { transform: rotate(-6deg) scale(1.04); }
.topic-card--feature .topic-card__bg { width: 58%; max-width: 360px; right: -4%; top: 22%; bottom: auto; }
.topic-card__go { position: absolute; top: clamp(26px, 3vw, 44px); right: clamp(26px, 3vw, 44px); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform .3s var(--ease), background-color .2s var(--ease); }
.topic-card__go .i { width: 24px; height: 24px; }
.topic-card:hover .topic-card__go { transform: rotate(-45deg); background: var(--blue); }
.topic-card:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); text-decoration: none; }
.topic-card--feature .topic-card__title { font-size: clamp(2.25rem, 1.5rem + 2.8vw, 4rem); }
.topic-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.topic-card__tags li { padding: 7px 15px; border-radius: 999px; background: rgb(255 255 255 / .75); font-size: 1rem; font-weight: 650; }
@media (min-width: 900px) {
  .topics { grid-template-columns: 1.15fr 1fr; gap: 18px; }
  .topics > li:first-child { grid-row: span 2; }
  .topic-card--feature { min-height: 540px; }
}

/* ---------- Jak to funguje: chat ---------- */
.how { display: grid; gap: 44px; }
@media (min-width: 960px) { .how { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 120px); align-items: start; } .how__intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.how__intro p { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 32ch; }
.how__intro .arrow-link { margin-top: 18px; }
.chat { list-style: none; padding: 0; display: grid; gap: 22px; }
.msg { width: min(100%, 540px); }
.msg__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1rem; font-weight: 700; color: var(--ink-2); }
.msg__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 800; font-size: 1.0625rem; }
.msg__bubble { padding: 24px 28px 26px; border-radius: var(--r-bubble); background: var(--white); }
.msg__bubble h3 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); }
.msg__bubble p { margin-top: 8px; color: var(--ink-2); }
.msg--you { justify-self: end; }
.msg--you .msg__meta { justify-content: flex-end; }
.msg--you .msg__bubble { background: var(--blue); color: var(--on-blue); border-radius: var(--r-bubble-r); }
.msg--you .msg__bubble p { color: var(--on-blue); }
.msg--sun .msg__bubble { background: var(--yellow); }
.msg--sun .msg__bubble p { color: var(--ink); }
.msg__avatar { width: 34px; height: auto; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .msg { animation: msg-in linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes msg-in { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Komu pomáháme ---------- */
.statement { font-family: var(--display); font-size: clamp(2rem, 1.3rem + 2.9vw, 4.25rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; max-width: 21ch; text-wrap: balance; }
.statement-note { margin-top: 28px; color: var(--ink-2); max-width: 56ch; font-size: var(--fs-lead); line-height: 1.5; }
.promises-head { margin-top: clamp(48px, 6vw, 96px); font-size: var(--fs-h3); }
.promises { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 14px; }
.promise { position: relative; overflow: hidden; padding: 28px 30px 30px; border-radius: var(--r-bubble); background: var(--white); }
.promise:first-child { background: var(--blue); color: var(--on-blue); }
.promise:first-child p { color: var(--on-blue); }
.promise:first-child h3 .i { background: rgb(255 255 255 / .16) !important; color: var(--yellow) !important; }
.promise:nth-child(3) { background: var(--sky); }
.promise__big { display: block; margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: .9; letter-spacing: -.03em; color: var(--yellow); }
.promise:nth-child(2) { border-radius: var(--r-bubble-r); }
.promise h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.promise h3 .i { width: 44px; height: 40px; padding: 8px; border-radius: 12px 12px 12px 3px; background: var(--sky); color: var(--blue); }
.promise:nth-child(2) h3 .i { background: var(--butter); color: var(--ink); border-radius: 12px 12px 3px 12px; }
.promise:nth-child(3) h3 .i { background: var(--white); color: var(--blue); }
.promise p { margin-top: 12px; color: var(--ink-2); }
@media (min-width: 860px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ---------- Kde nás najdete ---------- */
.place { display: grid; background: var(--white); border-radius: var(--r-panel); overflow: hidden; }
.place__media { position: relative; min-height: 340px; }
.place__media img { position: absolute; inset: 0; }
.place__pin { position: absolute; left: 50%; top: 50%; translate: -50% -100%; display: grid; place-items: center; width: 80px; height: 68px; border-radius: 26px 26px 26px 4px; background: var(--yellow); color: var(--ink); box-shadow: 0 18px 30px -12px rgb(0 0 0 / .5); }
.place__pin .i { width: 36px; height: 36px; }
.place__body { padding: clamp(28px, 4vw, 64px); }
.place__addr { font-family: var(--display); font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; font-style: normal; }
.place__addr span { display: block; color: var(--blue); }
@media (min-width: 900px) { .place { grid-template-columns: 1fr 1fr; } }
.facts { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 18px; }
.fact { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.fact > .i { width: 46px; height: 42px; padding: 9px; border-radius: 14px 14px 14px 3px; background: var(--paper); color: var(--blue); }
.fact strong { display: block; }
.place .btn-row { margin-top: 30px; }
.photo-credit { margin-top: 24px; font-size: .9375rem; color: var(--ink-2); }

/* ---------- Výzva na konci stránky ---------- */
.cta { padding-inline: var(--edge); }
.cta-panel { position: relative; overflow: hidden; display: grid; gap: 28px 48px; align-items: center; padding: clamp(40px, 6vw, 96px) clamp(24px, 6vw, 96px); border-radius: var(--r-panel); background: var(--yellow); color: var(--ink); }
.cta-panel h2 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 5rem); max-width: 12ch; position: relative; }
.cta-panel p { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.5; max-width: 38ch; position: relative; }
.cta-panel .btn-row { position: relative; z-index: 1; }
.cta-panel .deco { position: absolute; right: -30px; bottom: -50px; width: clamp(240px, 28vw, 420px); pointer-events: none; }
.deco .b1 { fill: var(--blue); } .deco .b2 { fill: var(--white); } .deco .b3 { fill: var(--ink); }
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1fr auto; padding-right: clamp(260px, 30vw, 440px); } }
@media (max-width: 899px) { .cta-panel .deco { width: 150px; right: -24px; bottom: -36px; } .cta-panel { padding-bottom: 120px; } }

/* ---------- Záhlaví podstránky ---------- */
.page-head { padding: 6px var(--edge) 0; }
.page-head__panel { position: relative; overflow: hidden; background: var(--panel); color: var(--on-panel); border-radius: var(--r-panel); padding-block: clamp(44px, 6vw, 96px); }
.page-head__panel .container { position: relative; z-index: 1; }
.page-head h1 { color: var(--on-panel); max-width: 14ch; font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5.25rem); }
.page-head .lead { margin-top: 22px; color: var(--on-panel-2); max-width: 52ch; }
.page-head .deco { position: absolute; right: clamp(-60px, -3vw, -20px); bottom: clamp(-80px, -5vw, -36px); width: clamp(220px, 26vw, 380px); pointer-events: none; }
.page-head .deco .b1 { fill: var(--panel-deco); } .page-head .deco .b2 { fill: var(--yellow); } .page-head .deco .b3 { fill: var(--ink); }
@media (max-width: 899px) { .page-head .deco { width: 150px; right: -40px; bottom: -50px; opacity: .5; } }
@media (max-width: 699px) { .page-head .deco { display: none; } }
.page-head__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 20px 8px 10px; background: var(--white); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; transition: background-color .15s var(--ease); }
.chip:hover { background: var(--yellow); }
.chip .i { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--sky); color: var(--blue); }

/* ---------- Oblasti (S čím pomáháme) ---------- */
.area { display: grid; gap: 28px 64px; padding: clamp(28px, 4vw, 60px); border-radius: var(--r-panel); background: var(--white); }
.area + .area { margin-top: 16px; }
@media (min-width: 900px) { .area { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .area__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.area__head { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.area__icon { display: grid; place-items: center; width: 76px; height: 68px; border-radius: 24px 24px 24px 4px; background: var(--sky); color: var(--blue); }
.area:nth-child(2) .area__icon { background: var(--butter); color: var(--ink); border-radius: 24px 24px 4px 24px; }
.area:nth-child(3) .area__icon { background: var(--peach); color: var(--ink); }
.area__icon .i { width: 36px; height: 36px; }
.area__head h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); }
.checklist { list-style: none; padding: 0; display: grid; gap: 0; }
.checklist > li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.checklist > li:first-child { padding-top: 4px; }
.checklist > li:last-child { border-bottom: 0; }
.checklist .i { width: 28px; height: 28px; color: var(--blue); margin-top: 1px; }
.checklist--cross .i { color: var(--error); }
.note { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 20px 24px; border-radius: 24px 24px 24px 4px; background: var(--butter); }
.note .i { width: 28px; height: 28px; color: var(--ink); }
.note > div > * + * { margin-top: .5em; }

/* Služby */
.services { display: grid; gap: 16px; }
.service { padding: clamp(28px, 3.5vw, 52px); background: var(--white); border-radius: var(--r-panel); }
.service:not(.service--wide) { display: flex; flex-direction: column; }
.service__top { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.service__top .area__icon { width: 64px; height: 58px; }
.service__top .area__icon .i { width: 30px; height: 30px; }
.service h2 { font-size: clamp(1.875rem, 1.45rem + 1.5vw, 2.75rem); }
.service > p + p, .service > p + ul { margin-top: 16px; }
.service__img { margin-top: auto; padding-top: 28px; }
.service__img .duo { aspect-ratio: 16 / 10; border-radius: 28px 28px 28px 4px; }
.service--wide { display: grid; gap: 32px; background: var(--blue); color: var(--on-blue); }
.service--wide .area__icon { background: rgb(255 255 255 / .14); color: var(--yellow); }
.service--wide p { color: var(--on-blue-2); }
.service--wide .note { background: rgb(42 18 25 / .22); }
.service--wide .note .i { color: var(--yellow); }
.service--wide .note p { color: var(--on-blue); }
@media (min-width: 960px) { .services { grid-template-columns: 1fr 1fr; gap: 18px; } .service--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.flowlist { list-style: none; padding: 0; counter-reset: fl; display: grid; gap: 12px; }
.flowlist li { counter-increment: fl; display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: 24px 24px 24px 4px; background: rgb(42 18 25 / .22); color: var(--on-blue); }
.flowlist li::before { content: counter(fl); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.not-offered { padding: clamp(28px, 4vw, 64px); border-radius: var(--r-panel); background: var(--white); }
.not-offered h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.not-offered > p { margin-top: 12px; font-size: var(--fs-lead); color: var(--ink-2); }
.not-offered .checklist { margin-top: 24px; }
@media (min-width: 900px) { .not-offered .checklist { grid-template-columns: 1fr 1fr; column-gap: 48px; } .not-offered .checklist > li:nth-child(2) { padding-top: 4px; } .not-offered .checklist > li:nth-last-child(2) { border-bottom: 0; } }

/* Jak to funguje (podstránka) */
.bring { padding: clamp(28px, 4vw, 52px); background: var(--white); border-radius: var(--r-panel); }
.bring__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.bring__head h2 { font-size: clamp(1.875rem, 1.45rem + 1.5vw, 2.75rem); }
.bring__list { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 8px; }
.bring__item label { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; padding: 16px 18px; border-radius: 20px 20px 20px 4px; background: var(--paper); cursor: pointer; transition: background-color .15s var(--ease); }
.bring__item label:hover { background: var(--sky); }
.bring__item input:checked + span { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-2); }
.bring__hint { margin-top: 18px; color: var(--ink-2); font-size: var(--fs-small); }
@media (min-width: 960px) { .how--page { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .how--page .bring { position: sticky; top: calc(var(--header-h) + 32px); } }

/* FAQ */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; } .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-tools { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 26px 26px 26px 4px; background: var(--white); transition: background-color .2s var(--ease); }
.faq details[open] { background: var(--sky); }
.faq summary { display: grid; grid-template-columns: 1fr 46px; gap: 16px; align-items: center; min-height: 76px; padding: 14px 16px 14px 28px; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; border-radius: inherit; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform .25s var(--ease), background-color .2s var(--ease); }
.faq__icon .i { width: 22px; height: 22px; }
.faq summary:hover .faq__icon { background: var(--blue); }
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--blue); }
.faq__answer { padding: 0 28px 26px; max-width: 64ch; }
.faq__answer > * + * { margin-top: .75em; }
.aside-card { padding: 30px; border-radius: var(--r-panel); background: var(--white); }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h2 { font-size: clamp(1.625rem, 1.4rem + .8vw, 2rem); }
.aside-card p { margin-top: 10px; }
.aside-card .btn { margin-top: 22px; width: 100%; }
.aside-card--blue { background: var(--blue); color: var(--on-blue); }
.aside-card--blue p { color: var(--on-blue-2); }
.crisis { background: var(--crisis); }
.crisis h2 { display: flex; align-items: center; gap: 12px; }
.crisis h2 .i { width: 32px; height: 32px; }
.crisis__nums { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 8px; }
.crisis .crisis__nums a { display: grid; gap: 2px; padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: rgb(255 255 255 / .65); text-decoration: none; color: var(--ink); }
.crisis__nums a:hover { background: var(--white); }
.crisis__nums strong { font-family: var(--display); font-size: 1.875rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* O nás */
.mission-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .mission-grid { grid-template-columns: 1.35fr 1fr; gap: clamp(48px, 7vw, 112px); } }
.mission { font-family: var(--display); font-size: clamp(1.75rem, 1.2rem + 2.1vw, 3.25rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; }
.mission-photo { aspect-ratio: 4 / 3.4; border-radius: 56px 56px 8px 56px; }
.values { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.value { padding: 30px; border-radius: var(--r-bubble); background: var(--white); }
.value:nth-child(2) { border-radius: var(--r-bubble-r); }
.value h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.value h3 .i { width: 44px; height: 40px; padding: 8px; border-radius: 12px 12px 12px 3px; background: var(--sky); color: var(--blue); }
.value:nth-child(2) h3 .i { background: var(--butter); color: var(--ink); }
.value:nth-child(3) h3 .i { background: var(--peach); color: var(--ink); }
.value p { margin-top: 12px; color: var(--ink-2); }
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; list-style: none; padding: 0; }
.partners li { display: grid; place-items: center; min-height: 120px; border: 2px dashed rgb(42 18 25 / .25); border-radius: 24px 24px 24px 4px; color: var(--ink-2); font-size: var(--fs-small); text-align: center; padding: 12px; }
.support-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .support-grid { grid-template-columns: 1.35fr 1fr; gap: 18px; } }
.support-panel { padding: clamp(32px, 5vw, 64px); border-radius: var(--r-panel); background: var(--blue); color: var(--on-blue); }
.support-panel h2 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); }
.support-panel p { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.5; color: var(--on-blue-2); max-width: 40ch; }
.account { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; padding: 18px 22px; background: rgb(255 255 255 / .12); border-radius: 22px 22px 22px 4px; }
.account__num { font-family: var(--display); font-size: 1.75rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: var(--fs-small); font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; cursor: pointer; }
.copy-btn:hover { text-decoration-thickness: 3px; }
.copy-btn .i { width: 20px; height: 20px; }
.volunteer { padding: clamp(32px, 4vw, 52px); border-radius: var(--r-panel); background: var(--yellow); }
.volunteer .area__icon { background: var(--white); color: var(--ink); }
.volunteer h2 { margin-top: 24px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); }
.volunteer p { margin-top: 12px; }
.volunteer a { color: var(--ink) !important; font-weight: 700; }

/* Kontakt */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; } .contact-info { position: sticky; top: calc(var(--header-h) + 32px); } }
.contact-info .facts { margin-top: 0; gap: 22px; }
.contact-info h2 { font-size: clamp(1.75rem, 1.45rem + 1vw, 2.25rem); margin-bottom: 26px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 2px; font-size: var(--fs-small); }
.inline-actions a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }
.inline-actions .copy-btn { color: var(--blue); }

/* ---------- Formulář ---------- */
.form-card { padding: clamp(24px, 4.5vw, 64px); background: var(--white); border-radius: var(--r-panel); }
.form-card > h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); }
.form-intro { margin-top: 14px; color: var(--ink-2); max-width: 60ch; }
.form-intro + .note { margin-top: 22px; }
.form { margin-top: 36px; display: grid; gap: 34px; }
.field { display: grid; gap: 8px; }
.label, .legend { font-weight: 700; font-size: 1.1875rem; line-height: 1.35; padding: 0; }
.label .opt, .legend .opt { font-weight: 500; color: var(--ink-2); }
.hint { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }
.input, .textarea { width: 100%; min-height: 58px; padding: 13px 18px; border: 2px solid var(--field); border-radius: var(--r-field); background: var(--white); color: var(--ink); font: inherit; font-size: 1.1875rem; line-height: 1.4; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.input:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .textarea:focus { outline: 4px solid var(--yellow); outline-offset: 0; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.input--mid { max-width: 34ch; }
.textarea { min-height: 200px; resize: vertical; }
.field--error .input, .field--error .textarea { border-color: var(--error); border-width: 3px; }
.field--error { padding-left: 18px; border-left: 5px solid var(--error); }
.field-error { display: flex; gap: 8px; align-items: flex-start; color: var(--error); font-weight: 700; }
.field-error .i { width: 22px; height: 22px; margin-top: 3px; }
.counter { font-size: var(--fs-small); color: var(--ink-2); }
.counter--over { color: var(--error); font-weight: 700; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.legend { margin-bottom: 6px; }
.fieldset-grid { display: grid; gap: 20px; margin-top: 14px; }
@media (min-width: 720px) { .fieldset-grid--2 { grid-template-columns: 1fr 1fr; } }
.choices { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 720px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: grid; grid-template-columns: 28px 1fr 34px; gap: 14px; align-items: center; min-height: 68px; padding: 14px 18px; border: 2px solid var(--field); border-radius: 22px 22px 22px 4px; background: var(--white); cursor: pointer; font-weight: 700; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.choice label:hover { border-color: var(--ink); background: var(--paper); }
.choice__dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; background: var(--white); }
.choice__dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform .15s var(--ease); }
.choice label .i { width: 30px; height: 30px; color: var(--blue); justify-self: end; }
.choice input:checked + label { border-color: var(--blue); background: var(--sky); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:checked + label .choice__dot { background: var(--blue); border-color: var(--blue); }
.choice input:checked + label .choice__dot::after { transform: scale(1); }
.choice input:focus-visible + label { outline: 4px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
@media (forced-colors: active) { .choice input:checked + label .choice__dot::after { background: CanvasText; forced-color-adjust: none; } .choice input:checked + label { border-width: 4px; } }
.check { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; cursor: pointer; }
.check input, .bring__item input { appearance: none; -webkit-appearance: none; margin: 0; width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 9px; background: var(--white); display: grid; place-items: center; cursor: pointer; }
.check input::after, .bring__item input::after { content: ""; width: 10px; height: 17px; border: solid var(--white); border-width: 0 3.5px 3.5px 0; transform: translateY(-2px) rotate(45deg) scale(0); transition: transform .12s var(--ease); }
.check input:checked, .bring__item input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after, .bring__item input:checked::after { transform: translateY(-2px) rotate(45deg) scale(1); }
.check input:focus-visible, .bring__item input:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
@media (forced-colors: active) { .check input:checked::after, .bring__item input:checked::after { border-color: CanvasText; } }
.check span { padding-top: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.error-summary { padding: 26px; border: 4px solid var(--error); border-radius: 24px 24px 24px 4px; background: var(--white); }
.error-summary:focus { outline: 4px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
.error-summary h3 { font-size: 1.5rem; display: flex; gap: 10px; align-items: center; }
.error-summary h3 .i { color: var(--error); width: 28px; height: 28px; }
.error-summary ul { margin-top: 12px; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.error-summary a { color: var(--error) !important; font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .btn { min-width: 200px; }
.form-status { font-weight: 700; }
.form-status--error { color: var(--error); }
.success { position: relative; overflow: hidden; padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-panel); background: var(--yellow); }
.success:focus { outline: none; }
.success__icon { width: 76px; height: 66px; border-radius: 24px 24px 24px 4px; display: grid; place-items: center; background: var(--blue); color: var(--white); margin-bottom: 26px; }
.success__icon .i { width: 36px; height: 36px; }
.success h1, .success h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); max-width: 16ch; }
.success h2:focus, .success h1:focus { outline: none; }
.success p { margin-top: 14px; font-size: var(--fs-lead); line-height: 1.5; max-width: 44ch; }
.success .success__mail { font-size: var(--fs-body); }
.success__mail strong { overflow-wrap: anywhere; }
.success .btn-row { margin-top: 30px; }
.demo-note { margin-top: 22px; font-size: var(--fs-small) !important; }

/* Právní text */
.legal { max-width: 860px; padding: clamp(28px, 5vw, 72px); background: var(--white); border-radius: var(--r-panel); }
.legal h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal > * + * { margin-top: 1em; }
.legal ul { padding-left: 1.25em; }
.legal li + li { margin-top: .4em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.legal-table thead th { border-bottom: 2px solid var(--ink); }
@media (max-width: 639px) {
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table tr { display: block; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .legal-table td { display: block; padding: 2px 0; border: 0; }
  .legal-table td::before { content: attr(data-label) ": "; font-weight: 700; }
}
.todo { background: repeating-linear-gradient(-45deg, var(--butter) 0 6px, transparent 6px 12px); outline: 2px dashed #8A6A00; outline-offset: 1px; padding-inline: .2em; border-radius: 3px; color: var(--ink); }

/* ---------- Patička ---------- */
.site-footer { margin-top: var(--section); padding: 0 var(--edge) var(--edge); }
.site-footer__panel { background: var(--ink); color: #F3E8EB; border-radius: var(--r-panel); padding-block: clamp(48px, 6vw, 88px) 28px; font-size: var(--fs-small); }
.site-footer__top { display: grid; gap: 40px; padding-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 960px) { .site-footer__top { grid-template-columns: 1.25fr 1fr .8fr 1.1fr; gap: 48px; } }
.site-footer h2 { font-family: var(--text); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--yellow); margin-bottom: 14px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; }
.site-footer .brand { margin-bottom: 18px; }
.footer-claim { color: #D9C2C9; max-width: 30ch; }
.footer-crisis { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 18px 20px; border-radius: 22px 22px 22px 4px; background: var(--crisis); color: var(--ink); }
.footer-crisis .i { width: 26px; height: 26px; margin-top: 1px; }
.footer-crisis a { color: var(--ink) !important; font-weight: 800; }
.site-footer__bottom { padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .16); color: #D9C2C9; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

main > .section:last-child { padding-bottom: 0; }

/* ---------- Pohyb ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .7s var(--ease) both; }
  .hero__copy > *:nth-child(2) { animation-delay: .06s; }
  .hero__copy > *:nth-child(3) { animation-delay: .12s; }
  .hero__copy > *:nth-child(4) { animation-delay: .18s; }
  .hero__photo { animation: pop .9s var(--ease) .1s both; }
  .hero__visual .bubble { animation: pop .8s var(--ease) both; }
  .hero__visual .bubble--b { animation-delay: .25s; }
  .hero__visual .bubble--a { animation-delay: .32s; }
  .hero__visual .bubble--c { animation-delay: .55s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }

/* ---------- Tisk ---------- */
@media print {
  body { background: #fff; font-size: 12pt; }
  .site-header, .skip-link, .cta, .btn, .faq-tools, .hero__visual, .deco, .no-print { display: none !important; }
  .hero__panel, .page-head__panel, .site-footer__panel { background: #fff !important; color: #000 !important; }
  .hero h1, .page-head h1, .page-head .lead { color: #000 !important; }
  .faq details:not([open]) > .faq__answer { display: block; }
  .print-only-checklist main > *:not(.print-target):not(:has(.print-target)) { display: none !important; }
  .print-only-checklist .page-head, .print-only-checklist .site-footer, .print-only-checklist .chat-col { display: none !important; }
}

.page-head .mark, .hero .mark { background: none; color: var(--panel-accent); font-weight: 800; }
.mission-photo img { filter: grayscale(1) contrast(1.05) brightness(1.4); }

@media (min-width: 960px) and (max-height: 820px) {
  .hero__grid { padding-block: 28px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero .lead { margin-top: 18px; }
  .hero .btn-row { margin-top: 26px; }
}

/* Tlačítka uvnitř hero se řídí panelem (na světlém hero je hlavní tlačítko v hlavní barvě) */
.hero__panel .btn--sun { background: var(--panel-btn); color: var(--panel-btn-fg); }
.hero__panel .btn--sun:hover { background: var(--panel-btn-hover); }
.hero__panel .btn--ghost-light { color: var(--on-panel); border-color: var(--panel-line); }
.hero__panel .btn--ghost-light:hover { background: var(--on-panel); color: var(--panel); border-color: var(--on-panel); }

/* Delší název „Rada na dosah“: menší logo na úzkých telefonech */
@media (max-width: 429px) {
  .site-header .brand { gap: 10px; }
  .site-header .brand__mark { width: 40px; }
  .site-header .brand__name { font-size: 1.3125rem; }
  .site-header .brand__sub { font-size: .75rem; }
  .js .nav-toggle { padding: 0 14px 0 12px; }
}
@media (max-width: 369px) {
  .site-header .brand__sub { display: none; }
}
