/* =========================================================================
   Alena Hanušová — individuální basketbalové tréninky
   Jediný stylopis webu. Mobile-first, breakpointy 380 / 768 / 1024 / 1440.
   ========================================================================= */

/* ---------- 1. Písma (self-hostovaná, latin + latin-ext) ---------- */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-400-latin.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';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-400-latin-ext.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';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-500-latin.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';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-500-latin-ext.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';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600-latin.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';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600-latin-ext.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: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin.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: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin-ext.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: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.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: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin-ext.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;
}

/* ---------- 2. Design tokeny ---------- */

:root {
  /* barvy */
  --ink: #131316;
  --ink-2: #1c1c21;
  --page: #f6f4f0;
  --white: #ffffff;
  --red: #d62828;
  --red-dark: #b92222;
  --red-tint: #fbe9e9;
  --red-on-dark: #dd4a4a; /* červená pro text na --ink; #d62828 tam má jen 3,7:1 */
  --muted: #66646b;
  --dim: #a8a6ae;
  --line: #e5e1da;
  --line-dark: #33333a;

  /* typografie */
  --font-display: 'Barlow Condensed', 'Barlow', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Roboto, Arial, sans-serif;

  /* typografická škála: mobil 380px -> desktop 1440px */
  --fs-h1: clamp(2.75rem, 2.168rem + 2.453vw, 4.375rem);      /* 44 -> 70 */
  --fs-h2: clamp(2.25rem, 1.891rem + 1.509vw, 3.25rem);       /* 36 -> 52 */
  --fs-display-lg: clamp(2.25rem, 1.891rem + 1.509vw, 3.25rem); /* 36 -> 52 */
  --fs-display-md: clamp(2.125rem, 1.984rem + 0.594vw, 2.5rem); /* 34 -> 40 */
  --fs-stat: clamp(2.25rem, 2.07rem + 0.755vw, 2.75rem);      /* 36 -> 44 */
  --fs-card-title: clamp(1.3125rem, 1.269rem + 0.189vw, 1.4375rem); /* 21 -> 23 */
  --fs-body: clamp(1.0625rem, 1.041rem + 0.094vw, 1.125rem);  /* 17 -> 18 */

  /* rozměry */
  --container: 1248px;
  --gutter: 1.25rem;
  --radius-card: 16px;
  --radius-btn: 10px;
  --section-y: 64px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-y: 96px;
  }
}

/* ---------- 3. Reset a základ ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.section--ink :focus-visible {
  outline-color: #ff6b6b;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  border-radius: 0 0 var(--radius-btn) var(--radius-btn);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

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

/* ---------- 4. Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--page {
  background: var(--page);
}

.section--white {
  background: var(--white);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--red {
  background: var(--red);
  color: #fff;
}

.section__head {
  max-width: 46rem;
}

.section__head > * + * {
  margin-top: 0.75rem;
}

/* ---------- 5. Typografie ---------- */

.kicker {
  margin: 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero .kicker,
.section--ink .kicker {
  color: var(--red-on-dark);
}

.h1,
h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.h2,
h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.h3,
h3 {
  font-family: var(--font-body);
  font-size: var(--fs-card-title);
  font-weight: 600;
  line-height: 1.25;
}

.lead,
.prose p {
  color: var(--muted);
}

.section--ink .lead,
.section--ink .prose p {
  color: var(--dim);
}

.prose > p + p {
  margin-top: 1rem;
}

.note {
  color: var(--muted);
  font-size: 0.875rem;
}

.section--ink .note {
  color: var(--dim);
}

/* ---------- 6. Tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--red-dark);
}

.btn--secondary {
  background: var(--white);
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--ink);
  color: #fff;
}

.section--ink .btn--secondary,
.site-header .btn--secondary {
  background: transparent;
  border-color: rgb(255 255 255 / 35%);
  color: #fff;
}

.section--ink .btn--secondary:hover,
.section--ink .btn--secondary:focus-visible {
  background: rgb(255 255 255 / 10%);
  border-color: #fff;
}

.btn--sm {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

@media (min-width: 480px) {
  .btn--block {
    width: auto;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 7. Karty ---------- */

.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.card--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.card--ink p,
.card--ink .lead {
  color: var(--dim);
}

.card > * + * {
  margin-top: 0.75rem;
}

@media (min-width: 1024px) {
  .card {
    padding: 32px;
  }
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--red-tint);
  border-radius: 14px;
  color: var(--red);
}

.icon-tile svg {
  width: 34px;
  height: 34px;
}

/* pruh se zvýrazněným číslem/slovem vlevo */
.strip {
  display: grid;
  gap: 1rem;
  padding: 24px;
  background: var(--red-tint);
  border-radius: var(--radius-card);
}

