/* Homepage sections share the site's width, typography and brand palette. */
/* Product search reuses homepage product cards, including their hover effect. */
.product-search-page.home-products {
  padding: 24px 0 48px;
}
.product-search-page__header {
  margin-bottom: 32px;
  text-align: center;
}
.product-search-page__header h1 {
  margin: 0 0 12px;
  color: var(--site-primary);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}
.product-search-page__header p {
  margin: 0;
  color: var(--site-body);
  font-size: var(--site-body-size, 16px);
}
.product-search-page .product-search-page__empty {
  padding: 32px 20px;
  border-radius: 0;
  color: var(--site-body);
  background: #f5f5f5;
  font-size: var(--site-body-size, 16px);
  text-align: center;
}
.product-search-page__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.product-search-page__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 4px 12px;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgb(0 0 0 / 4%);
  border-radius: 0;
  color: var(--site-body);
  font-size: var(--site-body-size, 16px);
}
.product-search-page__pagination .page-numbers:is(.current, :hover) {
  border-color: var(--site-button);
  color: #fff;
  background: var(--site-button);
}
@media (max-width: 767px) {
  .product-search-page__header h1 {
    font-size: 24px;
  }
  .product-search-page__pagination .page-numbers {
    font-size: 15px;
  }
}

/* The news archive reuses homepage article cards without a slider. */
body.caia-news-page .site-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.caia-news-page .content-sidebar-wrap {
  display: block;
  width: 100%;
}
body.caia-news-page .content {
  float: none;
  width: 100%;
}
.news-page {
  --home-muted-color: #767676;
  --home-description-size: var(--site-body-size, 16px);
}
.news-page__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin: 0 0 40px;
  padding: 4px 2px;
}
.news-page .news-page__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 5px 24px;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgb(0 0 0 / 4%);
  border-radius: 0;
  color: var(--site-title);
  background: #fff;
  font-size: var(--site-body-size, 16px);
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}
.news-page .news-page__category:is(.is-active, :hover) {
  border-color: var(--site-button);
  color: #fff;
  background: var(--site-button);
}
.news-page .news-page__category:focus-visible {
  outline: 2px solid var(--site-primary);
  outline-offset: 2px;
}
.news-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.news-page .news-page__empty {
  min-height: 180px;
  margin: 0;
  padding: 48px 16px;
  border-radius: 0;
  color: var(--home-muted-color);
  background: #f5f5f5;
  font-size: var(--site-body-size, 16px);
  text-align: center;
}
.news-page__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.news-page__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 4px 12px;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgb(0 0 0 / 4%);
  border-radius: 0;
  color: var(--site-body);
  font-size: var(--site-body-size, 16px);
}
.news-page__pagination .page-numbers:is(.current, :hover) {
  border-color: var(--site-button);
  color: #fff;
  background: var(--site-button);
}
@media (max-width: 1023px) {
  .news-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .news-page {
    --home-description-size: 15px;
  }
  .news-page .news-page__category,
  .news-page .news-page__empty,
  .news-page__pagination .page-numbers {
    font-size: 15px;
  }
  .news-page__categories {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-bottom: 28px;
  }
  .news-page__categories::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 599px) {
  .news-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home-page {
  --home-muted-color: #767676;
  --home-description-size: var(--site-body-size, 16px);
  color: var(--site-body);
}
body.caia-homepage .site-inner {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.caia-homepage .content-sidebar-wrap,
body.caia-homepage .content {
  float: none;
  width: 100%;
}

.home-page__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-hero {
  position: relative;
  width: 100%;
  background: var(--site-surface);
}
.home-hero__slider {
  position: relative;
  margin: 0;
}
.home-hero__slider:not(.slick-initialized) .home-hero__slide:not(:first-child) {
  display: none;
}
.home-hero__slide {
  margin: 0;
  padding: 0;
}
/* Full width; height follows the image ratio so the whole banner shows (no cropping). */
.home-hero .home-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--hero-ratio, 2.4);
  min-height: min(36vw, 680px);
  margin: 0;
  object-fit: cover;
}
.home-hero .home-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  color: #fff;
  background: rgb(0 0 0 / 28%);
  font-size: 17px;
  cursor: pointer;
  transform: translateY(-50%);
}
.home-hero .home-hero__arrow--prev {
  left: max(20px, calc((100% - var(--site-content-width, 1280px)) / 2));
}
.home-hero .home-hero__arrow--next {
  right: max(20px, calc((100% - var(--site-content-width, 1280px)) / 2));
}
.home-hero .home-hero__arrow:hover {
  background: var(--site-button);
}
.home-hero button:focus-visible {
  outline: 2px solid var(--site-primary);
  outline-offset: 3px;
}
.home-hero .slick-dots {
  position: absolute;
  bottom: 18px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 2;
}
.home-hero .slick-dots li {
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
}
.home-hero .slick-dots li button {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgb(255 255 255 / 45%);
  font-size: 0;
  cursor: pointer;
}
.home-hero .slick-dots li button::before {
  content: none;
}
.home-hero .slick-dots li.slick-active button {
  background: var(--site-button);
}

