/* Inner-page hero — dark banner with eyebrow, H1, intro and CTAs.
   Variants: --map (map artwork right), --tiger (tiger watermark right),
   --product (skip photo right with price tag). */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  border-bottom: 4px solid var(--color-primary);
}

.page-hero__art {
  position: absolute;
  top: 50%;
  right: 0;
  width: 52%;
  min-width: 30rem;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
}

.page-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-dark) 38%,
    rgba(18, 18, 20, 0.72) 58%,
    rgba(18, 18, 20, 0.15) 100%
  );
  pointer-events: none;
}

/* Photo variant — full-bleed photograph behind a left-to-black gradient */
.page-hero--photo { background: #000; }

.page-hero--photo .page-hero__art {
  top: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  transform: none;
  object-fit: cover;
  object-position: center 32%;
  opacity: 1;
}

.page-hero--photo .page-hero__gradient {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 34.62%,
    rgba(0, 0, 0, 0.7) 43.27%,
    rgba(0, 0, 0, 0) 58.17%
  );
}

.page-hero__inner {
  position: relative;
  padding-top: 3.5rem;
  padding-bottom: 3.75rem;
}

.page-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-grey);
}

.page-hero__breadcrumb a {
  color: var(--color-text-grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-hero__breadcrumb a:hover,
.page-hero__breadcrumb a:focus-visible { color: var(--color-primary); }

.page-hero__breadcrumb .is-current { color: var(--color-primary); }

.page-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #fff;
  margin: 0.625rem 0 0.5rem;
}

.page-hero__title:first-child { margin-top: 0; }

.page-hero__intro {
  max-width: 35rem;
  margin-top: 0.375rem;
  padding-bottom: 1.125rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-text-soft);
}

.page-hero__intro strong { color: #fff; }

/* The USP row is styled in global.css (shared with the home hero) and carries
   no bottom spacing — restore the gap before the CTAs, matching the intro's. */
.page-hero .usp-row { margin-bottom: 1.125rem; }

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Compact variant — a short title-only band for pages that lead straight
   into a form or tool, so the hero doesn't push the content below the fold. */
.page-hero--compact .page-hero__inner {
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
}

.page-hero--compact .page-hero__title { font-size: clamp(1.75rem, 4vw, 2.5rem); }

.page-hero--compact .page-hero__intro { padding-bottom: 0; }

@media (min-width: 1200px) {
  .page-hero--compact .page-hero__inner {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }
}

/* Tiger variant — faint tiger head watermark top-right */
.page-hero--tiger .page-hero__art {
  top: 3rem;
  width: 20%;
  min-width: 13rem;
  max-width: 23.75rem;
  transform: none;
  opacity: 0.14;
}

/* Product price badge (single size hero) */
.page-hero__price {
  display: inline-flex;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.875rem;
  padding: 0.625rem 1.5rem;
  background: #000;
  border-radius: var(--radius);
}

.page-hero__price-figure {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--color-primary);
}

.page-hero__price-label {
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-grey);
}

/* Split variant — content left, inline artwork right (Areas hero) */
.page-hero--split .page-hero__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.page-hero__figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.page-hero__figure img { width: 100%; }

@media (min-width: 1024px) {
  .page-hero--split .page-hero__inner { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 1023.98px) {
  .page-hero--split .page-hero__figure { max-width: 26rem; }
}

@media (max-width: 767.98px) {
  .page-hero__art { display: none; }
}

@media (min-width: 1200px) {
  .page-hero__inner {
    padding-top: 3.5rem;
    padding-bottom: 3.75rem;
  }
}

/* Booking mode — single product hero: two columns, content with the skip
   photo under the CTAs on the left, the booking starter on the right.
   The starter's own styles live in components/booking-starter/. */
.page-hero--booking .page-hero__inner {
  display: grid;
  gap: 3rem;
}

.page-hero__media {
  max-width: 26rem;
  margin-top: 1.75rem;
}

.page-hero__media img {
  width: 100%;
  height: auto;
}

/* Below the two-column breakpoint the starter stacks under the skip photo,
   so keep the photo small enough that it is not a long scroll away. */
@media (max-width: 1023.98px) {
  .page-hero--booking .page-hero__media { max-width: 16rem; }
}

@media (min-width: 1024px) {
  .page-hero--booking .page-hero__inner { grid-template-columns: 1.2fr 1fr; }
}
