/* =========================================================
   PARTNERS SECTION — LOGO PLATES
========================================================= */

.partners52 {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: clamp(88px, 11vh, 132px) 0;
  position: relative;
}

.partners52__inner {
  position: relative;
  overflow: hidden;
}

.partners52__bg52 {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0.34;
}

.partners52__bg52 span {
  display: block;
  font-size: clamp(12rem, 24vw, 24rem);
  line-height: 0.78;
  letter-spacing: -0.12em;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 36, 96, 0.09);
  transform: translateX(3%);
}

.partners52__accent {
  position: absolute;
  left: -3%;
  bottom: 12%;
  width: min(230px, 18vw);
  opacity: 0.025;
  transform: rotate(10deg);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.partners52__topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(19, 19, 19, 0.08);
}

.partners52__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(19, 19, 19, 0.52);
}

.partners52__mini-cta {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #131313;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(19, 19, 19, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
}

.partners52__hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 5vw, 82px);
  padding-top: clamp(34px, 5vh, 58px);
  align-items: end;
}

.partners52__label {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(19, 19, 19, 0.58);
}

.partners52__title {
  margin: 0;
  max-width: 12ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.1rem, 5.4vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 600;
  color: #131313;
}

.partners52__text {
  margin: 24px 0 0;
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.82;
  color: rgba(19, 19, 19, 0.58);
}

.partners52__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.partners52__filter {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(19, 19, 19, 0.07);
  color: rgba(19, 19, 19, 0.76);
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.partners52__filter:hover {
  transform: translateY(-1px);
}

.partners52__filter.is-active {
  background: #131313;
  color: #ffffff;
}

.partners52__featured {
  position: relative;
  padding: 26px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(19, 19, 19, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.partners52__featured-top {
  margin-bottom: 22px;
}

.partners52__featured-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(19, 19, 19, 0.50);
}

.partners52__featured-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d92963;
  flex: 0 0 auto;
}

.partners52__featured-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.partners52__featured-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.partners52__featured-logo--atelier img {
  height: 58px;
  width: auto;
}

.partners52__featured-logo--ont img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.partners52__featured-divider {
  width: 34px;
  height: 1px;
  background: rgba(19, 19, 19, 0.14);
}

.partners52__featured-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #131313;
}

.partners52__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: clamp(32px, 4vh, 48px);
}

.partners52__card {
  min-height: 238px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.12) 100%);
  border: 1px solid rgba(19, 19, 19, 0.07);
  transition:
    transform 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    opacity 240ms ease;
}

.partners52__card:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.18) 100%);
  box-shadow: 0 18px 38px rgba(19, 19, 19, 0.06);
}

.partners52__card.is-hidden {
  display: none;
}

.partners52__card-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(19, 19, 19, 0.52);
  background: rgba(255, 255, 255, 0.42);
}

.partners52__mark {
  width: 100%;
  height: 104px;
  margin-bottom: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.26) 100%);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    0 10px 26px rgba(19, 19, 19, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px) saturate(118%);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
}

.partners52__mark img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none;
}

.partners52__card-title {
  margin: auto 0 0;
  font-size: 1.04rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #131313;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
  .partners52__hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .partners52__title {
    max-width: 13ch;
  }

  .partners52__text {
    max-width: 42ch;
  }

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

@media (max-width: 768px) {
  .partners52 {
    padding: 64px 0;
  }

  .partners52__topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .partners52__title {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
    max-width: none;
  }

  .partners52__text {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.74;
  }

  .partners52__filters {
    gap: 8px;
  }

  .partners52__filter {
    flex: 1 1 auto;
  }

  .partners52__featured {
    padding: 18px;
  }

  .partners52__featured-title {
    font-size: 1.42rem;
  }

  .partners52__featured-logos {
    gap: 12px;
  }

  .partners52__featured-logo--atelier img {
    height: 46px;
  }

  .partners52__featured-logo--ont img {
    width: 34px;
    height: 34px;
  }

  .partners52__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .partners52__card {
    min-height: 214px;
  }

  .partners52__mark {
    height: 96px;
    padding: 14px;
  }

  .partners52__mark img {
    max-height: 52px;
  }

  .partners52__accent {
    width: 120px;
    left: 0;
    bottom: 8%;
  }

  .partners52__bg52 span {
    font-size: 9rem;
  }
}