/* HeartNest generated imagery — created specifically for the HeartNest website. */

/* Hero */
.hero-visual {
  background-image: url("assets/hero.webp") !important;
  background-size: cover !important;
  background-position: center 44% !important;
  background-repeat: no-repeat !important;
}
.hero-visual .hero-glow,
.hero-visual .hero-cat { display: none !important; }
.hero-note {
  background: rgba(251,248,242,.82);
  border: 1px solid rgba(169,120,66,.20);
  border-radius: 18px;
  padding: 12px 14px;
  backdrop-filter: blur(8px);
}

/* Breed photography */
.breed-photo {
  min-height: 225px !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #e9dfd2 !important;
  filter: saturate(.98) contrast(1.015) brightness(1.015);
}
.breed-photo > span,
.breed-photo .coat-demo,
.breed-photo::before,
.breed-photo::after { display: none !important; }

.breed-photo-siberian {
  background-image: url("assets/siberian.webp") !important;
  background-position: center 38% !important;
}
.breed-photo-british {
  padding: 0 !important;
  background-image: url("assets/british.webp") !important;
  background-position: center 43% !important;
}
.breed-photo-ragdoll {
  background-image: url("assets/ragdoll.webp") !important;
  background-position: center 40% !important;
}

/* Use the larger generated hero master for the Russian Blue crop so the card looks crisper. */
.breed-photo-russian {
  background-image: url("assets/hero.webp") !important;
  background-size: 205% auto !important;
  background-position: 95% 38% !important;
  filter: saturate(1.02) contrast(1.06) brightness(1.01);
}

/* About / approach image — generated imagery instead of a blank placeholder. */
.approach-photo {
  color: transparent !important;
  background-image: url("assets/siberian.webp") !important;
  background-size: cover !important;
  background-position: center 40% !important;
  filter: saturate(.96) contrast(1.02);
}
.approach-visual::after {
  content: "HeartNest";
  position: absolute;
  left: 24px;
  bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(54,42,29,.50);
  backdrop-filter: blur(8px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: .06em;
}

/* Available kittens — give the section the same image-led feel as the approved mock-up. */
.kittens-panel {
  position: relative;
  overflow: hidden;
  grid-template-columns: .72fr 1.05fr .78fr !important;
  min-height: 330px;
  padding: 0 !important;
  gap: 0 !important;
}
.kittens-panel::before {
  content: "";
  min-height: 330px;
  background-image: url("assets/british.webp");
  background-size: cover;
  background-position: center 42%;
}
.kittens-panel > div:first-child {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 38px;
  background: rgba(255,255,255,.84);
}
.kittens-panel .kittens-actions {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 42px 34px;
  background: linear-gradient(145deg, #efe7d9, #f7f2ea);
}

/* Knowledge Hub — every topic gets a generated image, like the approved preview. */
.info-grid article {
  overflow: hidden;
  padding-top: 0 !important;
  background: rgba(255,255,255,.78) !important;
}
.info-grid article::before {
  content: "";
  display: block;
  height: 150px;
  margin: 0 -1px 20px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(32,40,42,.08);
}
.info-grid article:nth-child(1)::before {
  background-image: url("assets/ragdoll.webp");
  background-position: center 42%;
}
.info-grid article:nth-child(2)::before {
  background-image: url("assets/british.webp");
  background-position: center 42%;
}
.info-grid article:nth-child(3)::before {
  background-image: url("assets/siberian.webp");
  background-position: center 40%;
}
.info-grid article:nth-child(4)::before {
  background-image: url("assets/hero.webp");
  background-size: 180% auto;
  background-position: 96% 37%;
}
.info-grid article > * { margin-left: 22px; margin-right: 22px; }
.info-grid article > a { display: inline-block; margin-bottom: 24px; }
.info-number { margin-top: 0 !important; }

/* FAQ — one polished visual beside the questions instead of a text-only block. */
.faq-grid > div:first-child {
  position: relative;
}
.faq-grid > div:first-child::after {
  content: "";
  display: block;
  width: min(100%, 430px);
  aspect-ratio: 16 / 9;
  margin-top: 28px;
  border-radius: 22px;
  background-image: url("assets/ragdoll.webp");
  background-size: cover;
  background-position: center 40%;
  box-shadow: 0 18px 42px rgba(55,45,34,.10);
}

/* Waiting list — retain the clean CTA but add a generated editorial cat panel. */
.waiting-box {
  position: relative;
  overflow: hidden;
  grid-template-columns: 1fr auto 290px !important;
}
.waiting-box::after {
  content: "";
  align-self: stretch;
  min-height: 220px;
  border-radius: 24px;
  background-image: url("assets/hero.webp");
  background-size: 175% auto;
  background-position: 30% 50%;
  box-shadow: 0 14px 36px rgba(55,45,34,.10);
}

/* Contact gets a subtle generated visual ribbon so the bottom of the page stays image-led. */
.contact-grid {
  position: relative;
  overflow: hidden;
}
.contact-grid::before {
  content: "";
  display: block;
  min-height: 210px;
  border-radius: 24px;
  background-image: url("assets/siberian.webp");
  background-size: cover;
  background-position: center 38%;
  box-shadow: 0 14px 34px rgba(55,45,34,.09);
}

@media (max-width: 980px) {
  .kittens-panel {
    grid-template-columns: .8fr 1.2fr !important;
  }
  .kittens-panel .kittens-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
  .waiting-box {
    grid-template-columns: 1fr auto !important;
  }
  .waiting-box::after {
    grid-column: 1 / -1;
    min-height: 250px;
  }
}

@media (max-width: 760px) {
  .hero-visual {
    min-height: 330px !important;
    border-radius: 26px !important;
    background-position: center 42% !important;
  }
  .hero-note {
    right: 14px !important;
    top: 14px !important;
    font-size: 14px !important;
  }
  .breed-photo { min-height: 205px !important; }
  .breed-photo-russian {
    background-size: 220% auto !important;
    background-position: 94% 36% !important;
  }
  .approach-photo { min-height: 310px !important; }
  .kittens-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .kittens-panel::before { min-height: 250px; }
  .kittens-panel > div:first-child { padding: 30px 24px; }
  .kittens-panel .kittens-actions {
    grid-column: auto;
    padding: 0 24px 30px;
    flex-direction: column;
    align-items: stretch;
  }
  .info-grid article::before { height: 185px; }
  .faq-grid > div:first-child::after { margin-bottom: 20px; }
  .waiting-box {
    grid-template-columns: 1fr !important;
  }
  .waiting-box::after {
    grid-column: auto;
    min-height: 220px;
    width: 100%;
    background-size: 185% auto;
    background-position: 28% 50%;
  }
  .contact-grid::before { min-height: 240px; }
}
