/* RG Coach — service-area pages */

.local-page {
  --local-nav-height: var(--home-nav-h, 4rem);
  --local-border: rgb(155 169 192 / 20%);
  --local-surface: rgb(12 20 36 / 94%);
  --local-surface-raised: rgb(17 29 49 / 96%);
  background:
    radial-gradient(circle at 88% 8%, rgb(47 107 255 / 13%), transparent 28rem),
    linear-gradient(90deg, rgb(255 255 255 / 2.2%) 1px, transparent 1px),
    #050914;
  background-size: auto, 4rem 4rem, auto;
}

.local-page main {
  overflow: clip;
}

.local-page .section {
  position: relative;
}

.local-page .nav {
  background: rgb(5 9 20 / 92%);
  border-bottom-color: var(--local-border);
}

.local-page .nav__inner {
  max-width: 1240px;
}

.local-page .nav__links {
  gap: clamp(0.8rem, 1.5vw, 1.35rem);
}

.local-page .nav__links a {
  font-size: 0.8rem;
}

.local-hero {
  position: relative;
  min-height: 92svh;
  padding-top: var(--local-nav-height);
  overflow: hidden;
  background: #050914;
  isolation: isolate;
}

.local-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 1px;
  background: var(--home-route);
  content: "";
  opacity: 0.75;
}

.local-hero__media,
.local-hero__overlay {
  position: absolute;
  inset: 0;
}

.local-hero__media {
  z-index: -3;
}

.local-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.78) contrast(1.08);
  transform: scale(1.015);
}

.local-hero__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(5 9 20 / 99%) 0%, rgb(5 9 20 / 93%) 42%, rgb(5 9 20 / 62%) 75%, rgb(5 9 20 / 72%) 100%),
    linear-gradient(180deg, rgb(5 9 20 / 18%) 0%, rgb(5 9 20 / 44%) 55%, #050914 100%);
}

.local-hero__content {
  display: grid;
  min-height: calc(92svh - var(--local-nav-height));
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.64fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding-block: clamp(4rem, 9vh, 7rem);
}

.local-hero__copy {
  max-width: 47rem;
}

.breadcrumbs {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  color: #96a6bf;
  font-size: 0.72rem;
  font-weight: 800;
  list-style: none;
  text-transform: uppercase;
}

.breadcrumbs li + li::before {
  margin-right: 0.55rem;
  color: #4f6483;
  content: "/";
}

.breadcrumbs a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: #8ddfff;
}

.local-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 8.2vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.91;
  text-wrap: balance;
  text-transform: uppercase;
}

.local-hero__lead {
  max-width: 46rem;
  margin-top: 1.6rem;
  color: #c2cee0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.local-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.local-facts li {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  padding: 0.48rem 0.75rem;
  border: 1px solid rgb(141 223 255 / 25%);
  border-radius: 999px;
  background: rgb(5 9 20 / 62%);
  color: #d9e8f7;
  font-size: 0.72rem;
  font-weight: 800;
}

.local-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.local-hero__actions .btn {
  min-height: 3.25rem;
}

.local-availability {
  max-width: 42rem;
  margin-top: 1rem;
  color: #8190a8;
  font-size: 0.75rem;
  line-height: 1.6;
}

.local-route {
  align-self: center;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgb(0 212 255 / 30%);
  border-radius: 1.1rem;
  background:
    linear-gradient(155deg, rgb(17 29 49 / 93%), rgb(5 9 20 / 96%));
  box-shadow: 0 1.75rem 5rem -2.8rem rgb(0 0 0 / 95%);
  backdrop-filter: blur(0.9rem);
}

.local-route__eyebrow {
  color: #8be9c3;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.local-route h2 {
  max-width: 12ch;
  margin: 0.65rem 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.local-route ol {
  padding: 0;
  border-top: 1px solid var(--local-border);
  list-style: none;
}

.local-route li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--local-border);
}

