/* ==========================================================================
   Macaw Bytes - Location landings (corporate dark mood)
   body.page-location
   ========================================================================== */

.loc-hero {
  position: relative;
  min-height: min(68svh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(7rem, 14vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background:
    linear-gradient(165deg, #0a1218 0%, #0b0d10 45%, #0c1410 100%);
}

.loc-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 14% 22%, rgba(74, 168, 224, 0.28), transparent 62%),
    radial-gradient(ellipse 48% 45% at 88% 16%, rgba(46, 174, 78, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 95%, rgba(240, 180, 41, 0.12), transparent 55%);
}

.loc-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loc-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.05rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--home-ink);
  margin: 0.55rem auto 1rem;
  max-width: 18ch;
}

.loc-hero__answer {
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--home-ink);
  max-width: 42rem;
  margin: 0 auto 0.85rem;
}

.loc-hero__lede {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  color: var(--home-muted);
  max-width: 42rem;
  margin: 0 auto 1.75rem;
}

.loc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.loc-prose {
  max-width: 46rem;
  margin-inline: auto;
}

.loc-prose h2 {
  margin: 0.4rem 0 1rem;
}

.loc-prose h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--home-ink);
  margin: 1.5rem 0 0.65rem;
}

.loc-prose p {
  margin: 0 0 1rem;
  color: var(--home-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.loc-prose__meta {
  color: var(--home-muted) !important;
}

.loc-prose__links a,
.loc-prose a {
  color: var(--home-green) !important;
}

.loc-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.loc-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--home-muted);
  line-height: 1.55;
}

.loc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-green);
}

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

.loc-svc {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.3rem;
  border-radius: 10px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  transition: border-color 0.2s ease;
}

.loc-svc:hover {
  border-color: rgba(46, 174, 78, 0.4);
}

.loc-svc__num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--home-blue);
  margin-bottom: 0.65rem;
}

.loc-svc h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 0.55rem;
  line-height: 1.3;
}

.loc-svc h3 a {
  color: var(--home-ink) !important;
  text-decoration: none;
}

.loc-svc h3 a:hover {
  color: var(--home-green) !important;
}

.loc-svc p {
  margin: 0 0 1rem;
  color: var(--home-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.loc-svc__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--home-green) !important;
  margin-top: auto;
}

.loc-map {
  margin-top: 1.25rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  aspect-ratio: 16 / 9;
  max-height: 380px;
}

.loc-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

.loc-studio-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 980px) {
  .loc-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loc-hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .loc-hero {
    min-height: auto;
    padding-top: 6.5rem;
  }

  .loc-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .loc-svc-grid {
    grid-template-columns: 1fr;
  }
}
