/* Single override sheet, always enqueued last. Put new hero tweaks here instead of
   adding another dated ducks-layout-*.css to the chain.

   The page prefix covers home, rent (.dl-commerce-page) and sale (.dl-sale-page).
   It is written out in full so its specificity stays level with the home-only rules
   in ducks-layout-20260922-proof60.css; a plain body.home-page would lose to them. */

/* All widths. On phones the home page otherwise falls back to the dark teal panel
   in ducks-hero.css, which is not scoped to a media query. */
body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

/* Facts read straight off the photo, so they need their own contrast. */
body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof .dl-hero-facts {
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: clamp(12px,2vw,24px);
  color: #fff;
  text-shadow: 0 1px 14px rgba(0,30,37,.55);
}
body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof .dl-hero-facts dt,
body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof .dl-hero-facts dd {
  color: #fff;
}

/* The white panel sits on this block only. The blur keeps the busy photo from
   fighting the text, so the panel can stay fairly see-through. */
body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof .dl-hero-value {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 4px;
  outline: 0;
  box-shadow: none;
  color: #005365;
  text-shadow: none;
}
body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof .dl-hero-value strong,
body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof .dl-hero-value span {
  color: #005365;
}

@media (min-width:768px) {
  body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof .dl-hero-facts {
    padding: 20px 0;
  }
  body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero-proof .dl-hero-value {
    justify-self: start;
    max-width: 480px;
    padding: 20px 24px;
  }

  /* Buttons hug their label instead of filling the column. */
  body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero .dl-hero-action,
  body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero .dl-hero-action-primary {
    width: fit-content !important;
    max-width: 100%;
    align-self: flex-start;
    justify-content: flex-start;
    gap: 22px;
    padding: 12px 22px;
    min-height: 54px;
    font-size: 18px;
  }
  body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero .dl-hero-action span {
    font-size: 20px;
    line-height: 1;
  }
}

@media (max-width:767px) {
  /* Full-width buttons on phones. ducks-hero.css held them 80px short of the edge. */
  body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero .dl-hero-action,
  body:is(.home-page:not(.dl-commerce-page):not(.dl-sale-page), .dl-commerce-page, .dl-sale-page) .dl-hero .dl-hero-action-primary {
    width: 100%;
    max-width: none;
  }
}