.home-categories {
  padding: 48px 0;
  background: #fff;
}
.home-categories > .wrap {
  width: calc(100% - 40px);
  max-width: var(--site-content-width, 1280px);
  margin: 0 auto;
}
.home-categories__header {
  margin-bottom: 32px;
  text-align: center;
}
.home-categories .home-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.home-categories .home-categories__item {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-categories .home-categories__link {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  min-height: 250px;
  padding: 24px 16px 24px 40px;
  overflow: hidden;
  color: var(--site-title);
  background: linear-gradient(135deg, #f4f9ff 0%, #e8f2fe 50%, #d6e8fc 100%);
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}
.home-categories .home-categories__link:hover {
  box-shadow: 0 10px 24px rgba(29, 57, 107, 0.12);
}
.home-categories__content {
  display: flex;
  flex: 0 0 42%;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}
.home-categories__name {
  max-width: 150px;
  color: var(--site-title);
  font-size: var(--site-body-size, 16px);
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.home-categories__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--site-primary);
  border-radius: 0;
  color: #fff;
  background: var(--site-primary);
  font-size: var(--site-body-size, 15px);
  line-height: 1.5;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}
.home-categories__link:is(:hover, :focus-visible, :active) .home-categories__more {
  color: #fff;
  background: var(--site-button);
  border-color: var(--site-button);
}
.home-categories__media {
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-width: 0;
  height: 200px;
}
.home-categories .home-categories__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.home-categories__link:hover .home-categories__image {
  transform: scale(1.05);
}
.home-categories__media > i {
  color: var(--site-primary);
  font-size: 48px;
}
.home-categories__link:focus-visible {
  outline: 2px solid var(--site-primary);
  outline-offset: 3px;
}

.home-stats {
  padding: 88px 0;
  background: var(--site-primary);
}
.home-stats > .wrap {
  width: calc(100% - 40px);
  max-width: 1224px;
  margin: 0 auto;
}
.home-stats .home-stats__heading {
  margin: 0 0 32px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.home-stats .home-stats__grid {
  display: grid;
  grid-template-columns: repeat(var(--home-stats-count, 4), minmax(0, 1fr));
  margin: 0;
  padding: 28px 0;
  border-radius: 0;
  background: #f7f9fc;
  box-shadow: 0 18px 40px rgb(29 57 107 / 18%);
  list-style: none;
}
.home-stats .home-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 4px 20px;
  text-align: center;
  list-style: none;
}
.home-stats .home-stats__item + .home-stats__item {
  border-left: 1px solid var(--site-border);
}
.home-stats__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  color: var(--site-title);
}
.home-stats__icon > i {
  font-size: 44px;
}
.home-stats .home-stats__icon img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}
.home-stats .home-stats__number {
  color: var(--site-primary);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
}
.home-stats .home-stats__label {
  margin-top: 4px;
  color: var(--site-primary);
  font-size: var(--site-body-size, 16px);
  font-weight: 400;
  line-height: 1.5;
}

