/* Client feedback 2026-09-18. Extends the existing Bricks/Figma system. */

/* Full-width first-section photo carousel: one slide visible, cover crop, no copy. */
.arse .arse-home-fairs .arse-grid-4 { flex-wrap: wrap; }
.arse .arse-logo-wall--batimatec {
  width: calc(215.2 * var(--u));
  height: calc(58 * var(--u));
  filter: grayscale(1);
  transition: filter .3s ease;
}
.arse .arse-logo-wall--batimatec:hover,
.arse .arse-logo-wall--batimatec:focus-within { filter: grayscale(0); }
.arse .arse-logo-wall--batimatec img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.arse .arse-home-carousel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background: #191919;
}
.arse .arse-hero-carousel,
.arse .arse-hero-carousel .splide__track,
.arse .arse-hero-carousel .splide__list,
.arse .arse-hero-carousel .splide__slide,
.arse .arse-hero-carousel__img {
  height: clamp(280px, 52vw, 760px);
}
.arse .arse-hero-carousel .splide__slide {
  margin: 0;
  padding: 0;
  background: #191919;
}
.arse .arse-hero-carousel__img,
.arse .arse-hero-carousel__img figure,
.arse .arse-hero-carousel__img img {
  width: 100%;
  height: 100%;
}
.arse .arse-hero-carousel__img img {
  object-fit: cover;
  max-width: none;
}
.arse .arse-hero-carousel__img--ambiente img { object-position: 28% 40%; }
.arse .arse-hero-carousel__img--armario img { object-position: 62% 42%; }
.arse .arse-hero-carousel__img--hotel img { object-position: 70% 48%; }
.arse .arse-hero-carousel__img--sanitario img { object-position: 48% 46%; }
.arse .arse-hero-carousel .splide__pagination {
  bottom: 22px;
  justify-content: center;
}
.arse .arse-hero-carousel .splide__pagination__page {
  background: rgb(255 255 255 / .45);
}
.arse .arse-hero-carousel .splide__pagination__page.is-active {
  background: #fff;
}
.arse .arse-hero-carousel .splide__arrow {
  color: #fff;
  border-color: rgb(255 255 255 / .7);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
}
.arse .arse-hero-carousel .splide__arrow--prev { left: 16px; right: auto; }
.arse .arse-hero-carousel .splide__arrow--next { right: 16px; left: auto; }
.arse .arse-hero-carousel .splide__arrow:hover {
  background: #fff;
  color: #191919;
}
@media (prefers-reduced-motion: reduce) {
  .arse .arse-hero-carousel .splide__slide {
    transition: none;
  }
}

/* Home team line is a single sentence now. */
.arse .arse-about-team .arse-title {
  white-space: normal;
  max-width: 36ch;
}
.arse .arse-about-team .arse-hidden,
.arse .arse-hidden {
  display: none !important;
}

/* ISO 14001 sits beside the existing PEFC mark. */
.arse .arse-quality-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: calc(25 * var(--u));
  width: 100%;
}
.arse .arse-quality-logos .arse-quality-logo {
  margin-top: 0;
}
.arse .arse-quality-logo--iso14001 {
  width: calc(276 * var(--u));
  height: auto;
  max-width: 100%;
}
.arse .arse-quality-logo--iso14001 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Client-confirmed full testimonials, 15px, common height of the longest quote. */
.arse .arse-home-quotes blockquote.arse-quote-item {
  min-height: 0;
}
.arse .arse-home-quotes blockquote .arse-quote-excerpt,
.arse .arse-home-quotes blockquote .arse-body--medium {
  font-size: 15px;
  line-height: 1.55;
}
.arse .arse-quote-excerpt {
  display: block;
  -webkit-line-clamp: unset;
  max-height: none;
  overflow: visible;
  white-space: pre-line;
}
.arse .arse-home-quotes blockquote .arse-title {
  font-size: 18px;
  line-height: 1.3;
}
.arse .arse-home-quotes blockquote .arse-body--18 {
  font-size: 16px;
  line-height: 1.35;
}
.arse .arse-quote-more {
  display: none;
}
.arse .arse-testimonial-slider .splide__slide {
  overflow: visible;
  align-items: flex-start;
}
.arse .arse-home-quotes > .arse-glass-panel {
  height: auto;
}
.arse .arse-product__gallery img.image { object-fit: contain; }
/* Readable baseline before/without the native slider enhancement. */
.arse .arse-hero-carousel:not(.is-initialized),
.arse .arse-testimonial-slider:not(.is-initialized) { visibility: visible; }
.arse .arse-hero-carousel:not(.is-initialized) .splide__slide:not(:first-child) { display: none; }
.arse .arse-hero-carousel:not(.is-initialized) .arse-hero-carousel__slide {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
}
.arse .arse-hero-carousel:not(.is-initialized) .arse-hero-carousel__slide:not(:first-child) { display: none; }
.arse .arse-testimonial-slider:not(.is-initialized) .splide__list { display: block; }
.arse .arse-testimonial-slider .splide__track { touch-action: pan-y; }

