/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #e9ebef 100%);
}

.hero__watermark {
  position: absolute;
  right: -6vw;
  top: -4vw;
  width: clamp(360px, 44vw, 620px);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* Badge ------------------------------------------------------------------ */

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--c-line-blue);
  border-radius: 999px;
  padding: 8px 15px;
  margin-bottom: clamp(22px, 3vw, 34px);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-blue);
}

.hero__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue);
}

/* Copy ------------------------------------------------------------------- */

.hero__title {
  max-width: 17ch;
}

/*
 * The design trims the headline and the intro on small screens — both
 * variants live in the markup and swap at the mobile breakpoint.
 */
.hero__title-short,
.hero__text-short {
  display: none;
}

.hero__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(22px, 3vw, 34px);
}

.hero__text {
  flex: 1 1 420px;
  max-width: 54ch;
}

.hero__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Photo grid ------------------------------------------------------------- */

.hero__media {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  margin-top: clamp(36px, 5vw, 60px);
}

.hero__media-main {
  flex: 2 1 520px;
  min-width: 280px;
  height: clamp(240px, 26vw, 380px);
}

.hero__media-side {
  flex: 1 1 240px;
  min-width: 220px;
  height: clamp(240px, 26vw, 380px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__media-side .media {
  flex: 1 1 0;
  min-height: 0;
}

/* Tags ------------------------------------------------------------------- */

.hero__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(14px, 2.2vw, 28px);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid rgba(12, 12, 13, 0.12);
}

.hero__tag {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}

/* ==========================================================================
   Tablet — the side photos slide under the main one
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__intro {
    align-items: flex-start;
  }

  .hero__text {
    flex-basis: 100%;
  }

  .hero__media-main {
    flex: 1 1 100%;
    height: clamp(240px, 34vw, 340px);
  }

  .hero__media-side {
    flex: 1 1 100%;
    flex-direction: row;
    height: clamp(150px, 20vw, 220px);
  }

  .hero__media-side .media {
    min-width: 0;
  }

  .hero__tags {
    flex-wrap: wrap;
    row-gap: 14px;
  }
}

/* ==========================================================================
   Mobile — single photo, stacked buttons, tags become chips
   ========================================================================== */

@media (max-width: 767px) {
  .hero__watermark {
    right: -70px;
    top: -30px;
    width: 280px;
    opacity: 0.08;
  }

  .hero__inner {
    padding-top: 32px;
    padding-bottom: 30px;
  }

  .hero__badge {
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.04em;
  }

  .hero__dot {
    width: 5px;
    height: 5px;
  }

  .hero__title {
    max-width: none;
  }

  .hero__title-full,
  .hero__text-full {
    display: none;
  }

  .hero__title-short {
    display: inline;
  }

  .hero__text-short {
    display: block;
  }

  .hero__intro {
    flex-direction: column;
    gap: 24px;
    margin-top: 14px;
  }

  .hero__text {
    max-width: none;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .hero__media {
    gap: 0;
    margin-top: 24px;
  }

  .hero__media-main {
    height: 200px;
  }

  /* The remaining two shots live in the photo strip below on mobile. */
  .hero__media-side {
    display: none;
  }

  .hero__tags {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 0;
    border-top: 0;
  }

  .hero__tag {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
    letter-spacing: normal;
    text-transform: none;
    color: var(--c-text);
  }
}
