/* Playgrounds landing — layout aligned with pet-turf refactor */

#quote.age-play-system {
  scroll-margin-top: calc(var(--age-header-offset) + 0.5rem);
}

.age-play-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(92vh, 52rem);
  padding: calc(var(--age-header-offset) + var(--age-hero-below-header) + 1.5rem)
    clamp(1rem, 4vw, 1.5rem) clamp(2.5rem, 8vw, 4rem);
  background-color: #b8c8d2;
  background-image: url("../../images/playgrounds/img_0743-640.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body.webp .age-play-hero {
  background-image: url("../../images/playgrounds/img_0743-640.webp");
}

@media (min-width: 768px) {
  .age-play-hero {
    background-image: url("../../images/playgrounds/img_0743-960.jpg");
  }
  body.webp .age-play-hero {
    background-image: url("../../images/playgrounds/img_0743-960.webp");
  }
}

@media (min-width: 1200px) {
  .age-play-hero {
    background-image: url("../../images/playgrounds/img_0743-1600.jpg");
  }
  body.webp .age-play-hero {
    background-image: url("../../images/playgrounds/img_0743-1600.webp");
  }
}

@media (min-width: 1600px) {
  .age-play-hero {
    background-image: url("../../images/playgrounds/img_0743-2000.jpg");
  }
  body.webp .age-play-hero {
    background-image: url("../../images/playgrounds/img_0743-2000.webp");
  }
}

.age-play-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--age-hero-scrim);
  pointer-events: none;
}

.age-play-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.age-play-hero__title {
  margin: 0 0 0.35rem;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.5vw + 0.5rem, 4rem);
  line-height: 1.15;
  color: #fffdfd;
}

.age-play-hero__line {
  display: block;
}

.age-play-hero__line--gold {
  color: var(--age-gold);
}

.age-play-hero__subtitle {
  margin: 0.5rem auto 0;
  max-width: 42rem;
  font-family: var(--age-font-display), var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw + 0.85rem, 2rem);
  line-height: 1.35;
  color: var(--age-cream);
}

.age-play-hero__reviews {
  margin: 1rem auto 0;
  font-family: var(--age-font-sans);
  font-size: clamp(0.9rem, 0.6vw + 0.8rem, 1.25rem);
  line-height: 1.45;
  color: var(--age-cream);
}

.age-play-hero__actions {
  margin-top: 1.5rem;
}

/* Trusted strip */
.age-play-trusted {
  background: #e6e6d7;
  padding: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 4vw, 1.5rem);
}

.age-play-trusted__inner {
  max-width: var(--age-content-max);
  margin: 0 auto;
}

.age-play-trusted__label {
  margin: 0 0 0.75rem;
  text-align: center;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.5vw + 0.85rem, 2.5rem);
  line-height: 1.1;
  color: var(--age-green);
}

.age-play-trusted__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
}

.age-play-trusted__row img {
  max-height: clamp(3rem, 8vw, 5.5rem);
  width: auto;
  margin: 0 auto;
}

.age-play-trusted__suffix {
  margin: 1rem 0 0;
  text-align: center;
  font-family: var(--age-font-display), var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.2vw + 0.75rem, 2.5rem);
  color: var(--age-green);
}

/* Pro install — img_1818 backdrop */
.age-play-pro {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 1.5rem)
    clamp(3rem, 8vw, 5.5rem);
}

.age-play-pro__bg {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.36);
  background-image: url("../../images/playgrounds/img_1818-640.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body.webp .age-play-pro__bg {
  background-image: url("../../images/playgrounds/img_1818-640.webp");
}

@media (min-width: 768px) {
  .age-play-pro__bg {
    background-image: url("../../images/playgrounds/img_1818-960.jpg");
  }
  body.webp .age-play-pro__bg {
    background-image: url("../../images/playgrounds/img_1818-960.webp");
  }
}

@media (min-width: 1200px) {
  .age-play-pro__bg {
    background-image: url("../../images/playgrounds/img_1818-1600.jpg");
  }
  body.webp .age-play-pro__bg {
    background-image: url("../../images/playgrounds/img_1818-1600.webp");
  }
}