/* Footer certification marks + employee / whistleblowing access. */
.arse .arse-footer__marks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: calc(200 * var(--u));
  max-width: 100%;
}
.arse .arse-footer__marks .arse-footer__junta {
  width: 100%;
  height: auto;
}
.arse .arse-footer__iso14001 {
  width: 100%;
  max-width: calc(185 * var(--u));
  background: var(--ivory);
  padding: calc(12 * var(--u)) calc(14 * var(--u));
  border-radius: calc(8 * var(--u));
}
.arse .arse-footer__iso14001 img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.arse .arse-footer__whistle {
  margin-top: 8px;
  width: 100%;
}
.arse .arse-footer__whistle-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(248 246 246 / .6);
  font: inherit;
  font-size: calc(20 * var(--u));
  line-height: calc(29 * var(--u));
  font-weight: 400;
  cursor: pointer;
  min-height: 44px;
  text-align: left;
  width: auto;
  max-width: 100%;
  white-space: normal;
}
.arse .arse-footer__whistle-toggle:hover,
.arse .arse-footer__whistle-toggle:focus-visible {
  color: var(--ivory);
}
.arse .arse-footer__whistle-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}
.arse .arse-footer__whistle.is-open .arse-footer__whistle-toggle::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.arse .arse-footer__whistle-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding-left: 2px;
}
.arse .arse-footer__whistle-list[hidden] {
  display: none;
}
.arse .arse-footer__whistle-list .arse-footer__nav {
  font-size: calc(16 * var(--u));
  line-height: 1.45;
}

@media (max-width: 1279px) {
  .arse .arse-hero-carousel,
  .arse .arse-hero-carousel .splide__track,
  .arse .arse-hero-carousel .splide__list,
  .arse .arse-hero-carousel .splide__slide,
  .arse .arse-hero-carousel__img {
    height: clamp(260px, 68vw, 520px);
  }
  .arse .arse-about-team .arse-title { max-width: none; }
  .arse .arse-footer__marks { width: 180px; }
}

@media (max-width: 767px) {
  .arse .arse-hero-carousel,
  .arse .arse-hero-carousel .splide__track,
  .arse .arse-hero-carousel .splide__list,
  .arse .arse-hero-carousel .splide__slide,
  .arse .arse-hero-carousel__img {
    height: clamp(240px, 78vw, 420px);
  }
  .arse .arse-hero-carousel__img--ambiente img { object-position: 18% 38%; }
  .arse .arse-hero-carousel__img--armario img { object-position: 70% 38%; }
  .arse .arse-hero-carousel__img--hotel img { object-position: 82% 50%; }
  .arse .arse-hero-carousel__img--sanitario img { object-position: 50% 42%; }
  .arse .arse-hero-carousel .splide__arrow { width: 40px; height: 40px; }
  .arse .arse-footer__marks { width: 180px; }
}
