/* ==========================================================
   Přátelská terapie — nový design (paralelní verze webu)
   Barvy a fonty se mění jen tady v :root
   ========================================================== */

:root {
  --paper: #fbf8f2;        /* krémové pozadí */
  --paper-2: #f5efe4;      /* tónované sekce */
  --ink: #1d2f4f;          /* tmavě modrá — nadpisy, linky */
  --ink-2: #3c4a63;        /* text */
  --ink-mute: #6f7889;     /* popisky */
  --line: #e7dfd1;         /* jemné oddělovače */
  --sun: #f3d77e;          /* tlumená žlutá (méně „sluníčková") */
  --sun-soft: #fbefc6;
  --clay: #d48f72;         /* terakota — akcent */
  --clay-soft: #f8e4d7;
  --sage: #8ea582;         /* šalvěj — akcent */
  --sky: #dfe7f0;          /* světle modrá — pásy */
  --sky-2: #a9bfd6;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --wrap: 1180px;
  --r-hand: 255px 14px 225px 16px / 16px 225px 14px 255px; /* „ručně kreslený" okraj */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--tint { background: var(--paper-2); }
.section--sky { background: var(--sky); }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.muted { color: var(--ink-mute); }
.small { font-size: .92rem; }
.eyebrow { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .6em; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 16px; }

/* Šablonový text — zvýrazněný, ať je jasné, co je potřeba doplnit */
.tpl { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(212,143,114,.08) 6px 12px); border-bottom: 1px dashed var(--clay); }
.tpl-note { display: inline-block; font-family: var(--sans); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); border: 1px dashed var(--clay); border-radius: 99px; padding: 2px 10px; }

