/* Styles specific to MapleKind locations hub */

.locations-page {
  padding-top: 150px;
  font-family: var(--mk-font-base);
  color: #243B53;
  background: var(--bg);
}

.locations-hero {
  text-align: center;
  padding: clamp(2.8rem, 6vw, 4.5rem) 1.25rem;
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 62vh, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background-image:
    linear-gradient(125deg, rgba(0, 68, 97, 0.92) 0%, rgba(0, 124, 145, 0.8) 60%, rgba(255,255,255,0.05) 100%),
    url('/assets/img/locations/locations-hero.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  box-shadow: 0 25px 60px rgba(5, 40, 65, 0.25);
}
.locations-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.2), transparent 55%);
  z-index: 0;
}
.locations-hero::after {
  content: "";
  position: absolute;
  bottom: 12%;
  right: 8%;
  width: 140px;
  height: 84px;
  background-image: url('/assets/logo.webp');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.25;
  pointer-events: none;
}
.locations-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.locations-hero .hero-kicker,
.locations-hero .hero-lead,
.locations-hero .hero-cta {
  position: relative;
  z-index: 1;
}
.locations-hero .hero-lead {
  max-width: 680px;
  color: #F7FAFC;
  margin-bottom: 1.8rem;
}

.locations-body {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1rem;
  line-height: 1.65;
}
.locations-body p {
  margin-bottom: 1.3rem;
}
.locations-body p:last-child {
  margin-bottom: 0;
}

.locations-coverage {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  text-align: center;
}
.locations-coverage h2 {
  font-size: 1.9rem;
  color: var(--mk-teal);
}
.locations-coverage p {
  margin-bottom: 0.8rem;
}
.locations-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}
.locations-grid li {
  background: rgba(0,124,145,0.08);
  border-radius: 16px;
  font-weight: 600;
  color: var(--mk-teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.locations-grid a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 0.9rem 1rem;
}
.locations-grid li:hover,
.locations-grid li:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 124, 145, 0.12);
}

.location-section {
  padding: 2rem 1rem;
}
.location-card {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.location-card h2 {
  font-size: 2rem;
  color: var(--mk-teal);
  margin: 0 0 0.5rem 0;
}
.location-card p {
  margin: 0 0 1rem 0;
}
.location-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.location-card li {
  padding-left: 1.2rem;
  position: relative;
  color: #1f2a37;
  line-height: 1.5;
}
.location-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--mk-teal);
}
.location-cta {
  margin-top: 0.6rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .locations-page {
    padding-top: 130px;
  }
  .location-card {
    padding: 1.5rem;
    border-radius: 20px;
  }
}

@media (max-width: 600px) {
  .locations-hero {
    border-radius: 20px;
    margin: 0 1rem 2rem;
  }
  .locations-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .location-card {
    grid-template-columns: 1fr;
  }
}
