/* Shared hero system for the four AMOS service pages. */
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-eyebrow,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-eyebrow,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-hero__eyebrow,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-eyebrow {
  margin: 0 0 24px;
  color: #D9B475;
  font: 600 11px/1.3 'Instrument Sans', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) h1 {
  max-width: 650px;
  margin: 0;
  color: #F2EEE4;
  font: 400 clamp(38px, 4.7vw, 56px)/1.12 'Marcellus', serif;
  letter-spacing: 0;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__intro,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__intro,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-hero__intro,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__lead {
  max-width: 540px;
  margin-top: 50px;
  color: rgba(242, 238, 228, .78);
  font: 400 20px/1.55 'Instrument Sans', sans-serif;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__personal,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact__identity {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__portrait,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__portrait,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact__portrait,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__portrait {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  box-sizing: border-box;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__portrait img,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__portrait img,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact__portrait img,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal-copy,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__personal-copy,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact__name,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__contact {
  color: #F2EEE4;
  font: 500 15px/1.35 'Instrument Sans', sans-serif;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal-copy small,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__personal-copy small,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact__role,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__contact small {
  display: block;
  margin-top: 3px;
  color: rgba(242, 238, 228, .57);
  font: 400 11px/1.35 'Instrument Sans', sans-serif;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal-whatsapp,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-personal-whatsapp,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-personal-whatsapp,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__contact-whatsapp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-left: 0;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal-whatsapp a,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-personal-whatsapp a,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-personal-whatsapp a,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__contact-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  box-sizing: border-box;
  margin-top: 0;
  padding: 10px 13px;
  border-radius: 3px;
  background: #D9B475;
  color: #2E3626;
  font: 600 10px/1.2 'Instrument Sans', sans-serif;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal-whatsapp a:hover,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-personal-whatsapp a:hover,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-personal-whatsapp a:hover,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__contact-whatsapp a:hover {
  background: #EAD19A;
  color: #2E3626;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal-whatsapp__note,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-personal-whatsapp__note,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-personal-whatsapp__note,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__contact-whatsapp__note {
  width: 100%;
  margin: 0;
  color: rgba(242, 238, 228, .48);
  font: 400 10px/1.4 'Instrument Sans', sans-serif;
  text-align: center;
}

/* Keep the existing form heights and two-column balance, while sharing the visual language. */
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-panel {
  width: 100%;
  max-width: 540px;
  box-sizing: border-box;
  padding: 32px 40px 22px;
}

/* Keep the service-page enquiry panel on the shared beige surface. */
:is(.buying-hero, .sellers-hero, .landlords-hero) .audience-hero-form {
  background: #D8CEB7;
}

/* Keep the market SVGs constrained to their viewBox, as on the Rent page. */
:is(.buying-hero, .sellers-hero, .landlords-hero) ~ .audience-market .audience-market-chart__plot svg,
:is(.buying-hero, .sellers-hero, .landlords-hero) .audience-market-chart__plot svg,
.buying-market-chart__plot svg,
.landlords-report__chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form h2,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-panel h2 {
  margin: 0;
  color: #2E3626;
  font: 400 clamp(25px, 3vw, 34px)/1.2 'Marcellus', serif;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form__eyebrow,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-eyebrow {
  margin: 0 0 13px;
  color: #A98E5F;
  font: 600 10px/1.3 'Instrument Sans', sans-serif;
  letter-spacing: .15em;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form__intro,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-panel__intro {
  max-width: 400px;
  margin-top: 16px;
  color: #263024;
  font: 400 14px/1.5 'Instrument Sans', sans-serif;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form__fields,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 26px;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form label,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-form .field label {
  display: block;
  margin-bottom: 5px;
  color: #263024;
  font: 400 14px/1.3 'Instrument Sans', sans-serif;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form input,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form select,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-form .field input,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-form .field select {
  box-sizing: border-box;
  width: 100%;
  height: 33px;
  font: 400 14px/1.3 'Instrument Sans', sans-serif;
}

:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form button,
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-submit {
  min-height: 46px;
  box-sizing: border-box;
  padding: 14px 19px;
  border-radius: 3px;
  font: 600 11px/1.2 'Instrument Sans', sans-serif;
  letter-spacing: .06em;
}

/* Shared lead-in and breathing room for the three hero benefit cards. */
.renting-benefits-label {
  color: #D9B475;
}

.buying-hero > .audience-benefits,
.landlords-hero > .audience-benefits {
  margin-top: 0;
  margin-bottom: 0;
}

.buying-hero,
.landlords-hero,
.renting-hero {
  padding-bottom: 30px !important;
}

.buying-hero > .audience-benefits::before,
.landlords-hero > .audience-benefits::before {
  display: block;
  grid-column: 1 / -1;
  width: min(100%, 1440px);
  margin: 98px auto 0;
  color: #D9B475;
  content: 'A BETTER WAY TO BUY IN DUBAI HILLS \2192';
  font: 600 11px/1.3 'Instrument Sans', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.landlords-hero > .audience-benefits::before {
  content: 'A BETTER WAY TO LET YOUR PROPERTY \2192';
}

.sellers-hero-benefits {
  padding-top: 98px;
  padding-bottom: 30px;
}

.sellers-hero-benefits::before {
  display: block;
  width: min(100%, 1440px);
  margin: 0 auto 28px;
  color: #D9B475;
  content: 'A BETTER WAY TO SELL IN DUBAI HILLS \2192';
  font: 600 11px/1.3 'Instrument Sans', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sellers-hero-benefits > .audience-benefits {
  margin-top: 0;
  margin-bottom: 0;
}

.renting-hero > .renting-benefits {
  margin-bottom: 0 !important;
}

@media (min-width: 761px) {
  .buying-hero,
  .landlords-hero,
  .renting-hero {
    padding-bottom: 80px !important;
  }
}

/* Shared eyebrow standard, matched to the About page. */
:is(.buying-page, .sellers-page, .renting-page, .landlords-page) :is(.buying-eyebrow, .sellers-eyebrow, .renting-hero__eyebrow, .landlords-eyebrow, .landlords-section-label, .renting-benefits-label, .renting-example__eyebrow, .eyebrow) {
  color: var(--brass);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

:is(.buying-page, .sellers-page, .renting-page, .landlords-page) :is(.buying-hero, .sellers-hero, .sellers-hero-benefits, .renting-hero, .landlords-hero, .buying-faq, .sellers-process, .sellers-faq, .renting-faq, .landlords-faq) :is(.buying-eyebrow, .sellers-eyebrow, .renting-hero__eyebrow, .landlords-eyebrow, .landlords-section-label, .renting-benefits-label, .eyebrow) {
  color: #D9B475;
}

.sellers-page .sellers-hero h1.sellers-eyebrow {
  font: 600 11px/1.3 'Instrument Sans', sans-serif !important;
  letter-spacing: .14em !important;
}

:is(.buying-page, .sellers-page, .renting-page, .landlords-page) .audience-benefit h3 {
  display: block;
  margin: 0 0 19px;
  color: #F2EEE4;
  font: 400 23px/1.25 'Marcellus', serif;
}

/* Keep the semantic hero H1s visually identical to the existing eyebrows. */
:is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) h1:is(.buying-eyebrow, .sellers-eyebrow, .renting-hero__eyebrow, .landlords-eyebrow) {
  max-width: none;
  margin: 0 0 24px;
  color: #D9B475 !important;
  font: 600 11px/1.3 'Instrument Sans', sans-serif !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
}

@media (min-width: 761px) {
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__personal,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__actions {
    width: min(100%, 540px);
    justify-content: space-between;
  }
  .buying-hero .buying-hero__personal,
  .sellers-hero .sellers-hero__personal {
    justify-content: flex-start;
  }
  .buying-hero .buying-hero__personal-copy,
  .sellers-hero .sellers-hero__personal-copy {
    margin-right: auto;
  }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal { transform: translateY(45px); }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__personal { transform: translateY(42px); }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-hero__content > .renting-contact:first-of-type { transform: translateY(69px); }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__actions { transform: translateY(25px); }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__note { margin-top: 12px; transform: translateY(54px); }
}

@media (max-width: 760px) {
  .buying-hero > .audience-benefits,
  .landlords-hero > .audience-benefits {
    margin-bottom: 0;
  }
  .buying-hero,
  .landlords-hero,
  .renting-hero {
    padding-bottom: 30px !important;
  }
  .buying-hero > .audience-benefits::before,
  .landlords-hero > .audience-benefits::before {
    margin-top: 35px;
    margin-bottom: 4px;
  }
  .sellers-hero-benefits {
    padding-top: 35px;
    padding-bottom: 30px;
  }
  .sellers-hero-benefits::before {
    margin: 0 auto 26px;
  }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) h1 { font-size: clamp(40px, 11vw, 54px); }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__intro,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__intro,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-hero__intro,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__lead {
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.6;
  }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-hero__personal,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    transform: none;
  }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-contact__identity { width: auto; }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__personal-whatsapp,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .sellers-personal-whatsapp,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .renting-personal-whatsapp,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .landlords-hero__contact-whatsapp { margin: 0; }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .buying-hero__note { margin-top: 12px; transform: none; }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-panel { max-width: none; padding: 33px 24px 29px; }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form__fields,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-form { grid-template-columns: 1fr; gap: 20px 0; margin-top: 32px; }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form__field--full,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form__actions,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form__status,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-form .field--full,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-actions { grid-column: auto; }
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .audience-hero-form button,
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) .enquiry-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.buying-hero, .sellers-hero, .renting-hero, .landlords-hero) * { transition-duration: .01ms; }
}