/* ---------- Ikony ---------- */
.ico { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--lg { width: 52px; height: 52px; stroke-width: 1.4; }
.ico--sm { width: 20px; height: 20px; }

/* ---------- Tlačítka (štětcový tah) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  text-decoration: none; padding: .8em 1.7em; border: 0; background: none; cursor: pointer; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sun);
  border-radius: 40px 16px 34px 14px / 18px 30px 16px 32px;
  transform: rotate(-1.2deg);
  transition: transform .2s ease, background .2s ease;
}
.btn::after { /* druhá vrstva tahu */
  content: ""; position: absolute; inset: 6px -6px 4px 8px; z-index: -2;
  background: var(--sun); opacity: .45;
  border-radius: 30px 50px 20px 40px / 30px 16px 34px 18px;
  transform: rotate(1.4deg);
}
.btn:hover::before { transform: rotate(0deg) scale(1.03); background: #efcd63; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn--sm { font-size: .95rem; padding: .55em 1.25em; }
.btn--lg { font-size: 1.2rem; padding: .9em 2em; }

.link-arrow { font-family: var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 1px; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }

/* ---------- Podtržení „štětcem" ---------- */
.swash { position: relative; display: inline-block; }
.swash::after {
  content: ""; position: absolute; left: 4%; right: 2%; bottom: -.18em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 60 6, 150 4, 297 9 C 220 12, 120 14, 40 17' fill='none' stroke='%23f3d77e' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
/* varianta pro delší text: podtržení se zalomí s řádkem */
.swash--wrap { display: inline; padding-bottom: .12em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 60 6, 150 4, 297 9 C 220 12, 120 14, 40 17' fill='none' stroke='%23f3d77e' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% .32em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.swash--wrap::after { content: none; }
.swash--clay::after { filter: hue-rotate(-30deg) saturate(1.4) brightness(.92); }
.under { display: block; width: 90px; height: 8px; margin: 6px 0 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 8'%3E%3Cpath d='M2 5 C 30 2, 60 2, 88 4' fill='none' stroke='%23d48f72' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.center .under { margin-left: auto; margin-right: auto; }

/* ---------- Ručně kreslený rámeček na fotky ---------- */
.frame { position: relative; padding: 10px; display: block; text-decoration: none; }
.frame::before {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--ink);
  border-radius: var(--r-hand); transform: rotate(-1deg); pointer-events: none;
}
.frame--tilt-r::before { transform: rotate(1.2deg); }
.frame > img, .frame > .ph, .frame > iframe { border-radius: 6px; position: relative; }

/* Skutečné fotky v rámečku */
.frame > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-tereza { object-position: 56% 30%; }
.frame > img.img-wide { aspect-ratio: 16 / 10; object-position: 50% 60%; }
.frame > img.img-square { aspect-ratio: 1; }
.pick .avatar img { aspect-ratio: 1; width: 100%; border-radius: 50%; object-fit: cover; }

/* Placeholder za fotku (než dodáte skutečné) */
.ph {
  width: 100%; aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 80% at 30% 20%, #fff8ea 0%, transparent 60%),
    linear-gradient(160deg, #efe4d2 0%, #e2d3bc 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #8a7b66; font-family: var(--sans); font-size: .85rem; text-align: center; padding: 16px;
}
.ph .ico { stroke: #a8977e; width: 44px; height: 44px; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1; }
.ph--thumb { aspect-ratio: 4 / 3; font-size: .7rem; gap: 4px; }
.ph--thumb .ico { width: 26px; height: 26px; }

/* Drobné kreslené akcenty */
.doodle { position: absolute; pointer-events: none; }
.doodle svg { width: 100%; height: 100%; }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,242,.94); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.1; display: block; }
.brand-sub { font-family: var(--sans); font-size: .78rem; color: var(--ink-2); display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--sans); font-size: 1rem; color: var(--ink); text-decoration: none; position: relative; padding: 4px 0; }
.nav-links a.active::after, .nav-links a:not(.btn):hover::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -4px; height: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' preserveAspectRatio='none'%3E%3Cpath d='M2 4 C 20 1, 40 2, 58 3' fill='none' stroke='%23e5bf4f' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Úvodní hero (Domů) ---------- */
.hero { padding: 40px 0 50px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.hero h1 { position: relative; z-index: 0; margin-bottom: .45em; }
.hero-names { font-size: 1.55rem; color: var(--ink); margin: 0 0 .15em; }
.hero-sub { font-size: 1.2rem; color: var(--ink-mute); margin-bottom: 1.6em; }
.hero-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.hero-photos .frame:nth-child(2) { margin-top: 24px; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--sans); font-size: .98rem; font-weight: 600; color: #15803d; }
.badge .dot { position: relative; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; flex: none; }
.badge .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .badge .dot::after { animation: none; display: none; } }

/* Pruh se čtyřmi formami terapie */
.forms-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.forms-strip ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.forms-strip li { display: flex; justify-content: center; text-align: center; }
.forms-strip li + li { border-left: 1px solid var(--line); }
.forms-strip li:first-child { border-left: 1px solid var(--line); }
.forms-strip li:last-child { border-right: 1px solid var(--line); }
.forms-strip a { width: 100%; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 26px 12px; text-decoration: none; color: var(--ink); font-size: 1.25rem; font-weight: 600; transition: background .2s; }
.forms-strip a:hover { background: var(--paper-2); }
.forms-strip .lbl { position: relative; }
.forms-strip .lbl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 4px; border-radius: 3px; background: var(--c, var(--sky-2)); opacity: .8; transform: rotate(-1deg); }

/* Video + články */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.split > * + * { border-left: 1px solid var(--line); padding-left: 60px; }
.video { position: relative; border-radius: 10px; overflow: hidden; display: block; text-decoration: none; }
.video .ph { aspect-ratio: 16 / 9; }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 24px rgba(29,47,79,.18); transition: transform .2s; }
.video:hover .play { transform: translate(-50%,-50%) scale(1.07); }
.video .play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 4px; }
.video .hand { position: absolute; left: 28px; bottom: 26px; font-family: var(--hand); font-size: 2rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); transform: rotate(-8deg); line-height: 1.1; }
.video .dur { position: absolute; right: 14px; bottom: 12px; font-family: var(--sans); font-size: .8rem; color: #fff; background: rgba(29,47,79,.7); padding: 2px 8px; border-radius: 6px; }
.video--dark .ph { background: linear-gradient(160deg, #b9a58a, #8c7a62); color: #f4ead9; }
.video--dark .ph .ico { stroke: #f4ead9; }

.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li + li { border-top: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 22px; align-items: center; padding: 14px 0; text-decoration: none; color: inherit; }
.article-row h4 { font-size: 1.12rem; margin: 0 0 .2em; }
.article-row p { margin: 0; font-size: .95rem; }
.article-row .date { font-size: .85rem; color: var(--ink-mute); }
.article-row .ico { transition: transform .2s; }
.article-row:hover .ico { transform: translateX(4px); }
.article-row .ph { border-radius: 6px; }

/* Citát */
.quote-band { text-align: center; max-width: 760px; margin: 0 auto; }
.quote-band blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); margin: 0 0 .4em; line-height: 1.3; }
.quote-band cite { font-family: var(--sans); font-style: normal; color: var(--ink-mute); font-size: .95rem; }

/* ---------- Podstránky: úvod ---------- */
.page-hero { padding: 50px 0 60px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.page-hero h1 { margin-bottom: .3em; }
.breadcrumb { font-family: var(--sans); font-size: .85rem; color: var(--ink-mute); margin-bottom: 22px; }
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Karty, mřížky ---------- */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.cols-ruled > * + * { border-left: 1px solid var(--line); padding-left: 28px; }

.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.icon-row a, .icon-row div { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 18px; text-decoration: none; color: var(--ink); font-size: 1.15rem; }
.icon-row > * + * { border-left: 1px solid var(--line); }

.service-card { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.service-card h3 { font-size: 1.45rem; margin-bottom: .45em; }
.service-card h4 { font-size: 1rem; margin: 1em 0 .3em; }
.service-card p, .service-card li { font-size: .98rem; }
.service-card ul { margin: 0 0 1em; }
.service-card .meta { font-family: var(--sans); font-size: .85rem; color: var(--ink-mute); }

.note-card { background: var(--paper-2); border-radius: 20px 26px 18px 30px; padding: 32px 36px; }
.note-card--clay { background: var(--clay-soft); }
.note-card--sun { background: var(--sun-soft); }
.note-card--sky { background: var(--sky); }

.value { text-align: center; padding: 0 12px; }
.value .ico { margin: 0 auto 10px; }
.value h3 { font-size: 1.15rem; margin-bottom: .35em; }
.value p { font-size: .95rem; margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; font-size: 1rem; }
.check-list .ico { width: 24px; height: 24px; margin-top: 2px; }

/* Časová osa */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; background: var(--ink); border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 8px 0 8px 34px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 1px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.timeline strong { color: var(--ink); }

/* Ručně psaná poznámka „Moje zdroje" */
.hand-note { position: relative; background: var(--sun-soft); padding: 36px 44px; border-radius: 30px 10px 40px 12px / 12px 36px 10px 30px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.hand-note h3 { font-family: var(--hand); font-weight: 700; font-size: 2.3rem; margin: 0 0 .2em; transform: rotate(-3deg); display: inline-block; }
.hand-note p { font-family: var(--hand); font-size: 1.55rem; line-height: 1.35; color: var(--ink); margin: 0; transform: rotate(-1.2deg); }
.hand-note .ico { width: 90px; height: 120px; stroke-width: 1.3; }

/* Citáty klientů */
.testi { margin: 0; border-radius: 16px; padding: 30px 30px 24px; background: var(--clay-soft); }
.testi:nth-child(2) { background: #e9eff6; }
.testi .q { font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--clay); display: block; height: 28px; }
.testi:nth-child(2) .q { color: var(--ink); }
.testi p { font-style: italic; color: var(--ink); }
.testi footer { font-family: var(--sans); font-size: .8rem; color: var(--ink-mute); border-top: 1px solid rgba(29,47,79,.15); padding-top: 10px; margin-top: 10px; }

/* Výzva (CTA pás) */
.cta-band { position: relative; border-radius: 26px 34px 22px 40px; padding: 48px 56px; background: var(--sun-soft); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; overflow: hidden; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; }
.cta-band--sky { background: var(--sky); }
.cta-band--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cta-band--photo { grid-template-columns: 1fr 1.3fr; padding: 0; background: var(--sky); }
.cta-band--photo .ph { height: 100%; aspect-ratio: auto; min-height: 240px; border-radius: 0; }
.cta-band--photo .cta-text { padding: 44px 48px 44px 0; }

/* Inspirace */
.tabs { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tab { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); text-decoration: none; cursor: pointer; }
/* Přilepený rozcestník (Inspirace) */
.tabs-bar { position: sticky; top: 84px; z-index: 40; background: rgba(251,248,242,.95); backdrop-filter: blur(6px); padding: 14px 0; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.tabs-bar.is-stuck { border-color: var(--line); box-shadow: 0 6px 18px rgba(29,47,79,.06); }
main section[id] { scroll-margin-top: 170px; }
.tabs--4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.tabs--4 .tab { justify-content: center; }
.tab.is-active, .tab:hover { background: var(--sun-soft); border-color: #e3c97b; }
.search { margin-left: auto; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 16px; min-width: 260px; }
.search input { border: 0; outline: 0; font: inherit; font-size: .95rem; background: none; width: 100%; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; font-family: var(--sans); font-size: .88rem; }
.chip { background: var(--paper-2); border-radius: 99px; padding: 4px 14px; color: var(--ink); text-decoration: none; border: 0; font: inherit; cursor: pointer; }
.chip:hover, .chip.is-active { background: var(--sun-soft); }
.kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 14px 0 4px; }
.card-title { font-size: 1.3rem; margin: 0 0 .35em; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.resource { border: 1.5px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; }
.resource h3 { font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.resource p { font-size: .92rem; }
.resource--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.resource--link p { flex: 1; }
.resource--link .link-arrow { align-self: flex-start; }
.resource--link:hover { border-color: var(--ink); }
.pill { display: inline-block; font-family: var(--sans); font-size: .8rem; background: var(--paper-2); border-radius: 99px; padding: 3px 14px; color: var(--ink-2); }

/* Kde jsme mluvili (mediální výstupy) */
.media-list { list-style: none; margin: 0; padding: 0; }
.media-list li + li { border-top: 1px solid var(--line); }
.media-list a { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 14px 0; text-decoration: none; color: inherit; }
.media-list .bubble { width: 44px; height: 44px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; }
.media-list .bubble .ico { width: 22px; height: 22px; }
.media-list h4 { font-size: 1.08rem; margin: 0 0 .15em; }
.media-list .src { font-family: var(--sans); font-size: .85rem; color: var(--ink-mute); }
.media-list a > .ico { transition: transform .2s; }
.media-list a:hover > .ico { transform: translateX(4px); }
.media-list a:hover h4 { color: var(--clay); }

/* Dlaždice rozhovorů (Inspirace) */
.media-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.media-tile { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .2s; }
.media-tile:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 10px 26px rgba(29,47,79,.08); }
.mt-head { display: flex; align-items: center; gap: 12px; }
.mt-logo { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--sky); }
.mt-logo img { width: 100%; height: 100%; object-fit: cover; }
.mt-logo .ico { width: 22px; height: 22px; }
.mt-medium { font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.25; }
.media-tile h4 { font-size: 1.02rem; line-height: 1.35; margin: 0; flex: 1; }
.media-tile:hover h4 { color: var(--clay); }
.mt-meta { font-family: var(--sans); font-size: .82rem; color: var(--ink-mute); }
.bubble--logo { overflow: hidden; background: #fff !important; border: 1px solid var(--line); }
.bubble--logo img { width: 100%; height: 100%; object-fit: cover; }

/* Metody a nástroje */
.method { background: #fff; border-radius: 20px 26px 18px 30px; padding: 30px 32px; }
.method-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; border-radius: 12px; margin-bottom: 16px; }
.method h3 { margin: 12px 0 .2em; }
.method .meta { font-family: var(--sans); font-size: .85rem; color: var(--ink-mute); margin-bottom: .8em; }
.method p:last-child { margin-bottom: 0; }

/* Karty videí v Inspiraci */
.video-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.video-card .video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #f8f7f2; }
.video-card .video .play { width: 52px; height: 52px; }
.video-card .video .play svg { width: 20px; height: 20px; }
.video-card .kicker { margin-top: 12px; }
.video-card .card-title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.08rem; line-height: 1.3; }
.video-card:hover .card-title { color: var(--clay); }

/* Video 16:9 */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(29,47,79,.12); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fotky cesty k nám */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.photo-row figure { margin: 0; }
.photo-row .frame > img { aspect-ratio: 3 / 4; }
.photo-row figcaption { font-family: var(--sans); font-size: .9rem; color: var(--ink-mute); text-align: center; margin-top: 10px; }

/* Výběr typu sezení (rezervace) */
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.choice { display: flex; gap: 16px; align-items: center; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, transform .2s; }
.choice:hover, .choice.is-active { border-color: var(--ink); transform: translateY(-2px); }
.choice.is-active { background: var(--sun-soft); }
.choice img { width: 86px; height: 86px; object-fit: cover; border-radius: 12px; flex: none; }
.choice > span { display: flex; flex-direction: column; gap: 2px; }
.choice strong { font-size: 1.1rem; }
.choice-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .95rem; border-bottom: 1.5px solid var(--ink); align-self: flex-start; }
.opts-list { list-style: none; padding: 0; margin: 14px 0 0; font-family: var(--sans); font-size: .95rem; }
.opts-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(29,47,79,.12); }

/* Kontakt */
.contact-items { list-style: none; padding: 0; margin: 30px 0; }
.contact-items li { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.contact-items .bubble { width: 52px; height: 52px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; flex: none; }
.contact-items .lbl { font-family: var(--sans); font-size: .9rem; color: var(--ink); display: block; }
.contact-items .val { overflow-wrap: anywhere; font-size: 1.45rem; color: var(--ink); font-weight: 600; text-decoration: none; display: block; line-height: 1.25; }
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; }

form .field { margin-bottom: 18px; }
form label { display: block; font-family: var(--sans); font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
form input, form textarea, form select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 11px 14px; border: 1.5px solid #cfd6e0; border-radius: 8px; background: #fff; }
form input:focus, form textarea:focus, form select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(243,215,126,.5); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* Rezervace */
.steps { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--sans); font-size: .9rem; color: var(--ink-mute); }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pick { text-align: center; border: 1.5px solid var(--line); border-radius: 18px; padding: 26px 22px 28px; background: #fff; transition: border-color .2s, transform .2s; }
.pick:hover { border-color: var(--ink); transform: translateY(-2px); }
.pick .avatar { width: 120px; margin: 0 auto 16px; }
.pick .avatar .ph { aspect-ratio: 1; border-radius: 50%; }
.pick .avatar img { aspect-ratio: 1; width: 100%; border-radius: 50%; object-fit: cover; }
.pick h3 { margin-bottom: .2em; }
.pick p { font-size: .95rem; }
.cal-mock { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; position: relative; }
.cal-mock .side { padding: 28px; border-right: 1px solid var(--line); }
.cal-mock .side h4 { margin-bottom: .2em; }
.cal-mock .opts { list-style: none; padding: 0; margin: 18px 0 0; font-family: var(--sans); font-size: .9rem; }
.cal-mock .opts li { display: flex; justify-content: space-between; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.cal-mock .opts li.on { border-color: var(--ink); background: var(--sun-soft); }
.cal-mock .days { padding: 28px; font-family: var(--sans); }
.cal-mock .month { display: flex; justify-content: space-between; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.cal-mock .dgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: .85rem; }
.cal-mock .dgrid span { padding: 7px 0; border-radius: 8px; color: #b4b9c3; }
.cal-mock .dgrid .h { color: var(--ink-mute); font-size: .72rem; }
.cal-mock .dgrid .free { color: var(--ink); background: var(--paper-2); font-weight: 600; }
.cal-mock .dgrid .sel { background: var(--ink); color: #fff; }
.cal-mock .times { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cal-mock .times span { border: 1px solid var(--ink); color: var(--ink); border-radius: 8px; padding: 6px 12px; font-size: .85rem; }
.cal-mock .stamp { position: absolute; right: 18px; top: 16px; transform: rotate(4deg); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.info-grid div { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; }
.info-grid strong { display: block; color: var(--ink); font-size: 1.15rem; }
.info-grid span { font-family: var(--sans); font-size: .88rem; color: var(--ink-mute); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 1.15rem; color: var(--ink); font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--clay); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }

/* ---------- Patička ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 34px; margin-top: 40px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-family: var(--sans); flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--ink); }
.footer-links a:hover { color: var(--clay); }
.socials { display: flex; gap: 14px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); }
.socials .ico { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); font-family: var(--sans); font-size: .85rem; color: var(--ink-mute); }
.footer-bottom a { color: var(--ink-mute); }

/* Lišta „pracovní verze" */
.draft-bar { background: var(--ink); color: #fff; font-family: var(--sans); font-size: .82rem; text-align: center; padding: 6px 16px; }
.draft-bar a { color: var(--sun); }

.info-grid .ico { display: block; margin-bottom: 8px; }

/* ---------- Responzivita ---------- */
@media (max-width: 980px) {
  .hero-grid, .page-hero-grid, .split, .grid-2, .cta-band, .cta-band--photo, .cal-mock { grid-template-columns: 1fr; }
  .split > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; }
  .grid-3, .grid-4, .grid-5, .picker, .info-grid { grid-template-columns: 1fr 1fr; }
  .choices { grid-template-columns: 1fr; }
  .media-tiles { grid-template-columns: 1fr 1fr; }
  .cols-ruled > * + * { border-left: 0; padding-left: 0; }
  .icon-row { grid-template-columns: 1fr 1fr; }
  .icon-row > *:nth-child(n+3) { border-top: 1px solid var(--line); }
  .icon-row > *:nth-child(3) { border-left: 0; }
  .cta-band--photo .cta-text { padding: 0 32px 36px; }
  .cal-mock .side { border-right: 0; border-bottom: 1px solid var(--line); }
  [data-profile] { grid-template-columns: 1fr !important; }
  [data-profile] > .frame { max-width: 340px; }
  [data-profile] > svg.ico { display: none; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 12px 0; }
  .nav-cta { margin: 12px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .grid-3, .grid-4, .grid-5, .picker, .info-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card .frame { max-width: 260px; }
  .article-row { grid-template-columns: 90px 1fr auto; gap: 14px; }
  .forms-strip a { font-size: 1.05rem; gap: 10px; padding: 20px 6px; }
  .forms-strip .ico--lg { width: 38px; height: 38px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .hand-note { grid-template-columns: 1fr; padding: 28px; }
  .hand-note .ico { display: none; }
  .cta-band { padding: 36px 26px; }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .search { margin-left: 0; min-width: 0; width: 100%; }
  .contact-items .val { font-size: 1.12rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: .7rem; }
  .hero-photos { gap: 16px; }
  .team-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .forms-strip a { flex-direction: column; gap: 8px; }
  .tabs--4 { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .media-tiles { grid-template-columns: 1fr; }
  .tabs--4 .tab { padding: 9px 4px; font-size: .86rem; white-space: nowrap; border-radius: 10px; }
  .tabs--4 .tab .ico { display: none; }
  .tabs-bar { padding: 10px 0; }
  main section[id] { scroll-margin-top: 150px; }
  .photo-row { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .media-list a { grid-template-columns: 36px 1fr; }
  .media-list a > .ico { display: none; }
  .team-grid h3 { font-size: 1.15rem !important; }
}

/* ---------- Jemné animace (vypnou se, když má návštěvník v systému omezený pohyb) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* vynoření obsahu při posouvání (třídu .reveal přidává main.js) */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-in { opacity: 1; transform: none; }

  /* úvod: hvězdička se pomalu točí, srdíčko tepe */
  .hero .doodle--spin svg { animation: spin 26s linear infinite; }
  .hero .doodle--beat svg { animation: beat 2.4s ease-in-out infinite; transform-origin: center; }

  /* logo: srdíčko zabuší po najetí myší */
  .brand-mark .heart { transform-origin: 24px 30px; transform-box: view-box; }
  .brand:hover .brand-mark .heart { animation: beat .9s ease-in-out 2; }

  /* fotky v rámečku se lehce narovnají */
  .frame { transition: transform .4s ease; }
  a.frame:hover, .hero-photos .frame:hover, .team-grid a:hover .frame { transform: rotate(-1.2deg) scale(1.02); }

  /* ikony hodnot */
  .value .ico { transition: transform .8s ease; }
  .value:hover .ico { transform: rotate(18deg) scale(1.08); }
  .value:hover .ico[style*="d9b44a"] { transform: rotate(180deg); }

  /* lišta služeb: ikona poskočí */
  .forms-strip .ico { transition: transform .3s ease; }
  .forms-strip a:hover .ico { transform: translateY(-4px) rotate(-6deg); }

  /* karty */
  .method, .resource, .service-card .frame, .pick { transition: transform .3s ease, box-shadow .3s ease, border-color .2s; }
  .method:hover, .resource:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(29,47,79,.08); }
  .method-img { transition: transform .6s ease; }
  .method:hover .method-img { transform: scale(1.03); }

  /* výzva k rezervaci: tlačítko se jemně „nadechuje" */
  .cta-band .btn--lg { animation: breathe 3.2s ease-in-out infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(.96); } 45% { transform: scale(1.1); } 60% { transform: scale(1); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* Právní text */
.legal h2 { font-size: 1.45rem; margin: 1.8em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