/* Commitment: quote at the top, background photo (e.g. skyline) anchored to the bottom. */
.home-commitment {
  padding: 72px 0;
  background-repeat: no-repeat;
  background-position: center bottom;
  /* Full width, natural height: the photo is never cropped or stretched. */
  background-size: 100% auto;
}
/* The photo's top quarter is empty sky, so the quote can sit over it while the
   buildings stay below the text. Height scales with the real image ratio. */
.home-commitment.has-image {
  padding-bottom: calc(100vw / var(--commitment-ratio, 2) * 0.75 + 24px);
}
.home-commitment > .wrap {
  width: calc(100% - 40px);
  max-width: 1224px;
  margin: 0 auto;
}
.home-commitment .home-commitment__quote {
  position: relative;
  padding-right: 200px;
}
.home-commitment .home-commitment__subtitle {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--site-accent);
}
.home-commitment .home-commitment__title {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  color: var(--site-primary);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.45;
}
.home-commitment .home-commitment__mark {
  position: absolute;
  top: 50%;
  right: 0;
  color: rgb(136 16 201 / 22%);
  font-size: 180px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.home-products,
.home-news {
  padding: 48px 0;
  background: #fff;
}

.home-products > .wrap,
.home-news > .wrap {
  width: calc(100% - 40px);
  max-width: var(--site-content-width, 1280px);
  margin: 0 auto;
}

.home-news__header {
  margin-bottom: 24px;
  text-align: center;
}
.home-categories .home-categories__heading,
.home-products .home-products__heading,
.home-news .home-news__heading,
.home-reviews .home-reviews__heading {
  margin: 0 0 10px;
  color: var(--site-primary);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.home-page .home-section-heading__ornament {
  display: block;
  width: 160px;
  height: 32px;
  margin: 0 auto 16px;
  object-fit: cover;
  object-position: center bottom;
}
.home-news .home-news__description {
  margin: 0;
  color: var(--site-body);
  font-size: var(--home-description-size);
  font-weight: 400;
  line-height: 1.65;
}

.home-news__slider:not(.slick-initialized) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-news__slider.slick-initialized {
  margin: 0 -12px;
}
.home-news__slider .slick-track {
  display: flex;
  margin-left: 0;
}
.home-news__slider .slick-slide {
  height: auto;
  margin: 0 12px;
}
/* News card: bordered like product cards, full-bleed image, title → divider → date → excerpt. */
.home-news__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgb(0 0 0 / 4%);
  border-radius: 0;
  background: #fff;
  transition: box-shadow 200ms ease;
}
.home-news__card:hover {
  box-shadow: 0 10px 24px rgb(29 57 107 / 10%);
}
.home-news__slider .slick-slide > div,
.home-news__slider .slick-slide .home-news__card {
  height: 100%;
}
.home-news__image-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  background: var(--site-surface);
}
.home-news__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 200ms ease;
}
.home-news__card:hover .home-news__image {
  transform: scale(1.03);
}
.home-news__image--empty {
  background: linear-gradient(135deg, #e8eef7, var(--site-border));
}
.home-news__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}
.home-news .home-news__title {
  min-height: calc(2em * 1.45 + 10px);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--site-border);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}
