/* =========================================================================
   /o-nas — izolované styly (namespace about__).
   Tokeny, typografie, tlačítka a mřížka (obsah 1140 px) shodné s homepage,
   /eu-strategicke-reporty a /medialni-analyzy. Sdílené soubory nepřepisuje.
   Charakter stránky: firemní positioning + technologie + princip práce s informacemi.
   ========================================================================= */

.about {
  --nv: #021128;
  --bl: #27348b;
  --bl-dark: #202a70;
  --bl-pale: #eef2fc;
  --bl-pale2: #f6f8fd;
  --gy: #5a6478;
  --bd: #e6e9f2;
  --wrap: 1140px;
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0b1830;
}
.about * { box-sizing: border-box; }
:where(.about) img { display: block; max-width: 100%; height: auto; }
:where(.about) figure { margin: 0; }
:where(.about) :where(ul, ol, dl, dd) { list-style: none; margin: 0; padding: 0; }
:where(.about) :where(h1, h2, h3, p, address) { margin: 0; font-style: normal; }
.about [id] { scroll-margin-top: 72px; }
.about__sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- sekce a mřížka ---------- */
.about__section { padding: 56px 20px; }
.about__section--white { background: #fff; }
.about__section--pale { background: var(--bl-pale2); }
.about__section--hero { background: var(--bl-pale2); padding-top: 40px; }
.about__section--principle { background: #fff; border-top: 1px solid var(--bd); }
.about__section--navy { background: var(--nv); color: #fff; }
.about__wrap { max-width: var(--wrap); margin: 0 auto; }

/* ---------- typografie ---------- */
.about h1 { font-size: 30px; line-height: 1.16; font-weight: 800; color: var(--nv); margin-bottom: 22px; letter-spacing: -.01em; max-width: 24ch; }
.about h2 { font-size: 25px; line-height: 1.22; font-weight: 800; color: var(--nv); margin-bottom: 14px; max-width: 34ch; }
.about h3 { font-size: 13px; line-height: 1.35; font-weight: 800; color: var(--nv); letter-spacing: .06em; }
.about__kicker { color: var(--bl); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.about__lead { font-size: 16px; line-height: 1.6; color: var(--gy); max-width: 60ch; }
.about__hero-strong { font-size: 17px; line-height: 1.45; font-weight: 800; color: var(--nv); border-left: 3px solid var(--bl); padding-left: 16px; }
.about__body { font-size: 15.5px; line-height: 1.65; color: var(--gy); max-width: 64ch; }
.about__body + .about__body { margin-top: 12px; }
.about__intro { max-width: 780px; margin-bottom: 30px; }
.about__caption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--gy); }
.about__caption strong { display: block; color: var(--nv); font-size: 13.5px; }
.about__more { margin-top: 20px; font-size: 14.5px; font-weight: 700; }
.about__more a { color: var(--bl); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- tlačítka ---------- */
.about__btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px;
  line-height: 1.3; text-decoration: none; border: 2px solid transparent; text-align: center;
}
.about__btn--light { background: #fff; color: var(--bl); }
.about__btn--light:hover { background: var(--bl-pale); }
.about a:focus-visible { outline: 3px solid var(--bl); outline-offset: 3px; }
.about__section--navy a:focus-visible { outline-color: #fff; }
.about__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* =========================== 1 · HERO =========================== */
.about__hero-row { display: flex; flex-direction: column; gap: 20px; }

/* =========================== 2 · EKOSYSTÉM ===========================
   Jeden propojený pás (ne čtyři samostatné pilíře) */
.about__parts { border: 1px solid #d3d9ee; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 1fr; }
.about__part { padding: 20px; border-bottom: 1px solid #d3d9ee; position: relative; }
.about__part:last-child { border-bottom: 0; }
.about__part h3 { margin-bottom: 6px; }
.about__part h3 a { color: var(--bl); text-decoration: none; }
.about__part h3 a:hover { text-decoration: underline; }
.about__part p { font-size: 14.5px; line-height: 1.55; color: var(--gy); }

/* =========================== 3 · TECHNOLOGIE =========================== */
.about__tech { display: flex; flex-direction: column; gap: 32px; }
.about__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about__tags li { font-size: 13px; font-weight: 700; color: var(--nv); background: #fff; border: 1px solid #d3d9ee; border-radius: 999px; padding: 7px 12px; }
.about__browser {
  background: #fff; border: 1px solid var(--bd); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(2, 17, 40, .12);
}
.about__browser-bar { height: 24px; background: #eef0f6; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.about__browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ccd0e0; }

/* =========================== 4 · ZDROJE =========================== */
.about__numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bd); border: 1px solid var(--bd); border-radius: 12px; overflow: hidden; }
.about__numbers li { background: #fff; padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.about__numbers strong { font-size: 24px; font-weight: 800; color: var(--bl); line-height: 1.1; }
.about__numbers span { font-size: 12.5px; line-height: 1.35; color: var(--gy); font-weight: 600; }
.about__sources { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.about__sources li { position: relative; font-size: 14px; font-weight: 700; color: var(--nv); padding-left: 14px; }
.about__sources li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--bl); }

/* =========================== 5 · PRINCIP (nejsilnější sekce) =========================== */
.about__principle-head h2 { font-size: 28px; }
.about__principle-head { margin-bottom: 32px; }
.about__flow { display: flex; flex-direction: column; gap: 22px; }
.about__flow-step { position: relative; padding: 18px 18px 18px 20px; border-radius: 12px; background: var(--bl-pale2); border-left: 4px solid #b3bde3; }
.about__flow-step:nth-child(2) { border-left-color: #8291d0; }
.about__flow-step:nth-child(3) { border-left-color: #4f60bb; }
.about__flow-step:nth-child(4) { border-left-color: var(--bl); }
.about__flow-step.is-last { background: var(--nv); border-left-color: var(--nv); }
.about__flow-step.is-last h3 { color: #fff; }
.about__flow-step.is-last p { color: rgba(255, 255, 255, .8); }
.about__flow-step h3 { font-size: 18px; letter-spacing: .08em; color: var(--bl); margin-bottom: 4px; }
.about__flow-step p { font-size: 14.5px; line-height: 1.55; color: var(--gy); }
.about__flow-step:not(:last-child)::after {
  content: '↓'; content: '↓' / ''; position: absolute; left: 50%; bottom: -21px; transform: translateX(-50%);
  color: #8a94c4; font-weight: 700; font-size: 15px;
}

/* =========================== 6 · PRO KOHO =========================== */
.about__audiences { display: grid; grid-template-columns: 1fr; border-top: 1px solid #dde2f0; }
.about__audience { padding: 14px 0; border-bottom: 1px solid #dde2f0; }
.about__audience dt { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--nv); margin-bottom: 4px; }
.about__audience dd { font-size: 15px; line-height: 1.55; color: var(--gy); }

/* =========================== 7 · FIREMNÍ ÚDAJE =========================== */
.about__company { display: flex; flex-direction: column; gap: 18px; }
.about__company h2 { margin-bottom: 0; }
.about__company-data dl { border-top: 1px solid var(--bd); }
.about__company-data dl > div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--bd); font-size: 15px; }
.about__company-data dt { flex: 0 0 80px; color: var(--gy); font-weight: 600; }
.about__company-data dd { color: var(--nv); font-weight: 700; }
.about__company-data a { color: var(--bl); text-decoration: none; font-size: inherit; line-height: inherit; }
.about__company-data a:hover { text-decoration: underline; }

/* =========================== 8 · FINAL CTA =========================== */
.about__final h2 { color: #fff; max-width: 32ch; }
.about__final > p { color: rgba(255, 255, 255, .8); font-size: 15.5px; line-height: 1.65; max-width: 60ch; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (min-width: 640px) {
  .about__numbers { grid-template-columns: repeat(3, 1fr); }
  .about__parts { grid-template-columns: 1fr 1fr; }
  .about__part { border-right: 1px solid #d3d9ee; }
  .about__part:nth-child(2n) { border-right: 0; }
  .about__part:nth-child(3) { border-bottom: 0; }
}

@media (min-width: 768px) {
  .about__section { padding: 72px 32px; }
  .about__section--hero { padding-top: 48px; }
  .about h1 { font-size: 38px; }
  .about h2 { font-size: 28px; }
  .about__principle-head h2 { font-size: 34px; }
  .about__audiences { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .about__company { flex-direction: row; align-items: flex-start; gap: 64px; }
  .about__company-data { flex: 1 1 0; }
}

@media (min-width: 1024px) {
  .about__section { padding-top: 80px; padding-bottom: 80px; }
  .about__section--hero { padding-top: 56px; padding-bottom: 72px; }
  .about h1 { font-size: 44px; max-width: 32ch; }
  .about h2 { font-size: 31px; }
  .about__lead { font-size: 17px; }
  .about__body { font-size: 16px; }
  .about__hero-row { flex-direction: row; align-items: flex-start; gap: 64px; }
  .about__hero-row .about__lead { flex: 1 1 0; }
  .about__hero-row .about__hero-strong { flex: 0 0 380px; margin-top: 4px; }

  .about__parts { grid-template-columns: repeat(4, 1fr); }
  .about__part { border-bottom: 0; border-right: 1px solid #d3d9ee; padding: 24px 22px; }
  .about__part:nth-child(2n) { border-right: 1px solid #d3d9ee; }
  .about__part:last-child { border-right: 0; }
  .about__part:not(:last-child)::after {
    content: '→'; content: '→' / ''; position: absolute; right: -9px; top: 24px;
    background: #fff; color: #8a94c4; font-weight: 700; font-size: 14px; line-height: 1; padding: 2px 0;
  }

  .about__tech { flex-direction: row; align-items: center; gap: 56px; }
  .about__tech-text { flex: 1 1 0; }
  .about__shot { flex: 0 0 560px; }

  .about__principle-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 64px; align-items: start; margin-bottom: 40px; }
  .about__principle-head h2 { font-size: 40px; margin-bottom: 0; }
  .about__flow { flex-direction: row; gap: 26px; }
  .about__flow-step { flex: 1 1 0; border-left: 0; border-top: 4px solid #b3bde3; padding: 20px 18px; }
  .about__flow-step:nth-child(2) { border-top-color: #8291d0; }
  .about__flow-step:nth-child(3) { border-top-color: #4f60bb; }
  .about__flow-step:nth-child(4) { border-top-color: var(--bl); }
  .about__flow-step.is-last { border-top-color: var(--nv); }
  .about__flow-step:not(:last-child)::after { content: '→'; content: '→' / ''; left: auto; right: -20px; bottom: auto; top: 50%; transform: translateY(-50%); }
}

/* firemní blok: hlavička s rokem působení */
.about__company-head h2 { margin-bottom: 8px; }
@media (min-width: 768px) {
  .about__company-head { flex: 0 0 280px; }
}
