/* content-visibility skips rendering cost on below-fold sections; the intrinsic
   size placeholder keeps the scrollbar from jumping as they get realised. */
.area-services,
.area-issues,
.area-projects,
.nearby-areas,
.area-faqs,
.area-map {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.areas-hub__region {
  margin-bottom: var(--sp-12);
}

.areas-hub__region-heading {
  font-size: 1.4rem;
  color: var(--clr-accent);
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.areas-hub__empty {
  color: var(--clr-text-muted);
  padding: var(--sp-8);
}

/* scroll-margin-top so anchor jumps clear the fixed nav. */
.areas-hub__region {
  scroll-margin-top: calc(var(--topbar-h) + var(--nav-h) + var(--nav-offset) + var(--sp-4));
}

.areas-search {
  margin-bottom: var(--sp-5);
}

.areas-search__wrap {
  position: relative;
  max-width: 560px;
  border-radius: var(--radius-full);
  background: rgba(36, 48, 67, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--clr-border-bright);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.areas-search__wrap:focus-within {
  border-color: rgba(15, 187, 245, 0.5);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 0 3px var(--clr-accent-subtle),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.areas-search__icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-accent);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity var(--ease);
}

.areas-search__wrap:focus-within .areas-search__icon {
  opacity: 1;
}

.areas-search__input {
  width: 100%;
  padding: 0.85rem var(--sp-5) 0.85rem 3rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--clr-text-heading);
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.areas-search__input:focus { outline: none; }
.areas-search__input::placeholder { color: var(--clr-text-muted); }
.areas-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.areas-search__close {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  padding: 0.375rem;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--ease), background var(--ease);
  line-height: 0;
}
.areas-search__close:hover {
  color: var(--clr-text);
  background: rgba(255, 255, 255, 0.1);
}

.areas-search__panel {
  list-style: none;
  margin: 0;
  padding: 0;
}
.areas-panel-item__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--sp-4) var(--sp-5);
  text-decoration: none;
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--ease);
}
.areas-panel-item__link:hover,
.areas-panel-item__link:focus-visible {
  background: rgba(15, 187, 245, 0.07);
  outline: none;
}
.areas-panel-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text-heading);
}
.areas-panel-item__desc {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}
.areas-panel-empty {
  padding: var(--sp-6) var(--sp-5);
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}
.areas-panel-clear {
  background: none;
  border: none;
  color: var(--clr-accent);
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
}
.areas-panel-clear:hover { color: var(--clr-accent-hover); }

.areas-no-results {
  padding: var(--sp-12) 0;
  text-align: center;
  color: var(--clr-text-muted);
  font-size: 1rem;
}

.areas-no-results__clear {
  background: none;
  border: none;
  color: var(--clr-accent);
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
}
.areas-no-results__clear:hover { color: var(--clr-accent-hover); }

.areas-coverage-cta {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  max-width: 720px;
  margin: 0 auto var(--sp-10);
  padding: var(--sp-6) var(--sp-7);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--clr-accent) 12%, transparent) 0%, transparent 55%),
    var(--clr-bg-surface);
  border: 1px solid color-mix(in srgb, var(--clr-accent) 35%, var(--clr-border));
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.areas-coverage-cta__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--clr-accent) 15%, transparent);
  color: var(--clr-accent);
}

.areas-coverage-cta__body { flex: 1 1 auto; min-width: 0; }

.areas-coverage-cta__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text-heading);
  margin: 0 0 var(--sp-2);
  line-height: 1.3;
}

.areas-coverage-cta__text {
  font-size: 0.92rem;
  color: var(--clr-text);
  line-height: 1.65;
  margin: 0 0 var(--sp-5);
}

.areas-coverage-cta__text strong { color: var(--clr-text-heading); }

.areas-coverage-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.areas-coverage-cta__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

@media (max-width: 560px) {
  .areas-coverage-cta {
    flex-direction: column;
    padding: var(--sp-5);
    gap: var(--sp-4);
  }

  .areas-coverage-cta__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.areas-regions {
  margin-bottom: var(--sp-10);
}

.areas-regions__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.areas-regions__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text);
  transition: border-color var(--ease), background-color var(--ease), color var(--ease), transform var(--ease);
}

.areas-regions__pill:hover,
.areas-regions__pill:focus-visible {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background-color: color-mix(in srgb, var(--clr-accent) 6%, var(--clr-bg-surface));
  transform: translateY(-1px);
  outline: none;
}

