:root {
  --pink: #fb0050;
  --ink: #0b082e;
  --display-font: 'Bodoni Moda', 'Bodoni MT', Georgia, serif;
  --button-font: 'Barlow Condensed', 'Nimbus Sans Narrow', 'Arial Narrow', Impact, sans-serif;
  --text-font: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; background: #fff; }

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 730px;
  height: 100svh;
  overflow: hidden;
  background: #f8f8f8 url('assets/pozadi.webp') center center / cover no-repeat;
}

.hero__heading {
  position: absolute;
  left: 7.6%;
  top: 7.0%;
  max-width: 75%;
}

.hero__brand {
  margin: 0 0 0.1em;
  color: var(--pink);
  font: 900 clamp(29px, 3.35vw, 66px)/1 var(--display-font);
  letter-spacing: -0.072em;
}

.hero__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(86px, 10vw, 200px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.085em;
}
.hero__title > span { display: block; white-space: nowrap; }
.hero__dash { font-family: Georgia, serif; font-size: .35em; letter-spacing: 0; vertical-align: .22em; font-weight: 400; }

.hero__info {
  position: absolute;
  z-index: 2;
  left: 57.1%;
  bottom: 11%;
  width: max-content;
  max-width: 38%;
}
.hero__description {
  margin: 0 0 20px;
  color: #070707;
  font: 400 clamp(19px, 1.81vw, 34px)/1.12 var(--text-font);
}
.hero__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(255px, 19.2vw, 369px);
  min-height: clamp(49px, 3.4vw, 66px);
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font: 800 clamp(23px, 1.9vw, 36px)/1 var(--button-font);
  transition: background-color .2s ease, transform .2s ease;
}
.hero__button:hover { background: #dc004a; transform: translateY(-2px); }
.hero__button:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
/* Odraz je také CSS: žádné texty nejsou zapečené do obrázku. */
.hero__button::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 17px);
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: inherit;
  color: var(--pink);
  background: #710022;
  box-shadow: 0 0 12px 3px rgba(251, 0, 80, .8);
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%, #000 90%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 40%, #000 90%);
  opacity: .82;
  pointer-events: none;
}

@media (max-width: 1050px) and (min-width: 701px) {
  .hero__heading { top: 9%; left: 5%; }
  .hero__title { font-size: clamp(72px, 9.5vw, 110px); }
  .hero__info { left: 55%; bottom: 14%; }
  .hero__description { font-size: clamp(18px, 2.3vw, 26px); }
}

@media (max-width: 700px) {
  .hero {
    min-height: 710px;
    height: 100svh;
    background-position: 65% center;
  }
  /* Jemné zesvětlení za textem pomáhá čitelnosti na telefonu. */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.45) 49%, rgba(255,255,255,.76) 100%);
  }
  .hero__heading { top: 7%; left: 6%; max-width: 94%; }
  .hero__brand { font-size: clamp(28px, 7vw, 44px); margin-bottom: .2em; }
  .hero__title { font-size: clamp(54px, 11.3vw, 80px); line-height: .94; letter-spacing: -.09em; }
  .hero__info { left: 6%; bottom: 11%; max-width: 90%; }
  .hero__description { font-size: clamp(21px, 5.3vw, 28px); margin-bottom: 24px; }
  .hero__button { width: min(82vw, 330px); min-height: 54px; font-size: 27px; }
}

@media (max-width: 375px) {
  .hero__title { font-size: 10.9vw; }
  .hero__info { bottom: 13%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__button { transition: none; }
}
