/* ================= CARE HOME RESIDENTS PAGE ================= */
/* Page-specific styles only. Global reset, typography, headings, buttons,
   container, header, footer and basket styles are supplied by core.css. */

.care-home-residents-page {
  overflow-x: hidden;
}

.care-home-residents-page *,
.care-home-residents-page *::before,
.care-home-residents-page *::after {
  box-sizing: border-box;
}

.care-home-residents-page section,
.care-home-residents-page .container,
.care-home-residents-page .max-width110 {
  width: 100%;
}

.care-home-residents-page .margin-block {
  margin-block: clamp(3.5rem, 7vw, 10rem);
}

.care-home-residents-page .max-width110 {
  max-width: 110rem;
  margin-inline: auto;
}

.care-home-residents-page .fw-500 {
  font-weight: 500;
}

.care-home-residents-page .shine-effect {
  position: relative;
  overflow: hidden;
}

.care-home-residents-page .shine-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 1;
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
  transform: skewX(-25deg);
  transition: left 0.5s ease-in-out;
  pointer-events: none;
}

.care-home-residents-page .shine-effect:hover::before {
  animation: care-home-shine 1.3s forwards;
}

@keyframes care-home-shine {
  0% {
    left: -80%;
  }

  100% {
    left: 100%;
  }
}

/* ================= HERO ================= */
.carehome-hero-area__image-wrapper img {
  width: 100%;
  min-height: 36rem;
  object-fit: cover;
}

/* ================= STAFF ORGANISATION ================= */
.staff-organisation.margin-block {
  margin-block: clamp(3rem, 6vw, 7rem);
}

.staff-organisation__heading {
  color: #03a6aa;
}

.staff-organisation__description {
  max-width: 95rem;
  margin-inline: auto;
}

.staff-organisation__btn {
  margin-top: 3rem;
  padding-inline: clamp(2rem, 5vw, 6rem);
}

.staff-organisation__bottom-text {
  margin-top: 1rem;
  font-style: italic;
}

.staff-organisation__link {
  color: var(--button-color);
  font-weight: 600;
  text-decoration: underline;
}

/* ================= HOW LABELS HELP ================= */
.how-labels-help-staff__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 7rem;
  column-gap: 2rem;
  justify-items: center;
  margin-top: 5rem;
}

.how-labels-help-staff__item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
}

.how-labels-help-staff__item picture {
  flex: 0 0 auto;
}

.how-labels-help-staff__item img {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  object-fit: cover;
}

.how-labels-help-staff__item-text {
  max-width: 30rem;
}

.how-labels-help-staff__title {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  color: #03a6aa;
}

/* ================= CLOTHING LABELS ================= */
.clothing-labels__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 2rem;
  margin-top: 5rem;
}

.clothing-labels__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  background: #f5f5f5;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.clothing-labels__title-wrapper {
  display: flex;
  min-height: 10rem;
  padding: 2.5rem 2rem;
  color: #fff;
  background: #03a6aa;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.clothing-labels__item:nth-child(2) .clothing-labels__title-wrapper {
  background: #f79a46;
}

.clothing-labels__item:nth-child(3) .clothing-labels__title-wrapper {
  background: #ed2144;
}

.clothing-labels__subtitle {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clothing-labels__title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.clothing-labels__list-wrapper {
  display: flex;
  flex: 1;
  padding: 2rem;
}

.clothing-labels__list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.4rem;
}

.clothing-labels__list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.clothing-labels__icon {
  width: 27px;
  height: auto;
  object-fit: contain;
}

/* ================= APPLY LABELS ================= */
.apply-labels .text-center > p {
  max-width: 90rem;
  margin-inline: auto;
}

.apply-labels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 5rem;
}

.apply-labels__item {
  width: 100%;
  padding: 2.5rem 1.5rem;
  border-radius: 1.8rem;
  background: #f5f5f5;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-labels__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.1);
}

.apply-labels__img-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.apply-labels__img-wrapper img {
  width: 58px;
  height: 56px;
  object-fit: contain;
}

.apply-labels__title {
  margin-bottom: 0.5rem;
  color: #03a6aa;
}

/* ================= PRODUCTS ================= */
.care-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 50rem));
  gap: 2rem;
  justify-content: center;
  margin-top: 5rem;
  text-align: center;
}

.care-product__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: 50rem;
  padding: 5rem 4rem 3rem;
  border-radius: 15px;
  background-color: #f5f5f5;
}

.care-product__card__img2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0;
  background: transparent;
}

.care-product__card__img2 picture,
.care-product__card__img2 img {
  width: 100%;
}

.care-product__card__img2 img {
  max-height: 16rem;
  object-fit: contain;
}

.care-product__card .content {
  flex: 1;
  padding: 2rem 0 0;
  background: transparent;
}

.care-product__card .content .heading-2 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 2rem);
}

.use-for-title {
  margin-top: 2rem;
  margin-bottom: 0.4rem;
  color: #03a6aa;
  font-weight: 700;
}

