.local-stairlifts {
  --local-ink: #102d44;
  --local-muted: #3d5260;
  --local-rule: #d6e2e5;
}

.local-stairlifts__hero {
  padding-block: clamp(1.75rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--local-rule);
}

.local-stairlifts__hero-grid {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3.8rem);
  align-items: center;
}

.local-stairlifts__hero h1 {
  max-width: 17ch;
  margin: 0 0 0.9rem;
  color: var(--local-ink);
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.local-stairlifts__hero p {
  max-width: 52ch;
  margin-bottom: 1.35rem;
  color: var(--local-muted);
  font-size: clamp(1.07rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.local-stairlifts__photo {
  margin: 0;
}

.local-stairlifts__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.local-stairlifts__photo figcaption {
  margin-top: 0.5rem;
  color: var(--local-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.local-stairlifts__section {
  border-bottom: 1px solid var(--local-rule);
  padding-block: clamp(1.55rem, 4vw, 2.75rem);
}

.local-stairlifts__section:last-child {
  border-bottom: 0;
}

.local-stairlifts__section h2,
.local-stairlifts__survey h2 {
  margin: 0 0 0.65rem;
  color: var(--local-ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.local-stairlifts__section h3 {
  margin: 1.1rem 0 0.4rem;
  color: var(--local-ink);
  font-size: 1.15rem;
}

.local-stairlifts__section p,
.local-stairlifts__survey p {
  max-width: 69ch;
  margin: 0 0 0.8rem;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.72;
}

.local-stairlifts__section p:last-child,
.local-stairlifts__survey p:last-child {
  margin-bottom: 0;
}

.local-stairlifts__photo a,
.local-stairlifts__section a {
  color: #15596b;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.local-stairlifts__survey {
  border-top: 1px solid var(--local-rule);
  background: #edf5f5;
  padding-block: clamp(1.55rem, 4vw, 2.5rem);
}

.local-stairlifts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

@media (min-width: 780px) {
  .local-stairlifts__hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .local-stairlifts__content {
    max-width: 960px;
  }

  .local-stairlifts__section {
    display: grid;
    grid-template-columns: minmax(0, 0.37fr) minmax(0, 0.63fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

/* Local pages v2 (added 26 Nov 2026) */
.local-stairlifts__banner {
  background: linear-gradient(90deg, rgba(5, 18, 32, 0.94) 0%, rgba(11, 39, 68, 0.82) 48%, rgba(11, 39, 68, 0.28) 100%), url("/assets/img/hero/freedom-stairlifts-homepage-hero.webp") right center / cover no-repeat;
}
.local-stairlifts--v2 .dorset-detail-card h3 {
  margin: 0.9rem 0 0.5rem;
  color: #0b2744;
  font-size: 1.2rem;
}
.local-stairlifts--v2 .dorset-detail-card a,
.local-stairlifts--v2 .category-product-card p a {
  color: #15596b;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.local-stairlifts--v2 .dorset-areas__panel a {
  color: inherit;
  text-decoration: underline;
}
.local-stairlifts--v2 .dorset-showroom__media .local-stairlifts__photo img {
  border-radius: 1.5rem;
}
.local-stairlifts--v2 .local-stairlifts__review {
  margin: 0;
}
.local-stairlifts--v2 .local-stairlifts__review footer {
  margin-top: 0.8rem;
  color: #0b2744;
  font-weight: 700;
}
@media (min-width: 992px) {
  .local-stairlifts--v2 .local-stairlifts__grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .local-stairlifts--v2 .category-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin-inline: auto;
  }
}

/* Local pages v2: photo hero, trust strip, choice tiles (added 26 Nov 2026) */
.local-stairlifts__banner--photo {
  position: relative;
  background: linear-gradient(90deg, rgba(5, 18, 32, 0.92) 0%, rgba(11, 39, 68, 0.78) 45%, rgba(11, 39, 68, 0.2) 100%), var(--local-hero) center / cover no-repeat;
}
.local-stairlifts__hero-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}
.local-stairlifts__hero-credit a {
  color: inherit;
}
.local-trust {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding-bottom: 1rem;
}
.local-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.local-trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border-top: 4px solid #15596b;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(11, 39, 68, 0.12);
}
.local-trust__item strong {
  color: #0b2744;
  font-size: 1.05rem;
}
.local-trust__item span {
  color: #4a5a6a;
  font-size: 0.92rem;
  line-height: 1.4;
}
.local-choice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.local-choice__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 10px 28px rgba(11, 39, 68, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.local-choice__card:hover,
.local-choice__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 39, 68, 0.16);
}
.local-choice__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.local-choice__title {
  padding: 0.9rem 1rem 0.2rem;
  color: #0b2744;
  font-weight: 700;
}
.local-choice__text {
  padding: 0 1rem 1.1rem;
  color: #4a5a6a;
  font-size: 0.92rem;
}
.local-choice__more {
  margin-top: 1.5rem;
  text-align: center;
}
.local-choice__more a {
  color: #15596b;
  font-weight: 700;
}
.local-stairlifts--v2 .local-stairlifts__place .local-stairlifts__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.5rem;
}
@media (min-width: 992px) {
  .local-trust__grid,
  .local-choice__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .local-trust {
    margin-top: -3rem;
  }
}

.stairlift-category-hero .local-stairlifts__hero-credit {
  font-size: 0.7rem;
  line-height: 1.3;
}
.local-trust__item--google a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: inherit;
  text-decoration: none;
}
.local-trust__item--google a:hover span:last-child,
.local-trust__item--google a:focus-visible span:last-child {
  text-decoration: underline;
}
.local-trust__item .local-trust__stars {
  color: #f2a900;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .local-stairlifts__hero-credit {
    left: 1rem;
    bottom: 0.35rem;
    text-align: right;
  }
  .local-stairlifts__banner--photo {
    padding-bottom: 2.5rem;
  }
  .local-trust {
    margin-top: 1rem;
  }
}

/* Local pages v2: map, how it works, mobile call bar (added 26 Nov 2026) */
.local-map__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.local-map__media {
  margin: 0;
}
.local-map__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 14px 34px rgba(11, 39, 68, 0.14);
}
.local-map__media figcaption {
  margin-top: 0.4rem;
  color: #6b7785;
}
.local-map__media figcaption a {
  color: inherit;
}
.local-map__content h2 {
  margin-top: 0.4rem;
}
.local-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.local-steps {
  background: #f4f8fa;
}
.local-steps__list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.local-steps__item {
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 10px 28px rgba(11, 39, 68, 0.08);
}
.local-steps__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  color: #fff;
  background: #15596b;
  border-radius: 50%;
}
.local-steps__num {
  display: block;
  margin-top: 1rem;
  color: #5b8a4f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.local-steps__item h3 {
  margin: 0.3rem 0 0.5rem;
  color: #0b2744;
  font-size: 1.2rem;
}
.local-steps__item p {
  margin: 0;
}
.local-steps__item a {
  color: #15596b;
  font-weight: 700;
}
.local-callbar {
  display: none;
}
@media (min-width: 768px) {
  .local-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .local-map__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
  }
}
@media (max-width: 767px) {
  .local-callbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -6px 20px rgba(11, 39, 68, 0.15);
  }
  .local-callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }
  .local-callbar__call {
    color: #fff;
    background: #15596b;
  }
  .local-callbar__book {
    color: #0b2744;
    border: 2px solid #0b2744;
  }
  body:has(.local-callbar) {
    padding-bottom: 4.75rem;
  }
}
@media (max-width: 767px) {
  .local-callbar a {
    font-size: 0.95rem;
    white-space: nowrap;
  }
  body:has(.local-callbar) .cky-btn-revisit-wrapper {
    bottom: 5.5rem !important;
  }
}