.areas-regions__count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  background: color-mix(in srgb, var(--clr-accent) 10%, transparent);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: 0.05rem 0.45rem;
  line-height: 1.4;
}

.areas-regions__pill:hover .areas-regions__count,
.areas-regions__pill:focus-visible .areas-regions__count {
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}

@media (max-width: 767px) {
  @keyframes areas-search-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  body.search-is-active .areas-search__close { display: flex; }
  body.search-is-active .areas-search__input { padding-right: 3rem; }

  body.search-is-active .areas-search {
    position: fixed;
    top: calc(var(--topbar-h) + var(--nav-offset) + var(--nav-h) + var(--sp-2));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    margin-bottom: 0;
    padding: var(--sp-3) var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    animation: areas-search-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  body.search-is-active .areas-search__wrap {
    max-width: none;
    background: rgba(18, 26, 40, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-shrink: 0;
  }

  body.search-is-active .areas-search__panel {
    flex: 0 1 auto;
    max-height: calc(100vh - var(--topbar-h) - var(--nav-offset) - var(--nav-h) - var(--sp-2) - var(--sp-3) - 3.5rem - var(--sp-2));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(14, 20, 32, 0.95);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overscroll-behavior: contain;
  }
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--sp-4);
}

.area-card {
  display: block;
  padding: var(--sp-5) var(--sp-6);
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.area-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.area-card__name {
  display: block;
  font-weight: 700;
  color: var(--clr-text-heading);
  margin-bottom: var(--sp-1);
  font-size: 1rem;
}

.area-card__postcode {
  display: block;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-3);
}

.area-card__cta {
  display: block;
  font-size: 0.8rem;
  color: var(--clr-accent);
  font-weight: 700;
}

.nearby-areas__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.nearby-areas__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--clr-text);
  transition: border-color var(--ease), background-color var(--ease);
}

.nearby-areas__link:hover {
  border-color: var(--clr-accent);
  background-color: var(--clr-bg-surface-solid);
}

.nearby-areas__postcode {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

.nearby-areas__all-link {
  font-size: 0.9rem;
  color: var(--clr-accent);
}

.nearby-areas__all-link a {
  color: inherit;
}

.trust-list {
  margin-bottom: var(--sp-6);
}

.trust-list__item {
  position: relative;
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-7);
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.95rem;
}

.trust-list__item:last-child {
  border-bottom: none;
}

.trust-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-color: var(--clr-accent);
  border-radius: var(--radius-full);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.why-choose-list {
  margin: 0 0 var(--sp-6);
}

.why-choose-list__item {
  position: relative;
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-7);
  border-bottom: 1px solid var(--clr-border);
}

.why-choose-list__item:last-child {
  border-bottom: none;
}

.why-choose-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--sp-4);
  width: 18px;
  height: 18px;
  background-color: var(--clr-accent);
  border-radius: var(--radius-full);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.why-choose-list__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-heading);
  margin-bottom: 2px;
}

.why-choose-list__body {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--clr-text-muted);
}

.trust-strip {
  background-color: var(--clr-bg-surface-solid);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.trust-strip__heading {
  margin-bottom: var(--sp-8);
}

.trust-strip__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-6);
}

.trust-strip__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.trust-strip__item-title {
  color: var(--clr-text-bright);
  font-size: 1rem;
}

.trust-strip__item-text {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}


.page-hero--area {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Pull flush under fixed nav — identical technique to the home hero */
  margin-top: calc(-1 * (var(--topbar-h) + var(--nav-h) + var(--nav-offset) + var(--sp-8)));
}

.page-hero__bg-picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
}

.page-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

@media (max-width: 767px) {
  .page-hero--area-bramhall .page-hero__bg-image {
    object-position: 85% 30%;
  }
  .page-hero--area-marple .page-hero__bg-image {
    object-position: center 40%;
  }
}

.page-hero--area .page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(13, 21, 32, 0.55) 0%,
      rgba(13, 21, 32, 0.30) 40%,
      rgba(13, 21, 32, 0.65) 100%),
    linear-gradient(to right,
      rgba(13, 21, 32, 0.80) 0%,
      rgba(13, 21, 32, 0.20) 55%,
      transparent            100%);
  pointer-events: none;
}

.page-hero__breadcrumb-wrap {
  position: absolute;
  top: calc(var(--topbar-h) + var(--nav-h) + var(--nav-offset) + var(--sp-4));
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 10% 0 max(3%, calc(50% - 700px));
}