.local-route li > span {
  color: #74a3ff;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.local-route strong,
.local-route small {
  display: block;
}

.local-route strong {
  color: #f7f9ff;
  font-size: 0.9rem;
}

.local-route small {
  margin-top: 0.25rem;
  color: #96a6bf;
  font-size: 0.74rem;
  line-height: 1.5;
}

.local-operation {
  background:
    linear-gradient(180deg, rgb(5 9 20 / 22%), rgb(5 9 20 / 84%)),
    linear-gradient(90deg, rgb(255 255 255 / 2.2%) 1px, transparent 1px),
    #08101d;
  background-size: auto, 4rem 4rem, auto;
}

.local-operation::before,
.local-fit::before,
.local-coach::before,
.local-other-areas::before,
.local-faq::before,
.local-final::before {
  position: absolute;
  top: 0;
  left: max(var(--home-gutter), calc((100% - var(--maxw)) / 2 + var(--home-gutter)));
  width: clamp(3rem, 8vw, 6rem);
  height: 1px;
  background: var(--home-route);
  content: "";
  opacity: 0.72;
}

.local-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.58fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.local-section-heading h2 {
  margin-bottom: 0;
}

.local-section-heading > p {
  color: var(--home-muted);
  line-height: 1.75;
}

.local-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.local-detail-card {
  position: relative;
  min-height: 18rem;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 1rem;
  background: linear-gradient(155deg, var(--local-surface-raised), var(--local-surface));
  box-shadow: var(--home-card-shadow);
}

.local-detail-card::after {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgb(0 212 255 / 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgb(47 107 255 / 3%);
  content: "";
  pointer-events: none;
}

.local-detail-card__number {
  display: block;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  color: #74a3ff;
  font-family: var(--font-display);
  font-size: 1rem;
}

.local-detail-card h3 {
  max-width: 16ch;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.local-detail-card p {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.local-fit {
  background: #050914;
}

.local-fit__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.58fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 6.5rem);
}

.local-fit__copy > p:not(.eyebrow),
.local-coach__copy p,
.local-final p {
  color: var(--home-muted);
  line-height: 1.75;
}

.local-fit__copy ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.local-fit__copy li {
  position: relative;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.8rem 0.7rem 2.8rem;
  border: 1px solid var(--local-border);
  border-radius: 0.8rem;
  background: rgb(12 20 36 / 62%);
  color: #d6dfed;
  font-size: 0.88rem;
}

.local-fit__copy li::before {
  position: absolute;
  left: 0.9rem;
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  border-radius: 50%;
  background: rgb(82 215 163 / 12%);
  color: #8be9c3;
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.local-fit__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(120 161 255 / 32%);
  border-radius: 1rem;
  background: #0c1424;
  box-shadow: var(--home-card-shadow);
}

.local-fit__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.local-fit__media figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 0.7rem;
  background: rgb(5 9 20 / 82%);
  color: #dbe7f5;
  font-size: 0.7rem;
  font-weight: 800;
  backdrop-filter: blur(0.7rem);
}

.local-coach {
  background:
    radial-gradient(circle at 12% 100%, rgb(47 107 255 / 12%), transparent 26rem),
    #08101d;
}

.local-coach__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.65fr);
  gap: clamp(2.5rem, 8vw, 7rem);
}

.local-coach__copy img {
  width: min(14.375rem, 72%);
  margin-top: 1.75rem;
  filter: drop-shadow(0 0.75rem 1.5rem rgb(0 0 0 / 28%));
}

.local-other-areas .area-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.local-other-areas .area-card {
  min-height: 13rem;
}

.local-faq {
  background: #08101d;
}

.local-faq .faq__list {
  margin-top: clamp(2rem, 6vw, 3.25rem);
}

.local-final {
  background:
    radial-gradient(circle at 86% 20%, rgb(0 212 255 / 12%), transparent 22rem),
    #050914;
}

.local-final__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(2rem, 8vw, 7rem);
}

.local-final h2 {
  max-width: 13ch;
}

.local-final p {
  max-width: 43rem;
}

.local-final__actions {
  display: grid;
  gap: 0.75rem;
  min-width: min(100%, 18rem);
}

.local-final__actions .btn {
  width: 100%;
}

.local-page .wa-float {
  display: grid;
  place-items: center;
}

@media (max-width: 70rem) {
  .local-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.58fr);
    gap: 2rem;
  }

  .local-route {
    padding: 1.3rem;
  }
}

@media (max-width: 56.25rem) {
  .local-hero {
    min-height: auto;
  }

  .local-hero__overlay {
    background:
      linear-gradient(90deg, rgb(5 9 20 / 96%), rgb(5 9 20 / 72%)),
      linear-gradient(180deg, rgb(5 9 20 / 24%), #050914 96%);
  }

  .local-hero__content {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding-block: clamp(3.5rem, 9vw, 5rem);
  }

  .local-route {
    max-width: 40rem;
  }

  .local-section-heading,
  .local-fit__grid,
  .local-coach__inner,
  .local-final__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .local-detail-grid,
  .local-other-areas .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-detail-card:last-child,
  .local-other-areas .area-card:last-child {
    grid-column: 1 / -1;
  }

  .local-final__actions {
    width: min(100%, 24rem);
  }
}

@media (max-width: 40rem) {
  .local-hero h1 {
    font-size: clamp(3.15rem, 16vw, 4.7rem);
  }

  .local-hero__lead {
    font-size: 0.96rem;
  }

  .local-hero__actions .btn {
    width: 100%;
  }

  .local-detail-grid,
  .local-other-areas .area-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .local-detail-card:last-child,
  .local-other-areas .area-card:last-child {
    grid-column: auto;
  }

  .local-detail-card {
    min-height: auto;
  }

  .local-detail-card__number {
    margin-bottom: 2rem;
  }

  .local-fit__media {
    max-width: 30rem;
  }

  .local-page .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 23.5rem) {
  .local-hero h1 {
    font-size: 2.95rem;
  }

  .local-facts li {
    width: 100%;
    border-radius: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .local-hero__media img {
    transform: none;
  }
}

@media (forced-colors: active) {
  .local-route,
  .local-detail-card,
  .local-fit__copy li,
  .local-fit__media {
    border-color: CanvasText;
  }

  .local-operation::before,
  .local-fit::before,
  .local-coach::before,
  .local-other-areas::before,
  .local-faq::before,
  .local-final::before {
    display: none;
  }
}
