/* =========================================================
   KLUB - Testimonials (Figma 1217:2904)
   ========================================================= */

.klub-testimonials {
  background: #ede9e4;
  padding: 99px 0 60px;
}

.klub-testimonials .container > .row > .col-12 {
  display: flex;
  flex-direction: column;
  gap: 59px;
}

/* Head */
.klub-testimonials__head {
  max-width: 1130px;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.klub-testimonials__subtitle {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 11.2px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #272f0f;
  margin: 0;
}

.klub-testimonials__title {
  font-family: "trajan-pro-3", serif;
  font-weight: 400;
  font-size: clamp(22px, 1.66vw, 32px);
  line-height: 1.177;
  letter-spacing: -1.92px;
  text-transform: uppercase;
  color: #272f0f;
  margin: 0;
}

.klub-testimonials__desc {
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.14px;
  color: #2f3624;
  opacity: 0.8;
  margin: 0;
}

/* Grid */
.klub-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

/* Card */
.klub-quote {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: 26px;
  min-height: 578px;
  display: flex;
  flex-direction: column;
  background: #f6f4ef;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.klub-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(25, 29, 35, 0.04) 1px,
    transparent 0
  );
  background-size: 8px 8px;
  pointer-events: none;
  opacity: 0.6;
}

.klub-quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(25, 29, 35, 0.08);
}

.klub-quote > * {
  position: relative;
  z-index: 1;
}

/* Quote mark */
.klub-quote__mark {
  display: block;
  margin-bottom: 18px;
  height: 43px;
  width: 66px;
}

.klub-quote__mark svg {
  width: 100%;
  height: 100%;
}

/* Body */
.klub-quote__body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.klub-quote__heading {
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.177;
  letter-spacing: -1.44px;
  text-transform: uppercase;
  color: #191d23;
  margin: 0;
}

.klub-quote__text {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #000;
  opacity: 0.38;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.klub-quote__text p {
  margin: 0 0 8px 0;
}

.klub-quote__text p:last-child {
  margin-bottom: 0;
}

/* Footer */
.klub-quote__foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.klub-quote__author {
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 29.04px;
  color: #2f3624;
  text-transform: capitalize;
  flex: 1;
}

.klub-quote__source {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.klub-quote__source svg {
  width: 100%;
  height: 100%;
}

.klub-quote__rating {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -1.28px;
  color: #000;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1399px) {
  .klub-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .klub-quote {
    min-height: 0;
  }
}

@media (max-width: 991px) {
  .klub-testimonials {
    padding: 80px 0 50px;
  }
  .klub-testimonials .container > .row > .col-12 {
    gap: 40px;
  }
}

@media (max-width: 575px) {
  .klub-testimonials {
    padding: 60px 0 40px;
  }
  .klub-testimonials__grid {
    grid-template-columns: 1fr;
  }
  .klub-quote {
    padding: 22px;
  }
  .klub-quote__heading {
    line-height: 1.3;
    font-size: 20px;
    letter-spacing: -1.2px;
  }
}
