/* Pet turf landing — layout rebuilt without Sitely */

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

.age-pet-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/pet-turf/pet-turf-640.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body.webp .age-pet-hero {
  background-image: url("../../images/pet-turf/pet-turf-640.webp");
}

@media (min-width: 768px) {
  .age-pet-hero {
    background-image: url("../../images/pet-turf/pet-turf-960.png");
  }
  body.webp .age-pet-hero {
    background-image: url("../../images/pet-turf/pet-turf-960.webp");
  }
}

@media (min-width: 1200px) {
  .age-pet-hero {
    background-image: url("../../images/pet-turf/pet-turf-1600.png");
  }
  body.webp .age-pet-hero {
    background-image: url("../../images/pet-turf/pet-turf-1600.webp");
  }
}

@media (min-width: 1600px) {
  .age-pet-hero {
    background-image: url("../../images/pet-turf/pet-turf-2000.png");
  }
  body.webp .age-pet-hero {
    background-image: url("../../images/pet-turf/pet-turf-2000.webp");
  }
}

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

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

.age-pet-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-pet-hero__line {
  display: block;
}

.age-pet-hero__line--muted {
  color: #f4f4ef;
}

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

.age-pet-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-pet-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-pet-hero__actions {
  margin-top: 1.5rem;
}

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

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

body.webp .age-pet-pro__bg {
  background-image: url("../../images/pet-turf/cat-turf-640.webp");
}

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

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

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

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

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

.age-pet-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-pet-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-pet-pro__copy p {
  margin: 0 0 1rem;
}

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

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

/* Why + gallery */
.age-pet-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-pet-why__grid {
  max-width: min(100%, var(--age-content-max, 72rem));
  margin: 0 auto;
  display: grid;
  gap: clamp(0.85rem, 2.2vw, 1.35rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .age-pet-why__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(0.75rem, 2vw, 1.25rem);
    align-items: stretch;
  }

  .age-pet-why__video {
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
  }

  .age-pet-why__video video {
    flex: 1 1 auto;
    width: 100%;
    min-height: clamp(12rem, 28vw, 20rem);
    max-height: min(70vh, 36rem);
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 0.15rem 0.85rem rgba(2, 2, 1, 0.08);
  }

  .age-pet-why__mosaic {
    align-self: stretch;
  }
}

.age-pet-why__video video {
  display: block;
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 899px) {
  .age-pet-why__video video {
    height: auto;
    max-height: none;
    object-fit: initial;
    box-shadow: 0 0.15rem 0.85rem rgba(2, 2, 1, 0.06);
  }
}

/* Mosaico: griglia regolare (3×2 / 2×3), stesso gap ovunque, niente crop */
.age-pet-why__mosaic {
  --age-pet-mosaic-gap: 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--age-pet-mosaic-gap);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.age-pet-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-pet-why__tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Testimonial video */
.age-pet-outer {
  padding: var(--age-space-section) clamp(1rem, 4vw, 1.5rem);
}

/* Testimonial pet: video quadrato (cover) affiancato a colonna recensioni di pari larghezza */
@media (min-width: 900px) {
  .age-pet-testimonials .age-testimonials__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .age-pet-testimonials .age-testimonials__reviews {
    max-width: none;
    width: 100%;
    margin-inline: 0;
  }
}

@media (min-width: 1200px) {
  .age-pet-testimonials .age-testimonials__reviews {
    max-width: none;
    margin-inline-start: 0;
  }
}

.age-pet-testimonials .age-testimonials__video-frame {
  padding-bottom: 100%;
}

/* System / quote — intestazione, poi 2 card | immagine | 2 card */
.age-pet-system {
  padding: var(--age-space-section) clamp(1rem, 4vw, 1.5rem);
  background: var(--age-cream);
}

.age-pet-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-pet-system__head {
  text-align: center;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
}

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

.age-pet-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-pet-system__subhead-line {
  display: block;
}

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

.age-pet-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-pet-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-pet-system__side {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.45rem);
  min-width: 0;
}

.age-pet-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-pet-system__figure--hero {
    max-width: none;
    margin: 0;
  }
}

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

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

.age-pet-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-pet-system__title--accent {
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.5rem);
}

.age-pet-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-pet-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-pet-system__swatches {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

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

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

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

.age-pet-system__flush-title {
  margin: 0;
  font-family: var(--age-font-hero);
  font-weight: 700;
  font-size: clamp(1rem, 0.85vw + 0.82rem, 1.2rem);
  text-transform: uppercase;
  color: var(--age-green);
}

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

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

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

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

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

.age-pet-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-pet-finance__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

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

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

.age-pet-cta__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.age-pet-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-pet-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2vw, 1.1rem);
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}

.age-pet-cta__or {
  margin: 0;
  font-family: var(--age-font-hero);
  font-size: clamp(1.15rem, 1.5vw + 0.75rem, 1.75rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: var(--age-green);
  opacity: 0.92;
}

.age-pet-cta__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  font-family: var(--age-font-sans);
  font-size: clamp(0.9rem, 0.55vw + 0.82rem, 1.15rem);
  font-weight: 700;
  line-height: 1.15;
  border-radius: var(--age-radius-btn);
  background: var(--age-gold);
  color: var(--age-green);
  text-decoration: none;
  transition: filter 0.15s ease;
}

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