@media (min-width: 1600px) {
  .age-play-pro__bg {
    background-image: url("../../images/playgrounds/img_1818-2000.jpg");
  }
  body.webp .age-play-pro__bg {
    background-image: url("../../images/playgrounds/img_1818-2000.webp");
  }
}

.age-play-pro__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.age-play-pro__inner {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.age-play-pro__heading {
  margin: 0 0 1rem;
  padding: 0 clamp(0.25rem, 2vw, 1rem);
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw + 0.65rem, 4rem);
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
  text-transform: uppercase;
}

.age-play-pro__lead {
  margin: 0 auto 1rem;
  max-width: 48rem;
  padding: 0 clamp(0.5rem, 3vw, 1.25rem);
  font-family: var(--age-font-display), var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.3vw + 0.85rem, 1.55rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.98);
  text-wrap: balance;
}

.age-play-pro__copy {
  margin: 0 auto 1.25rem;
  max-width: 52rem;
  padding: 0 clamp(0.5rem, 3vw, 1.25rem);
  font-family: var(--age-font-sans);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.96);
  text-wrap: balance;
}

.age-play-pro__copy p {
  margin: 0 0 1rem;
}

.age-play-pro__copy p:last-child {
  margin-bottom: 0;
}

.age-play-pro__actions {
  margin-top: 1.25rem;
}

.age-play-pro__after-cta {
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  max-width: 52rem;
  padding: 0 clamp(0.5rem, 3vw, 1.25rem);
  font-family: var(--age-font-sans);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.96);
  text-wrap: balance;
}

.age-play-pro__after-cta p {
  margin: 0 0 1rem;
}

.age-play-pro__after-cta p:last-child {
  margin-bottom: 0;
}

/* Why — gallery mosaic only */
.age-play-section-heading {
  margin: 0 auto 1.25rem;
  max-width: 56rem;
  text-align: center;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw + 0.75rem, 2.35rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--age-green);
}

.age-play-why__grid {
  max-width: min(100%, var(--age-content-max, 72rem));
  margin: 0 auto;
}

.age-play-why__mosaic {
  --age-play-mosaic-gap: 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--age-play-mosaic-gap);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 519px) {
  .age-play-why__mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.age-play-why__tile {
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(11, 99, 67, 0.07);
  border: 1px solid rgba(11, 99, 67, 0.12);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-play-why__tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.age-play-outer {
  padding: var(--age-space-section) clamp(1rem, 4vw, 1.5rem);
}

/* Elfsight Google Reviews (playgrounds) */
.age-play-google-reviews {
  width: 100%;
  max-width: min(100%, 40rem);
  margin-inline: auto;
}

/* System / quote */
.age-play-system {
  padding: var(--age-space-section) clamp(1rem, 4vw, 1.5rem);
  background: var(--age-cream);
}

.age-play-system__inner {
  max-width: min(100%, 75rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3.2vw, 1.85rem);
}

.age-play-system__head {
  text-align: center;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
}

.age-play-system__head .age-play-system__highlight {
  margin: 0 0 0.45rem;
}

.age-play-system__subhead {
  margin: 0 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(0.98rem, 0.65vw + 0.85rem, 1.28rem);
  line-height: 1.35;
  color: var(--age-green);
}

.age-play-system__subhead-line {
  display: block;
}

.age-play-system__swatches--head {
  justify-content: center;
  margin: 0.2rem auto 0;
  max-width: 14rem;
}

.age-play-system__band {
  align-self: stretch;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.15rem, 3vw, 1.65rem);
  align-items: start;
}

@media (min-width: 900px) {
  .age-play-system__band {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 24rem) minmax(0, 1fr);
    column-gap: clamp(1rem, 2.8vw, 1.85rem);
    row-gap: 0;
    align-items: start;
  }
}

.age-play-system__side {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.45rem);
  min-width: 0;
}

