/* Úvod „Head of Marketing 360° + AI developer“ (10. 11. 2026): sekce pod hero na CZ/EN/RU úvodu.
   Mobil je výchozí, desktop od 768/1024 px. Barvy navazují na hero-360.css a ios-nav.css. */

.h3 {
  --ink: #1e1b2e; --muted: #4f5b6e; --navy: #152b70; --navy-2: #101e52; --lav: #8691fa; --eyebrow: #3d47b0;
  --glass: rgba(255, 255, 255, .62); --line: rgba(21, 43, 112, .12);
  color: var(--ink);
}
.h3 *, .h3 *::before, .h3 *::after { box-sizing: border-box; }

/* ---------- společné ---------- */
.h3-sec { padding: 52px 20px; content-visibility: auto; contain-intrinsic-size: auto 900px; }
.h3-wrap { max-width: 1160px; margin: 0 auto; }
.h3-head { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.h3-eyebrow {
  display: inline-block; margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--eyebrow);
}
.h3-h2 { margin: 0; font-size: clamp(30px, 6.4vw, 52px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.h3-h2 em { font-style: normal; background: linear-gradient(135deg, #8691fa 0%, #152b70 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h3-lead { margin: 16px 0 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.h3-card {
  background: var(--glass); border: 1px solid rgba(255, 255, 255, .85); border-radius: 26px;
  box-shadow: 0 20px 44px -26px rgba(21, 43, 112, .35);
}
.h3-ico { width: 22px; height: 22px; flex: none; }
.h3-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.h3-link svg { width: 18px; height: 18px; transition: transform .2s; }
.h3-link:hover svg { transform: translateX(3px); }
.h3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.h3-btn--primary { color: #fff; background: linear-gradient(135deg, #8691fa 0%, #152b70 100%); box-shadow: 0 14px 30px -14px rgba(21, 43, 112, .6); }
.h3-btn--primary:hover { transform: translateY(-2px); }
.h3-btn--ghost { color: var(--navy); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.h3-btn--ghost:hover { background: #fff; }
.h3-btn--white { color: var(--navy-2); background: #fff; }
.h3-btn--white:hover { transform: translateY(-2px); }
.h3-btn--line { color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.h3-btn--line:hover { background: rgba(255, 255, 255, .1); }
.h3 a:focus-visible, .h3 summary:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; border-radius: 12px; }

/* ---------- problém ---------- */
.h3-problem { display: grid; gap: 28px; align-items: center; }
.h3-problem .h3-head { text-align: left; margin: 0; }
.h3-pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h3-pains li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; font-size: 16px; line-height: 1.5; font-weight: 600; }
.h3-pains .h3-ico { color: #c2410c; margin-top: 1px; }

/* ---------- tři pilíře ---------- */
.h3-pillars { display: grid; gap: 16px; }
.h3-pillar { display: flex; flex-direction: column; padding: 26px 24px; }
.h3-pillar__tag {
  align-self: flex-start; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: var(--navy); background: rgba(134, 145, 250, .18);
}
.h3-pillar h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.h3-pillar p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.h3-checks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.h3-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.h3-checks .h3-ico { width: 20px; height: 20px; color: #4f5bd5; }
.h3-pillar__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.h3-price { font-weight: 800; color: var(--navy); font-size: 17px; }
.h3-pillar--main { color: #fff; background: linear-gradient(160deg, #1b347f 0%, #101e52 100%); border-color: rgba(255, 255, 255, .08); }
.h3-pillar--main .h3-pillar__tag { color: #fff; background: rgba(255, 255, 255, .14); }
.h3-pillar--main p { color: rgba(255, 255, 255, .78); }
.h3-pillar--main .h3-checks .h3-ico { color: #aab2ff; }
.h3-pillar--main .h3-pillar__foot { border-color: rgba(255, 255, 255, .16); }
.h3-pillar--main .h3-price, .h3-pillar--main .h3-link { color: #fff; }

.h3-band {
  margin: 20px auto 0; max-width: 860px; padding: 14px 20px; border-radius: 22px; text-align: center;
  font-size: 15px; line-height: 1.55; color: var(--muted); background: rgba(255, 255, 255, .45); border: 1px dashed rgba(21, 43, 112, .22);
}
.h3-band a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.h3-band a { display: inline-block; padding: 11px 2px; }

/* ---------- důkaz (tmavá sekce) ---------- */
.h3-proof { color: #fff; background: radial-gradient(120% 90% at 85% 10%, #2a46a8 0%, #152b70 42%, #0c1740 100%); border-radius: 36px; margin: 0 12px; overflow: hidden; }
.h3-proof .h3-eyebrow { color: #b9c0ff; }
.h3-proof .h3-h2 em { background: linear-gradient(135deg, #c3c8ff 0%, #8691fa 100%); -webkit-background-clip: text; background-clip: text; }
.h3-proof .h3-lead { color: rgba(255, 255, 255, .8); }
.h3-proof__grid { display: grid; gap: 40px; align-items: center; }
.h3-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.h3-stat { padding: 16px 12px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.h3-stat b { display: block; font-size: clamp(24px, 6vw, 34px); line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.h3-stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .72); }
.h3-products { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.h3-products li { padding: 8px 14px; border-radius: 999px; font-size: 14px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }
.h3-products b { color: #fff; }
.h3-proof__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.h3-phones { position: relative; height: 360px; max-width: 460px; width: 100%; margin: 0 auto; }
.h3-phone {
  position: absolute; top: 20px; left: 50%; width: min(150px, 38vw); aspect-ratio: 480 / 1039; overflow: hidden;
  border-radius: 30px; border: 7px solid #0a1233; background: #0a1233;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.h3-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h3-phone--a { transform: translateX(-112%) rotate(-7deg) scale(.88); z-index: 1; }
.h3-phone--b { transform: translateX(-50%); z-index: 2; top: 0; }
.h3-phone--c { transform: translateX(12%) rotate(7deg) scale(.88); z-index: 1; }

/* ---------- postup ---------- */
.h3-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: h3step; }
.h3-step { position: relative; padding: 22px 22px 22px 76px; }
.h3-step::before {
  counter-increment: h3step; content: counter(h3step);
  position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #8691fa, #152b70);
}
.h3-step h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.h3-step p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ---------- ceník ---------- */
.h3-plans { display: grid; gap: 16px; align-items: stretch; }
.h3-plan { display: flex; flex-direction: column; padding: 28px 24px; }
.h3-plan__name { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.h3-plan__badge { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #fff; color: var(--navy); align-self: flex-start; }
.h3-plan__price { margin: 6px 0 2px; font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.h3-plan__unit { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.h3-plan__for { margin: 0 0 18px; line-height: 1.55; color: var(--muted); }
.h3-tiers { display: grid; gap: 8px; margin: 8px 0 18px; }
.h3-tier { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.h3-tier span { font-size: 14px; color: rgba(255, 255, 255, .8); }
.h3-tier b { font-size: 18px; white-space: nowrap; }
.h3-plan .h3-btn { margin-top: auto; width: 100%; }
.h3-plan--main { color: #fff; background: linear-gradient(160deg, #1b347f 0%, #101e52 100%); border-color: rgba(255, 255, 255, .08); }
.h3-plan--main .h3-plan__for, .h3-plan--main .h3-plan__unit { color: rgba(255, 255, 255, .78); }
.h3-plan--main .h3-checks .h3-ico { color: #aab2ff; }
.h3-note { margin: 18px auto 0; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- srovnání: tabulka na desktopu, karty na mobilu ---------- */
.h3-compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.h3-compare caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.h3-compare thead { display: none; }
.h3-compare tbody, .h3-compare tr, .h3-compare th, .h3-compare td { display: block; }
.h3-compare tr { margin-bottom: 14px; padding: 18px 20px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .85); border-radius: 22px; }
.h3-compare th { margin-bottom: 10px; font-size: 17px; text-align: left; }
.h3-compare td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); text-align: right; }
.h3-compare td::before { content: attr(data-label); color: var(--ink); font-weight: 600; text-align: left; }
.h3-compare td.is-me { color: var(--navy); font-weight: 800; }
.h3-compare td.is-me::before { color: var(--navy); }

/* ---------- O mně ---------- */
.h3-about { display: grid; gap: 28px; padding: 18px; align-items: center; }
.h3-about__photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 520px; background: #dfe3ff; }
.h3-about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 20%; display: block; }
.h3-about__langs {
  position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--navy); background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.h3-about__body { padding: 0 6px 8px; }
.h3-about__body .h3-h2 { font-size: clamp(28px, 5.6vw, 42px); }
.h3-about__body .h3-h2 small { display: block; margin-top: 6px; font-size: .48em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.h3-about .h3-stats { margin: 24px 0 18px; }
.h3-about .h3-stat { background: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .9); }
.h3-about .h3-stat b { color: var(--navy); }
.h3-about .h3-stat span { color: var(--muted); }

/* ---------- FAQ ---------- */
.h3-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.h3-faq details { padding: 0 20px; }
.h3-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; font-size: 17px; font-weight: 700; line-height: 1.4;
}
.h3-faq summary::-webkit-details-marker { display: none; }
.h3-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 500; color: var(--navy); background: rgba(134, 145, 250, .18); transition: transform .2s; }
.h3-faq details[open] summary::after { transform: rotate(45deg); }
.h3-faq details p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }
.h3-faq details a { color: var(--navy); font-weight: 700; }

/* ---------- závěrečná výzva ---------- */
.h3-final { text-align: center; color: #fff; padding: 48px 22px; border-radius: 32px; background: radial-gradient(120% 120% at 50% 0%, #2a46a8 0%, #152b70 45%, #0c1740 100%); }
.h3-final .h3-h2 em { background: linear-gradient(135deg, #c3c8ff 0%, #8691fa 100%); -webkit-background-clip: text; background-clip: text; }
.h3-final .h3-lead { color: rgba(255, 255, 255, .82); margin-bottom: 28px; }
.h3-final__ctas { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.h3-micro { margin: 22px auto 0; max-width: 680px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- portfolio: šipka místo ikonového fontu ---------- */
.h3-arrow { width: 20px; height: 20px; vertical-align: -4px; }
/* štítek „Portfolio“: tmavší kvůli kontrastu (Lighthouse) */
.h3 #portfolio-section .text-primary { color: #3d47b0; }
/* portfolio (stávající pás náhledů): větší popisky a dotykové cíle na mobilu */
.h3 #portfolio-section a.inline-flex { min-height: 44px; }
.h3 .preview-range { height: 44px; }
.h3 .preview-arrow { min-width: 44px; min-height: 44px; flex: none; }
.h3 .preview-meta > span { font-size: 12px; letter-spacing: .04em; white-space: normal; text-align: right; line-height: 1.35; }

/* ---------- tablet a desktop ---------- */
@media (min-width: 768px) {
  .h3-sec { padding: 96px 32px; }
  .h3-head { margin-bottom: 48px; }
  .h3-pillars, .h3-plans { grid-template-columns: repeat(3, 1fr); }
  .h3-steps { grid-template-columns: repeat(2, 1fr); }
  .h3-proof { margin: 0 24px; border-radius: 44px; }
  .h3-phones { height: 520px; }
  .h3-phone { width: 220px; border-radius: 38px; border-width: 9px; }
  .h3-about { grid-template-columns: 5fr 7fr; gap: 44px; padding: 24px; }
  .h3-about__body { padding: 0 20px 0 0; }
  .h3-final { padding: 72px 48px; }
  .h3-final__ctas { flex-direction: row; justify-content: center; }
  .h3-band { border-radius: 999px; }
}
@media (min-width: 1024px) {
  .h3-sec { padding: 112px 40px; }
  .h3-problem { grid-template-columns: 6fr 5fr; gap: 56px; }
  .h3-steps { grid-template-columns: repeat(4, 1fr); }
  .h3-step { padding: 76px 22px 24px; }
  .h3-step::before { top: 22px; left: 22px; }
  .h3-proof__grid { grid-template-columns: 7fr 5fr; gap: 56px; }
  .h3-proof { padding: 112px 64px; }
  .h3-plan--main { transform: translateY(-12px); }

  .h3-compare thead { display: table-header-group; }
  .h3-compare { display: table; background: var(--glass); border: 1px solid rgba(255, 255, 255, .85); border-radius: 26px; overflow: hidden; }
  .h3-compare tbody { display: table-row-group; }
  .h3-compare tr { display: table-row; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
  .h3-compare th, .h3-compare td { display: table-cell; padding: 18px 20px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; font-size: 15px; }
  .h3-compare thead th { border-top: 0; font-size: 14px; color: var(--muted); font-weight: 700; }
  .h3-compare td::before { content: none; }
  .h3-compare th[scope="row"] { font-size: 15px; width: 22%; }
  .h3-compare .is-me { background: rgba(134, 145, 250, .14); }
  .h3-compare thead .is-me { color: var(--navy); font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
  .h3-btn, .h3-link svg, .h3-faq summary::after { transition: none; }
}

/* patička: řádek interních odkazů (integrate/patch_nav.py); stejné styly jsou inline i na starších stránkách */
.ft360 { max-width: 80rem; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid rgba(21, 43, 112, .1); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.ft360 a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; color: #4f5b6e; text-decoration: none; }
.ft360 a:hover { color: #152b70; text-decoration: underline; }