.page-hero__breadcrumb-wrap .breadcrumb {
  padding: 0;
}

.page-hero__breadcrumb-wrap .breadcrumb__link {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero__breadcrumb-wrap .breadcrumb__link:hover {
  color: var(--clr-accent);
}

.page-hero__breadcrumb-wrap .breadcrumb__item--current {
  color: rgba(255, 255, 255, 0.35);
}

.page-hero__breadcrumb-wrap .breadcrumb__item:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.25);
}

/* Top padding clears the fixed nav, breadcrumb row, and a breathing margin. */
.page-hero--area .page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: calc(var(--topbar-h) + var(--nav-h) + var(--nav-offset) + var(--sp-20)) 10% var(--sp-20);
}

.page-hero--area .page-hero__heading {
  font-family: var(--font-display);
  color: var(--clr-text-bright);
  font-size: clamp(2.2rem, 1.4rem + 4.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--sp-6);
  /* Literal cubic-bezier here — var(--ease-smooth) contains a duration and
     would make the `animation` shorthand invalid when paired with a delay. */
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.page-hero__accent {
  color: var(--clr-accent);
  text-shadow:
    0 0 30px rgba(15, 187, 245, 0.35),
    0 0 60px rgba(15, 187, 245, 0.15),
    0 2px 20px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 1px rgba(15, 187, 245, 0.3);
  filter: brightness(1.1);
  animation: fadeInUp 0.8s 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.page-hero--area .page-hero__intro {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--clr-text);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: var(--sp-10);
  animation: fadeInUp 0.8s 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
  padding: var(--sp-3);
  border-radius: var(--sp-2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.page-hero--area .page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  animation: fadeInUp 0.8s 0.75s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  animation: fadeIn 0.8s 0.95s cubic-bezier(0.4, 0, 0.2, 1) both;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: var(--sp-2) var(--sp-5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-hero__badge-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-success);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* Static glow — no animation keeps the paint cost flat. */
.page-hero__badge-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 20px 2px rgba(15, 187, 245, 0.65);
  pointer-events: none;
}

/* main.js fades this out on scroll. */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: fadeIn 1.5s 1s both;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-accent), transparent);
  animation: fadeInUp 1s 1.2s both;
}

.area-intro {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--clr-border);
}

.area-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

.area-intro__grid > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .area-intro__grid {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.area-intro__text p {
  margin-bottom: var(--sp-4);
  color: var(--clr-text);
  line-height: 1.75;
}

.area-intro__mobile-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.area-intro__mobile-cta .btn {
  flex: 1 1 auto;
  padding-left: var(--sp-4);
  padding-right: var(--sp-4);
}

@media (min-width: 900px) {
  .area-intro__mobile-cta {
    display: none;
  }
}

.area-intro__lead-sentence {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-text-bright);
  line-height: 1.65;
  margin-bottom: 0.5em;
}

.area-intro__text p:last-of-type {
  background: var(--clr-accent-subtle);
  padding: var(--sp-4) var(--sp-5);
  border-radius: 6px;
  color: var(--clr-text-heading);
  margin-bottom: 0;
}