/* ================= WHY NAMETAGS ================= */
.why-nametags {
  background: transparent;
}

.why-nametags__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
  margin-top: 5rem;
}

.why-nametags__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 2rem 1rem;
  border-radius: 1.8rem;
  background: #fff;
  text-align: center;
}

.why-nametags__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  margin-bottom: 1rem;
}

.why-nametags__icon img {
  object-fit: contain;
}

.why-nametags__text h3 {
  color: inherit;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
}

/* ================= PERFECT CARE HOME / STORY ================= */
.perfect-care-home {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: #e9f5f8;
  isolation: isolate;
}

.perfect-care-home--white {
  background: #fff;
}

.perfect-care-home__content {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  padding-inline: 4rem;
}

.perfect-care-home__image img {
  width: 100%;
  max-height: 45rem;
  border-radius: 2rem;
  object-fit: cover;
}

.perfect-care-home__text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.perfect-care-home__text .btn {
  margin-top: 1.5rem;
}

.perfect-care-home__deco {
  position: absolute;
  right: -2rem;
  bottom: 0;
  z-index: -1;
  width: 22rem;
  opacity: 0.05;
}

/* ================= IRON-ON LABELS ================= */
.iron-on-labels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
  justify-items: center;
  justify-content: center;
  margin-top: 5rem;
  text-align: center;
}

.iron-on-labels__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.iron-on-labels__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 87px;
  min-height: 32px;
  margin: 0 auto 2.5rem;
  padding: 0.35rem 1.2rem;
  border-radius: 16px;
  background-color: #03a6aa;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.iron-on-labels__image {
  width: 100%;
  max-width: 18rem;
  margin: 0 auto 1rem;
  border-radius: 0;
}

.iron-on-labels__image img {
  width: 100%;
  border-radius: 0;
  object-fit: contain;
}

.iron-on-labels__description {
  max-width: 24rem;
  margin-inline: auto;
}

.iron-on-labels__instructions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 5rem auto 0;
  padding: 1rem 5rem;
  border-radius: 16px;
  background-color: #fff1c1;
}

.iron-on-labels__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex: 0 0 auto;
}

.iron-on-labels__icons img {
  width: 70px;
  height: 70px;
  margin-top: 8px;
  object-fit: contain;
}

.iron-on-labels__note {
  width: 100%;
  margin: 0;
}

/* ================= STAFF SAYS ================= */
.staff-says__content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  justify-items: center;
  margin-top: 5rem;
}

.staff-says__item {
  position: relative;
  width: 100%;
  max-width: 51rem;
  padding: 3.4rem;
  border-radius: 3.1rem;
  background-color: #79c7c9;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-says__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px #00000026;
}

.staff-says__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.staff-says__quote {
  position: absolute;
  pointer-events: none;
}

.staff-says__quote--start {
  top: 2rem;
  left: 2rem;
  width: 85px;
  height: 63px;
}

.staff-says__quote--end {
  right: 2rem;
  bottom: 2rem;
  width: 85px;
  height: 63px;
}

.staff-says__person {
  margin-top: 2rem;
  font-weight: 500;
  text-align: left;
}

.staff-says__location {
  margin-top: 0;
  color: inherit;
}

/* ================= FAQ ================= */
.care-faq {
  margin-top: 5rem;
  margin-bottom: 7rem;
  padding-block: 3.5rem;
}

.care-faq .container {
  max-width: 90rem;
}

.care-faq .faq__inner {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr;
  gap: 3rem;
}

.care-faq .faq__left {
  margin-top: 6rem;
}

.care-faq .faq__left img {
  max-width: 100%;
}

.care-faq .accordion details {
  border-bottom: 1px solid #c7c5c5;
  padding-block: 1.8rem;
}

.care-faq .accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
  transition: margin 150ms ease-out;
}

.care-faq .accordion summary::-webkit-details-marker {
  display: none;
}

.care-faq .accordion summary::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAANCAYAAAB2HjRBAAAA4klEQVQokZXRMS6EURTF8d8LidCNQjIh0SlEawMSsQGJaKbRKVgBO5iGNYhCoVAoLIAd6EV0hJCRkMzV3JExvu8bXnKLe8/5v/NyX0Eb7xHx7I+nlDKNuYJzvEZE5x/wEVbgAoHNiDCusI4+rmERL3hEewzYwj16WB4MO5l+idIAn6ZvPyIMC2cp7NaA26lfDQKGxVk84A1LI+ACnrLmv+cjpo1cxg0mc1YyLbD1w1/xvOM0Hma/l/3JL28FPINbfOYie7hDayycF6ziIxP7WKv0NXzLQcLdWk8DPIEdTNV5vgCTE1PKNm/KjgAAAABJRU5ErkJggg==);
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
  transform: rotate(0);
}

.care-faq .accordion details[open] summary {
  margin-bottom: 1.5rem;
  user-select: none;
}

