/*
Theme Name: Angličtina v pohodě
Theme URI: https://anglictinavpohode.cz
Author: KosWeby (Jakub Kos)
Author URI: https://kosweby.cz
Description: Bloková šablona na míru pro Radku Havlíčkovou – lekce angličtiny po telefonu a procházky v Jihlavě. Motiv kruhu jako ciferníku lekce.
Version: 1.0.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anglictina-v-pohode
*/

/* Kompatibilita: Safari 15 (macOS Catalina) – bez color-mix, vnořování, :has, cq jednotek a rozsahových @media. */

:root {
  --ground: #ffffff;
  --ink: #23292e;
  --ink-soft: #4b555c;
  --accent: #077087;
  --accent-deep: #054f60;
  --tint: #e8f2f4;
  --tint-2: #cfe4e9;
  --night: #1f2529;
  --on-dark-soft: #c6dce1;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1rem + 5.4vw, 6.5rem);

  --margin: clamp(20px, 4.4vw, 64px);
  --gutter: max(var(--margin), calc((100vw - 1440px) / 2));
  --header-h: 72px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- základ ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; background-color: transparent; border: 0 solid; margin: 0; }
button { cursor: pointer; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; color: var(--accent); } /* nadpisy petrolejové #077087, text antracitový – podle zadání Radky */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- tlačítka (vlastní i bloková) ---------- */
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: inherit; font-weight: 500; text-decoration: none; text-align: center; line-height: 1.2;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active, .wp-block-button__link:active { transform: scale(0.97); }
.btn--light, .is-style-svetle .wp-block-button__link { background: #fff; color: var(--ink); }
.btn--dark, .is-style-tmave .wp-block-button__link { background: var(--night); color: #fff; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); }
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.link, .is-style-odkaz .wp-block-button__link {
  display: inline; min-height: 0; padding: 0; border-radius: 0; background: none; color: inherit;
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; text-decoration-color: var(--tint-2);
  transition: text-decoration-color 200ms ease;
}
.is-style-odkaz .wp-block-button__link:active { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .wp-block-button__link:hover { background: var(--accent-deep); }
  .btn--light:hover, .is-style-svetle .wp-block-button__link:hover { background: var(--tint); }
  .btn--dark:hover, .is-style-tmave .wp-block-button__link:hover { background: #000; }
  .btn--outline:hover { background: rgba(255, 255, 255, 0.12); }
  .link:hover, .is-style-odkaz .wp-block-button__link:hover { background: none; text-decoration-color: currentColor; }
}

/* ---------- hlavička ---------- */
.head {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  height: var(--header-h); background: var(--ground);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
}
.admin-bar .head { top: 32px; }
@media (max-width: 782px) { .admin-bar .head { top: 46px; } }
@media (max-width: 600px) { .admin-bar .head { top: 0; } } /* lišta správce se na mobilu posouvá se stránkou */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; font-weight: 600; font-size: var(--step-body); letter-spacing: -0.02em; }
.brand__who { margin-top: 2px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.nav { display: none; }
.nav a { text-decoration: none; font-size: var(--step-small); font-weight: 500; padding: 8px 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; text-decoration-color: var(--accent); }
.head__cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; font-weight: 500; }
.menu-btn__icon { position: relative; width: 22px; height: 14px; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform 220ms var(--ease-out); }
.menu-btn__icon::before { top: 2px; }
.menu-btn__icon::after { bottom: 2px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
  background: var(--ground); padding: 24px var(--margin) 40px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s; }
.mobile-nav a:not(.btn) { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; padding: 10px 0; }
.mobile-nav .btn { margin-top: 20px; }
.mobile-nav__contact { margin-top: auto; padding-top: 32px; color: var(--ink-soft); }
.mobile-nav__contact a { color: var(--ink); }
@media (min-width: 1100px) {
  .nav { display: flex; gap: 28px; }
  .head__cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none; }
}

/* ---------- úvodní sekce (velký kruh) ---------- */
.hero { position: relative; overflow: hidden; padding: 36px var(--gutter) 0; }
.hero__text { position: relative; z-index: 2; }
.hero__title { font-size: 11.6vw; line-height: 0.95; letter-spacing: -0.04em; max-width: 7.6em; }
.hero__lead { margin-top: 24px; font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; }
.hero__actions { margin-top: 32px; }
.hero__facts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--ink-soft); font-size: var(--step-small); }
.hero__facts strong { color: var(--ink); font-weight: 600; }
.hero__art { --ps: 64vw; --px: 18vw; --py: 22vw; position: relative; height: 100vw; margin: 40px calc(-1 * var(--gutter)) 0; }
.hero__art::before { content: ""; position: absolute; width: 170vw; height: 170vw; left: -10vw; top: 0; border-radius: 50%; background: var(--accent); animation: disc-in 1200ms var(--ease-out) both; }
.hero .hero__img {
  position: absolute; margin: 0; left: var(--px); top: var(--py); width: var(--ps); height: var(--ps);
  border-radius: 50%; overflow: hidden; background: var(--accent-deep); transition: opacity 1600ms ease;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* taste-skill-ignore: ořez kruhu ve starém Safari */
}
.hero .hero__img ~ .hero__img { opacity: 0; }
.js .hero .hero__img { opacity: 0; }
.js .hero .hero__img.is-on { opacity: 1; }
.hero .hero__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); transition: transform 7000ms linear; }
.hero .hero__img.is-on img { transform: scale(1); }
.hero__ring { position: absolute; left: calc(var(--px) - var(--ps) * 0.2045); top: calc(var(--py) - var(--ps) * 0.2045); width: calc(var(--ps) * 1.409); height: calc(var(--ps) * 1.409); max-width: none; overflow: visible; pointer-events: none; }
.hero__ring .track { fill: none; stroke: rgba(255, 255, 255, 0.24); stroke-width: 1.2; }
.hero__ring .arc { fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; }
.hero__ring .tip { fill: #fff; }
.hero__ring text { fill: #fff; font-family: Switzer, sans-serif; font-weight: 500; font-size: 4.2px; letter-spacing: -0.01em; }
@media (min-width: 760px) {
  .hero__title { font-size: 9.4vw; }
  .hero__art { --ps: 48vw; --px: 26vw; --py: 14vw; height: 76vw; }
  .hero__art::before { width: 130vw; height: 130vw; left: 10vw; }
}
@media (min-width: 1100px) {
  .hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-top: 48px; padding-bottom: 72px; }
  .hero__text { width: 50vw; max-width: 760px; }
  .hero__title { font-size: var(--step-display); }
  .hero__art { --ps: min(60vh, 36vw); --px: calc(77vw - var(--ps) / 2); --py: calc(50% - var(--ps) / 2); position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: auto; margin: 0; }
  .hero__art::before { --d: max(110vh, 64vw); width: var(--d); height: var(--d); left: 53vw; top: 50%; margin-top: calc(var(--d) / -2); }
}
/* podstránky */
.hero--sub .hero__title { font-size: 10.4vw; }
@media (min-width: 760px) { .hero--sub .hero__title { font-size: 8.6vw; } }
@media (min-width: 1100px) {
  .hero--sub { min-height: calc(82vh - var(--header-h)); }
  .hero--sub .hero__title { font-size: clamp(3rem, 0.6rem + 5vw, 5.75rem); }
}
@media (max-width: 1099px) {
  .hero--short .hero__art { --ps: 50vw; --px: 25vw; --py: 12vw; height: 70vw; }
}
@media (min-width: 1100px) {
  .hero--short { min-height: calc(64vh - var(--header-h)); }
  .hero--short .hero__art { --ps: min(46vh, 26vw); --px: calc(80vw - var(--ps) / 2); }
  .hero--short .hero__art::before { --d: max(84vh, 50vw); left: 60vw; }
}
/* vstup úvodu */
.hero__title, .hero__lead, .hero__actions, .hero__facts { animation: rise 900ms var(--ease-out) both; }
.hero__lead { animation-delay: 90ms; }
.hero__actions { animation-delay: 180ms; }
.hero__facts { animation-delay: 270ms; }
.hero .hero__img:first-of-type { animation: fade 1000ms ease 200ms both; }
.hero__ring { animation: fade 500ms ease 300ms both; } /* oblouk minut kreslí web.js */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes disc-in { from { opacity: 0; transform: translateX(6vw) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- sekce obecně ---------- */
.section { padding: 96px var(--gutter); }
.section__title { font-size: var(--step-head); max-width: 12em; }
@media (min-width: 1100px) { .section { padding-top: 140px; padding-bottom: 140px; } }

/* ---------- jak to probíhá (dlaždice rostou) ---------- */
.steps { position: relative; }
.steps__list { margin-top: 40px; display: grid; gap: 28px; }
.steps .step__photo { margin: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.step--1 .step__photo { background: var(--tint); height: 52vw; }
.step--2 .step__photo { background: var(--tint-2); height: 64vw; }
.step--3 .step__photo { background: var(--accent); height: 80vw; }
.steps .step__photo img { height: 80%; width: auto; max-width: none; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.step__name { margin-top: 18px; font-size: var(--step-lead); letter-spacing: -0.02em; }
.step__text { margin-top: 8px; max-width: 34ch; }
@media (min-width: 760px) {
  .steps__list { grid-template-columns: 3fr 4fr 5fr; gap: 12px; align-items: end; margin-top: 48px; }
  .step__text { min-height: 6em; }
  .step--1 .step__photo { height: min(30vh, 24vw); }
  .step--2 .step__photo { height: min(44vh, 34vw); }
  .step--3 .step__photo { height: min(60vh, 46vw); }
  .steps .step__photo img { height: 76%; }
}
@media (min-width: 1100px) {
  .steps { padding-top: 140px; }
  .steps .section__title { position: absolute; top: 140px; left: var(--gutter); width: 50%; }
  .steps__list { margin-top: 0; }
}

/* ---------- ceník (dvě pole) ---------- */
.plans { display: grid; }
.plan { position: relative; display: flex; flex-direction: column; padding: 48px var(--margin) 40px; }
.plan--phone { background: var(--accent); color: #fff; }
.plan--walk { background: var(--tint); color: var(--ink); }
.plan--phone .plan__name { color: #fff; }
.plan__name { font-size: var(--step-head); max-width: 9em; }
.plan__name a { text-decoration: none; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.plan__for { margin-top: 16px; font-size: var(--step-lead); line-height: 1.35; max-width: 24ch; }
.plan__body { margin-top: 24px; max-width: 46ch; }
.plan__foot { margin-top: 48px; display: flex; flex-direction: column; gap: 24px; }
.plan__price { position: relative; display: flex; align-items: center; gap: 18px; }
/* ciferník: kruh a výseč minut (20 = 120°, 50 = 300°) */
.plan__price::before { content: ""; flex: none; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.plan__price::after { content: ""; position: absolute; left: 8px; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: conic-gradient(#fff 0deg 120deg, transparent 120deg 360deg); transition: transform 1400ms var(--ease-in-out) 200ms, opacity 600ms ease 200ms; } /* taste-skill-ignore: výseč ciferníku */
.plan--walk .plan__price::before { background: var(--tint-2); }
.plan--walk .plan__price::after { background: conic-gradient(var(--accent) 0deg 300deg, transparent 300deg 360deg); } /* taste-skill-ignore: výseč ciferníku */
.plan__amount { display: flex; flex-direction: column; gap: 8px; }
.plan__num { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.045em; line-height: 0.9; }
.plan__per { font-weight: 500; }
.plan .wp-block-buttons { width: 100%; }
.plan .wp-block-button { width: 100%; }
.plan .wp-block-button__link { width: 100%; }
.js .plan:not(.is-in) .plan__price::after { transform: rotate(-120deg) scale(0.6); opacity: 0; }
@media (min-width: 760px) {
  .plan { padding: 56px 48px 48px; min-height: 72vh; }
  .plan__foot { margin-top: auto; padding-top: 56px; flex-direction: row; flex-wrap: wrap; gap: 24px 32px; align-items: flex-end; justify-content: space-between; }
  .plan .wp-block-buttons, .plan .wp-block-button, .plan .wp-block-button__link { width: auto; white-space: nowrap; }
}
@media (min-width: 1100px) {
  .plans { grid-template-columns: 7fr 5fr; }
  .plan { min-height: 76vh; padding: 64px 56px 56px; }
  .plan--phone { padding-left: var(--gutter); }
  .plan--walk { padding-right: var(--gutter); }
  .plan--walk .plan__name { max-width: 6em; }
  .plan__price::before { width: 88px; height: 88px; }
  .plan__price::after { left: 11px; width: 66px; height: 66px; margin-top: -33px; }
}
@media (hover: hover) and (pointer: fine) { .plan__name a:hover { text-decoration: underline; } }
/* jedno pole s cenou */
.plans--one .plan { min-height: 0; }
@media (min-width: 1100px) {
  .plans--one { grid-template-columns: 1fr; }
  .plans--one .plan { min-height: 0; padding-left: var(--gutter); padding-right: var(--gutter); display: grid; grid-template-columns: 7fr 5fr; column-gap: 24px; }
  .plans--one .plan__foot { grid-column: 1 / -1; }
  .plans--one .plan__body { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* ---------- o mně (vsazený panel) ---------- */
.about { padding: 20px 10px; }
.about__panel { position: relative; overflow: hidden; background: var(--accent-deep); color: #fff; padding: 40px 20px 0; -webkit-mask-image: -webkit-radial-gradient(white, black); /* taste-skill-ignore: ořez kruhu ve starém Safari */ }
.about__title { color: #fff; font-size: var(--step-head); max-width: 9em; }
.about__text { margin-top: 36px; display: grid; gap: 32px; }
.about__text h3 { color: #fff; font-size: var(--step-lead); letter-spacing: -0.02em; }
.about__text p { margin-top: 10px; }
.about__text .wp-block-buttons { justify-self: start; }
.about .about__portrait { width: 86vw; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; margin: 48px auto -21.5vw; }
.about .about__portrait img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 28%; }
.js .about .about__portrait { transform: translateY(40px) scale(0.96); opacity: 0; transition: transform 1200ms var(--ease-out), opacity 900ms ease; }
.js .about.is-in .about__portrait { transform: none; opacity: 1; }
@media (min-width: 760px) {
  .about { padding: 20px; }
  .about__panel { padding: 56px 56px 0; }
  .about__text { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about__text .wp-block-buttons { grid-column: 1 / -1; }
  .about .about__portrait { width: 60vw; margin-bottom: -12vw; }
}
@media (min-width: 1100px) {
  .about__panel { min-height: 104vh; padding: 64px; display: grid; grid-template-columns: 61% 1fr; align-items: start; }
  .about__title { grid-column: 1; }
  .about__text { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; grid-template-columns: 1fr; gap: 56px; max-width: 360px; }
  .about .about__portrait { position: absolute; left: 64px; bottom: -7.6vw; width: 38vw; margin: 0; }
}

/* ---------- témata + ukázka frází ---------- */
.topics__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.topics__count { color: var(--ink-soft); }
/* bez skriptu: témata jako seznam s frázemi */
.temata { margin-top: 40px; display: grid; gap: 36px 48px; }
.tema h3 { font-size: var(--step-body); letter-spacing: -0.01em; }
.tema p { color: var(--ink-soft); }
.tema ul { margin-top: 12px; display: grid; gap: 10px; }
.tema li em, .phrases__cz { display: block; font-style: normal; color: var(--ink-soft); font-size: var(--step-small); }
.temata.is-enhanced { display: none; }
@media (min-width: 760px) { .temata { grid-template-columns: 1fr 1fr; } }
/* se skriptem: výběr tématu (prvky tvoří web.js) */
.topics__grid { margin-top: 40px; display: grid; gap: 40px; }
.topics__list { display: grid; gap: 4px; }
.topic { width: 100%; display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; text-align: left; padding: 14px 0; transition: transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.topic:active { transform: scale(0.985); }
.topic__dot { grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--tint-2); transition: background-color 200ms ease, transform 200ms var(--ease-out); }
.topic__name { font-weight: 600; font-size: var(--step-body); letter-spacing: -0.01em; }
.topic__desc { color: var(--ink-soft); max-width: 38ch; }
.topic[aria-pressed="true"] .topic__dot { background: var(--accent); transform: scale(1.12); }
.topic[aria-pressed="true"] .topic__name { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .topic:hover .topic__dot { transform: scale(1.12); } }
.phrases { background: var(--tint); padding: 28px 24px 32px; }
.phrases__title { font-size: var(--step-head); }
.phrases__list { margin-top: 24px; display: grid; gap: 20px; transition: opacity 200ms ease, filter 200ms ease; }
.phrases__list.is-swapping { opacity: 0; filter: blur(2px); }
.phrases__list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; }
.phrases__list li::before { content: ""; grid-row: 1 / span 2; width: 10px; height: 10px; margin-top: 0.55em; border-radius: 50%; background: var(--accent); }
.phrases__en { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.phrases__cz { margin-top: 2px; }
.phrases__note { margin-top: 28px; font-size: var(--step-small); color: var(--ink-soft); max-width: 44ch; }
.topic-item .phrases { margin: 8px 0 16px; }
@media (min-width: 1100px) {
  .topics__list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .topics__grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; margin-top: 56px; }
  .phrases { position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 32px); padding: 40px 40px 44px; min-height: 480px; }
}

/* ---------- reference na úvodu (hlavní citát a rohy) ---------- */
.voices { background: var(--night); color: #fff; padding: 96px var(--gutter) 48px; display: grid; gap: 64px; }
.voices p { color: #fff; }
.voices__lead { max-width: 40rem; }
.voices__lead p { font-size: var(--step-lead); font-weight: 400; line-height: 1.25; letter-spacing: -0.02em; }
.voices cite, .quote-band cite, .ref cite { display: block; margin-top: 20px; font-style: normal; font-size: var(--step-small); color: var(--on-dark-soft); }
.voices cite strong, .quote-band cite strong { display: block; color: #fff; font-weight: 600; }
.voices__all { margin-top: -36px; }
.voices__all a { font-weight: 500; text-decoration-thickness: 2px; text-underline-offset: 0.25em; text-decoration-color: rgba(255, 255, 255, 0.4); }
.voices__corner--r { margin-left: 25%; }
@media (min-width: 1100px) {
  .voices { min-height: 92vh; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 24px; row-gap: 0; padding-top: 128px; padding-bottom: 56px; }
  .voices__lead { grid-column: 3 / 11; grid-row: 1; max-width: none; text-align: center; }
  .voices__lead p { max-width: 40ch; margin: 0 auto; font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.25rem); }
  .voices__all { grid-column: 3 / 11; grid-row: 2; margin-top: 28px; text-align: center; }
  .voices__corner { grid-row: 4; align-self: end; margin-top: 96px; }
  .voices__corner--l { grid-column: 1 / 5; }
  .voices__corner--r { grid-column: 9 / 13; margin-left: 0; }
}

/* ---------- časté otázky ---------- */
.faq { display: grid; gap: 36px; }
.faq__list { display: grid; gap: 8px; }
.faq__list .wp-block-details { background: var(--tint); transition: background-color 240ms ease, color 240ms ease; }
.faq__list summary { position: relative; list-style: none; display: flex; align-items: center; min-height: 68px; padding: 18px 56px 18px 20px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor; transition: transform 220ms var(--ease-out); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list .wp-block-details[open] { background: var(--accent); color: #fff; }
.faq__list .wp-block-details[open] summary::after { transform: rotate(0deg); }
.faq__list .wp-block-details > :not(summary) { padding: 0 20px; max-width: 60ch; }
.faq__list .wp-block-details > :not(summary) + :not(summary) { margin-top: 12px; }
.faq__list .wp-block-details > :last-child:not(summary) { padding-bottom: 24px; }
.faq__list .wp-block-details[open] > :not(summary) { animation: rise 320ms var(--ease-out) both; }
@media (hover: hover) and (pointer: fine) { .faq__list .wp-block-details:not([open]):hover { background: var(--tint-2); } }
@media (min-width: 1100px) {
  .faq { grid-template-columns: 4fr 8fr; gap: 24px; align-items: start; }
  .faq .section__title { position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 32px); }
  .faq__list summary { min-height: 76px; padding: 20px 64px 20px 28px; }
  .faq__list summary::before, .faq__list summary::after { right: 28px; }
  .faq__list .wp-block-details > :not(summary) { padding-left: 28px; padding-right: 28px; }
  .faq__list .wp-block-details > :last-child:not(summary) { padding-bottom: 28px; }
}

/* ---------- kontakt (kupón) ---------- */
.contact { padding-top: 40px; }
.coupon { position: relative; background: var(--accent); color: #fff; display: grid; }
.coupon h2, .coupon h3 { color: #fff; }
.coupon__stub { position: relative; padding: 36px 24px 40px; }
.coupon__title { font-size: var(--step-head); max-width: 8em; }
.coupon__text { margin-top: 16px; max-width: 36ch; }
.coupon__direct { margin-top: 24px; font-size: var(--step-small); }
.coupon__direct a { font-weight: 500; text-decoration-thickness: 2px; text-underline-offset: 0.25em; white-space: nowrap; }
.coupon .coupon__face { display: none; }
.coupon__form { position: relative; padding: 40px 24px 32px; display: grid; gap: 14px; }
.coupon__form::before { content: ""; position: absolute; left: 16px; right: 16px; top: -3px; height: 6px; background-image: radial-gradient(circle, var(--ground) 2.5px, transparent 3px); background-size: 14px 6px; background-repeat: repeat-x; } /* taste-skill-ignore: tečky perforace */
.coupon__notch { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--ground); top: -14px; }
.coupon__notch--a { left: -14px; }
.coupon__notch--b { right: -14px; }
.coupon__fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: var(--step-small); font-weight: 500; color: #fff; padding: 0; }
.field input { width: 100%; height: 54px; padding: 0 16px; background: rgba(255, 255, 255, 0.14); color: #fff; border-radius: 0; -webkit-appearance: none; appearance: none; transition: background-color 200ms ease; }
.field input::placeholder { color: rgba(255, 255, 255, 0.72); opacity: 1; }
.field input:focus { background: rgba(255, 255, 255, 0.24); outline: none; }
.field input:focus-visible { outline: 3px solid #fff; outline-offset: 0; }
.field__error { font-size: var(--step-small); color: #fff; font-weight: 500; }
.field__error:empty { display: none; }
.field--web { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__opt { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-weight: 500; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.choice__opt:active { transform: scale(0.97); }
.choice input:checked + .choice__opt { background: #fff; color: var(--accent-deep); }
.choice input:focus-visible + .choice__opt { outline: 3px solid #fff; outline-offset: 2px; }
.coupon__form .btn { width: 100%; margin-top: 6px; }
.coupon__note { font-size: var(--step-small); }
.coupon__done { padding: 40px 24px; }
.coupon__done h3 { font-size: var(--step-lead); }
.coupon__done p { margin-top: 8px; }
@media (min-width: 1100px) {
  .coupon { grid-template-columns: 46% 54%; margin: 0 auto; max-width: 1200px; }
  .coupon__stub { padding: 48px; display: flex; flex-direction: column; }
  .coupon__direct { margin-top: auto; padding-top: 40px; }
  .coupon__form { padding: 48px; }
  .coupon__form::before { left: -3px; right: auto; top: 20px; bottom: 20px; width: 6px; height: auto; background-size: 6px 14px; background-repeat: repeat-y; }
  .coupon__notch--a { left: -14px; top: -14px; }
  .coupon__notch--b { left: -14px; right: auto; top: auto; bottom: -14px; }
  .coupon .coupon__face { display: block; width: 136px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; margin-top: 32px; }
  .coupon .coupon__face img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 22%; }
  .coupon__done { padding: 48px; }
}

/* ---------- patička (velká značka) ---------- */
.foot { background: var(--accent-deep); color: #fff; padding: 56px var(--gutter) 32px; }
.foot__mark { font-weight: 600; font-size: 21vw; line-height: 0.82; letter-spacing: -0.06em; color: #fff; white-space: nowrap; margin-left: -0.04em; padding-bottom: 0.18em; }
.foot__cols { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.foot__cols h2 { color: #fff; font-size: var(--step-small); font-weight: 600; letter-spacing: -0.01em; }
.foot__cols ul { margin-top: 12px; display: grid; gap: 8px; }
.foot__cols a, .foot__cols button { text-decoration: none; color: var(--on-dark-soft); font-size: var(--step-small); padding: 0; text-align: left; }
.foot__contact { grid-column: 1 / -1; color: var(--on-dark-soft); font-size: var(--step-small); }
.foot__contact a { color: #fff; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; display: inline-block; }
.foot__bottom { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--on-dark-soft); font-size: var(--step-small); }
.foot__bottom p + p { margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .foot__cols a:hover, .foot__cols button:hover { color: #fff; } }
@media (min-width: 760px) {
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .foot { padding-top: 72px; }
  .foot__mark { font-size: min(21vw, 300px); }
  .foot__cols { grid-template-columns: repeat(3, 1fr) 1.4fr; }
  .foot__contact { grid-column: auto; }
}

/* =================== PODSTRÁNKY =================== */
/* Poznáváte se? */
.ask { display: grid; gap: 28px; }
.ask__list { display: grid; gap: 18px; }
.ask__list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 16px; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.015em; }
.ask__list li::before { content: ""; width: 14px; height: 14px; margin-top: 0.42em; border-radius: 50%; background: var(--tint-2); }
.ask__answer { margin-top: 12px; font-size: var(--step-head); color: var(--accent); }
.ask__lead { font-size: var(--step-lead); line-height: 1.4; letter-spacing: -0.01em; max-width: 40ch; }
.ask__more { margin-top: 20px; max-width: 60ch; }
.ask .ask__photo, .reach .ask__photo { margin: 40px 0 0; width: min(70vw, 360px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; }
.ask__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 1100px) { .ask { grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; } }

/* přínosy */
.gains__list { margin-top: 40px; display: grid; gap: 32px 48px; }
.gains__list > * { position: relative; padding-left: 40px; }
.gains__list > *::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat; } /* srdíčkové odrážky jako na Radčině původním webu */
.gains__list h3, .howto__list h3, .why__list h3, .pay h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.gains__list p { margin-top: 8px; max-width: 48ch; }
@media (min-width: 760px) { .gains__list { grid-template-columns: 1fr 1fr; } }

/* jak to funguje (očíslované kruhy) */
.howto { background: var(--tint); }
.howto__list { margin-top: 40px; display: grid; gap: 32px 48px; counter-reset: krok; }
.howto__list > * { position: relative; padding-left: 68px; counter-increment: krok; }
.howto__list > *::before { content: counter(krok); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; }
.howto__list h3 { padding-top: 8px; }
.howto__list p { margin-top: 8px; max-width: 46ch; }
@media (min-width: 760px) { .howto__list { grid-template-columns: 1fr 1fr; } }

/* citát na pásu */
.quote-band { background: var(--accent-deep); color: #fff; padding: 88px var(--gutter); }
.prose + .quote-band { margin-top: 96px; }
.quote-band p { color: #fff; font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.25rem); line-height: 1.25; letter-spacing: -0.02em; max-width: 34ch; }
.quote-band .quote-band__photo { width: 120px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; margin: 0 0 32px; }
.quote-band__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 1100px) {
  .quote-band { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: 4fr 8fr; column-gap: 24px; align-items: center; }
  .quote-band .wp-block-quote { grid-column: 2; }
  .quote-band .quote-band__photo { width: 22vw; margin: 0; }
}

/* proč se mnou */
.why { display: grid; gap: 40px; }
.why .why__photo { margin: 0; width: min(86vw, 520px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; }
.why__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 25%; }
.why__list { margin-top: 32px; display: grid; gap: 24px; }
.why__list p { margin-top: 6px; max-width: 52ch; }
@media (min-width: 1100px) { .why { grid-template-columns: 5fr 7fr; gap: 24px; align-items: center; } .why .why__photo { width: 34vw; } }

/* seznam referencí */
.refs { columns: 1; column-gap: 12px; }
.refs .ref { break-inside: avoid; -webkit-column-break-inside: avoid; display: block; margin: 0 0 12px; padding: 28px 24px; background: var(--tint); }
.refs .ref:nth-child(5n + 2) { background: var(--accent); color: #fff; }
.refs .ref:nth-child(5n + 2) cite, .refs .ref:nth-child(5n + 2) cite strong { color: #fff; }
.ref p strong { font-weight: 600; }
.ref cite { margin-top: 16px; color: var(--ink-soft); }
.ref cite strong { display: block; color: var(--ink); font-size: var(--step-body); font-weight: 600; }
.ref cite { display: flex; align-items: center; gap: 14px; }
.ref__face { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; } /* fotky studentů z původního webu */
.refs-google { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.refs-google .refs-google__photo { margin: 0; width: 72px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; }
.refs-google__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
@media (min-width: 760px) { .refs { columns: 2; } }
@media (min-width: 1100px) { .refs { columns: 3; } .refs .ref { padding: 32px 28px; } }

/* jak se platí */
.pay { display: grid; gap: 40px; }
.pay p { margin-top: 10px; max-width: 46ch; }
@media (min-width: 760px) { .pay { grid-template-columns: 1fr 1fr; gap: 48px; } .pay .section__title { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .pay { grid-template-columns: 4fr 4fr 4fr; } }

/* kontakt */
.reach { display: grid; gap: 40px; }
.reach__big a { display: inline-block; font-size: clamp(1.5rem, 6.2vw, 4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-decoration: none; word-break: break-word; }
.reach__big a + br + a { margin-top: 8px; color: var(--accent); }
.reach__note { margin-top: 20px; color: var(--ink-soft); }
.reach__facts { display: grid; gap: 28px; }
.reach__facts h2 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.reach__facts p { margin-top: 8px; }
@media (min-width: 1100px) { .reach { grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; } }

/* ---------- blog ---------- */
.posts { display: grid; gap: 48px 24px; }
.posts > li { margin: 0; }
.posts .wp-block-post-featured-image { margin: 0; overflow: hidden; background: var(--tint); }
.posts .wp-block-post-featured-image img { width: 100%; transition: transform 600ms var(--ease-out); }
.posts .wp-block-post-title { margin-top: 18px; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.posts .wp-block-post-title a { text-decoration: none; }
.posts .wp-block-post-excerpt { margin-top: 8px; color: var(--ink-soft); }
.posts .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.posts .wp-block-post-excerpt__more-text { display: none; }
@media (hover: hover) and (pointer: fine) {
  .posts > li:hover .wp-block-post-featured-image img { transform: scale(1.03); }
  .posts > li:hover .wp-block-post-title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
}
@media (min-width: 760px) { .posts { grid-template-columns: 1fr 1fr; } .posts--top > li:first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .posts { grid-template-columns: repeat(3, 1fr); }
  .posts--top > li:first-child { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; }
  .posts--top > li:first-child .wp-block-post-title { margin-top: 0; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
}
.wp-block-query-pagination { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-weight: 500; }
.wp-block-query-pagination a { text-decoration: none; }
.wp-block-query-pagination-numbers { display: flex; gap: 4px; }
.wp-block-query-pagination-numbers .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 50%; }
.wp-block-query-pagination-numbers .current { background: var(--accent); color: #fff; }

/* ---------- článek ---------- */
.article-head { padding: 56px var(--gutter) 0; }
.article-head h1 { font-size: var(--step-head); max-width: 18em; }
.article-head__lead { margin-top: 20px; font-size: var(--step-lead); line-height: 1.4; max-width: 40ch; }
.article-head__meta { margin-top: 24px; display: flex; align-items: center; gap: 14px; color: var(--ink-soft); font-size: var(--step-small); }
.article-head__meta .wp-block-image { margin: 0; flex: none; }
.article-head__meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.article-head__meta strong { color: var(--ink); display: block; }
.article-cover { margin: 40px var(--gutter) 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.article-cover img, .article-cover.wp-block-image img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* fotky na výšku se ořezávají shora, ať zůstane vidět hlava (Radka 29. 11. 2026, iPad) */
.article-cover img, .wp-block-post-featured-image img { object-position: 50% 20%; }
.prose { padding: 48px var(--gutter) 0; max-width: calc(68ch + 2 * var(--gutter)); }
.prose > * + * { margin-top: 1em; }
/* dlouhé adresy a tabulky ze starých článků nesmí na úzkém mobilu přetéct (30. 11. 2026) */
.prose { overflow-wrap: break-word; }
.prose .wp-block-table { overflow-x: auto; } /* široká tabulka se na mobilu posouvá do strany */
.prose .lead, .prose > p:first-child { font-size: var(--step-lead); line-height: 1.4; letter-spacing: -0.01em; }
.prose h2, .prose h3 { margin-top: 2em; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.prose ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: 10px; }
.prose a:not(.wp-block-button__link) { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; } /* tlačítka si drží svou barvu (Školka: tlačítko bylo petrolejové na petrolejové) */
.prose figure img { height: auto; }
.prose blockquote { padding-left: 24px; font-size: var(--step-lead); line-height: 1.4; color: var(--accent-deep); }
.prose .basen { padding-left: 24px; font-size: var(--step-lead); line-height: 1.4; color: var(--accent-deep); } /* Školka */
.prose .skolka-obrazek { max-width: 240px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--tint-2); text-align: left; }
.prose-photos { margin-top: 2.4em; display: flex; gap: 16px; }
.prose-photos .wp-block-image { margin: 0; width: min(42vw, 300px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; }
.prose-photos img, .prose-photos .wp-block-image img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 28%; }
@media (min-width: 1100px) {
  .article-head, .prose { padding-left: calc(var(--gutter) + 8.33vw); }
  .prose { max-width: calc(68ch + 2 * var(--gutter) + 8.33vw); }
  .article-cover { margin-left: calc(var(--gutter) + 8.33vw); }
}

/* video z YouTube – načte se až po kliknutí */
.yt { margin-top: 1.6em; }
.yt__box { position: relative; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.yt button { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 200ms ease; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--accent); transition: transform 200ms var(--ease-out); }
.yt__play::after { content: ""; position: absolute; left: 34px; top: 27px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.yt button:active .yt__play { transform: scale(0.94); }
.yt iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
@media (hover: hover) and (pointer: fine) { .yt button:hover img { opacity: 1; } .yt button:hover .yt__play { transform: scale(1.06); } }

/* autorka pod článkem */
.author { margin: 72px var(--gutter) 0; background: var(--tint); padding: 32px 24px; display: grid; gap: 20px; align-items: center; }
.author .author__photo { margin: 0; width: 120px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; }
.author__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 22%; }
.author h2 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.author p { margin-top: 6px; max-width: 52ch; }
@media (min-width: 760px) { .author { grid-template-columns: 140px 1fr auto; padding: 40px; } .author .author__photo { width: 140px; } }
@media (min-width: 1100px) { .author { margin-left: calc(var(--gutter) + 8.33vw); } }

/* komentáře čtenářů pod článkem (převzaté z původního webu) */
.komentare { margin: 0 var(--gutter); max-width: 68ch; }
.komentare .wp-block-comments-title { margin-top: 72px; font-size: var(--step-lead); letter-spacing: -0.02em; }
.komentare ol { list-style: none; margin: 0; padding: 0; }
.komentare .wp-block-comment-template { margin-top: 8px; }
.komentare li { margin-top: 24px; }
.komentare li li { margin-top: 16px; }
.komentare li ol { margin-left: clamp(16px, 4vw, 40px); }
.komentare .wp-block-comment-author-name { font-weight: 700; }
.komentare .wp-block-comment-date { color: var(--ink-soft); font-size: var(--step-small); }
.komentare .wp-block-comment-content { margin-top: 6px; overflow-wrap: anywhere; }
.komentare .wp-block-comment-content p + p { margin-top: 0.6em; }
.komentare li.bypostauthor { background: var(--tint); padding: 14px 18px; }
@media (min-width: 1100px) { .komentare { margin-left: calc(var(--gutter) + 8.33vw); } }

/* ---------- lišta cookies ---------- */
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; background: var(--night); color: #fff; padding: 20px; font-size: var(--step-small); animation: rise 400ms var(--ease-out) both; }
.cookies[hidden] { display: none; }
.cookies a { color: #fff; }
.cookies__btns { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- vstupy při skrolování (jen se skriptem) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .step .step__photo { -webkit-clip-path: inset(30% 0 0 0); clip-path: inset(30% 0 0 0); transition: -webkit-clip-path 1000ms var(--ease-out), clip-path 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.js .step.is-in .step__photo { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }

/* ---------- v editoru: všechno vidět a dát se vybrat ---------- */
.editor-styles-wrapper .hero__art { position: relative; top: auto; right: auto; bottom: auto; left: auto; height: auto; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 16px; }
.editor-styles-wrapper .hero__art::before { display: none; }
.editor-styles-wrapper .hero .hero__img { position: relative; left: auto; top: auto; opacity: 1; width: 180px; height: 180px; }
.editor-styles-wrapper .head { position: relative; }
.editor-styles-wrapper .about .about__portrait { position: relative; left: auto; bottom: auto; margin: 32px 0 0; width: 280px; }

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .about .about__portrait { opacity: 1; transform: none; }
  .js .step .step__photo { -webkit-clip-path: none; clip-path: none; }
}

/* =================== PRODEJNÍ PRVKY (styl kosweby.cz) =================== */
/* značka: „v pohodě“ ručně, jako na Radčině dosavadním webu (písmo Caveat) */
.brand__name em { font-family: Caveat, cursive; font-style: normal; font-weight: 700; font-size: 1.5em; line-height: 0; color: var(--accent); margin-left: 0.08em; position: relative; top: 0.05em; }
.head__tel { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: var(--step-small); text-decoration: none; white-space: nowrap; }
.head__tel svg { width: 16px; height: 16px; color: var(--accent); }
@media (min-width: 1100px) { .head { gap: 28px; } .nav { margin-left: auto; } }
@media (min-width: 1280px) { .head__tel { display: inline-flex; } }

/* štítek nad nadpisem */
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 5px 16px 5px 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--tint-2); font-size: var(--step-small); font-weight: 500; animation: rise 900ms var(--ease-out) both; }
.hero__badge strong { background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 11px; font-weight: 600; }
/* ručně psaný řádek pod nadpisem */
.hero__hand { font-family: Caveat, cursive; font-weight: 700; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.75rem); line-height: 0.9; color: var(--ink); margin: 0.02em 0 0 1.4em; transform: rotate(-4deg); transform-origin: left center; animation: hand-in 1000ms var(--ease-out) 300ms both; }
@keyframes hand-in { from { opacity: 0; transform: rotate(-4deg) translateY(12px) scale(0.94); } to { opacity: 1; transform: rotate(-4deg); } }
.hero__hand + .hero__lead { margin-top: 20px; }
/* čísla s popiskem */
.hero__facts { gap: 14px 40px; }
.hero__facts li { max-width: 12em; line-height: 1.35; }
.hero__facts strong { display: block; margin-bottom: 2px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
/* tlačítko s obrysem (Zavolat) */
.is-style-obrys .wp-block-button__link { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--tint-2); }
@media (hover: hover) and (pointer: fine) { .is-style-obrys .wp-block-button__link:hover { background: var(--tint); } }
/* plovoucí kartičky u fotky */
.hero .hero__chip { position: absolute; z-index: 3; max-width: 44vw; padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 14px 36px rgba(5, 79, 96, 0.22); font-size: var(--step-small); line-height: 1.35; animation: chip-in 800ms var(--ease-out) both; }
.hero__chip strong { display: block; font-size: var(--step-body); letter-spacing: -0.01em; }
.hero__chip--1 strong::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 0.05em; }
.hero__chip--1 { left: 4vw; top: calc(var(--py) + var(--ps) * 0.1); animation-delay: 1400ms; }
.hero__chip--2 { right: 4vw; top: calc(var(--py) + var(--ps) * 0.56); animation-delay: 2000ms; }
@media (min-width: 1100px) { .hero__chip--2 { top: calc(var(--py) + var(--ps) * 0.8); } }
/* druhá kartička končí kousek před nápisem „20 minut“ u kruhu (pod 360 px na to není místo, zůstává vpravo) */
@media (min-width: 360px) { .hero__chip--2 { right: calc(100% - var(--px) - var(--ps) * 0.886 + 12px); } }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (min-width: 1100px) {
  .hero .hero__chip { max-width: 250px; }
  .hero__chip--1 { left: calc(var(--px) - 7vw); right: auto; }
}
.editor-styles-wrapper .hero .hero__chip { position: relative; left: auto; right: auto; top: auto; margin-top: 8px; }

/* patička: Angličtina + ručně psané „v pohodě :-)“ */
.foot__mark { display: flex; flex-direction: column; align-items: flex-start; white-space: normal; line-height: 0.9; padding-bottom: 0.05em; }
.foot__mark-a { font-weight: 600; font-size: min(9vw, 96px); letter-spacing: -0.05em; color: #fff; }
.foot__mark-b { font-family: Caveat, cursive; font-weight: 700; font-size: min(14vw, 150px); letter-spacing: -0.066em; line-height: 0.8; color: var(--tint); white-space: nowrap; margin: 0 0 0 0.3em; transform: rotate(-4deg); transform-origin: left center; }
.foot__smile { color: var(--on-dark-soft); }
@media (prefers-reduced-motion: reduce) { .hero__hand { transform: rotate(-4deg); } }

/* =================== REFERENCE JAKO BUBLINY ZPRÁV (lekce po telefonu a WhatsAppu) =================== */
.voices { display: grid; gap: 18px; padding: 96px var(--gutter); min-height: 0; }
.voices .voices__title { color: #fff; margin-bottom: 18px; }
.voices .wp-block-quote { position: relative; max-width: 36rem; padding: 22px 24px 20px; border-radius: 26px 26px 26px 6px; background: #fff; color: var(--ink); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22); text-align: left; }
.voices .wp-block-quote p { color: var(--ink); font-size: var(--step-body); line-height: 1.45; max-width: none; margin: 0; }
.voices .voices__lead p { font-size: var(--step-lead); line-height: 1.35; }
.voices .wp-block-quote cite { margin-top: 14px; color: var(--ink-soft); }
.voices .wp-block-quote cite strong { color: var(--ink); }
/* bublina vpravo: petrolejová, jako odeslaná zpráva */
.voices .voices__corner--r { justify-self: end; margin-left: 12%; border-radius: 26px 26px 6px 26px; background: var(--accent); }
.voices .voices__corner--r p, .voices .voices__corner--r cite, .voices .voices__corner--r cite strong { color: #fff; }
.voices .voices__corner--l { margin-right: 8%; }
.voices__all { margin-top: 18px; }
.voices__all a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); color: #fff; font-weight: 500; text-decoration: none; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.voices__all a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .voices__all a:hover { background: rgba(255, 255, 255, 0.12); } }
/* zprávy „přichází“ postupně */
.js .voices .wp-block-quote.reveal { transform: translateY(18px) scale(0.94); transform-origin: 0 100%; transition: opacity 600ms var(--ease-out), transform 700ms cubic-bezier(0.34, 1.4, 0.64, 1); transition-delay: calc(var(--i, 0) * 350ms); }
.js .voices .voices__corner--r.reveal { transform-origin: 100% 100%; }
.js .voices .wp-block-quote.reveal.is-in { transform: none; }
@media (min-width: 1100px) {
  .voices { grid-template-columns: repeat(12, 1fr); grid-template-rows: none; column-gap: 24px; row-gap: 22px; padding-top: 128px; padding-bottom: 128px; }
  .voices .voices__title { grid-column: 1 / 7; grid-row: 1; }
  .voices .voices__lead { grid-column: 1 / 8; grid-row: 2; max-width: none; }
  .voices .voices__lead p { max-width: none; margin: 0; font-size: var(--step-lead); }
  .voices .voices__corner--r { grid-column: 6 / 13; grid-row: 3; margin: 0; align-self: auto; }
  .voices .voices__corner--l { grid-column: 2 / 9; grid-row: 4; margin: 0; align-self: auto; }
  .voices .voices__all { grid-column: 1 / -1; grid-row: 5; margin-top: 18px; text-align: left; }
}
/* stránka Reference: stejné bubliny */
.refs .ref { border-radius: 26px 26px 26px 6px; }
.refs .ref:nth-child(5n + 2) { border-radius: 26px 26px 6px 26px; }

/* slovíčka dne (načítá je skript z ajslovicka.cz) */
.hero__more { margin-top: 20px; font-weight: 600; }
.slovicka .title { display: none; }
.slovicka .word { padding: 16px 0; border-bottom: 1px solid var(--tint-2); }
.slovicka .en { display: block; font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.01em; }
.slovicka .separator { display: none; }
.slovicka__zdroj { margin-top: 12px; font-size: var(--step-small); color: var(--ink-soft); }
