/* ==========================================================
   HERO
   ========================================================== */
.ld-hero {
  position: relative;
  padding: 24px 0 64px;
  background: #f3f9fc;
}
.ld-hero-wrap {
  position: relative;
  max-width: 2000px;
}
.ld-hero-card {
  position: relative;
  border-radius: 48px;
  display: flow-root;
}
.ld-hero-bg {
  position: absolute;
  inset: 0;
  border-radius: 46px;
  overflow: hidden;
}
.ld-hero-overlay {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background: linear-gradient(
    90deg,
    rgba(6, 58, 82, 0.95) 0%,
    rgba(0, 152, 219, 0.82) 40%,
    rgba(0, 152, 219, 0.35) 72%,
    rgba(0, 152, 219, 0.08) 100%
  );
  pointer-events: none;
}
.ld-hero-pad {
  position: relative;
  z-index: 1;
  margin: 0px 75px 0px 76px;
  pointer-events: none;
}
.ld-hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.ld-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 69px;
}
.ld-hero-copy {
  max-width: 862px;
}
.ld-hero-h1 {
  font-family: "Quicksand", sans-serif;
  font-size: 75px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0;
}
.ld-hero-desc {
  margin-top: 38px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 759px;
}
.ld-hero-ctas {
  margin-top: 55px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  pointer-events: auto;
}
/* A <button> (opens the enquiry dialog), so it needs the element resets a
   styled <a> never did: no UA border, inherit the body font. */
.ld-hero-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #063a52;
  padding: 20px 30px;
  border: 0;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: 26px;
}
.ld-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}
.ld-hero-link:hover {
  color: #bbdbf2;
  border-bottom-color: #bbdbf2;
}
.ld-hero-stat {
  flex-shrink: 0;
}
.ld-hero-badge {
  display: block;
  width: 160px;
  height: auto;
}
.ld-basket {
  position: absolute;
  right: 0;
  bottom: 0;
  /* width: 600px;
  height: 777px; */
  width: 590px;
  height: 770px;
  pointer-events: none;
}
.ld-loc {
  position: relative;
  margin: 0 96px -60px auto;
  width: 690px;
  background: #063a52;
  border-radius: 34px;
  padding: 41px 45px;
  box-shadow: 0 41px 103px rgba(6, 58, 82, 0.35);
  transform: translateY(41px);
}
/* Tablet/mobile-only counterpart to .ld-loc — shown in place of it below
   900px (see the 900px breakpoint), sitting in normal flow below the hero
   photo instead of floating over it. Hidden above 900px by default. */
.ld-loc-mobile {
  display: none;
}
.ld-loc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 31px;
}
.ld-loc-title {
  color: #fff;
  font-weight: 700;
  font-size: 29px;
}
.ld-loc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 21px;
  padding: 21px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ld-loc-item {
  display: flex;
  align-items: center;
  gap: 21px;
}
.ld-loc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ld-loc-name {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}
.ld-loc-addr {
  color: rgba(255, 255, 255, 0.55);
  font-size: 19px;
}
.ld-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 70px;
  padding: 30px 14px 0;
}
.ld-stat-num {
  font-size: 40px;
  font-weight: 800;
  color: #063a52;
  font-variant-numeric: tabular-nums;
}
.ld-stat-plus {
  color: #0078ad;
}
.ld-stat-label {
  font-size: 14px;
  color: #66747a;
  font-weight: 500;
  margin-top: 3px;
}
/* ==========================================================
   RESPONSIVE
   Additive only — mirrors the breakpoint stops in style.css so
   the hero keeps stepping down at the same widths as the rest
   of the page: 1160 (basket) / 1024 / 900 / 620 / 560
   ========================================================== */

/* Base .ld-hero-pad has no top/bottom spacing, so the copy sits flush
   against the card's top edge. The narrower breakpoints below already
   carry balanced top/bottom padding, so this centers the copy block
   vertically only at the width the un-centered look is visible: desktop. */
@media (min-width: 1025px) {
  .ld-hero-pad {
    padding: 58px 69px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 560px;
  }
}

/* The hero cutout stands in the gap between the headline and the "60+"
   lockup. The gap narrows with the viewport, so the figure steps down
   before it reaches the headline's right edge. */
@media (max-width: 1160px) {
  .ld-basket {
    right: 80px;
    width: 450px;
    height: 585px;
  }
}

@media (max-width: 1024px) {
  /* This block's padding replaces the desktop side margins rather than adding
     to them. Without the reset both apply, and the 151px of margin survives
     every narrower breakpoint below — squeezing the copy column to 147px at
     414px and 129px at 360px. */
  .ld-hero-pad {
    margin: 0;
    padding: 58px 69px 46px;
  }
  .ld-hero-h1 {
    font-size: 83px;
  }
  /* The locations card overhangs the panel via margin-bottom:-80px +
     translateY(24px). That only clears the stats band while the card is far
     enough right — measured, it starts covering the stat numerals at ~935px.
     Retire the overhang here and let the stats sit below it. */
  .ld-loc {
    margin-bottom: 41px;
    transform: none;
  }
  /* The 83px top padding existed only to clear that overhang. With the
     overhang gone it reads as a dead gap, so take it back to normal
     section spacing. */
  .ld-stats {
    padding-top: 48px;
  }
}