/* Clamp on the link, not the padded heading, so a 3rd line can't leak into the padding. */
.home-news .home-news__title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: var(--site-title);
  font-size: inherit;
  font-weight: inherit;
}
.home-news .home-news__title a:hover {
  color: var(--site-accent);
}
.home-news .home-news__date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--home-muted-color);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.home-news .home-news__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: var(--site-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.home-news .slick-dots,
.home-reviews .slick-dots {
  position: static;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.home-news .slick-dots li,
.home-reviews .slick-dots li {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
}
.home-news .slick-dots li button,
.home-reviews .slick-dots li button {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid #bdbdbd;
  border-radius: 50%;
  background: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}
.home-news .slick-dots li button::before,
.home-reviews .slick-dots li button::before {
  content: none;
}
.home-news .slick-dots li.slick-active button,
.home-reviews .slick-dots li.slick-active button {
  border-color: var(--site-button);
  background: var(--site-button);
}
.home-news a:focus-visible,
.home-news button:focus-visible,
.home-products a:focus-visible,
.home-products button:focus-visible {
  outline: 2px solid var(--site-primary);
  outline-offset: 3px;
}
.home-news__footer {
  margin-top: 20px;
  text-align: center;
}
.home-news .home-news__button,
.home-products .home-products__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 28px;
  border-radius: 0;
  color: #fff;
  background: var(--site-button);
  font-size: var(--home-description-size);
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}
.home-news .home-news__button:is(:hover, :focus-visible, :active),
.home-products .home-products__button:is(:hover, :focus-visible, :active) {
  background: var(--site-button-hover);
}
.home-news__button-icon,
.home-products__button-icon {
  font-size: 0.85em;
}

.home-products__header {
  margin-bottom: 24px;
  text-align: center;
}
/* Homepage: title on the left, "view all" button on the right. */
.home-page .home-products__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  text-align: left;
}
.home-page .home-products .home-products__heading {
  margin: 0;
  text-align: left;
}
.home-page .home-products__tabs {
  justify-content: flex-start;
}
.home-products__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.home-products .home-products__tab {
  min-height: 36px;
  padding: 5px 22px;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgb(0 0 0 / 4%);
  border-radius: 0;
  color: var(--site-title);
  background: #fff;
  font-family: inherit;
  font-size: var(--home-description-size);
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.home-products .home-products__tab.is-active,
.home-products .home-products__tab:hover {
  border-color: var(--site-primary);
  color: var(--site-primary);
}
.home-products__panel[hidden] {
  display: none;
}
.home-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.home-products__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgb(0 0 0 / 4%);
  border-radius: 0;
  background: #fff;
}
.home-products .home-products__image-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  padding: 12px 12px 0;
  background: #fff;
}
.home-products__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px 16px;
}
.home-products .home-products__price {
  display: flex;
  align-items: center;
  margin: auto 0 0;
  color: var(--site-primary);
  font-size: var(--site-body-size, 16.5px);
  font-weight: 600;
  line-height: 1.5;
}
.home-products .home-products__price del {
  margin-right: 6px;
  color: #9aa3b0;
  font-weight: 400;
}
.home-products .home-products__price ins {
  text-decoration: none;
}
.home-products .home-products__contact {
  color: #d9262c;
}
.home-products .home-products__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}
.home-products .home-products__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 3em;
  margin: 0;
  font-size: var(--site-body-size, 16px);
  font-weight: 600;
  line-height: 1.5;
}
.home-products .home-products__title a {
  color: var(--site-title);
  font-size: inherit;
  font-weight: inherit;
}
.home-products .home-products__title a:hover {
  color: var(--site-primary);
}

.home-reviews {
  padding: 56px 0 64px;
  background: #fff;
}
.home-reviews > .wrap {
  width: calc(100% - 40px);
  max-width: var(--site-content-width, 1280px);
  margin: 0 auto;
}
.home-reviews__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.home-reviews__layout--no-image {
  grid-template-columns: minmax(0, 1fr);
}
.home-reviews__visual {
  min-width: 0;
  margin: 0;
}
.home-reviews__image-frame {
  height: 560px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
}
.home-reviews__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 60%;
}
.home-reviews__image-frame--animation {
  position: relative;
}
.home-reviews__image-frame--animation .home-reviews__image {
  object-fit: contain;
  object-position: center;
}
.home-reviews__animation {
  position: absolute;
  inset: 0;
  visibility: hidden;
}
.home-reviews__animation svg {
  display: block;
  width: 100%;
  height: 100%;
}
.home-reviews__image-frame--animation.is-ready .home-reviews__image {
  visibility: hidden;
}
.home-reviews__image-frame--animation.is-ready .home-reviews__animation {
  visibility: visible;
}
.home-reviews__content {
  min-width: 0;
}
.home-reviews .home-reviews__intro {
  margin: 0 0 24px;
  color: var(--site-body);
  font-size: var(--home-description-size);
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
}
.home-reviews__slider:not(.slick-initialized) .home-reviews__slide:not(:first-child) {
  display: none;
}
.home-reviews__slider.slick-initialized {
  margin-inline: -10px;
}
.home-reviews__slider .slick-slide {
  margin-inline: 10px;
}
.home-reviews__bubble {
  position: relative;
  padding: 22px 24px 24px;
  border-radius: 0;
  background: #f5f5f5;
}
.home-reviews__bubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 19px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid #f5f5f5;
}
.home-reviews .home-reviews__quote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--site-body);
  font-size: var(--site-body-size, 16px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
}
.home-reviews__quote::before {
  content: "“";
  display: block;
  height: 42px;
  color: var(--site-primary);
  font-family: Georgia, serif;
  font-size: 72px;
  font-style: normal;
  line-height: 1;
}
.home-reviews .home-reviews__quote p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
}
.home-reviews__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.home-reviews__avatar {
  display: block;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}