.strip__figure {
  color: var(--red);
  font-family: var(--font-display);
  font-size: var(--fs-display-md);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.strip__body > * + * {
  margin-top: 0.5rem;
}

.strip__body p {
  color: var(--muted);
}

@media (min-width: 768px) {
  .strip {
    grid-template-columns: minmax(auto, 9rem) 1fr;
    gap: 2rem;
    align-items: start;
    padding: 28px 32px;
  }
}

/* odrážky s červenou tečkou */
.ticks {
  display: grid;
  gap: 0.625rem;
}

.ticks li {
  position: relative;
  padding-left: 1.375rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.card--ink .ticks li {
  color: var(--dim);
}

.ticks li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

/* pilulky */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pills li {
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ---------- 8. Hlavička a navigace ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--red);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1.5px solid rgb(255 255 255 / 35%);
  border-radius: var(--radius-btn);
  cursor: pointer;
}

.nav-toggle__box {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle__box span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.nav-drawer {
  border-top: 1px solid var(--line-dark);
}

.nav-drawer[hidden] {
  display: none;
}

.nav-drawer__list {
  padding-block: 0.5rem;
}

.nav-drawer__list a {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.nav-drawer__list li:last-child a {
  border-bottom: 0;
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }

  .nav-toggle,
  .nav-drawer {
    display: none;
  }
}

/* ---------- 9. Hero ---------- */

.hero {
  background: var(--ink);
  color: #fff;
  padding-block: 40px var(--section-y);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
}

.hero__title {
  margin-top: 1rem;
}

.hero__perex {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--dim);
}

.hero .btn-row {
  margin-top: 2rem;
}

.hero__meta {
  margin-top: 1.25rem;
  color: var(--dim);
  font-size: 0.875rem;
}

.hero__photo {
  width: 100%;
  height: auto;
  max-height: 480px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 20px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr minmax(auto, 480px);
    gap: 4rem;
    align-items: center;
  }

  .hero__figure {
    order: 2;
  }

  .hero__photo {
    max-height: none;
  }
}

/* ---------- 10. Pás statistik ---------- */

.stats {
  padding-block: 40px;
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.5rem;
}

.stats__item:last-child {
  grid-column: 1 / -1;
}

.stats__figure {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.stats__label {
  display: block;
  margin-top: 0.375rem;
  color: #fff;
  font-size: 0.9375rem;
}

@media (min-width: 1024px) {
  .stats__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }

  .stats__item:last-child {
    grid-column: auto;
  }
}

/* ---------- 11. O mně ---------- */

.about__grid {
  display: grid;
  gap: 2rem;
}

.about__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.about__body > * + * {
  margin-top: 1.25rem;
}

.about__pills {
  margin-top: 1.75rem;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: minmax(auto, 420px) 1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- 12. Napsali o mně ---------- */

.media-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1rem;
  align-items: center;
  margin-top: 2.5rem;
  padding-block: 1.75rem;
  border-block: 1px solid var(--line);
}

.media-logos a {
  display: grid;
  place-items: center;
  min-height: 44px;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.18s ease;
}

.media-logos a:hover,
.media-logos a:focus-visible {
  filter: none;
}

/* max-height + auto rozměry: na mobilu se široké logo zúží podle sloupce
   a proporčně sníží, místo aby se deformovalo nebo přetékalo */
.media-logos img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 28px;
}

.media-logos img[data-h='24'] {
  max-height: 24px;
}

.media-logos img[data-h='26'] {
  max-height: 26px;
}

.media-logos img[data-h='30'] {
  max-height: 30px;
}

.media-logos img[data-h='34'] {
  max-height: 34px;
}

@media (min-width: 1024px) {
  .media-logos {
    grid-template-columns: repeat(6, auto);
    justify-content: space-between;
    gap: 2rem;
  }
}

