/* Nova titulni stranka (redesign 2026) - v duchu puvodni grafiky.
   Karty pouzivaji puvodni tridy .homepage__* z frontend.min.css (pruhy, barvy, fonty, fajfky, tlacitka).
   Zde jen hero, odznaky, pruh vyhod a rozlozeni - vse pod prefixem .hp2. */
.hp2 {
  --hp2-green: #5da945;
  --hp2-green-light: #8fd06f;
  --hp2-ink: #39393b;
  --hp2-line: #dddfe0;
  font-family: Roboto, sans-serif;
  color: var(--hp2-ink);
  text-align: left;
  background: #f1f2f4;
}
.hp2 *, .hp2 *::before, .hp2 *::after { box-sizing: border-box; }
.hp2__container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.hp2-icon { width: 100%; height: 100%; display: block; }

/* ---------- HERO (puvodni fotka, bily text jako na puvodni titulce) ---------- */
.hp2-hero {
  position: relative;
  background-color: #2b3a46;
  background-image:
    linear-gradient(90deg, rgba(20, 28, 36, .62) 0%, rgba(20, 28, 36, .45) 55%, rgba(20, 28, 36, .2) 100%),
    url(../img/hp-bg.jpg);
  background-size: cover, cover;
  background-position: center, center;
  padding: 52px 0 195px;
}
.hp2-hero__inner { position: relative; display: flex; align-items: flex-start; gap: 40px; }
.hp2-hero__main { flex: 1; min-width: 0; text-align: left; }
.hp2-hero__title {
  margin: 0 0 18px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 46px;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.hp2-hero__accent { display: block; color: var(--hp2-green-light); }
.hp2-hero__subtitle {
  margin: 0 0 12px;
  max-width: 640px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.hp2-hero__text {
  margin: 0 0 6px;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  color: #f2f4f5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.hp2-hero__buttons { display: flex; flex-wrap: wrap; gap: 0 18px; }
.hp2-hero__buttons .homepage__button { font-size: 14px; }
.hp2 .hp2-button--white {
  background-color: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 2px 8px rgba(0, 0, 0, .25);
}
.hp2 .hp2-button--white:hover { background-color: rgba(255, 255, 255, .25); }

/* ---------- ODZNAKY ---------- */
.hp2-badges { width: 280px; flex: none; margin: 6px 0 0; padding: 0; list-style: none; }
.hp2-badges__item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  padding: 14px 16px;
  background: #fff;
  border-left: 4px solid var(--hp2-green);
  box-shadow: 0 20px 30px -15px rgba(6, 6, 6, .4);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--hp2-ink);
}
.hp2-badges__icon { width: 34px; height: 34px; flex: none; color: var(--hp2-green); }

/* ---------- KARTY (puvodni styl) ---------- */
.hp2-cards { position: relative; margin-top: -130px; }
.hp2 .homepage__wrapper { margin-bottom: 50px; }
.hp2 .hp2-column { display: flex; flex-direction: column; }
.hp2 .homepage__column-content { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hp2 .homepage__column-content > * { width: 100%; }
.hp2 .homepage__column-content > .homepage__divider { width: 130px; }
.hp2 .homepage__column-content > .homepage__list { width: 86%; }
.hp2 .homepage__column-content > .homepage__button { width: auto; margin-top: auto; }
.hp2 .homepage__list { margin-bottom: 21px; }
.hp2 .homepage__list { text-align: left; }
.hp2 .homepage__list ul { margin: 0; padding: 0; }
.hp2 .homepage__list a { color: inherit; text-decoration: underline; text-decoration-color: rgba(57, 57, 59, .35); text-underline-offset: 2px; }
.hp2 .homepage__list a:hover { text-decoration-color: currentColor; }
@media (min-width: 768px) {
  /* stejne vysoke karty */
  .hp2 .homepage__wrapper { display: flex; gap: 17px; }
  .hp2 .homepage__wrapper::before, .hp2 .homepage__wrapper::after { display: none; }
  .hp2 .homepage__column { float: none; margin-right: 0; flex: 1; width: auto; }
}
@media (min-width: 1180px) {
  .hp2 .homepage__wrapper { gap: 27px; }
}

/* ---------- PRUH VYHOD ---------- */
.hp2-features { background: #fff; border-top: 1px solid var(--hp2-line); padding: 26px 0; }
.hp2-features__list {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 auto;
  list-style: none;
}
.hp2-features__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 10px;
  border-left: 1px solid var(--hp2-line);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 300;
  color: var(--hp2-ink);
  white-space: nowrap;
}
.hp2-features__item:first-child { border-left: 0; }
.hp2-features__item:first-child .hp2-features__text { color: var(--hp2-green); font-weight: 700; }
.hp2-features__icon { width: 38px; height: 38px; flex: none; color: var(--hp2-green); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hp2-hero { padding-bottom: 175px; }
  .hp2-hero__inner { flex-direction: column; gap: 26px; }
  .hp2-badges { width: 100%; display: flex; gap: 12px; margin: 0; }
  .hp2-badges__item { flex: 1; margin: 0; }
  .hp2-hero__title { font-size: 40px; }
  .hp2-features__list { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .hp2-features__item { white-space: normal; }
  .hp2-features__item:nth-child(4) { border-left: 0; }
}
@media (max-width: 767px) {
  .hp2-hero { padding: 30px 0 160px; }
  .hp2-hero__title { font-size: 32px; }
  .hp2-hero__subtitle { font-size: 17px; }
  .hp2-badges { flex-direction: column; }
  .hp2-cards { margin-top: -110px; }
  .hp2-features__list { grid-template-columns: repeat(2, 1fr); }
  .hp2-features__item { justify-content: flex-start; border-left: 0; font-size: 14px; }
  .hp2-features__icon { width: 32px; height: 32px; }
}