.home-reviews .home-reviews__name {
  margin: 0 0 4px;
  color: var(--site-body);
  font-size: var(--site-body-size, 16px);
  font-weight: 600;
  line-height: 1.5;
}
.home-reviews .home-reviews__detail {
  margin: 0;
  color: var(--home-muted-color);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.home-reviews button:focus-visible {
  outline: 2px solid var(--site-primary);
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .home-stats {
    padding: 64px 0;
  }
  .home-stats > .wrap {
    width: calc(100% - 32px);
  }
  .home-stats .home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
  .home-stats .home-stats__item + .home-stats__item {
    border-left: 0;
  }
  .home-stats .home-stats__item:nth-child(even) {
    border-left: 1px solid var(--site-border);
  }
  .home-categories > .wrap,
  .home-commitment > .wrap {
    width: calc(100% - 32px);
  }
  .home-commitment {
    padding-top: 56px;
  }
  .home-commitment .home-commitment__quote {
    padding-right: 120px;
  }
  .home-commitment .home-commitment__mark {
    font-size: 120px;
  }
  .home-categories .home-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .home-products > .wrap,
  .home-news > .wrap,
  .home-reviews > .wrap {
    width: calc(100% - 32px);
  }
  .home-news__slider:not(.slick-initialized) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-reviews__layout {
    gap: 32px;
  }
  .home-reviews .home-reviews__quote {
    font-size: var(--site-body-size, 16px);
  }
  .home-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .home-page {
    --home-description-size: 15px;
  }
  .home-categories .home-categories__grid {
    gap: 16px;
  }
  .home-categories .home-categories__link {
    min-height: 200px;
    padding: 20px 12px 20px 24px;
  }
  .home-categories__media {
    height: 150px;
  }
  .home-products__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 6px 2px;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .home-products__tabs::-webkit-scrollbar {
    display: none;
  }
  .home-products .home-products__tab {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .home-news .home-news__excerpt,
  .home-reviews .home-reviews__quote,
  .home-reviews .home-reviews__name,
  .home-reviews .home-reviews__detail,
  .home-products .home-products__title {
    font-size: 15px;
  }
  .home-hero .home-hero__arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .home-hero .home-hero__arrow--prev {
    left: 10px;
  }
  .home-hero .home-hero__arrow--next {
    right: 10px;
  }
  .home-hero .slick-dots {
    bottom: 10px;
  }
  .home-reviews {
    padding: 32px 0 40px;
  }
  .home-reviews__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .home-reviews__visual {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  .home-reviews__image-frame {
    height: auto;
  }
  .home-reviews__image {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .home-reviews__image-frame--animation {
    aspect-ratio: 4 / 3;
  }
  .home-reviews__image-frame--animation .home-reviews__image {
    height: 100%;
    aspect-ratio: auto;
  }
  .home-reviews__bubble {
    padding: 20px;
  }
}
@media (max-width: 479px) {
  .home-categories .home-categories__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 599px) {
  .home-categories {
    padding: 32px 0;
  }
  .home-categories .home-categories__heading {
    font-size: 24px;
  }
  .home-categories__name {
    font-size: 15px;
  }
  .home-products,
  .home-news {
    padding: 32px 0;
  }
  .home-products .home-products__heading,
  .home-news .home-news__heading,
  .home-reviews .home-reviews__heading {
    font-size: 24px;
  }
  .home-news__slider:not(.slick-initialized) {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-products__tabs {
    gap: 8px;
    margin-bottom: 24px;
  }
  .home-products .home-products__tab {
    padding-inline: 14px;
    font-size: 15px;
  }
  .home-products__grid {
    gap: 20px 14px;
  }
  .home-products .home-products__title {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-news__image {
    transition: none;
  }
}

/* Product tabs with more than 4 products become a swipeable slider. */
.home-products__slider {
  --slide-cols: 4;
  --slide-gap: 24px;
  position: relative;
}
.home-products__slider.is-slider .home-products__grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--slide-cols) - 1) * var(--slide-gap)) / var(--slide-cols));
  gap: var(--slide-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.home-products__slider.is-slider .home-products__grid::-webkit-scrollbar {
  display: none;
}
.home-products__slider.is-slider .home-products__card {
  scroll-snap-align: start;
}
.home-products .home-products__arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--site-button);
  box-shadow: 0 2px 8px rgb(0 0 0 / 22%);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease;
}
.home-products .home-products__arrow:is(:hover, :focus-visible, :active):not(:disabled) {
  background: var(--site-button-hover);
}
.home-products .home-products__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}
.home-products .home-products__arrow--prev {
  left: -14px;
}
.home-products .home-products__arrow--next {
  right: -14px;
}
@media (max-width: 1023px) {
  .home-products__slider {
    --slide-cols: 2;
    --slide-gap: 16px;
  }
  .home-products .home-products__arrow--prev {
    left: -6px;
  }
  .home-products .home-products__arrow--next {
    right: -6px;
  }
}

