/* ============================================================
   HERO
   ============================================================ */
.hero {
  /*
     `padding-top` reserves a safe buffer below the fixed nav (64px
     desktop / 56px mobile) so the headline can never visually collide
     with the nav on short landscape viewports. With justify-content:
     flex-end the content still reads anchored to the bottom on
     normal screens — the top padding only "activates" on short ones.
  */
  min-height: 100svh;
  padding:
    calc(64px + clamp(28px, 4vw, 56px))
    var(--gutter)
    clamp(60px, 8vw, 120px);
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, var(--bone) 55%, var(--fog) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,.04) 1px, transparent 1px);
  background-size: clamp(44px,6vw,80px) clamp(44px,6vw,80px);
}
.hero__content { position: relative; z-index: 1; max-width: var(--max); width: 100%; }

/*
   Editorial eyebrow — mirrors the same label rhythm used on every
   inner-page hero (.radovi-hero__label, .usluge-hero__label, etc.).
   Inner <span> enables the same reveal-clip animation pattern as
   .hero__line without extra JS.
*/
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs); letter-spacing: .22em; text-transform: uppercase;
  opacity: .55;
  margin: 0 0 clamp(28px, 4vw, 56px);
  overflow: hidden;
}
.hero__eyebrow span { display: inline-block; }

.hero__headline {
  font-family: var(--font-serif); font-weight: 300;
  font-size: var(--t-2xl);
  line-height: .92; letter-spacing: -.04em;
  max-width: 14ch; margin: 0 0 clamp(44px, 5.5vw, 88px);
}
.hero__line { display: block; overflow: hidden; }
.hero__line span { display: block; }

.hero__bottom {
  display: grid; grid-template-columns: 1fr auto;
  align-items: flex-end; gap: 40px;
  border-top: 1px solid rgba(10,10,10,.12);
  padding-top: clamp(22px, 2.5vw, 36px);
}
.hero__sub {
  font-size: var(--t-base); line-height: 1.55; opacity: .72; max-width: 52ch;
}
.hero__actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

.hero__stats {
  position: absolute; bottom: clamp(60px, 8vw, 120px); right: var(--gutter);
  display: flex; flex-direction: column; gap: 18px;
  z-index: 1; text-align: right;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-n {
  font-family: var(--font-serif); font-weight: 300; font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1; letter-spacing: -.02em;
}
.hero__stat-l {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; opacity: .45;
  margin-top: 3px;
}

/* Hide stats below 1200px — prevents CTA / stats overlap at medium desktop */
@media (max-width: 1199px) {
  .hero__stats { display: none; }
}
/* At wide viewports: reserve right column so stats never collide with content */
@media (min-width: 1200px) {
  .hero__content { padding-right: 160px; }
}
@media (max-width: 768px) {
  .hero__bottom  { grid-template-columns: 1fr; gap: 24px; }
  .hero__actions { flex-wrap: wrap; }
}
