/* ============ HERO ============ */
.s-hero{
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:clamp(32px,5vw,64px);
  min-height:calc(100svh - var(--header-h, 0px));
  padding-block:clamp(72px,11vw,132px) clamp(28px,4vw,48px);
  background-color:var(--c-primary);
  background-image:url('/assets/img/ref/bg-header-hero.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:var(--c-surface);
  overflow:hidden;
}

/* blue gradient overlay (fallback: solid primary behind) */
.s-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-color:color-mix(in srgb, var(--c-primary) 86%, transparent);
  background-image:
    linear-gradient(90deg,
      color-mix(in srgb, var(--c-primary) 96%, transparent) 0%,
      color-mix(in srgb, var(--c-primary) 84%, transparent) 48%,
      color-mix(in srgb, var(--c-primary) 52%, transparent) 100%),
    linear-gradient(to top,
      color-mix(in srgb, var(--c-primary) 82%, transparent) 0%,
      transparent 58%);
}

.s-hero__inner,
.s-hero__partners{
  position:relative;
  z-index:1;
  width:100%;
}

.s-hero__content{
  max-width:600px;
  text-align:start;
}

.s-hero__title{
  font-family:var(--font-head);
  font-size:clamp(2.05rem, 5.2vw, 3.6rem);
  line-height:1.16;
  font-weight:700;
  letter-spacing:-.012em;
  margin:0 0 20px;
  color:var(--c-surface);
  text-wrap:balance;
}

.s-hero__lead{
  font-family:var(--font-body);
  font-size:clamp(1rem, 1.55vw, 1.18rem);
  line-height:1.8;
  max-width:52ch;
  margin:0 0 clamp(24px, 3.5vw, 36px);
  color:color-mix(in srgb, var(--c-surface) 84%, transparent);
}

/* ---- actions ---- */
.s-hero__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
}
.s-hero__actions .btn{
  min-height:52px;
  padding-inline:32px;
  font-weight:600;
  letter-spacing:.01em;
}
.s-hero .s-hero__ghost{
  background:transparent;
  color:var(--c-surface);
  border:1px solid color-mix(in srgb, var(--c-surface) 55%, transparent);
  border-radius:var(--radius);
  transition:background-color .25s ease, border-color .25s ease, color .25s ease;
}
.s-hero .s-hero__ghost:hover,
.s-hero .s-hero__ghost:focus-visible{
  background:color-mix(in srgb, var(--c-surface) 14%, transparent);
  border-color:var(--c-surface);
}

/* ---- partners strip ---- */
.s-hero__partners{
  padding-block-start:clamp(20px, 3vw, 30px);
  border-block-start:1px solid color-mix(in srgb, var(--c-surface) 22%, transparent);
}
.s-hero__partners-label{
  margin:0 0 16px;
  font-family:var(--font-body);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:color-mix(in srgb, var(--c-surface) 74%, transparent);
}
.s-hero__logos{
  display:flex;
  align-items:center;
}
.s-hero__logos img{
  display:block;
  width:100%;
  max-width:760px;
  height:auto;
  object-fit:contain;
  filter:grayscale(1) invert(1);
  mix-blend-mode:screen;
  opacity:.78;
  transition:opacity .3s ease;
}
.s-hero__logos img:hover{opacity:1;}

.s-hero a:focus-visible{
  outline:2px solid var(--c-surface);
  outline-offset:3px;
}

/* ============ RESPONSIVE ============ */
@media (max-width:900px){
  .s-hero{
    padding-block:clamp(64px,12vw,104px) clamp(24px,5vw,40px);
    gap:clamp(28px,6vw,44px);
  }
  .s-hero::before{
    background-image:
      linear-gradient(180deg,
        color-mix(in srgb, var(--c-primary) 92%, transparent) 0%,
        color-mix(in srgb, var(--c-primary) 82%, transparent) 60%,
        color-mix(in srgb, var(--c-primary) 94%, transparent) 100%);
  }
  .s-hero__content{max-width:640px;}
  .s-hero__logos img{max-width:100%;}
}

@media (max-width:600px){
  .s-hero{
    text-align:center;
    padding-block:56px 32px;
  }
  .s-hero__content{
    max-width:100%;
    margin-inline:auto;
    text-align:center;
  }
  .s-hero__title{
    font-size:clamp(1.85rem, 7.4vw, 2.4rem);
    margin-bottom:16px;
  }
  .s-hero__lead{
    margin-inline:auto;
    font-size:1rem;
    line-height:1.75;
  }
  .s-hero__actions{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  .s-hero__actions .btn{
    width:100%;
    max-width:340px;
    margin-inline:auto;
    justify-content:center;
    min-height:48px;
  }
  .s-hero__partners-label{
    letter-spacing:.13em;
    font-size:.72rem;
  }
}