/* Phones swipe the product slider; no arrow buttons. */
@media (max-width: 767px) {
  .home-products .home-products__arrow {
    display: none;
  }
}

/* Certificates: blue band, white title left, slide arrows right, 6 images per slide. */
.home-certs {
  padding: 72px 0;
  background: var(--site-primary);
}
.home-certs > .wrap {
  width: calc(100% - 40px);
  max-width: var(--site-content-width, 1280px);
  margin: 0 auto;
}
.home-certs .home-certs__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.home-certs .home-certs__heading {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
.home-certs .home-certs__arrows {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.home-certs .home-certs__arrows:empty {
  display: none;
}
.home-certs .home-certs__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--site-button);
  border-radius: 50%;
  color: #fff;
  background: var(--site-button);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.home-certs .home-certs__arrow:is(:hover, :focus-visible, :active) {
  border-color: #fff;
  color: #fff;
  background: var(--site-button-hover);
}
.home-certs .home-certs__page {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.home-certs .home-certs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  aspect-ratio: 3 / 4;
}
.home-certs .home-certs__item img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}
.home-certs .slick-dots {
  position: static;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.home-certs .slick-dots li {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
}
.home-certs .slick-dots li button {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}
.home-certs .slick-dots li button::before {
  content: none;
}
.home-certs .slick-dots li.slick-active button {
  border-color: #fff;
  background: var(--site-button);
}
@media (max-width: 1023px) {
  .home-certs .home-certs__page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-certs .home-certs__item {
    aspect-ratio: 1 / 1;
  }
}
@media (max-width: 767px) {
  .home-certs {
    padding: 48px 0;
  }
  .home-certs > .wrap {
    width: calc(100% - 32px);
  }
  .home-certs .home-certs__heading {
    font-size: 22px;
  }
  .home-certs .home-certs__page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
.home-certs .home-certs__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.home-lightbox-open {
  overflow: hidden;
}
.home-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgb(0 0 0 / 85%);
  cursor: zoom-out;
}
.home-lightbox .home-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  background: #fff;
  cursor: default;
}
.home-lightbox .home-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--site-button);
  border-radius: 50%;
  color: #fff;
  background: var(--site-button);
  font-size: 16px;
  cursor: pointer;
}
.home-lightbox .home-lightbox__close:is(:hover, :focus-visible, :active) {
  border-color: #fff;
  background: var(--site-button-hover);
}