.articles {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 28px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.article-card:hover,
.article-card:focus-visible {
  border-color: var(--red);
  transform: translateY(-2px);
}

.article-card__meta {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.article-card__text {
  flex: 1;
  color: var(--muted);
  font-size: 1rem;
}

.article-card__more {
  color: var(--red);
  font-weight: 600;
}

@media (min-width: 768px) {
  .articles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.disclosure {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.disclosure > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.disclosure > summary::-webkit-details-marker {
  display: none;
}

.disclosure__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.disclosure__list li {
  color: var(--muted);
  font-size: 1rem;
}

.disclosure__list a {
  font-weight: 500;
}

/* ---------- 13. Co trénujeme ---------- */

.grid-cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 14. Pro koho ---------- */

.age-badge {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  background: var(--red-tint);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.audience__strip {
  margin-top: 2rem;
}

.audience__note {
  margin-top: 1.25rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
}

/* ---------- 15. Jak to probíhá ---------- */

.steps {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  counter-reset: step;
}

.steps__item {
  position: relative;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 2px solid var(--red);
}

.steps__num {
  display: block;
  color: var(--red-on-dark);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}

.steps__item h3 {
  margin-top: 0.5rem;
  color: #fff;
}

.steps__item p {
  margin-top: 0.5rem;
  color: var(--dim);
  font-size: 1.0625rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps__item {
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
}

/* ---------- 16. Ceník ---------- */

.pricing {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card__amount {
  font-family: var(--font-display);
  font-size: var(--fs-display-lg);
  font-weight: 700;
  line-height: 1;
}

.price-card__unit {
  color: var(--muted);
  font-size: 1rem;
}

.card--ink .price-card__unit {
  color: var(--dim);
}

.price-card .ticks {
  margin-top: 0.5rem;
}

.price-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.pricing__strip {
  margin-top: 1.25rem;
}

.pricing__note {
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 17. Kde a kdy ---------- */

.where__grid {
  display: grid;
  gap: 2rem;
}

.where__map {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

.deflist {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.deflist__row {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.deflist dt {
  color: var(--ink);
  font-weight: 600;
}

.deflist dd {
  color: var(--muted);
  font-size: 1.0625rem;
}

@media (min-width: 768px) {
  .deflist__row {
    grid-template-columns: 7rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

@media (min-width: 1024px) {
  .where__grid {
    grid-template-columns: 1fr minmax(auto, 560px);
    gap: 4rem;
    align-items: start;
  }

  .where__figure {
    order: 2;
  }
}

/* ---------- 18. Reference (připraveno, zatím skryto) ---------- */

.quote-card blockquote {
  font-size: 1.125rem;
}

.quote-card figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.quote-card figcaption strong {
  display: block;
  color: var(--ink);
}

/* ---------- 19. FAQ ---------- */

.faq {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item > summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
}

.faq__item > summary::-webkit-details-marker {
  display: none;
}

.faq__question {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.faq__item > summary::after {
  content: '+';
  flex: none;
  margin-left: auto;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 0.8;
}

.faq__item[open] > summary::after {
  content: '–';
}

.faq__answer {
  padding-bottom: 1.5rem;
  color: var(--muted);
  max-width: 58rem;
}

/* ---------- 20. Kontakt ---------- */

.contact__grid {
  display: grid;
  gap: 2rem;
}

.contact__body > * + * {
  margin-top: 1.25rem;
}

.social-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.social-row__tile {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  background: var(--white);
  border-radius: 10px;
  color: var(--ink);
}

.social-row__tile svg {
  width: 22px;
  height: 22px;
}

.social-row__label {
  color: var(--dim);
  font-size: 0.875rem;
}

.social-row strong {
  display: block;
  font-size: 1.0625rem;
}

.contact__cards {
  display: grid;
  gap: 1.25rem;
  order: -1; /* na mobilu akce první, text pod nimi */
}

.contact-card__tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--red-tint);
  border-radius: 12px;
  color: var(--red);
}

.contact-card__tile svg {
  width: 28px;
  height: 28px;
}

.contact-card__label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card__value {
  display: inline-block;
  padding-block: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
  word-break: break-word;
}

.contact-card__value:hover,
.contact-card__value:focus-visible {
  color: var(--red);
}

.contact-card p {
  color: var(--muted);
  font-size: 1rem;
}

.contact-card .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr minmax(auto, 520px);
    gap: 4rem;
    align-items: start;
  }

  .contact__cards {
    order: 2; /* na desktopu karty vpravo */
  }
}

/* ---------- 21. Patička ---------- */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  color: #fff;
  padding-block: 40px;
}

.site-footer__top {
  display: grid;
  gap: 1.5rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--red);
}

.site-footer__social {
  display: flex;
  gap: 0.625rem;
}

.social-tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 8px;
  color: var(--ink);
}

.social-tile svg {
  width: 20px;
  height: 20px;
}

/* vizuálně 32 px podle návrhu, dotyková plocha 44×44 podle přístupnosti */
.social-tile::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  color: var(--dim);
  font-size: 0.875rem;
}

.site-footer__bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: #fff;
}

@media (min-width: 768px) {
  .site-footer__top {
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
  }

  .site-footer__bottom {
    justify-content: space-between;
  }
}

/* ---------- 22. Textová podstránka ---------- */

.legal {
  max-width: 46rem;
}

.legal h1 {
  font-size: var(--fs-h2);
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

.legal p,
.legal li {
  margin-top: 0.875rem;
  color: var(--muted);
}

.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal ul li {
  margin-top: 0.5rem;
}

/* ---------- 23. Chybová stránka ---------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
}

.error-page__code {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 700;
  line-height: 1;
}

.error-page .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- 24. Omezení animací ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .article-card:hover {
    transform: none;
  }
}