.age-play-system__figure--hero {
  margin: 0 auto;
  width: 100%;
  max-width: min(100%, 36rem);
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0.2rem 1rem rgba(2, 2, 1, 0.1);
}

@media (min-width: 900px) {
  .age-play-system__figure--hero {
    max-width: none;
    margin: 0;
  }
}

.age-play-system__figure--hero img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.age-play-system__card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.age-play-system__title {
  margin: 0;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1rem, 0.9vw + 0.85rem, 1.35rem);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--age-green);
}

.age-play-system__title--accent {
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.5rem);
}

.age-play-system__prose {
  margin: 0;
  font-size: clamp(0.95rem, 0.35vw + 0.9rem, 1.06rem);
  line-height: 1.6;
  color: var(--age-text-dark);
}

.age-play-system__highlight {
  margin: 0;
  font-family: var(--age-font-display), var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.4vw + 0.9rem, 2rem);
  line-height: 1.15;
  color: var(--age-green);
  text-wrap: balance;
}

.age-play-system__swatches {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.age-play-system__swatch {
  display: block;
  width: min(100%, 12rem);
  height: 0.45rem;
  border-radius: 999px;
}

.age-play-system__swatch--gold {
  background: var(--age-gold);
  flex: 1;
  min-width: 5rem;
}

.age-play-system__swatch--green {
  background: var(--age-green);
  flex: 1;
  min-width: 5rem;
}

.age-play-system-aside__bars {
  display: flex;
  gap: 0.5rem;
  margin: 0.25rem 0 0.75rem;
}

.age-play-system-aside__bars span:first-child {
  flex: 2;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--age-green);
}

.age-play-system-aside__bars span:last-child {
  flex: 1;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--age-gold);
}

.age-play-standards {
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 1.5rem);
  text-align: center;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1rem, 1vw + 0.85rem, 1.35rem);
  line-height: 1.35;
  color: var(--age-green);
  background: rgba(11, 99, 67, 0.06);
  border-radius: 8px;
  width: 100%;
  max-width: 52rem;
}

/* Financing */
.age-play-finance {
  padding: var(--age-space-section) clamp(1rem, 4vw, 1.5rem);
  background: var(--age-sand);
}

.age-play-finance__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.age-play-finance__title {
  margin: 0 0 1.25rem;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.2vw + 0.9rem, 1.85rem);
  color: var(--age-green);
}

.age-play-finance__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.age-play-finance__logos img {
  max-height: clamp(3rem, 10vw, 4.5rem);
  width: auto;
}

/* Final CTA */
.age-play-cta {
  padding: var(--age-space-section) clamp(1rem, 4vw, 1.5rem);
  background: var(--age-page-bg);
}

.age-play-cta__inner {
  max-width: min(100%, 56rem);
  margin: 0 auto;
  text-align: center;
}

.age-play-cta__title {
  margin: 0 0 1rem;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.5vw + 0.85rem, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--age-green);
}

.age-play-cta__btn {
  margin-bottom: 0.85rem;
}

.age-play-cta__call {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: var(--age-font-sans);
  font-size: clamp(0.95rem, 0.5vw + 0.85rem, 1.15rem);
  font-weight: 700;
  line-height: 1.15;
  border-radius: var(--age-radius-btn);
  background: var(--age-gold);
  color: var(--age-text-dark);
  text-decoration: none;
  transition: filter 0.15s ease;
}

.age-play-cta__call:hover {
  filter: brightness(1.04);
}

.age-play-cta__safety {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(11, 99, 67, 0.15);
  text-align: left;
}

.age-play-cta__safety p {
  margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
  max-width: 44rem;
  font-family: var(--age-font-sans);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: var(--age-text-dark);
  text-wrap: balance;
}

.age-play-cta__safety-figure {
  margin: 0 auto;
  max-width: min(100%, 52rem);
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0.2rem 1rem rgba(2, 2, 1, 0.08);
  border: 1px solid rgba(11, 99, 67, 0.1);
  background: #fff;
}

.age-play-cta__safety-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
