/* Başarılarımız — scoped editorial gallery; no automatic transitions */
/* Keep contact/navigation available while browsing a multi-row gallery; modal still suppresses them. */
body.testimonials-in-view:not(.lb-open) #buttonContainer,
body.testimonials-in-view:not(.lb-open) .back-to-top.active {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#testimonials {
  padding: 104px 0 92px;
  background: radial-gradient(ellipse at 88% 5%, rgba(232,77,79,.22), transparent 34%),
              radial-gradient(ellipse at 0% 86%, rgba(255,184,159,.12), transparent 42%),
              linear-gradient(138deg,#511218 0%,#932326 54%,#64161c 100%);
  box-shadow: none;
  color: #fff;
}
#testimonials::before, #testimonials::after { display: none; }
#testimonials .success-gallery { position: relative; z-index: 1; max-width: 1220px; }
#testimonials .success-gallery__heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 46px; }
#testimonials .success-gallery__heading-copy { max-width: 740px; }
#testimonials .success-gallery__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #ffded2; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
#testimonials .success-gallery__eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #f18b79; box-shadow: 0 0 0 5px rgba(255,168,147,.19); }
#testimonials .success-gallery__heading h2 { margin: 20px 0 17px; color: #fff; font-size: clamp(36px,5.2vw,68px); line-height: 1.06; letter-spacing: -.048em; font-weight: 800; }
#testimonials .success-gallery__heading h2 em { font-style: normal; color: #ffbea9; }
#testimonials .success-gallery__heading p { margin: 0; max-width: 640px; color: #ffe5dd; font-size: 16px; line-height: 1.8; }
#testimonials .success-gallery__monument { position: relative; flex: 0 0 210px; width: 210px; height: 210px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,215,200,.33); border-radius: 30px; background: radial-gradient(circle at 45% 36%,rgba(245,133,109,.22),transparent 69%),rgba(255,255,255,.07); box-shadow: 0 20px 52px rgba(27,4,7,.2), inset 0 0 35px rgba(255,255,255,.035); }
#testimonials .success-gallery__monument-orbit { position: absolute; inset: 10px; border: 1px solid rgba(255,224,209,.19); border-radius: 50%; }
#testimonials .success-gallery__monument img { position: relative; display: block; width: auto; max-width: 91%; height: 94%; object-fit: contain; filter: drop-shadow(0 9px 13px rgba(37,5,8,.2)); }
#testimonials .success-gallery__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding: 12px 15px; border: 1px solid rgba(255,215,200,.25); border-radius: 18px; background: rgba(255,255,255,.075); }
#testimonials .success-gallery__filters { display: flex; flex-wrap: wrap; gap: 6px; }
#testimonials .success-gallery__filter { display: inline-flex; align-items: center; gap: 11px; min-height: 42px; padding: 8px 15px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #ffe2d7; cursor: pointer; font-size: 13px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
#testimonials .success-gallery__filter:hover { background: rgba(255,255,255,.12); color: #fff; }
#testimonials .success-gallery__filter.is-active { background: #fff; color: #73191c; box-shadow: 0 6px 18px rgba(38,4,8,.14); }
#testimonials .success-gallery__hint { color: #ffe5dd; font-size: 12px; }
#testimonials .success-gallery__hint i { margin-right: 6px; color: #ffc9b6; }
#testimonials .success-gallery__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
#testimonials .success-gallery__card[hidden] { display: none !important; }
#testimonials .success-gallery__card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #f1dad7; border-radius: 22px; background: #fff; color: #4d2025; box-shadow: 0 18px 48px rgba(38,4,8,.15); }
#testimonials .success-gallery__card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,44%) minmax(0,1fr); min-height: 460px; border-radius: 26px; }
#testimonials .success-gallery__visual { position: relative; min-width: 0; min-height: 0; aspect-ratio: 1.26 / 1; background: #57191c; }
#testimonials .success-gallery__card--featured .success-gallery__visual { height: 100%; aspect-ratio: auto; }
#testimonials .success-gallery__media { position: absolute; inset: 0; display: block; overflow: hidden; background: #56181d; color: #fff; }
#testimonials .success-gallery__media img, #testimonials .success-gallery__visual-fallback { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .45s ease; }
#testimonials .success-gallery__media:hover img { transform: scale(1.045); }
#testimonials .success-gallery__visual-fallback { background: radial-gradient(circle at 45% 40%,#a83233,#4e1319 78%); }
#testimonials .success-gallery__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(49,9,14,.56),transparent 37%,rgba(49,9,14,.09) 56%,rgba(49,9,14,.78)); }
#testimonials .success-gallery__media-tag { position: absolute; z-index: 1; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: rgba(90,20,26,.84); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .1em; backdrop-filter: blur(8px); }
#testimonials .success-gallery__media-tag i { color: #ffc4ae; font-size: 15px; }
#testimonials .success-gallery__media-action { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.94); color: #8e2226; font-size: 27px; transform: translate(-50%,-50%); box-shadow: 0 8px 30px rgba(51,7,11,.34); transition: transform .2s, background .2s; }
#testimonials .success-gallery__card--featured .success-gallery__media-action { width: 78px; height: 78px; font-size: 33px; }
#testimonials .success-gallery__media:hover .success-gallery__media-action { transform: translate(-50%,-50%) scale(1.09); background: #ffe2d1; }
#testimonials .success-gallery__media-caption { position: absolute; z-index: 1; bottom: 17px; left: 19px; right: 19px; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 750; }
#testimonials .success-gallery__media-caption i { font-size: 18px; }
#testimonials .success-gallery__media--empty { display: grid; place-items: center; font-size: 44px; }
#testimonials .success-gallery__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 25px 25px 22px; }
#testimonials .success-gallery__card--featured .success-gallery__content { padding: clamp(34px,5vw,70px); justify-content: center; }
#testimonials .success-gallery__story-label { display: inline-flex; align-items: center; gap: 8px; color: #aa3031; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
#testimonials .success-gallery__story-label span { display: block; width: 18px; height: 2px; background: #e84d4f; }
#testimonials .success-gallery__quote-icon { height: 41px; margin-top: 12px; color: #d8484b; font-family: Georgia,serif; font-size: 72px; line-height: 1; }
#testimonials .success-gallery__quote { margin: 8px 0 25px; width: auto; color: #604244; font-size: 14px; line-height: 1.7; font-style: normal; overflow-wrap: anywhere; }
#testimonials .success-gallery__card--featured .success-gallery__quote { color: #532b30; font-size: clamp(18px,2.1vw,23px); line-height: 1.65; }
#testimonials .success-gallery__person { display: flex; align-items: center; gap: 11px; width: 100%; margin-top: auto; padding-top: 19px; border-top: 1px solid #f1e1df; }
#testimonials .success-gallery__avatar { display: grid; flex: 0 0 37px; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: #fff0e9; color: #ad3535; font-size: 17px; }
#testimonials .success-gallery__identity { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
#testimonials .success-gallery__identity strong { color: #4d2025; font-size: 14px; font-weight: 800; line-height: 1.35; }
#testimonials .success-gallery__identity small { color: #80696b; font-size: 12px; line-height: 1.3; }
#testimonials .success-gallery__footer { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 30px; }
#testimonials .success-gallery__status { margin: 0; color: #ffe4dc; font-size: 13px; text-align: center; }
#testimonials .success-gallery__more { min-height: 48px; padding: 10px 23px; border: 1px solid rgba(255,209,194,.7); border-radius: 10px; background: rgba(255,219,206,.11); color: #fff; cursor: pointer; font-size: 14px; font-weight: 750; transition: background .2s, transform .2s; }
#testimonials .success-gallery__more:hover { background: rgba(255,219,206,.23); transform: translateY(-2px); }
#testimonials .success-gallery__more i { margin-left: 10px; color: #ffcfbb; }
#testimonials .success-gallery__more[hidden] { display: none; }
#testimonials .success-gallery__empty { padding: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; color: #fff; }
#testimonials :is(.success-gallery__filter,.success-gallery__more,.success-gallery__media):focus-visible { outline: 3px solid #ffcf9e; outline-offset: 3px; }
@media (max-width: 991px) {
  #testimonials .success-gallery__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #testimonials .success-gallery__card--featured { grid-template-columns: 45% 55%; min-height: 420px; }
  #testimonials .success-gallery__card--featured .success-gallery__content { padding: 32px; }
  #testimonials .success-gallery__monument { flex-basis: 170px; width: 170px; height: 170px; }
}
@media (max-width: 767px) {
  #testimonials { padding: 69px 0 66px; }
  #testimonials .success-gallery__heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
  #testimonials .success-gallery__heading h2 { margin-top: 17px; font-size: clamp(35px,8vw,49px); }
  #testimonials .success-gallery__heading p { font-size: 14px; line-height: 1.7; }
  #testimonials .success-gallery__monument { flex: none; align-self: flex-end; width: 112px; height: 112px; margin-top: -3px; border-radius: 20px; }
  #testimonials .success-gallery__toolbar { margin-bottom: 18px; padding: 8px; }
  #testimonials .success-gallery__filters { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
  #testimonials .success-gallery__filter { min-width: 0; justify-content: center; flex-wrap: wrap; gap: 5px; padding: 9px 4px; font-size: 11px; white-space: nowrap; }
  #testimonials .success-gallery__hint { padding: 0 6px 5px; font-size: 11px; }
  #testimonials .success-gallery__grid { grid-template-columns: 1fr; gap: 16px; }
  #testimonials .success-gallery__card--featured { display: flex; min-height: 0; border-radius: 22px; }
  #testimonials .success-gallery__card--featured .success-gallery__visual { height: auto; aspect-ratio: 1.25 / 1; }
  #testimonials .success-gallery__card--featured .success-gallery__content { padding: 26px 24px; }
  #testimonials .success-gallery__card--featured .success-gallery__quote { font-size: 17px; }
  #testimonials .success-gallery__visual { aspect-ratio: 1.45 / 1; }
  #testimonials .success-gallery__card:not(.success-gallery__card--featured) .success-gallery__visual { aspect-ratio: 1.8 / 1; }
  #testimonials .success-gallery__card:not(.success-gallery__card--featured) .success-gallery__content { padding: 22px 23px 21px; }
  #testimonials .success-gallery__card:not(.success-gallery__card--featured) .success-gallery__quote-icon { margin-top: 7px; height: 29px; font-size: 50px; }
  #testimonials .success-gallery__card:not(.success-gallery__card--featured) .success-gallery__quote { margin: 6px 0 18px; font-size: 14px; line-height: 1.7; }
  #testimonials .success-gallery__card:not(.success-gallery__card--featured) .success-gallery__person { padding-top: 14px; }
  #testimonials .success-gallery__identity strong { font-size: 14px; }
  #testimonials .success-gallery__identity small { font-size: 12px; }
}
@media (max-width: 359px) {
  #testimonials .success-gallery__filter { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #testimonials .success-gallery__media img, #testimonials .success-gallery__media-action, #testimonials .success-gallery__more { transition: none; }
}