.area-intro__link {
  color: var(--clr-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.area-intro__link:hover {
  color: var(--clr-accent-hover);
}

.stroke-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.stroke-underline {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.stroke-underline__line {
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 100%;
  height: 0.9em;
  fill: none;
  pointer-events: none;
  overflow: visible;
  z-index: -1;
}

.stroke-underline__line--draw {
  stroke: var(--clr-accent);
  stroke-width: 22;
  stroke-dasharray: 3000px;
  stroke-dashoffset: 3000px;
  filter: url(#highlighter-roughen);
  transition: stroke-dashoffset 10000ms ease-out;
}

.stroke-underline.is-drawn .stroke-underline__line--draw {
  stroke-dashoffset: 0;
}

@media (min-width: 769px) {
  .stroke-underline__line {
    height: 1.5em;
    bottom: -0.1em;
  }
  .stroke-underline__line--draw {
    stroke-width: 42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stroke-underline__line--draw {
    transition: none;
  }
  .stroke-underline.is-drawn .stroke-underline__line--draw {
    stroke-dashoffset: 0;
  }
}

.area-intro__sidebar {
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
}

.area-intro__sidebar-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text-heading);
  margin-bottom: var(--sp-5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.area-services {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--clr-border);
}

.area-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  list-style: none;
}

@media (min-width: 600px) {
  .area-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .area-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.area-svc-card {
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.area-svc-card:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.area-svc-card--image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: transparent;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.area-svc-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: transform var(--ease), filter var(--ease);
}

.area-svc-card--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.55) 0%, rgba(8, 10, 14, 0.92) 85%),
    radial-gradient(120% 80% at 20% 110%, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

.area-svc-card--image:hover .area-svc-card__bg {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.area-svc-card--image .area-svc-card__title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 1px 1px rgba(0, 0, 0, 0.9);
}

.area-svc-card--image .area-svc-card__service {
  color: var(--clr-accent);
}

.area-svc-card--image .area-svc-card__bullets {
  list-style: none;
  padding-left: 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.area-svc-card--image .area-svc-card__bullets li {
  position: relative;
  padding-left: 1.5rem;
}

.area-svc-card--image .area-svc-card__bullets li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--clr-accent);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.area-svc-card--image .area-svc-card__link {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm, 4px);
  text-shadow: none;
  backdrop-filter: blur(4px);
  transition: background var(--ease), border-color var(--ease), transform var(--ease), gap var(--ease);
}

.area-svc-card--image:hover .area-svc-card__link {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.area-svc-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text-heading);
}

.area-svc-card__bullets {
  list-style: disc;
  padding-left: var(--sp-5);
  color: var(--clr-text);
  font-size: 0.87rem;
  line-height: 1.65;
  flex: 1;
}

.area-svc-card__bullets li + li {
  margin-top: var(--sp-2);
}

.area-svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-accent);
  transition: gap var(--ease), color var(--ease);
  text-decoration: none;
  margin-top: auto;
}

.area-svc-card:hover .area-svc-card__link {
  gap: var(--sp-3);
  color: var(--clr-accent-hover);
}

.area-services__cta {
  margin-top: var(--sp-10);
  text-align: center;
}

.area-services__cta-text {
  max-width: 56ch;
  margin: 0 auto var(--sp-6);
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.area-issues {
  padding: var(--sp-16) 0;
  background: var(--clr-bg-surface-solid);
  border-bottom: 1px solid var(--clr-border);
}

.issues-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 768px) {
  .issues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.issue-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.issue-card:hover {
  border-color: color-mix(in srgb, var(--clr-accent) 45%, var(--clr-border));
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.issue-card__header {
  background: var(--clr-bg-dark);
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  position: relative;
  border-bottom: 1px solid rgba(15, 187, 245, 0.12);
}

.issue-card__number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 187, 245, 0.12);
  letter-spacing: -2px;
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-5);
  pointer-events: none;
  user-select: none;
}

.issue-card__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text-bright);
  line-height: 1.3;
  position: relative;
  /* Prevent the heading overlapping the ghost number on short headings */
  padding-right: var(--sp-12);
}

.issue-card__body-section {
  background: var(--clr-bg);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  flex: 1;
}

.issue-card__notice {
  background: color-mix(in srgb, var(--clr-accent) 5%, var(--clr-bg-surface));
  border-left: 2px solid var(--clr-accent);
  border-radius: 0 var(--radius-sm, 4px) var(--radius-sm, 4px) 0;
  padding: var(--sp-3) var(--sp-4);
}

.issue-card__notice-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-accent);
  margin-bottom: var(--sp-1);
}

.issue-card__notice-text {
  font-size: 0.87rem;
  color: var(--clr-text);
  line-height: 1.7;
  margin: 0;
}

.issue-card__body {
  font-size: 0.87rem;
  color: var(--clr-text);
  line-height: 1.7;
}

.issue-card__why,
.issue-card__fix {
  font-size: 0.87rem;
  color: var(--clr-text);
  line-height: 1.7;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--clr-border);
}

.issue-card__why strong,
.issue-card__fix strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: var(--sp-1);
}

.issue-card__why strong { color: var(--clr-accent); }
.issue-card__fix strong { color: var(--clr-success); }

.issue-card__toggle {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-self: flex-start;
  cursor: pointer;
}

.issue-card__toggle-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-text-muted);
  border: 1.5px solid var(--clr-border);
  border-radius: 9999px;
  padding: var(--sp-1) var(--sp-3);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
  user-select: none;
}

.issue-card__toggle-icon {
  font-size: 1rem;
  line-height: 1;
  font-weight: 400;
}

