/* ==========================================================================
   BASE – proměnné, reset, typografie, utility
   ========================================================================== */

:root {
  /* Barvy */
  --c-primary: #0852d7;
  --c-primary-dark: #0641ad;
  --c-red: #d6202a;
  --c-dark: #1e252f;
  --c-dark-2: #252d38;
  --c-footer: #20262e;
  --c-footer-bottom: #191e25;
  --c-text: #1d232c;
  --c-muted: #5f6977;
  --c-border: #e3e7ed;
  --c-bg: #ffffff;
  --c-bg-soft: #f4f6f9;
  --c-star: #f4b400;

  /* Písma */
  --f-head: "Inter", Arial, sans-serif;   /* nadpisy a menu */
  --f-body: "Nunito", Arial, sans-serif;  /* text */

  /* Typografická škála – používat jen tyto velikosti */
  --fs-xs: 12px;   /* meta: ceny bez DPH, data, štítky, topbar */
  --fs-sm: 13px;   /* doplňkový text, tlačítka, odkazy */
  --fs-base: 15px; /* běžný text, názvy produktů */
  --fs-md: 17px;   /* nadpisy karet, menu, lead */
  --fs-lg: 20px;   /* ceny, menší nadpisy */
  --fs-xl: 24px;   /* nadpisy sekcí, promo */

  /* Rozměry */
  --container: 1426px; /* 1394 px obsah + 2× 16 px gutter */
  --gutter: 16px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 10px rgba(20, 30, 50, .07);
  --shadow-hover: 0 8px 24px rgba(20, 30, 50, .13);
  --t: .2s ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.45;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }

:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--c-muted); font-weight: 400; }

/* Odsazení sekcí */
.section { margin-top: 64px; }
.band.section, .why-band.section { margin-top: 72px; }
.section.section--tight { margin-top: 44px; } /* hned pod hero + USP */

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section__head--center {
  flex-direction: column;
  text-align: center;
  margin-bottom: 36px;
}

.section__lead {
  max-width: 640px;
  font-size: var(--fs-md);
  color: var(--c-muted);
}

.section__title {
  position: relative;
  padding-bottom: 12px;
  font-family: var(--f-head);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

/* krátká modrá linka pod nadpisem */
.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-primary);
}

.section__head--center .section__title::after { left: 50%; margin-left: -18px; }

.section__title--sm { font-size: var(--fs-lg); margin-bottom: 18px; }

@media (max-width: 640px) {
  .section { margin-top: 44px; }
  .band.section, .why-band.section { margin-top: 48px; }
  .section__title { font-size: 21px; }
  .section__head { flex-wrap: wrap; row-gap: 10px; }
  .section__title--sm { font-size: 20px; }
}
