/* =========================================================
   RITMA — Müşteri Yorumları sayfası
   Ortak: assets/css/style.css

   Ayrışma noktası: kanıt burada SÖZ. Sağdaki görsel üst üste yığılmış
   alıntı kartları — "çok söz var" duygusunu tek kart veremiyor.
   ========================================================= */

/* =================== HERO =================== */
.my-hero {
  position: relative;
  background: var(--bg-soft);
  min-height: 760px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center
}

/* kolon boşluğu --content-w kırılımlarını takip eder (style.css: 1120/1240/1440) */
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 84px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px
}

@media (min-width:1440px) {
  .hero-grid {
    gap: 96px
  }
}

@media (min-width:1680px) {
  .hero-grid {
    gap: 108px
  }
}

.hv-blob {
  position: absolute;
  top: -84px;
  right: -96px;
  width: 520px;
  height: 520px;
  border-radius: 52% 48% 56% 44% / 44% 52% 48% 56%;
  background: radial-gradient(circle closest-side at 50% 48%, rgba(244, 71, 11, .20), rgba(244, 71, 11, .07) 52%, rgba(255, 183, 128, .03) 74%, transparent 100%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0
}

.hero-copy {
  max-width: 620px;
  min-width: 0
}

.my-hero .eyebrow {
  display: block;
  margin-bottom: 20px
}

.my-hero h1 {
  margin-top: 0;
  /* <br> yerine: kolon genişliği kırılımlara göre değiştiği için
     sabit kırma noktası her ölçüde doğru yere düşmüyordu */
  text-wrap: balance;
  font-size: clamp(46px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink)
}

.my-hero h1 .accent {
  color: var(--orange)
}

.my-hero .lede {
  margin: 26px 0 0;
  text-wrap: pretty;
  max-width: 48ch;
  font-size: 18px;
  line-height: 1.66;
  color: var(--gray)
}

.my-hero .lede b {
  color: var(--ink);
  font-weight: 750
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap
}

.hero-fine {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  color: var(--gray-light)
}

.hero-fine svg {
  width: 19px;
  height: 19px;
  color: var(--deep);
  flex-shrink: 0
}

.hero-visual {
  position: relative;
  min-width: 0;
  z-index: 1
}

/* --- alıntı destesi --- */
/* Pencere üç kart yüksekliğinde; deste yukarı doğru akıyor.
   Üst ve alt kenarda maske var — kartlar kesilerek değil, solarak
   giriyor ve çıkıyor. */
.qs {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%)
}

/* JS gelmeden de üç kart görünsün, beşi birden değil */
.qs:not(.is-live) .qs-card:nth-child(n+4) {
  display: none
}

.qs-track {
  display: grid;
  gap: 16px;
  align-content: start;
  will-change: transform;
  transition: transform .85s cubic-bezier(.33, 1, .5, 1)
}

.qs-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-sm);
  padding: 22px 24px;
  display: grid;
  grid-template-rows: 1fr auto;
  /* derinlik ölçekle veriliyor, kenar boşluğuyla değil: genişlik sabit
     kaldığı için metin sarması ve dolayısıyla kart yüksekliği oynamıyor */
  transform: scale(.94);
  opacity: .42;
  transition: transform .85s cubic-bezier(.33, 1, .5, 1), opacity .85s ease, box-shadow .85s ease
}

.qs-card>p {
  align-self: center
}

.qs-card.is-1 {
  transform: scale(.97);
  opacity: .72
}

.qs-card.is-0 {
  transform: none;
  opacity: 1;
  box-shadow: var(--sh-lg)
}

.qs-card p {
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--ink)
}

.qs-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border)
}

.qs-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-gray)
}

.qs-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block
}

.qs-foot>span:nth-child(2) {
  min-width: 0;
  flex: 1
}

.qs-foot b {
  display: block;
  font-size: 14px;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.2
}

.qs-foot em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-light)
}

.qs-logo {
  display: block;
  max-height: 26px;
  max-width: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0
}

@media (prefers-reduced-motion:reduce) {

  .qs-track,
  .qs-card {
    transition: none
  }
}

