/* Amber Market HQ hero — all public selectors are strictly component-scoped. */
.amber-hq-hero,
.amber-hq-hero * {
  box-sizing: border-box;
}

.amber-hq-hero {
  --amber-hq-dark: #00502f;
  --amber-hq-deep: #00472b;
  --amber-hq-green: #00633a;
  --amber-hq-bright: #00a55a;
  --amber-hq-yellow: #f4d74a;
  --amber-hq-cream: #f1ece6;
  --amber-hq-paper: #fffefa;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: clip;
  background: var(--amber-hq-cream);
  color: #101411;
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.45;
  isolation: isolate;
}

.amber-hq-hero a {
  color: inherit;
  text-decoration: none;
}

.amber-hq-hero img,
.amber-hq-hero svg {
  display: block;
}

.amber-hq-hero__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Main stage ------------------------------------------------------------ */
.amber-hq-hero__stage {
  position: relative;
  z-index: 1;
  min-height: 80vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 47% 12%, rgb(255 255 255 / 82%), transparent 31%),
    linear-gradient(108deg, #f1ece6 0 39%, #f2eee7 61%, #edf0e6 100%);
}

.amber-hq-hero__stage::before,
.amber-hq-hero__stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.amber-hq-hero__stage::before {
  top: -31%;
  left: 28%;
  width: 58%;
  height: 84%;
  background: rgb(255 255 255 / 38%);
  transform: rotate(16deg);
}

.amber-hq-hero__stage::after {
  top: -43%;
  left: 39%;
  width: 49%;
  height: 96%;
  border: 1px solid rgb(12 98 63 / 8%);
  background: rgb(219 231 215 / 20%);
  transform: rotate(23deg);
}

.amber-hq-hero__copy {
  position: absolute;
  z-index: 8;
  top: 6%;
  left: 4.7%;
  width: 36.5%;
}

.amber-hq-hero__eyebrow {
  margin: 0 0 clamp(23px, 2.2vw, 60px);
  color: var(--amber-hq-deep);
  font-size: clamp(13px, 1.08vw, 30px);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
}

.amber-hq-hero__copy h1 {
  margin: 0;
  font-size: clamp(58px, 5.8vw, 160px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 0.9;
}

.amber-hq-hero__copy h1 span,
.amber-hq-hero__copy h1 strong {
  display: block;
}

.amber-hq-hero__copy h1 span {
  color: #050706;
}

.amber-hq-hero__copy h1 strong {
  margin-top: 0.055em;
  color: var(--amber-hq-dark);
}

.amber-hq-hero__intro {
  width: 91%;
  max-width: 900px;
  margin: clamp(20px, 1.5vw, 40px) 0 clamp(24px, 2vw, 54px);
  color: #202723;
  font-size: clamp(16px, 1.35vw, 36px);
  line-height: 1.58;
}

.amber-hq-hero__actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.25vw, 64px);
}