.care-faq .accordion details[open] summary::after {
  transform: rotate(180deg);
}

.care-faq .accordion details > div {
  overflow: hidden;
  animation: faq-answer-open 0.45s ease;
}

.care-faq .accordion details p {
  padding-inline: 2rem;
}

@keyframes faq-answer-open {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .why-nametags__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .iron-on-labels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 969px) {
  .care-home-residents-page .container,
  .care-home-residents-page .max-width110 {
    margin-inline: auto;
  }

  .carehome-hero-area__image-wrapper img {
    min-height: 30rem;
  }

  .how-labels-help-staff__grid,
  .apply-labels__grid,
  .staff-says__content-grid {
    grid-template-columns: 1fr;
  }

  .how-labels-help-staff__grid {
    row-gap: 4rem;
  }

  .how-labels-help-staff__item {
    justify-content: center;
    width: 100%;
  }

  .clothing-labels__grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-items: center;
  }

  .clothing-labels__item {
    width: 100%;
    max-width: 44rem;
    min-height: 100%;
    margin-inline: auto;
  }

  .clothing-labels__list-wrapper {
    flex: 1;
  }

  .apply-labels__grid {
    max-width: 42rem;
    margin-inline: auto;
  }

  .care-products {
    grid-template-columns: 1fr;
    max-width: 50rem;
    margin-inline: auto;
  }

  .why-nametags__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
    margin-top: 3rem;
  }

  .why-nametags__item:nth-child(5) {
    grid-column: 1 / -1;
  }

  .perfect-care-home__content {
    grid-template-columns: 1fr;
    padding-inline: 1rem;
    text-align: center;
  }

  .perfect-care-home__text p {
    line-height: 1.6;
  }

  .iron-on-labels__instructions {
    align-items: flex-start;
    padding: 1.5rem;
  }

  .staff-says__item {
    padding: 2.5rem;
  }

  .staff-says__quote--start,
  .staff-says__quote--end {
    width: 65px;
    height: 48px;
  }

  .care-faq .faq__inner {
    grid-template-columns: 1fr;
  }

  .care-faq .faq__left {
    margin-top: 0;
    text-align: center;
  }

  .care-faq .faq__left img {
    max-height: 8rem;
    margin-inline: auto;
  }
}

@media screen and (max-width: 767px) {
  .care-home-residents-page section {
    margin-left: 0;
    margin-right: 0;
  }

  .care-home-residents-page .container {
    margin-left: auto;
    margin-right: auto;
  }

  .care-home-residents-page .max-width110 {
    margin-left: auto;
    margin-right: auto;
  }

  .how-labels-help-staff__item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
  }

  .how-labels-help-staff__item-text {
    max-width: 100%;
  }

  .care-products {
    grid-template-columns: 1fr;
    margin-top: 5rem;
  }

  .care-product__card {
    margin-inline: auto;
  }

  .iron-on-labels__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    margin-top: 3rem;
  }

  .iron-on-labels__step {
    margin-bottom: 1.5rem;
  }

  .iron-on-labels__instructions {
    padding: 1.5rem;
  }

  .iron-on-labels__icons {
    gap: 1rem;
  }

  .staff-says__content-grid {
    grid-template-columns: 1fr;
    gap: 3rem 2rem;
    margin-top: 2rem;
  }

  .staff-says__item {
    padding: 2.5rem;
  }

  .staff-says__quote--start {
    width: 65px;
    height: 48px;
    top: 1.5rem;
    left: 1.5rem;
  }

  .staff-says__quote--end {
    width: 65px;
    height: 48px;
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .staff-says__person {
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  .carehome-hero-area__image-wrapper img {
    min-height: 24rem;
  }

  .how-labels-help-staff__item {
    gap: 1.5rem;
  }

  .apply-labels__grid,
  .care-products,
  .iron-on-labels__grid {
    grid-template-columns: 1fr;
  }

  .apply-labels__grid,
  .care-products,
  .iron-on-labels__grid,
  .staff-says__content-grid,
  .why-nametags__grid,
  .clothing-labels__grid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .care-product__card {
    padding: 3rem 1.5rem 2.5rem;
  }

  .clothing-labels__item {
    max-width: none;
  }

  .clothing-labels__title-wrapper {
    min-height: 9rem;
  }

  .iron-on-labels__instructions {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .iron-on-labels__icons img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .iron-on-labels__instructions {
    gap: 0.5rem;
  }

  .iron-on-labels__icons {
    flex-wrap: wrap;
    gap: unset;
  }

  .iron-on-labels__icons img {
    width: 50px;
    height: 50px;
  }

  .staff-says__content-grid {
    gap: 2rem;
  }

  .staff-says__quote--start,
  .staff-says__quote--end {
    width: 50px;
    height: 38px;
  }

  .staff-says__person {
    margin-top: 1rem;
  }
}

@media (max-width: 380px) {
  .how-labels-help-staff__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}