/* Benefits: a compact amenity band, never a second offer screen. */
.dl-commerce-benefits { padding: 56px 6vw 64px; background: #fff; color: #123b43; }
.dl-benefits-heading { margin-bottom: 22px; }
.dl-benefits-eyebrow { margin: 0 0 8px; color: #d54353; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.dl-benefits-heading h2 { margin: 0; font-size: clamp(26px,2.6vw,38px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.dl-commerce-benefit-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.dl-commerce-benefit-grid .dl-benefit-card { display: flex; flex-direction: column; min-width: 0; min-height: 205px; padding: 24px; border: 1px solid #d9e5e0; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(15,66,69,.045); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.dl-benefit-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #005365; background: #e8f1ee; }
.dl-benefit-icon svg { display: block; width: 24px; height: 24px; }
.dl-commerce-benefit-grid .dl-benefit-card h3 { margin: 24px 0 10px; font-size: 18px; line-height: 1.2; font-weight: 600; }
.dl-commerce-benefit-grid .dl-benefit-card p { margin: 0; color: #4b686b; font-size: 14px; line-height: 1.45; }
.dl-commerce-benefit-grid .dl-benefit-card--featured { color: #fff; background: linear-gradient(145deg,#005365,#0d6974); border-color: #005365; box-shadow: 0 12px 28px rgba(0,83,101,.14); }
.dl-benefit-card--featured .dl-benefit-icon { color: #fff; background: rgba(255,255,255,.16); }
.dl-commerce-benefit-grid .dl-benefit-card--featured h3 { margin-bottom: 12px; }
.dl-benefit-stat { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.dl-benefit-stat strong { font-size: 46px; line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.dl-benefit-stat span { color: #e5f2ef; font-size: 14px; line-height: 1.4; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .dl-commerce-benefit-grid .dl-benefit-card:hover { transform: translateY(-3px); border-color: #9cbdb5; box-shadow: 0 14px 28px rgba(15,66,69,.10); }
  .dl-commerce-benefit-grid .dl-benefit-card--featured:hover { border-color: #005365; box-shadow: 0 16px 32px rgba(0,83,101,.20); }
}
@media (max-width:900px) {
  .dl-commerce-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dl-commerce-benefit-grid .dl-benefit-card { min-height: 210px; }
}
@media (max-width:767px) {
  .dl-commerce-benefits { padding: 40px 20px 44px; }
  .dl-benefits-heading { margin-bottom: 18px; }
  .dl-benefits-heading h2 { font-size: clamp(25px,6.8vw,31px); }
  .dl-commerce-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .dl-commerce-benefit-grid .dl-benefit-card { min-height: 218px; padding: 20px; border-radius: 14px; }
  .dl-benefit-icon { width: 38px; height: 38px; border-radius: 10px; }
  .dl-benefit-icon svg { width: 22px; height: 22px; }
  .dl-commerce-benefit-grid .dl-benefit-card h3 { margin: 20px 0 10px; font-size: 16px; }
  .dl-commerce-benefit-grid .dl-benefit-card p, .dl-benefit-stat span { font-size: 14px; line-height: 1.4; }
  .dl-benefit-stat strong { font-size: 42px; }
}
@media (max-width:360px) {
  .dl-commerce-benefits { padding-right: 16px; padding-left: 16px; }
  .dl-commerce-benefit-grid { gap: 10px; }
  .dl-commerce-benefit-grid .dl-benefit-card { padding: 16px; }
  .dl-commerce-benefit-grid .dl-benefit-card h3 { font-size: 15px; }
}
@media (prefers-reduced-motion:reduce) { .dl-commerce-benefit-grid .dl-benefit-card { transition: none; } }

/* About: one aligned text-and-video row, without the old arrow spacer. */
.about-us { padding: 56px 0 !important; color: #123b43; scroll-margin-top: 100px; }
.about-us > .wrapper { width: 88%; max-width: 1680px; padding: 0; margin-inline: auto; }
.about-us .about-us__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(32px, 4vw, 72px); margin: 0; }
.about-us .about-us__col-sm, .about-us .about-us__col-lg { width: 100%; min-width: 0; margin: 0; padding: 0; }
.about-us .about-us__arrow-block { display: none; }
.about-us .about-us__title { margin: 0 0 24px; font-size: clamp(32px, 3vw, 48px); line-height: 1.15; letter-spacing: -.025em; color: #123b43; }
.about-us .about-us__text { max-width: 560px; font-size: 18px; line-height: 1.6; color: #4b686b; }
.about-us .about-us__video-block { width: 100%; margin: 0; padding: 0; aspect-ratio: 16 / 9; border-radius: 16px; background: #123b43; }
.about-us .about-us__video { inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.about-us .about-us__btn-play { width: 88px; height: 88px; top: calc(50% - 44px); left: calc(50% - 44px); }
.about-us .about-us__btn-play::after { width: 60px; height: 60px; }
.about-us .about-us__btn-play-icon { width: 18px; height: 18px; }
@media (max-width: 894px) {
  .about-us { padding: 36px 0 !important; scroll-margin-top: 90px; }
  .about-us > .wrapper { width: calc(100% - 40px); }
  .about-us .about-us__row { grid-template-columns: 1fr; gap: 24px; }
  .about-us .about-us__title { margin-bottom: 16px; font-size: 32px; }
  .about-us .about-us__text { max-width: none; font-size: 16px; }
  .about-us .about-us__video-block { border-radius: 12px; }
  .about-us .about-us__btn-play { width: 72px; height: 72px; top: calc(50% - 36px); left: calc(50% - 36px); }
  .about-us .about-us__btn-play::after { width: 48px; height: 48px; }
  .about-us .about-us__btn-play-icon { width: 15px; height: 15px; }
}

/* Keep fixed call and messenger controls off the cards on narrow screens only. */
@media (max-width:767px) {
  body.dl-benefits-in-view .learn-more-buttons-wrap,
  body.dl-benefits-in-view .hero-btns-row_vert,
  body.dl-benefits-in-view #bingc-phone-button,
  body.dl-benefits-in-view #bingc-active,
  body.dl-benefits-in-view #bingc-passive {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