@media (max-width:1080px) {
  .my-hero {
    display: block;
    min-height: 0;
    padding: 52px 0
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0
  }

  .hero-copy {
    max-width: none
  }

  .hero-visual {
    max-width: 700px;
    margin: 0 auto;
    width: 100%
  }
}


/* =========================================================
   BÖLÜM KABUĞU
   Zemin: hero soft → 02 deep-soft → 03 deep → 04 soft
   ========================================================= */
.sec-head {
  max-width: 780px
}

.sec-head .eyebrow {
  display: block;
  margin-bottom: 16px
}

.my-rv {
}

.my-cta {
  background: var(--bg-soft)
}

/* =========================================================
   02 · YORUMLAR
   Sitenin oturmuş testimonial dili (diğer sayfalardaki .testi):
   turuncu tırnak → iri punto söz → ayırıcı → künye satırı, solda
   kişi sağda logo. Altı yoruma ölçeklendi, en fazla iki yan yana.

   Sayfaya özel tek ayar: portre 46 → 56px. Burada yorumu yazan kişi
   asıl konu, künyenin küçük parçası değil.
   ========================================================= */
.rv-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* yoğun metin: kartlar arası boşluk okumayı ayakta tutuyor */
  gap: 44px 40px
}

/* aynı satırdaki iki kart eşit yükseklikte (grid stretch); satırlar
   birbirinden bağımsız. Orta satır 1fr olduğu için künye her kartta
   alta yaslanıyor, metin kısa olsa da alt hizası bozulmuyor. */
.rv {
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 26px;
  background: var(--bg-soft);
  padding: 32px 34px
}

.rv-say {
  align-self: start
}

.rv-q {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--orange)
}

.rv-say {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
  font-weight: 400;
  color: var(--ink);
  text-wrap: pretty
}

.rv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap
}

.rv-person {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0
}

.rv-face {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-gray)
}

.rv-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%
}

.rv-person b {
  display: block;
  font-size: 15.5px;
  font-weight: 850;
  line-height: 1.2;
  color: var(--ink)
}

.rv-person>span>span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--gray)
}

.rv-logo img {
  display: block;
  max-height: 50px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain
}

/* =========================================================
   03 · ÖNE ÇIKAN — deep zemin
   Sayfanın nefes aldığı yer: tek yorum, tek yüz, büyük punto.
   ========================================================= */
.my-hi {
  background: var(--deep)
}

.hi {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 64px;
  align-items: center
}

.hi-face {
  position: relative
}

.hi-face>img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 26px
}

/* logo koyu zeminde kendi renginde kalsın diye beyaz künyenin içinde */
.hi-brand {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: grid;
  place-items: center;
  height: 66px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff
}

.hi-brand img {
  display: block;
  max-height: 40px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain
}

.hi-copy .eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--orange)
}

.hi-say {
  margin: 0;
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: balance
}

.hi-p {
  margin: 26px 0 0;
  max-width: 52ch;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.68;
  color: rgba(255, 255, 255, .66);
  text-wrap: pretty
}

.hi-by {
  margin-top: 30px
}

.hi-by b {
  display: block;
  font-size: 16px;
  font-weight: 850;
  color: #fff
}

.hi-by em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .56)
}

/* =========================================================
   04 · CTA
   ========================================================= */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  padding: 30px 34px
}

.cta-band b {
  max-width: 580px;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.008em;
  color: var(--ink)
}

.cta-band span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray)
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* =========================================================
   KIRILIMLAR
   ========================================================= */
@media (max-width:1080px) {
  .rv-grid {
    grid-template-columns: 1fr
  }

  .hi {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .hi-face {
    max-width: 380px
  }

  .hi-brand {
    left: auto;
    right: -14px
  }
}

@media (max-width:640px) {
  .rv {
    padding: 26px 22px
  }

  .rv-say {
    font-size: 16px
  }

  .cta-band {
    padding: 24px 22px
  }

  .cta-band b {
    font-size: 19px
  }

  .cta-actions .btn {
    flex: 1;
    justify-content: center
  }
}
