
.hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  margin: 26px 0;
  padding: 54px 0;
  border-radius: var(--radius-lg);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .98) 0%,
      rgba(255, 255, 255, .94) 30%,
      rgba(255, 255, 255, .7) 42%,
      rgba(255, 255, 255, .18) 54%,
      rgba(255, 255, 255, 0) 66%);
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--white);
}

.hero-bg-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
  opacity: 0;
  animation: heroBgSlider 24s infinite;
}

.hero-bg-slider img:nth-child(2) {
  animation-delay: 6s;
}

.hero-bg-slider img:nth-child(3) {
  animation-delay: 12s;
}

.hero-bg-slider img:nth-child(4) {
  animation-delay: 18s;
}
@keyframes heroBgSlider {

  0%,
  29% {
    opacity: 1;
  }

  35%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}



.hero-grid {
  width: 90%;
  max-width: var(--shell);
  margin: 0 auto;
  grid-template-columns: .85fr 1.15fr;
  display: grid;
  align-items: center;
  gap: 42px;
}

.hero-card .hero-grid {
  position: relative;
  z-index: 1;
  min-height: 412px;
}

.hero-card .hero-copy {
  max-width: 640px;
}

.hero-card .eyebrow,
.hero-card .hero-copy h2,
.hero-card .hero-copy p {
  text-shadow: 0 1px 14px rgba(255, 250, 244, .72);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--turquoise-dark);
}

.hero-copy h2,
.intro-panel h2,
.section-heading h2,
.kittens-grid h2,
.infos-grid h2 {
  margin: 0 0 18px;
  color: var(--corail);
}

.hero-copy p {
  text-align: justify;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.page-hero {
  margin: 18px 0 22px;
  padding: 24px 0;
  background: var(--linen);
  border-radius: 22px;
  overflow: hidden;
}

.page-hero-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.page-hero-copy {
  margin-bottom: 0;
  padding: 0 28px;
}
.page-hero h1,
.page-hero .eyebrow {
  text-align: center;
}

.page-hero-gallery {
  overflow: hidden;
  padding: 42px 0;
  border-radius: 16px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
   width: 100%;
}

.page-hero-gallery-track {
  display: flex;
  width: max-content;
  gap: 8px;
  transform: translateX(0);
  transition: transform 2s ease;
  will-change: transform;
}




.page-hero-gallery img {
  flex: 0 0 auto;
  width: 168px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: var(--white);
  opacity: .72;
  transform: scale(.96);
  transition: transform .55s ease, opacity .55s ease, box-shadow .55s ease;
}

.page-hero-gallery img.is-center {
  z-index: 1;
  opacity: 1;
  transform: scale(1.64);
  box-shadow: 0 10px 24px rgba(45, 43, 41, .18);
}

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

.hero-card .hero-copy {
  max-width: 520px;
}
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  
.hero-card .hero-copy {
  max-width: 420px;
}
}


@media (max-width: 940px) {
 
  .hero-card {
    min-height: 500px;
    padding: 34px 0;
    border-radius: 22px;
  }

  .hero-card::after {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .94) 0%,
        rgba(255, 255, 255, .82) 48%,
        rgba(255, 255, 255, .2) 72%,
        rgba(255, 255, 255, 0) 100%);
  }

  .hero-card .hero-grid {
    min-height: 432px;
  }

  

  
  .page-hero-gallery img.is-center {
    transform: none;
  }

  
.page-hero-gallery {
  overflow: hidden;
  padding: 32px 0;}


.page-hero-gallery img:hover {
  
  transform: scale(1.36);
   opacity: .92;
  transition: transform .55s ease, opacity .55s ease, box-shadow .55s ease;
  z-index: 1;
}

}