@media (max-width: 900px) {
  .ld-hero-row {
    flex-wrap: wrap;
    gap: 41px;
  }
  /* The eyebrow ("60+ YEARS IN THANE") already carries this message compactly;
     the shield graphic repeating it here only added a floating block of
     vertical space once the row wraps below the CTAs. Cut it on mobile. */
  .ld-hero-stat {
    display: none;
  }
  .ld-hero-h1 {
    font-size: 76px;
  }
  .ld-hero-ctas {
    margin-top: 36px;
  }
  /* Hand-placed <br/>s in the description are sized for the desktop measure;
     below 900px they chop the paragraph into short, ragged lines instead of
     letting it wrap naturally, adding height without adding readability. */
  .ld-hero-desc-br {
    display: none;
  }
  /* Below 900 the hero stacks: the cutout joins the flow, centred
     between the copy and the locations card. */
  /* Fluid from here down, not fixed: the basket is a child of .ld-hero-card,
     so a fixed width outgrows the card on narrow phones. It then overflows
     (auto margins collapse to 0, so it also stops being centred) and
     .ld-page's overflow-x:hidden clips the right edge without a scrollbar to
     show for it. aspect-ratio keeps the height honest as the width flexes. */
  .ld-basket {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 24px auto 0;
    width: min(320px, 100%);
    height: auto;
    aspect-ratio: 759 / 983;
  }
  /* Desktop's floating card is retired below 900px in favor of
     .ld-loc-mobile, which sits in normal flow instead of overlapping. */
  .ld-loc {
    display: none;
  }
  /* Full-width below the hero photo, tucked up slightly so its rounded top
     corners sit just under the photo's bottom edge. */
  .ld-loc-mobile {
    display: block;
    position: relative;
    width: auto;
    margin: -30px 0 32px;
    background: #063a52;
    border-radius: 34px;
    padding: 41px 45px;
    box-shadow: 0 41px 103px rgba(6, 58, 82, 0.35);
    margin-left: 20px;
    margin-right: 20px;
  }
  .ld-loc-addr {
    font-size: 14px;
  }
  /* Below 900 the three stats stack full-width, one per row, divided by
     hairlines rather than sitting side by side in a compact strip. */
  .ld-stats {
    flex-direction: column;
    gap: 0;
    padding: 48px 14px 0;
  }
  .ld-stat-item {
    width: 100%;
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid rgba(6, 58, 82, 0.1);
  }
  .ld-stat-item:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .ld-stat-num {
    font-size: 64px;
  }
  .ld-stat-plus {
    font-size: 0.45em;
    vertical-align: top;
    position: relative;
    top: 0.1em;
  }
  .ld-stat-label {
    font-size: 17px;
    margin-top: 8px;
  }
}

@media (max-width: 620px) {
  .ld-hero-pad {
    padding: 44px 38px 38px;
  }
  /* Line breaks below this point are hand-placed for the wide desktop
     measure; at phone widths the longest word ("Laundry") can exceed
     the container, so hand off to natural word-wrap instead. */
  .ld-hero-br {
    display: none;
  }
  .ld-hero-h1 {
    font-size: 66px;
  }
  .ld-hero-btn {
    font-size: 20px;
    padding: 16px 24px;
  }
  .ld-hero-link {
    font-size: 17px;
  }
  .ld-basket {
    width: min(260px, 100%);
    margin: 8px auto 0;
  }
  .ld-loc-mobile {
    margin-top: -26px;
  }
  .ld-stat-num {
    font-size: 54px;
  }
  .ld-loc-row {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .ld-hero-h1 {
    font-size: 59px;
  }
}

/* Small phones (iPhone SE/mini and narrower): 66-59px headline still
   risks the longest word overflowing its column once padding is
   subtracted from a ~360-390px viewport, so step everything down once
   more instead of relying on overflow-x:hidden to quietly clip it. */
@media (max-width: 400px) {
  .ld-hero-pad {
    padding: 32px 20px 28px;
  }
  .ld-hero-h1 {
    font-size: 42px;
  }
  .ld-hero-desc {
    margin-top: 24px;
    font-size: 15px;
  }
  .ld-stat-num {
    font-size: 44px;
  }
  .ld-hero-ctas {
    margin-top: 32px;
    gap: 14px;
  }
  .ld-hero-btn {
    font-size: 17px;
    padding: 14px 20px;
  }
  .ld-hero-link {
    font-size: 15px;
  }
  .ld-basket {
    width: min(175px, 52vw);
  }
  .ld-loc-mobile {
    margin-top: -20px;
    padding: 28px 24px;
  }
  .ld-loc-title {
    font-size: 22px;
  }
  .ld-loc-name {
    font-size: 17px;
  }
  .ld-loc-addr {
    font-size: 14px;
  }
}
