/* Find a Park page styles */
.guide--find-a-park {
  background: var(--bg);
}

.section {
  padding-block: var(--section-spacing);
}

.hero--find-a-park {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(420px, 80vh, 620px);
  overflow: hidden;
  color: var(--ink);
  background: #0c1931;
  isolation: isolate;
}

.hero--find-a-park .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      118deg,
      rgba(12, 25, 49, 0.38) 0%,
      rgba(12, 25, 49, 0.14) 55%,
      rgba(12, 25, 49, 0) 100%
    ),
    linear-gradient(
      135deg,
      rgba(20, 36, 64, 0.58) 0%,
      rgba(30, 48, 76, 0.42) 55%,
      rgba(40, 60, 90, 0.18) 100%
    ),
    radial-gradient(
      circle at 22% 28%,
      rgba(120, 156, 210, 0.25) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 78% 18%,
      rgba(18, 33, 60, 0.28) 0%,
      transparent 65%
    );
  z-index: -1;
}

.hero--find-a-park .hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  padding-block: calc(var(--section-spacing) * 1.2);
}

.hero--find-a-park .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(12, 25, 49, 0.3);
}

.hero--find-a-park .eyebrow::before {
  background: rgba(255, 255, 255, 0.72);
}

.hero--find-a-park .hero__title {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero--find-a-park .hero__lead {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: #e6eaf2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.hero--find-a-park .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.lifestyle__grid {
  display: grid;
  gap: 2.5rem;
}

.lifestyle__copy {
  display: grid;
  gap: 0.4rem;
}

.lifestyle__copy .prose {
  color: var(--muted);
}

.lifestyle__highlights {
  display: grid;
  gap: 1.25rem;
}

.highlight-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(25, 41, 69, 0.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(25, 41, 69, 0.08);
}

.highlight-card__title {
  font-family: Montserrat, system-ui;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
}

.highlight-card__copy {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.map-section {
  position: relative;
  background: linear-gradient(180deg, #f3f5fa 0%, #ffffff 100%);
}

.map-section__head {
  display: grid;
  gap: 0.4rem;
}

.map-shell {
  position: relative;
  margin-top: 1.5rem;
}

.map-search {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.5rem;
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 1rem 1.1rem 1.2rem;
  border-radius: calc(var(--radius) * 1.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.map-search__label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

.map-search input,
.map-search .map-search__input-shell {
  border: 1px solid rgba(25, 41, 69, 0.15);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.map-search .map-search__input-shell {
  display: block;
  width: 100%;
  padding: 0;
  box-shadow: none;
}

.map-search input {
  padding: 0.75rem 0.75rem;
  text-indent: 0.5rem;
}

.map-search input:focus,
.map-search .map-search__input-shell:focus-within {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}

.map-search__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.map-search__suggestions {
  --map-search-suggestions-radius: clamp(var(--radius), 2vw, 1.5rem);
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--map-search-suggestions-radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 40px rgba(25, 41, 69, 0.18);
  border: 1px solid rgba(25, 41, 69, 0.12);
  overflow: hidden;
}

.map-search__suggestions[hidden] {
  display: none !important;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.map-search__suggestion {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 1.5rem 0.75rem 2.4rem;
  cursor: pointer;
  color: var(--brand);
  transition: background 0.15s ease, color 0.15s ease;
}

.map-search__suggestion:first-child {
  border-top-left-radius: var(--map-search-suggestions-radius);
  border-top-right-radius: var(--map-search-suggestions-radius);
}

.map-search__suggestion:last-child {
  border-bottom-left-radius: var(--map-search-suggestions-radius);
  border-bottom-right-radius: var(--map-search-suggestions-radius);
}

.map-search__suggestion:hover,
.map-search__suggestion--active {
  background: rgba(25, 41, 69, 0.08);
  color: var(--brand);
}

.map-search__suggestion-primary {
  font-weight: 600;
  font-size: 1rem;
}

.map-search__suggestion-secondary {
  font-size: 0.85rem;
  color: var(--muted);
}

.map {
  position: relative;
  height: clamp(420px, 70vh, 640px);
  margin-top: -2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map__fallback {
  margin: 0;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 2rem;
  color: var(--muted);
  background: #e2e8f0;
}

.ctas {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(
      circle at 12% 20%,
      rgba(255, 255, 255, 0.2),
      transparent 45%
    ),
    linear-gradient(135deg, #0b1323 0%, #15243c 55%, #203656 100%);
}

.ctas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 85% 15%,
      rgba(139, 183, 255, 0.22),
      transparent 55%
    ),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}

.ctas__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
}

.ctas .section-title,
.ctas .eyebrow {
  color: #fff;
}

.ctas .eyebrow::before {
  background: rgba(255, 255, 255, 0.75);
}

.ctas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: calc(var(--radius) * 1.1);
  background: transparent;
  border: 1px solid rgba(160, 189, 230, 0.25);
  box-shadow: 0 18px 40px rgba(3, 6, 17, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  min-height: 0;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease,
    background 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(16, 24, 40, 0.94),
    rgba(12, 18, 32, 0.9)
  );
  z-index: 0;
  transition: background 0.25s ease;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #f7fbff;
}

.cta-card p {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8fbefc;
  background: rgba(143, 190, 252, 0.12);
  box-shadow: inset 0 0 0 1px rgba(143, 190, 252, 0.35);
}

.cta-card__icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.cta-card__title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
}

.cta-card__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.cta-card__action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  color: var(--brand);
  background: linear-gradient(120deg, #dae6ff, #f5f7fb);
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 20px rgba(10, 20, 40, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-card__action span {
  display: inline-flex;
}

.cta-card__action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cta-card__action:hover {
  background: linear-gradient(120deg, #c8dafc, #e7eefc);
  transform: translateX(3px);
  box-shadow: 0 10px 24px rgba(10, 20, 40, 0.35);
}

.cta-card:hover {
  transform: translateY(-6px);
  border-color: rgba(160, 189, 230, 0.55);
  box-shadow: 0 20px 46px rgba(3, 6, 17, 0.35);
}

.cta-card:hover::before {
  background: linear-gradient(
    145deg,
    rgba(22, 33, 54, 0.96),
    rgba(14, 22, 38, 0.94)
  );
}

.lifestyle__copy .prose p {
  margin: 0 0 1rem;
}

.lifestyle__copy .prose p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px), (pointer: coarse) {
  .hero--find-a-park .hero__overlay {
    background: linear-gradient(
      135deg,
      rgba(20, 36, 64, 0.6) 0%,
      rgba(30, 48, 76, 0.28) 65%,
      rgba(40, 60, 90, 0.08) 100%
    );
  }

  .hero--find-a-park .eyebrow,
  .hero--find-a-park .hero__title,
  .hero--find-a-park .hero__lead {
    text-shadow: none;
  }

  .map {
    box-shadow: var(--shadow-sm);
  }

  .map-search__suggestions {
    box-shadow: var(--shadow-sm);
  }
}

/* Map InfoWindow custom content */
.map-infowindow {
  display: grid;
  gap: 0.55rem;
  max-width: min(280px, 65vw);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  font-family: Inter, system-ui, sans-serif;
  color: var(--brand);
}

.map-infowindow__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand);
}

.map-infowindow__meta {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.map-infowindow__meta p {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding-bottom: 0.8rem;
}

.map-infowindow__meta a,
.map-infowindow__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.map-infowindow__meta a {
  color: var(--brand);
  font-weight: 600;
}

.map-infowindow__meta a:hover,
.map-infowindow__meta a:focus {
  color: var(--brand);
  text-decoration: underline;
}

.map-infowindow__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--brand);
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.2rem;
}

.map-infowindow__icon svg {
  width: 100%;
  height: 100%;
}

/* Desktop layouts */
@media (min-width: 768px) {
  .lifestyle__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .highlight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-search {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    margin: 0;
  }

  .map {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .highlight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-search {
    width: 360px;
  }
}
