/* ==========================================================================
   MV web – v1.1 (tmavá hero varianta)
   Věrná implementace návrhu „MV_web_Draft / MV - HP – v1" z Adobe XD.
   Geometrie přeměřena přímo v XD specs módu (pozice/rozměry prvků v design px).
   Jednotka --u = 1/1920 šířky okna → celý layout škáluje proporčně s návrhem.
   ========================================================================== */

/* Samohostované fonty (latin + latin-ext, unicode-range) */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-ext-300-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-300-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/barlow-condensed-latin-ext-700-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/barlow-condensed-latin-700-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --c-white: #ffffff;
  --c-gray-bg: #f2f2f3;
  --c-orange: #f3995e;
  --c-pink: #e62358;
  --c-shadow: rgba(0, 0, 0, 0.07);
  --c-purple: #5f4792;
  --c-red: #c9002d;
  --c-blue: #00aaff;
  --c-navy: #030d57;
  --c-black: #000000;
  --c-logo-dark: #1d1d1b;
  --grad: linear-gradient(60deg, #F3995E 0%, #E62358 100%);
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Škálovací jednotka: 1 design-px z 1920px plátna */
  --u: calc(min(100vw, 1920px) / 1920);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
/* <picture> je jen obal pro výběr formátu — v layoutu má zůstat neviditelné,
   aby flex/grid položkou zůstal <img> stejně jako před zavedením WebP */
picture { display: contents; }
ul { list-style: none; }
a { color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: calc(18 * var(--u));
  line-height: calc(30 / 18);
  color: var(--c-black);
  background: var(--c-white);
  overflow-x: hidden;
}

/* 1920px design rám na střed */
.frame {
  position: relative;
  width: min(1920px, 100vw);
  margin-inline: auto;
  height: 100%;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Sdílené typografické prvky ---------- */
.h3 {
  font-size: calc(29 * var(--u));
  line-height: calc(30 / 29);
  font-weight: 700;
}
.section-title {
  font-size: calc(50 * var(--u));
  line-height: calc(65 / 50);
  font-weight: 300;
}

/* ---------- Tečkovaná linka ---------- */
.dotted-line {
  flex: 1 1 auto;
  height: calc(14 * var(--u));
  background-image: url("../assets/img/linka-teckovana.svg");
  background-repeat: repeat-x;
  background-size: calc(966 * var(--u)) auto;
  background-position: right center;
  min-width: calc(60 * var(--u));
}

/* ---------- Odrážky ---------- */
.list-dotted li {
  position: relative;
  padding-left: calc(22 * var(--u));
  font-size: calc(18 * var(--u));
  line-height: calc(30 / 18);
  font-weight: 300;
}
.list-dotted li::before {
  content: "";
  position: absolute;
  left: calc(2 * var(--u));
  top: calc(12 * var(--u));
  width: calc(6 * var(--u));
  height: calc(6 * var(--u));
  border-radius: 50%;
  background: var(--c-pink);
}
.list-dotted--small li {
  font-size: calc(16 * var(--u));
  line-height: calc(24 / 16);
  padding-left: calc(18 * var(--u));
}
.list-dotted--small li::before { top: calc(9 * var(--u)); width: calc(5 * var(--u)); height: calc(5 * var(--u)); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn--primary {
  background: var(--c-pink);
  color: var(--c-white);
  font-size: calc(18 * var(--u));
  line-height: 1;
  min-height: calc(60 * var(--u));
  padding-inline: calc(48 * var(--u));
}
.btn--primary:hover { background: var(--c-orange); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(243, 153, 94, 0.45); }
.btn--outline-light {
  border: calc(2 * var(--u)) solid var(--c-white);
  color: var(--c-white);
  font-size: calc(18 * var(--u));
  min-height: calc(50 * var(--u));
  padding-inline: calc(34 * var(--u));
  background: transparent;
}
.btn--outline-light:hover { border-color: var(--c-orange); color: var(--c-orange); background: rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   HLAVIČKA — přesná SVG kompozice z XD (logo + podtitul + tečkovaná linka)
   Group 20/38: x0, y70, 965×125; menu: y116, EN končí na x1778
   ========================================================================== */
.site-header { position: relative; }
.site-header__graphic {
  position: absolute;
  left: 0;
  top: calc(77 * var(--u));
  width: calc(965 * var(--u));
  display: block;
  z-index: 2;
}
.site-header__graphic img { width: 100%; height: auto; }

.site-nav {
  position: absolute;
  top: calc(116 * var(--u));
  right: calc(142 * var(--u));
  z-index: 3;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: calc(42 * var(--u));
  white-space: nowrap;
}
.site-nav a {
  display: inline-block;
  font-size: calc(18 * var(--u));
  line-height: calc(46 * var(--u));
  font-weight: 400;
  text-decoration: none;
}
.site-nav a:hover { color: var(--c-orange); text-decoration: underline; text-underline-offset: calc(8 * var(--u)); text-decoration-thickness: calc(2 * var(--u)); }
.site-nav__lang a { font-weight: 700; margin-left: calc(20 * var(--u)); }
.site-nav--dark a { color: var(--c-black); }
/* Na světlém podkladu oranžový text neprojde kontrastem -> akcent růžovou, mechanismus (podtržení) stejný */
.site-nav--dark a:hover { color: var(--c-pink); }
.site-nav a.is-active {
  background: var(--c-orange);
  color: var(--c-white);
  padding-inline: calc(16 * var(--u));
}
/* Aktivní položka = odkaz na aktuální stránku, hover na ní nic nemění */
.site-nav a.is-active:hover { color: var(--c-white); text-decoration: none; }
.nav-toggle { display: none; }

/* ==========================================================================
   HERO — výška přesně 839 (uvodni_foto 1920×839)
   H1: x133 y295 w885 (Light 50/55, zvýraznění #F3995E); perex x133 y561 (25/33)
   ========================================================================== */
.hero {
  position: relative;
  height: calc(839 * var(--u));
  background: #131118;
  color: var(--c-white);
}
.hero .frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/uvodni_foto.png") center top / cover no-repeat;
  /* WebP pro prohlížeče, které ho umí; řádek výš zůstává fallbackem na PNG */
  background-image: image-set(
    url("../assets/img/uvodni_foto.webp") type("image/webp"),
    url("../assets/img/uvodni_foto.png") type("image/png"));
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero .frame::before {
    background-image: url("../assets/img/uvodni_foto@2x.png");
    background-image: image-set(
      url("../assets/img/uvodni_foto@2x.webp") type("image/webp"),
      url("../assets/img/uvodni_foto@2x.png") type("image/png"));
  }
}
.hero .frame { z-index: 1; }
.hero .site-nav a { color: var(--c-white); }

.hero__title {
  position: absolute;
  left: calc(133 * var(--u));
  top: calc(295 * var(--u));
  width: calc(920 * var(--u));
  font-size: calc(50 * var(--u));
  line-height: calc(55 / 50);
  font-weight: 300;
  color: var(--c-white);
}
.hero__title em { font-style: normal; color: var(--c-orange); }
.hero__perex {
  position: absolute;
  left: calc(133 * var(--u));
  top: calc(561 * var(--u));
  width: calc(860 * var(--u));
  font-size: calc(25 * var(--u));
  line-height: calc(33 / 25);
  font-weight: 300;
}

/* ==========================================================================
   PORTFOLIO — sekce 839..1300 (H 461)
   IIIV mark (Group 23, 366×131): x968, y798 → top −41 vůči sekci
   Foto image(3) 812×508: x968, y877 → top +38; text x283, H3 top +76
   CTA 60 vysoké na y+427 (mírně přesahuje do šedého bloku pod sekcí)
   ========================================================================== */
.portfolio {
  position: relative;
  background: var(--c-white);
  height: calc(488 * var(--u));
}
.portfolio__brandmark {
  position: absolute;
  left: calc(968 * var(--u));
  top: calc(-41 * var(--u));
  width: calc(366 * var(--u));
  height: auto;
  z-index: 1;
  pointer-events: none;
}
.portfolio__photo {
  position: absolute;
  left: calc(968 * var(--u));
  top: calc(67 * var(--u));
  width: calc(812 * var(--u));
  z-index: 2;
}
.portfolio__photo img { box-shadow: 0 calc(24 * var(--u)) calc(56 * var(--u)) rgba(0, 0, 0, 0.16); }
.portfolio__photo img { width: 100%; height: auto; }
.portfolio__text {
  position: absolute;
  left: calc(283 * var(--u));
  top: calc(103 * var(--u));
  width: calc(625 * var(--u));
  z-index: 2;
}
.portfolio__text .h3 { margin-bottom: calc(26 * var(--u)); }
.portfolio__cta {
  position: absolute;
  left: calc(283 * var(--u));
  top: calc(456 * var(--u));
  z-index: 4;
}

/* ==========================================================================
   ČÁST AKTIVIT — šedý blok jen 1239 px široký (x0..1239), H 770
   H3 x281, top +131
   ========================================================================== */
.inspirace { position: relative; background: var(--c-white); }
.inspirace__box {
  width: calc(1239 * var(--u));
  min-height: calc(756 * var(--u));
  background: var(--c-gray-bg);
  padding: calc(131 * var(--u)) calc(80 * var(--u)) calc(60 * var(--u)) calc(281 * var(--u));
}
.inspirace__box .h3 { margin-bottom: calc(38 * var(--u)); }
.inspirace__box .list-dotted { margin-bottom: calc(30 * var(--u)); }

/* ==========================================================================
   REFERENCE — titulek na x813 s tečkovanou linkou od levého okraje;
   karta 1118×431 na střed; portrét 195; šipky x275/x263 od okrajů (47×104);
   counter 1/15 pod kartou (leží už na oranžovém pruhu)
   ========================================================================== */
.reference {
  position: relative;
  display: flow-root;
  background: transparent;
}
.reference__heading {
  margin-top: calc(-259 * var(--u));
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: calc(24 * var(--u));
}
.reference__heading .dotted-line {
  flex: 0 0 auto;
  width: calc(790 * var(--u));
  background-image: url("../assets/img/linka-teckovana-2.svg");
}
.reference__stage-wrap { position: relative; z-index: 2; }
.reference__card {
  position: relative;
  display: flex;
  gap: calc(50 * var(--u));
  align-items: flex-start;
  background: var(--c-white);
  box-shadow: 0 calc(3 * var(--u)) calc(85 * var(--u)) rgba(0, 0, 0, 0.07);
  width: calc(1120 * var(--u));
  min-height: calc(436 * var(--u));
  margin: calc(37 * var(--u)) auto 0;
  padding: calc(62 * var(--u)) calc(64 * var(--u)) calc(44 * var(--u));
  transition: opacity 0.25s ease;
  z-index: 2;
}
.reference__card.is-leaving { opacity: 0; }
.reference__portrait { flex: 0 0 calc(195 * var(--u)); margin-top: calc(37 * var(--u)); }
.reference__portrait img {
  width: calc(195 * var(--u));
  height: calc(195 * var(--u));
  border-radius: 50%;
  object-fit: cover;
}
.reference__body blockquote p {
  font-size: calc(16 * var(--u));
  line-height: calc(24 / 16);
  font-style: italic;
  font-weight: 300;
}
.reference__author {
  margin-top: calc(26 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: calc(24 / 16);
  font-weight: 400;
}
.reference__author strong { font-weight: 700; }

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: calc(14 * var(--u));
  z-index: 3;
  transition: transform 0.15s ease;
}
.carousel__arrow img { width: calc(47 * var(--u)); height: calc(104 * var(--u)); }
.carousel__arrow--prev { left: calc(275 * var(--u)); }
.carousel__arrow--next { right: calc(263 * var(--u)); }
.carousel__arrow:hover { transform: translateY(-50%) scale(1.1); }

.reference__counter {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: calc(16 * var(--u));
  margin-top: calc(8 * var(--u));
  height: calc(24 * var(--u));
}

/* ==========================================================================
   KLIENTI — oranžový pruh 1245×316 od levého okraje, karta a counter ho
   překrývají (−116); titulek doprava (končí na x1030), u spodní hrany
   Loga: bitmapa 1110 px na střed, +110 pod pruhem
   ========================================================================== */
.klienti { position: relative; background: var(--c-white); }
.klienti__band {
  position: relative;
  width: calc(1245 * var(--u));
  height: calc(316 * var(--u));
  background: var(--c-orange);
  margin-top: calc(-106 * var(--u));
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.klienti__title {
  font-size: calc(50 * var(--u));
  line-height: calc(65 / 50);
  font-weight: 300;
  color: var(--c-white);
  padding-right: calc(215 * var(--u));
  padding-bottom: calc(30 * var(--u));
}
.klienti__logos {
  padding-top: calc(62 * var(--u));
  display: flex;
  justify-content: center;
}
.klienti__logos img { width: calc(1110 * var(--u)); height: auto; }

/* ==========================================================================
   Z MÉHO PŮSOBENÍ — vložený šedý box x142..1781 (š. 1639), NE full-width
   H2 +87 od horní hrany boxu; karty x281..1643 (š. 1362, 5 sloupců bez mezer),
   hlavičky karet H128
   ========================================================================== */
.pusobeni {
  position: relative;
  background: var(--c-white);
  padding-top: calc(106 * var(--u));
}
.pusobeni__box {
  width: calc(1639 * var(--u));
  margin-left: calc(142 * var(--u));
  background: var(--c-gray-bg);
  height: calc(400 * var(--u));
  padding: calc(93 * var(--u)) 0 0;
}
.pusobeni__box .section-title { text-align: center; }
.pusobeni__perex {
  max-width: calc(840 * var(--u));
  margin: calc(25 * var(--u)) auto 0;
  text-align: center;
  font-size: calc(16 * var(--u));
  line-height: calc(27 / 16);
}
.komunity {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: calc(1385 * var(--u));
  margin: calc(84 * var(--u)) auto 0;
  position: relative;
  z-index: 2;
}
.komunita { background: var(--c-white); display: flex; flex-direction: column; min-height: calc(346 * var(--u)); box-shadow: 0 calc(3 * var(--u)) calc(85 * var(--u)) rgba(0, 0, 0, 0.07); }
.komunita__head {
  height: calc(128 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(18 * var(--u)) calc(24 * var(--u));
}
.komunita__head img { max-height: calc(90 * var(--u)); width: auto; max-width: 100%; }
.komunita--pk .komunita__head { background: var(--c-purple); }
.komunita--okr .komunita__head { background: var(--c-red); }
.komunita--banka .komunita__head { background: var(--c-blue); }
.komunita--pohoda .komunita__head { background: var(--c-orange); }
.komunita--leaders .komunita__head { background: var(--c-navy); }
.komunita > .list-dotted { padding: calc(22 * var(--u)) calc(20 * var(--u)) calc(28 * var(--u)); }
.komunita__logotext {
  font-family: "Zuume Edge", "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: calc(30 * var(--u));
  line-height: 1;
  color: var(--c-white);
  white-space: nowrap;
}

/* ==========================================================================
   NEWSLETTER — box 1118×341 (x403..1521), gradient, boční tečkované linky
   ========================================================================== */
.newsletter {
  position: relative;
  background: transparent;
  padding-top: calc(414 * var(--u));
}
.newsletter__wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.newsletter__wrap > .dotted-line {
  position: absolute;
  top: calc(211 * var(--u));
  flex: none;
}
.newsletter__wrap > .dotted-line--left {
  left: 0;
  width: calc(406 * var(--u));
  background-repeat: no-repeat;
  background-position: left calc(-560 * var(--u)) center;
}
.newsletter__wrap > .dotted-line--right { display: none; }
.newsletter__box {
  width: calc(1120 * var(--u));
  min-height: calc(342 * var(--u));
  background: var(--grad);
  border-radius: 0; /* MV-12: vnější gradientový box hranatý dle XD; pill jen input+tlačítko */
  text-align: center;
  color: var(--c-white);
  padding: calc(78 * var(--u)) calc(90 * var(--u)) calc(52 * var(--u));
}
.newsletter__title {
  font-size: calc(50 * var(--u));
  line-height: calc(65 / 50);
  font-weight: 300;
}
.newsletter__perex {
  margin-top: calc(2 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: calc(24 / 16);
}
.newsletter__form {
  margin-top: calc(30 * var(--u));
  display: flex;
  gap: calc(20 * var(--u));
  justify-content: center;
  align-items: center;
}
.newsletter__form input {
  flex: 0 1 calc(620 * var(--u));
  height: calc(53 * var(--u));
  border: none;
  border-radius: 999px;
  padding: 0 calc(28 * var(--u));
  font: inherit;
  font-size: calc(16 * var(--u));
  color: var(--c-black);
}
.newsletter__form input:focus { outline: 3px solid rgba(255, 255, 255, 0.6); }
.newsletter__message { margin-top: calc(14 * var(--u)); font-size: calc(16 * var(--u)); min-height: calc(24 * var(--u)); }

/* ==========================================================================
   PATIČKA — soc. ikony (3×56) v tečkované lince, pečeť 195, copyright,
   šedý pruh 120 s oříznutým IIIV markem (Group 24, 431)
   ========================================================================== */
.footer { position: relative; background: var(--c-white); }
.footer__social-row {
  display: flex;
  align-items: center;
  gap: calc(28 * var(--u));
  padding-top: calc(126 * var(--u));
}
.footer__social-row .dotted-line { background-image: url("../assets/img/linka-teckovana-2.svg"); }
.footer__social-row .dotted-line:last-child {
  background-repeat: repeat-x;
  background-position: left calc(-664 * var(--u)) center;
}
.social {
  display: flex;
  gap: calc(16 * var(--u));
  flex: 0 0 auto;
}
.social a {
  width: calc(56 * var(--u));
  height: calc(56 * var(--u));
  border-radius: calc(14 * var(--u));
  background: var(--c-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.social a:hover { background: var(--c-orange); transform: translateY(-3px); }
.social img { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }

.footer__award {
  display: flex;
  justify-content: center;
  padding-top: calc(42 * var(--u));
}
.footer__award img { width: calc(195 * var(--u)); height: calc(195 * var(--u)); }

.footer__copy {
  text-align: center;
  font-size: calc(16 * var(--u));
  line-height: calc(24 / 16);
  padding: calc(56 * var(--u)) 0 calc(67 * var(--u));
}
.footer__copy a:hover { color: var(--c-pink); }

.footer__brandstrip {
  background: var(--c-gray-bg);
  height: calc(127 * var(--u));
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.footer__brandstrip img {
  width: calc(431 * var(--u));
  height: auto;
  margin-top: calc(-14 * var(--u));
}

/* ==========================================================================
   STRÁNKA ČLÁNKU — dle XD: hlavička šedá 0..428; pruh Články (Rectangle 632)
   x0..538 × y292..428, text „Články" x278/y325; obsahová osa x538
   (titulek x538/y470, meta linka Path 540 x0..538/y625, meta text končí x538,
   tělo x538 š.912, Zpět blok končí x539); newsletter box y1372; celkem 2402
   ========================================================================== */
.page-clanek .page-header {
  position: relative;
  height: calc(428 * var(--u));
  background: var(--c-gray-bg);
}
.clanky-band {
  position: absolute;
  left: 0;
  top: calc(292 * var(--u));
  width: calc(538 * var(--u));
  height: calc(136 * var(--u));
  background: var(--c-orange);
}
.clanky-band__label {
  position: absolute;
  left: calc(278 * var(--u));
  top: calc(33 * var(--u));
  font-size: calc(50 * var(--u));
  line-height: calc(65 / 50);
  font-weight: 300;
  color: var(--c-white);
}
.clanek {
  background: var(--c-white);
  padding: calc(42 * var(--u)) 0 calc(12 * var(--u));
}
.clanek__inner { position: relative; }
.clanek__title {
  margin-left: calc(538 * var(--u));
  font-size: calc(50 * var(--u));
  line-height: calc(54 / 50);
  font-weight: 700;
  max-width: calc(912 * var(--u));
}
.clanek__meta {
  width: calc(538 * var(--u));
  margin-top: calc(47 * var(--u));
}
.clanek__meta .clanek__meta-line {
  display: block;
  flex: none;
  width: 100%;
  background-image: url("../assets/img/linka-teckovana-clanek.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: right center;
}
.clanek__meta-text {
  text-align: right;
  font-size: calc(16 * var(--u));
  line-height: calc(22 / 16);
  margin-top: calc(1 * var(--u));
}
.clanek__meta-text .datum {
  color: var(--c-pink);
  font-weight: 700;
  font-size: calc(18 * var(--u));
}
.clanek__body {
  margin-left: calc(538 * var(--u));
  width: calc(880 * var(--u));
  margin-top: calc(52 * var(--u));
  font-size: calc(18 * var(--u));
  line-height: calc(30 / 18);
}
.clanek__body p + p { margin-top: calc(26 * var(--u)); }
.clanek__body a { color: var(--c-pink); text-decoration: underline; }
.clanek__body a:hover { text-decoration: none; }
.clanek__back {
  margin-top: calc(195 * var(--u));
  width: calc(539 * var(--u));
  text-align: right;
}
.clanek__back .clanek__back-line {
  display: block;
  margin-left: auto;
  width: calc(264 * var(--u));
  background-image: url("../assets/img/linka-teckovana-kratka.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}
.clanek__back a {
  color: var(--c-pink);
  font-weight: 400;
  text-decoration: none;
  font-size: calc(18 * var(--u));
  line-height: calc(24 / 18);
}
.clanek__back a:hover { text-decoration: underline; }
.page-clanek .newsletter { padding-top: calc(120 * var(--u)); }

/* ==========================================================================
   RESPONSIVITA — pod 1100 px se opouští proporční režim (návrh je jen desktop,
   breakpointy dle úsudku)
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --u: calc(1100px / 1920); }
  body { font-size: 16px; line-height: 26px; }
  .frame { width: 100%; }

  .site-header { position: relative; height: 92px; }
  .site-header__graphic { width: min(70vw, 420px); top: 24px; left: 0; }

  .nav-toggle {
    display: flex;
    position: absolute;
    top: 30px;
    right: 0;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 60;
  }
  .nav-toggle span { display: block; width: 26px; height: 3px; background: currentColor; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
  .page-home .nav-toggle { color: #fff; }
  .page-clanek .nav-toggle { color: #000; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav { display: none; position: fixed; inset: 0; background: rgba(10, 8, 14, 0.96); z-index: 50; padding: 110px 40px; }
  .site-nav.is-open { display: block; }
  .site-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .site-nav.is-open a { color: #fff !important; font-size: 24px; line-height: 1.4; background: none !important; }
  .site-nav__lang a { margin-left: 0; }

  .hero { height: auto; min-height: 0; padding: 0 24px 70px; }
  .hero__title { position: relative; z-index: 1; left: auto; top: auto; width: auto; font-size: 30px; line-height: 38px; margin-top: 26px; }
  .hero__title br, .hero__perex br { display: none; }
  .hero__perex { position: relative; z-index: 1; left: auto; top: auto; width: auto; margin-top: 24px; font-size: 19px; line-height: 27px; }

  .portfolio { height: auto; padding: 60px 24px 40px; }
  .portfolio__brandmark { width: 140px; top: -25px; left: auto; right: 10px; }
  .portfolio__text { position: static; width: auto; }
  .portfolio__text .h3 { font-size: 24px; line-height: 28px; margin-bottom: 18px; }
  .portfolio__cta { position: static; display: inline-flex; margin-top: 28px; min-height: 52px; padding-inline: 36px; font-size: 16px; }
  .portfolio__photo { position: static; width: 100%; margin-top: 32px; }
  .list-dotted li { font-size: 16px; line-height: 26px; padding-left: 18px; }
  .list-dotted li::before { top: 10px; width: 5px; height: 5px; left: 2px; }

  .inspirace__box { width: 100%; min-height: 0; padding: 48px 24px; }
  .inspirace__box .h3 { font-size: 24px; line-height: 28px; margin-bottom: 22px; }

  .reference { padding: 60px 0 0; }
  .reference__heading { margin-top: 0; padding-left: 24px; gap: 16px; }
  .reference__heading .dotted-line { width: 30vw; min-width: 0; }
  .section-title { font-size: 32px; line-height: 40px; }
  .reference__card { width: calc(100% - 48px); flex-direction: column; gap: 24px; padding: 32px 24px; min-height: 0; margin-top: 28px; }
  .reference__portrait { flex-basis: auto; }
  .reference__portrait img { width: 120px; height: 120px; }
  .reference__body blockquote p, .reference__author { font-size: 14px; line-height: 21px; }
  .carousel__arrow { padding: 8px; }
  .carousel__arrow img { width: 18px; height: 40px; }
  .carousel__arrow--prev { left: 2px; }
  .carousel__arrow--next { right: 2px; }
  .reference__counter { margin-top: 18px; height: auto; font-size: 14px; }

  .klienti__band { width: 92%; height: auto; margin-top: 0; padding: 36px 24px; }
  .klienti__title { font-size: 32px; line-height: 40px; padding: 0; }
  .klienti__logos { padding: 40px 24px 0; }
  .klienti__logos img { width: 100%; }

  .pusobeni { padding-top: 60px; }
  .pusobeni__box { width: 100%; height: auto; margin-left: 0; padding: 48px 24px; }
  .pusobeni__perex { max-width: none; font-size: 15px; line-height: 24px; margin-top: 18px; }
  .komunity { width: 100%; grid-template-columns: 1fr 1fr; gap: 2px; box-shadow: none; margin-top: 36px; }
  .komunita { min-height: 0; box-shadow: 0 10px 25px var(--c-shadow); }
  .komunita__head { height: 90px; padding: 14px 18px; }
  .komunita__head img { max-height: 64px; }
  .komunita__logotext { font-size: 24px; }
  .list-dotted--small li { font-size: 14px; line-height: 21px; }

  .newsletter { padding: 60px 24px 0; }
  .newsletter__wrap > .dotted-line { display: none; }
  .newsletter__box { width: 100%; min-height: 0; padding: 36px 24px 42px; border-radius: 0; /* MV-12 */ }
  .newsletter__title { font-size: 32px; line-height: 42px; }
  .newsletter__perex { font-size: 15px; line-height: 22px; margin-top: 8px; }
  .newsletter__form { flex-direction: column; gap: 14px; margin-top: 24px; }
  /* font-size min. 16px — pod tím iOS Safari při fokusu automaticky zazoomuje */
  .newsletter__form input { width: 100%; flex: none; height: 48px; font-size: 16px; }
  .btn--outline-light { min-height: 48px; font-size: 16px; border-width: 2px; }
  .newsletter__message { font-size: 14px; }

  .footer__social-row { padding: 70px 24px 0; gap: 16px; }
  .social { gap: 12px; }
  .social a { width: 48px; height: 48px; border-radius: 12px; }
  .social img { width: 19px; height: 19px; }
  .footer__award { padding-top: 56px; }
  .footer__award img { width: 140px; height: 140px; }
  .footer__copy { padding: 44px 24px 32px; font-size: 14px; line-height: 20px; }
  .footer__brandstrip { height: 72px; }
  .footer__brandstrip img { width: 260px; margin-top: 14px; }

  .page-clanek .page-header { height: auto; padding-bottom: 0; }
  .clanky-band { position: static; width: 60%; height: auto; margin-top: 110px; padding: 14px 0; }
  .clanky-band__label { position: static; font-size: 32px; line-height: 42px; padding-left: 24px; }
  .clanek { padding: 40px 24px 24px; }
  .clanek__title { margin-left: 0; max-width: none; font-size: 30px; line-height: 36px; }
  .clanek__meta { width: 60%; margin-top: 22px; }
  .clanek__meta-text { font-size: 14px; line-height: 19px; }
  .clanek__meta-text .datum { font-size: 16px; }
  .clanek__body { margin-left: 0; width: auto; margin-top: 26px; font-size: 16px; line-height: 26px; }
  .clanek__back { margin-top: 44px; width: 100%; }
  .clanek__back .clanek__back-line { width: 160px; }
  .clanek__back a { font-size: 16px; }
  .page-clanek .newsletter { padding-top: 50px; }
}

@media (max-width: 560px) {
  .komunity { grid-template-columns: 1fr; }
  .portfolio { padding-top: 80px; }
  .portfolio__brandmark { width: 96px; top: -18px; }
}