.amber-hq-button {
  display: inline-flex;
  min-height: clamp(42px, 3.35vw, 88px);
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-size: clamp(14px, 1.05vw, 28px);
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.amber-hq-button--primary {
  min-width: clamp(178px, 14.6vw, 380px);
  padding: 0 18px;
  background: linear-gradient(#00613a, #00472a);
  color: #fff;
  box-shadow: 0 5px 0 #003b24, 0 11px 18px rgb(0 55 33 / 20%);
}

.amber-hq-hero .amber-hq-button--primary {
  color: #fff;
}

.amber-hq-button--primary:hover {
  background: linear-gradient(#006b40, #004f2f);
  box-shadow: 0 7px 0 #003b24, 0 15px 24px rgb(0 55 33 / 24%);
  transform: translateY(-3px) scale(1.015);
}

.amber-hq-button--primary:active,
.amber-hq-button--primary.is-amber-hq-pressed {
  box-shadow: 0 2px 0 #003b24, 0 5px 10px rgb(0 55 33 / 18%);
  transform: translateY(3px) scale(0.985);
}

.amber-hq-button--secondary {
  min-width: clamp(160px, 13vw, 340px);
  padding: 0 10px;
  color: #151b17;
}

.amber-hq-button--secondary span {
  color: var(--amber-hq-green);
  font-size: 1.5em;
  transition: transform 180ms ease;
}

.amber-hq-button--secondary:hover {
  transform: translateY(-2px);
}

.amber-hq-button--secondary:hover span {
  transform: translateX(6px);
}

.amber-hq-button--secondary:active,
.amber-hq-button--secondary.is-amber-hq-pressed {
  transform: translateY(1px) scale(0.98);
}

.amber-hq-button:focus-visible,
.amber-hq-location:focus-visible {
  outline: 4px solid #0c8d57;
  outline-offset: 5px;
}

/* Map scene ------------------------------------------------------------- */
.amber-hq-scene {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
}

.amber-hq-scene__map {
  position: absolute;
  z-index: 0;
  inset: 4% 0 2% 0;
  background-image: url("assets/map/amber-sharjah-map.svg");
  background-position: center;
  background-size: cover;
  opacity: 0.88;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 55% 49%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 82% at 55% 49%, #000 62%, transparent 100%);
}

.amber-hq-scene__route {
  position: absolute;
  z-index: 2;
  top: 4.5%;
  left: 2%;
  width: 96%;
  height: 88%;
  fill: none;
  stroke: var(--amber-hq-deep);
  stroke-width: 2.6;
  stroke-dasharray: 0.36 0.48;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.88;
}

.amber-hq-scene__route-mobile {
  display: none;
}

.amber-hq-scene__building {
  position: absolute;
  z-index: 3;
  right: 9%;
  bottom: 13%;
  width: min(76.5%, 1280px);
  height: auto;
  max-width: none;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 19px rgb(44 39 25 / 17%));
}

.amber-hq-location {
  position: absolute;
  z-index: 6;
  top: var(--amber-location-y);
  left: var(--amber-location-x);
  display: flex;
  min-width: clamp(100px, 8.6vw, 230px);
  min-height: 56px;
  align-items: center;
  flex-direction: column;
  padding: 4px;
  border-radius: 14px;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: transform 180ms ease, filter 180ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.amber-hq-location:hover {
  z-index: 10;
  filter: drop-shadow(0 10px 11px rgb(0 0 0 / 22%));
  transform: translate(-50%, calc(-50% - 4px)) scale(1.065);
}

.amber-hq-location:active,
.amber-hq-location.is-amber-hq-pressed {
  filter: drop-shadow(0 3px 5px rgb(0 0 0 / 15%));
  transform: translate(-50%, calc(-50% + 2px)) scale(0.97);
}

.amber-hq-location__pin {
  position: relative;
  display: block;
  width: clamp(32px, 2.7vw, 74px);
  height: clamp(32px, 2.7vw, 74px);
  margin-bottom: 5px;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 52% 52% 52% 12%;
  background: linear-gradient(135deg, #0b8558 0 22%, #00462f 75%);
  box-shadow: inset 4px 4px 5px rgb(255 255 255 / 18%), 0 8px 12px rgb(0 59 38 / 24%);
  transform: rotate(-45deg);
}

.amber-hq-location__pin span {
  position: absolute;
  top: 29%;
  left: 29%;
  width: 41%;
  height: 41%;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 2px 2px rgb(0 0 0 / 13%);
}

.amber-hq-location__label {
  display: block;
  position: relative;
  top: 3px;
  max-width: 100%;
  padding: clamp(6px, 0.54vw, 15px) clamp(11px, 1.05vw, 30px);
  border: 1px solid rgb(0 77 49 / 7%);
  border-radius: 8px;
  background: rgb(255 255 255 / 96%);
  color: #0b100d;
  font-size: clamp(11px, 1.02vw, 28px);
  font-weight: 750;
  line-height: 1.14;
  text-align: center;
  white-space: normal;
  box-shadow: 0 7px 14px rgb(53 47 35 / 13%);
}

.amber-hq-location--alGhuwairRolla .amber-hq-location__label {
  max-width: clamp(108px, 8.5vw, 180px);
}

/* Leaves are decorative elements inside the hero composition only. */
.amber-hq-leaf {
  position: absolute;
  z-index: 7;
  display: block;
  width: clamp(34px, 4vw, 78px);
  aspect-ratio: 1.8 / 1;
  border-radius: 100% 0 100% 0;
  background:
    linear-gradient(168deg, transparent 46%, rgb(0 70 35 / 36%) 48% 51%, transparent 53%),
    linear-gradient(135deg, #83a91c, #2e741d 72%);
  box-shadow: 0 8px 12px rgb(44 75 19 / 17%);
  pointer-events: none;
}

.amber-hq-leaf--one { top: -0.2%; left: -0.4%; width: clamp(64px, 7vw, 190px); transform: rotate(12deg); }
.amber-hq-leaf--two { top: 4.6%; left: -0.5%; width: clamp(42px, 5.2vw, 140px); transform: rotate(72deg); }
.amber-hq-leaf--three { top: 0.7%; right: -0.4%; width: clamp(60px, 6.6vw, 180px); transform: rotate(198deg); }
.amber-hq-leaf--four { top: 5.4%; right: -0.7%; width: clamp(43px, 5.2vw, 140px); transform: rotate(238deg); }
.amber-hq-leaf--five { bottom: 2.7%; left: -0.4%; width: clamp(38px, 4.5vw, 120px); transform: rotate(-16deg); }
.amber-hq-leaf--six { bottom: -0.5%; left: -1.1%; width: clamp(44px, 5.2vw, 140px); transform: rotate(61deg); }

/* Benefits band --------------------------------------------------------- */
.amber-hq-benefits {
  position: relative;
  z-index: 4;
  min-height: 17.5vw;
  padding: clamp(27px, 2.1vw, 58px) 3.4% clamp(24px, 2vw, 54px);
  background: none;
  color: #fff;
}

.amber-hq-benefits::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -5%;
  width: 110%;
  height: 5.6vw;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(112deg, #004d30, #00472b 62%, #004229);
}

.amber-hq-benefits::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2.75vw;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(112deg, #004d30, #00472b 62%, #004229);
}

.amber-hq-benefits__inner {
  width: min(100%, 1800px);
  margin: 0 auto;
}

.amber-hq-benefits h2 {
  margin: 0 0 clamp(8px, 0.7vw, 20px);
  font-size: clamp(17px, 1.35vw, 36px);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  /* The theme's global 'h2 { color }' rule (uicore-global.css) directly
     targets every h2 on the site and wins over this container's
     inherited color:#fff, since a direct match always beats
     inheritance regardless of specificity. Declaring color here
     directly is what actually fixes it - reusing the site's existing
     cream token (already used for Opening Soon badges etc.) rather
     than a new one-off value, for an accessible ~8.9:1 contrast
     against this band's dark green background. */
  color: var(--amber-cream, #F7F2E7);
}

.amber-hq-benefits__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.amber-hq-benefit {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  padding: 0 clamp(12px, 1.6vw, 44px);
  text-align: center;
}

.amber-hq-benefit + .amber-hq-benefit {
  border-left: 1px solid rgb(255 255 255 / 31%);
}

.amber-hq-benefit svg {
  width: clamp(43px, 3.5vw, 92px);
  height: clamp(43px, 3.5vw, 92px);
  margin-bottom: clamp(10px, 0.9vw, 25px);
  fill: none;
  stroke: var(--amber-hq-yellow);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amber-hq-benefit p {
  max-width: 260px;
  margin: 0;
  font-size: clamp(13px, 1.02vw, 28px);
  line-height: 1.26;
}

.amber-hq-benefits__dots {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 0.9vw, 22px);
  margin-top: clamp(38px, 4.2vw, 60px);
}

.amber-hq-benefits__dots span {
  width: clamp(9px, 0.72vw, 20px);
  height: clamp(9px, 0.72vw, 20px);
  border-radius: 50%;
  background: rgb(255 255 255 / 60%);
}

.amber-hq-benefits__dots span:first-child {
  background: #00ae61;
}

/* Narrower desktop (901-1300px): the copy column's fixed-height text
   wraps onto more lines at this width (its own font-size clamp has
   already hit its floor, while the column itself is still narrower
   than on a wide desktop), so it needs a taller stage than 48vw to
   avoid the CTA buttons running into the statistics card below. */
@media (min-width: 901px) and (max-width: 1300px) {
  .amber-hq-hero__stage {
    min-height: 92vh;
  }
}
/* Tablet ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .amber-hq-hero__stage {
    min-height: auto;
    padding-top: 56px;
  }

  .amber-hq-hero__copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(100% - 72px, 690px);
    margin: 0 auto;
  }

  .amber-hq-hero__copy h1 {
    font-size: clamp(58px, 9.5vw, 74px);
  }

  .amber-hq-hero__intro {
    width: 100%;
    max-width: 650px;
    font-size: 18px;
  }

  .amber-hq-intro-break {
    display: none;
  }

  .amber-hq-scene {
    position: relative;
    width: 100%;
    height: 680px;
    margin-top: 30px;
  }

  .amber-hq-scene__map {
    inset: 0;
  }

  .amber-hq-scene__building {
    right: 50%;
    bottom: 10%;
    width: min(88%, 760px);
    transform: translateX(50%);
  }

  .amber-hq-scene__route {
    top: 2%;
    left: 3%;
    width: 94%;
    height: 92%;
  }

  .amber-hq-location {
    min-width: 92px;
  }


  .amber-hq-benefits {
    min-height: auto;
    padding: 78px 28px 38px;
  }

  .amber-hq-benefits::before {
    top: 0;
    height: 82px;
  }

  .amber-hq-benefits::after {
    top: 41px;
  }

  .amber-hq-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 0;
  }

  .amber-hq-benefit:nth-child(4) {
    border-left: 0;
  }
}

/* Mobile ---------------------------------------------------------------- */
@media (max-width: 560px) {
  .amber-hq-hero__stage {
    padding-top: 48px;
  }

  .amber-hq-hero__copy {
    width: calc(100% - 40px);
  }

  .amber-hq-hero__eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .amber-hq-hero__copy h1 {
    font-size: clamp(47px, 13.5vw, 56px);
  }

  .amber-hq-hero__intro {
    margin: 24px 0 26px;
    font-size: 16px;
    line-height: 1.55;
  }

  .amber-hq-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .amber-hq-button {
    min-height: 54px;
    font-size: 15px;
  }

  .amber-hq-button--primary,
  .amber-hq-button--secondary {
    width: 100%;
  }

  .amber-hq-button--secondary {
    justify-content: flex-start;
    padding-left: 18px;
  }

  .amber-hq-scene {
    height: 520px;
    margin-top: 18px;
  }

  .amber-hq-scene__map {
    opacity: 0.8;
  }

  .amber-hq-hero .amber-hq-button--primary {
    color: #fff;
  }

  .amber-hq-scene__building {
    right: 50%;
    bottom: 28%;
    width: 92%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: normal;
    filter: drop-shadow(0 15px 13px rgb(44 39 25 / 18%));
    transform: translateX(50%);
  }

  .amber-hq-scene__route {
    top: 1%;
    left: 2%;
    width: 96%;
    height: 96%;
    stroke-width: 2.2;
    stroke-dasharray: 1.4 1.1;
    stroke-linecap: round;
    opacity: 0.94;
  }

  .amber-hq-scene__route-desktop { display: none; }
  .amber-hq-scene__route-mobile { display: block; }

  .amber-hq-location {
    min-width: 73px;
    min-height: 44px;
    padding: 2px;
  }

  .amber-hq-location__pin {
    width: 31px;
    height: 31px;
    margin-bottom: 3px;
  }

  .amber-hq-location__label {
    max-width: 82px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 8.5px;
  }

  .amber-hq-location--abushagara { top: 10%; left: 50%; }
  .amber-hq-location--alTawoon { top: 20%; left: 75%; }
  .amber-hq-location--alQasimia { top: 34%; left: 89%; }
  .amber-hq-location--alBuhaira { top: 55%; left: 89%; }
  .amber-hq-location--alNahda { top: 78%; left: 78%; }
  .amber-hq-location--budaniq { top: 88%; left: 52%; }
  .amber-hq-location--alGhuwairRolla { top: 75%; left: 17%; }
  .amber-hq-location--qulayya { top: 34%; left: 11%; }


  .amber-hq-leaf--one,
  .amber-hq-leaf--three {
    width: 42px;
  }

  .amber-hq-benefits {
    padding: 64px 13px 32px;
  }

  .amber-hq-benefits::before {
    top: 0;
    height: 60px;
  }

  .amber-hq-benefits::after {
    top: 30px;
  }

  .amber-hq-benefits h2 {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .amber-hq-benefits__grid {
    gap: 28px 0;
  }

  .amber-hq-benefit {
    padding-inline: 9px;
  }

  .amber-hq-benefit svg {
    width: 39px;
    height: 39px;
    margin-bottom: 8px;
  }

  .amber-hq-benefit p {
    max-width: 98px;
    font-size: 12px;
  }

  .amber-hq-benefits__dots {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amber-hq-hero *,
  .amber-hq-hero *::before,
  .amber-hq-hero *::after {
    transition-duration: 0.01ms !important;
  }

    .amber-hq-location:hover,
  .amber-hq-location:active,
  .amber-hq-location.is-amber-hq-pressed {
    transform: translate(-50%, -50%);
  }

  .amber-hq-button:hover,
  .amber-hq-button:active,
  .amber-hq-button.is-amber-hq-pressed {
    transform: none;
  }
}