.issue-card__toggle:hover .issue-card__toggle-label,
.issue-card__toggle:focus-visible .issue-card__toggle-label {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: color-mix(in srgb, var(--clr-accent) 6%, transparent);
}

.issue-card__toggle[aria-expanded="true"] .issue-card__toggle-label {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* Height transitions via grid-template-rows: 0fr → 1fr — see issue-card markup. */
.issue-card__details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.issue-card__details--open {
  grid-template-rows: 1fr;
}

.issue-card__details-inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-1);
}

.issue-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--ease), color var(--ease);
}

.issue-card__link:hover {
  gap: var(--sp-3);
  color: var(--clr-accent-hover);
}

.area-projects {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--clr-border);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.project-card:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.project-card__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-smooth);
}

.project-card:hover .project-card__img {
  transform: scale(1.04);
}

.project-card__body {
  padding: var(--sp-4);
}

.project-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-text-heading);
  margin-bottom: var(--sp-2);
}

.project-card__desc {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.area-projects__gallery-cta {
  margin-top: var(--sp-8);
  text-align: center;
}

.area-sub-areas {
  margin-bottom: var(--sp-10);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .area-sub-areas {
    grid-template-columns: repeat(2, 1fr);
  }
}

.area-sub-areas__item {
  padding: var(--sp-5);
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.area-sub-areas__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-accent);
  margin-bottom: var(--sp-2);
}

.area-sub-areas__desc {
  font-size: 0.87rem;
  color: var(--clr-text);
  line-height: 1.7;
  margin: 0;
}

.area-faqs {
  padding: var(--sp-16) 0;
  background: var(--clr-bg-surface-solid);
  border-bottom: 1px solid var(--clr-border);
}

.area-faqs__list {
  max-width: 860px;
}

.area-faqs__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  max-width: 860px;
}

.area-faqs__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.45rem 0.9rem;
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease), transform var(--ease);
}

.area-faqs__pill:hover,
.area-faqs__pill:focus-visible {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background-color: color-mix(in srgb, var(--clr-accent) 6%, var(--clr-bg-surface));
  transform: translateY(-1px);
  outline: none;
}

.area-faqs__pill.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-bg-surface-solid);
  transform: none;
}

.area-faqs__pill-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  background: color-mix(in srgb, var(--clr-accent) 10%, transparent);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: 0.05rem 0.45rem;
  line-height: 1.4;
  transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}

.area-faqs__pill:hover .area-faqs__pill-count,
.area-faqs__pill:focus-visible .area-faqs__pill-count {
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}

.area-faqs__pill.is-active .area-faqs__pill-count {
  background: color-mix(in srgb, var(--clr-bg-surface-solid) 25%, transparent);
  border-color: color-mix(in srgb, var(--clr-bg-surface-solid) 40%, transparent);
  color: var(--clr-bg-surface-solid);
}

.area-faqs__group + .area-faqs__group {
  margin-top: var(--sp-8);
}

.area-faqs__group[hidden] {
  display: none;
}

.area-faqs__footer {
  margin-top: var(--sp-8);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  align-items: center;
}

.area-map {
  padding: var(--sp-12) 0;
  border-bottom: 1px solid var(--clr-border);
}

.area-map__heading {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--clr-text-heading);
  margin-bottom: var(--sp-6);
}

.area-map__embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  aspect-ratio: 16 / 5;
  background: var(--clr-bg-surface);
}

.area-map__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.area-map__actions {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .area-intro,
  .area-services,
  .area-issues,
  .area-projects,
  .area-faqs {
    padding: var(--sp-12) 0;
  }

  .area-map {
    padding: var(--sp-10) 0;
  }
}

@media (max-width: 640px) {
  .page-hero__breadcrumb-wrap {
    padding: 0 var(--sp-6);
  }

  .page-hero--area .page-hero__content {
    padding: calc(var(--topbar-h) + var(--nav-h) + var(--nav-offset) + var(--sp-16)) var(--sp-6) var(--sp-16);
  }

  /* On mobile collapse to a single vertical gradient */
  .page-hero--area .page-hero__overlay {
    background:
      linear-gradient(to bottom,
        rgba(13, 21, 32, 0.65) 0%,
        rgba(13, 21, 32, 0.35) 50%,
        rgba(13, 21, 32, 0.75) 100%);
  }

  .area-faqs__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .area-map__embed {
    aspect-ratio: 4 / 3;
  }

  .area-map__actions {
    flex-direction: column;
  }
}

