/* =============================
   GLOBAL
============================= */
:root {
  --nav-h: 72px;
  --ease-out: cubic-bezier(.22,.61,.36,1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Vend Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  overflow-x: hidden;
}

/* =============================
   HERO
============================= */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--nav-h)); /* 🔧 místo 110vh */
  padding-top: var(--nav-h);              /* 🔧 RESPEKTUJE NAVBAR */
  display: flex;
  justify-content: center;
  overflow: hidden;
  color: #000;
}

/* =============================
   BACKGROUND
============================= */
.hero__bg-box {
  position: absolute;
  top: 1rem;              /* 🔧 už NEpočítá s navbar */
  bottom: 2.5rem;
  left: 50%;
  width: 96%;
  max-width: 1700px;
  background: #fff;
  border-radius: 40px;
  z-index: 1;

  opacity: 0;
  transform: translateX(-50%) scale(0.95);
  animation: bgIn 0.9s var(--ease-out) forwards;
}

@keyframes bgIn {
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

/* =============================
   INNER
============================= */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;

  padding: 2.5rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* =============================
   COPY
============================= */
.hero__copy {
  width: 100%;
  max-width: 720px;

  display: flex;
  flex-direction: column;
  gap: 1.8rem;

  opacity: 0;
  transform: translateX(-60px);
  animation: copyIn 1s var(--ease-out) forwards;
  animation-delay: 0.3s;

  z-index: 5;
}

@keyframes copyIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============================
   IMAGE
============================= */
.hero__image-wrap {
  position: relative;
  flex: 0 0 auto;
}

.hero__image {
  width: 100%;
  max-width: 820px;
  height: auto;
  border-radius: 48px;
  object-fit: cover;
  display: block;

  opacity: 0;
  transform: translateX(60px) scale(0.97);
  animation: imageIn 1s var(--ease-out) forwards;
  animation-delay: 0.45s;

mask-image: linear-gradient(
  to right,
  rgba(0,0,0,1) 0%,
  rgba(0,0,0,1) 100%
);

}

@keyframes imageIn {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* =============================
   IMAGE LOGO
============================= */
.hero__image-logo {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 130px;
  padding: 10px;
}

/* =============================
   TEXT
============================= */
.hero__title {
  font-size: clamp(3rem, 5.8vw, 6.2rem);
  font-weight: 700;
  line-height: 1.05;

  padding: 1.2rem 2.4rem;
  margin-left: -2.4rem;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: 26px;
}

.hero__desc {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  opacity: 0.95;
  max-width: 620px;
}

/* =============================
   CTAS
============================= */
.hero__ctas {
  display: flex;
  gap: 1.6rem;

  opacity: 0;
  transform: translateY(30px);
  animation: ctaIn 0.8s var(--ease-out) forwards;
  animation-delay: 0.85s;
}

@keyframes ctaIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   BUTTONS
============================= */
.btn {
  padding: 1.45rem 3rem;
  border-radius: 22px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.btn--primary {
  background: #000;
  color: #fff;
}

.btn--primary:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.2);
}

.btn--call {
  background: #e6e6e6;
  color: #000;
}

/* =============================
   TABLET + MOBILE
============================= */
@media (max-width: 1399px) {
  .hero {
    padding-top: calc(var(--nav-h) + 1rem); /* 🔧 EXTRA ODDECH */
  }

  .hero__inner {
    align-items: center;
    text-align: center;
  }

  .hero__copy {
    align-items: center;
  }

  .hero__title {
        font-size: clamp(4rem, 10vw, 6rem); /* 🔥 ZVĚTŠENO */
    margin: 0;
  }

  .hero__desc {
    text-align: center;
    margin: 0 auto;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__image {
    mask-image: none;
  }
}

/* =============================
   DESKTOP
============================= */
@media (min-width: 1400px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }

  .hero__title {
    max-width: 620px;
  }

  .hero__desc {
    font-size: 1.8rem;
  }
}

/* =============================
   REDUCED MOTION
============================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
