/* ═══ RİTÜEL ═══ */
.ritual { padding: clamp(90px, 12vh, 150px) clamp(20px, 4vw, 48px) 40px; }

.ritual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  max-width: 1120px;
  margin: clamp(48px, 7vh, 90px) auto 0;
  align-items: start;
}

.steps { list-style: none; padding-top: clamp(0px, 8vh, 90px); }
.step { margin: 0 0 clamp(24px, 34vh, 400px); }
.step:last-child { margin-bottom: clamp(24px, 12vh, 140px); }

.step-btn {
  display: flex; gap: 20px; text-align: left;
  width: 100%;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font); color: inherit;
  padding: 22px 24px;
  border-radius: var(--radius-kart);
  transition: background .4s, box-shadow .4s;
}
.step.is-active .step-btn {
  background: #fff;
  box-shadow: var(--golge-yuzen);
}
.step-no {
  font-family: var(--mono);
  font-size: 13px; font-weight: 600;
  color: var(--soluk-metin);
  padding-top: 5px;
}
.step.is-active .step-no { color: #2E7A3C; }
.step-body { font-size: 15.5px; color: var(--kisik); line-height: 1.62; }
.step-body strong {
  display: block;
  font-size: 21px; font-weight: 700; letter-spacing: -.015em;
  color: var(--kisik);
  margin-bottom: 8px;
  transition: color .4s;
}
.step.is-active .step-body strong { color: var(--ink); }

/* telefon */
.phone-wrap {
  position: sticky;
  top: clamp(70px, 10vh, 120px);
  display: flex; justify-content: center;
}

.phone {
  --pw: 340px;
  position: relative;
  width: var(--pw);
  height: calc(var(--pw) * 2.05);
  border-radius: 48px;
  background: #0d1722;
  padding: 9px;
  box-shadow: 0 40px 90px rgba(28,49,69,.4), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 30px; border-radius: 999px;
  background: #0d1722; z-index: 6;
}

.p-screen {
  position: absolute; inset: 9px;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(178deg, #DCEBF0 0%, #EDF4F6 34%, #EDF4F6 70%, #F2ECD6 100%);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  visibility: hidden;
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), visibility 0s .55s;
  pointer-events: none;
}
.phone[data-state="0"] .p-screen--ask,
.phone[data-state="1"] .p-screen--seal,
.phone[data-state="2"] .p-screen--reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), visibility 0s;
  pointer-events: auto;
}

.p-headfade {
  position: absolute; top: 0; left: 0; right: 0; height: 46%;
  background: linear-gradient(180deg, #4A7291 0%, #8FB9CC 45%, #C5E2E6 80%, rgba(237,244,246,0) 100%);
}

.p-content { position: relative; padding: 62px 18px 0; }

.p-toprow { display: flex; align-items: center; justify-content: space-between; }
.p-logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -.01em;
}
.p-logo img { width: 20px; height: 20px; }
.p-avatar {
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.p-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px; padding: 6px 11px;
  font-size: 11.5px; font-weight: 600; color: #fff;
  white-space: nowrap;
}

.p-date {
  text-align: center;
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  color: rgba(255,255,255,.92);
  margin-top: 18px;
}
.p-hello {
  text-align: center;
  font-size: 26px; font-weight: 600; letter-spacing: -.02em;
  color: #fff;
  margin-top: 4px;
}
.p-chips { display: flex; justify-content: center; gap: 7px; margin-top: 13px; }

.p-card {
  background: #fff;
  border-radius: 24px;
  padding: 19px;
  margin-top: 17px;
  box-shadow: 0 18px 44px rgba(46,74,99,.14);
}
.p-card--tight { padding: 16px 17px; }
.p-q {
  font-size: 19px; font-weight: 600; line-height: 1.36; letter-spacing: -.015em;
  margin-top: 12px;
}
.p-input {
  min-height: 86px;
  border-radius: 16px;
  background: var(--ekran);
  padding: 12px 14px;
  font-size: 13px; color: var(--soluk-metin); line-height: 1.55;
  margin-top: 13px;
}
.p-send {
  position: relative;
  width: 100%; height: 50px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  margin-top: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease-out);
}
.p-send:active { transform: scale(.97); }
.p-send--chat { margin-top: 13px; box-shadow: 0 14px 30px rgba(46,74,99,.2); }

.p-qhead {
  font-size: 10.5px; font-weight: 500; letter-spacing: .12em;
  color: rgba(255,255,255,.95);
  margin-top: 18px;
}
.p-qhead--center {
  text-align: center; font-weight: 600; color: var(--buz-acik);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.p-qlight {
  font-size: 17px; font-weight: 600; color: #fff; line-height: 1.4;
  letter-spacing: -.01em;
  margin-top: 7px;
}

.p-cardrow { display: flex; align-items: center; gap: 8px; }
.p-label { font-size: 12px; font-weight: 600; color: var(--kisik); }
.p-label--ink { color: var(--arduvaz); }
.p-sent { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #2E7A3C; }
.p-answer { font-size: 13.5px; line-height: 1.58; margin-top: 9px; }
.p-answer--light { color: #F0F7F8; }

.p-sealed {
  position: relative;
  background: linear-gradient(135deg, var(--buz), var(--buz-acik));
  border-radius: 24px;
  padding: 18px;
  margin-top: 11px;
  overflow: hidden;
}
.p-blurlines { display: flex; flex-direction: column; gap: 8px; margin-top: 13px; filter: blur(6px); opacity: .6; }
.p-blurlines i { height: 10px; border-radius: 6px; background: #9FC3D4; }
.p-blurlines i:nth-child(1) { width: 92%; }
.p-blurlines i:nth-child(2) { width: 74%; }
.p-blurlines i:nth-child(3) { width: 55%; }
.p-sealbadge {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding-top: 12px;
}
.p-medal {
  width: 46px; height: 46px; border-radius: 999px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(53,86,111,.28);
  animation: sealPop .6s var(--ease-out) both;
}
.p-medal img { width: 22px; height: 22px; }
@keyframes sealPop {
  from { transform: scale(.4) rotate(-12deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}
.p-sealpill {
  font-size: 11px; font-weight: 600; color: var(--arduvaz);
  background: rgba(255,255,255,.85);
  border-radius: 999px; padding: 5px 12px;
  text-align: center; max-width: 90%;
}
.p-waiting {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--kisik);
  margin-top: 18px;
}

.p-card--partner {
  background: linear-gradient(150deg, #31506E, #5B7F9E);
  color: #fff;
  box-shadow: 0 14px 34px rgba(53,86,111,.3);
  padding: 16px 17px;
  margin-top: 10px;
}
.p-mini {
  width: 24px; height: 24px; border-radius: 999px;
  font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.p-mini--d { background: var(--ekran); color: var(--ink); }
.p-mini--e { background: var(--buz); color: var(--arduvaz); }
.p-cardrow--who { font-size: 12.5px; }
.p-time { font-size: 11px; font-weight: 500; color: var(--soluk-metin); }
.p-time--light { color: rgba(255,255,255,.95); }

.p-reactions { display: flex; gap: 5px; margin-top: 10px; }
.p-reactions span {
  background: var(--ekran); border-radius: 999px;
  padding: 4px 9px; font-size: 11.5px;
}
.p-reactions span.on { background: var(--buz-zemin); font-weight: 600; color: var(--arduvaz); }
.p-reactions--dark span { background: rgba(255,255,255,.16); }
.p-reactions--dark span.on { background: #fff; color: var(--arduvaz); }

.p-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.p-confetti img {
  position: absolute; top: -30px;
  opacity: 0;
  will-change: transform, opacity;
}
@keyframes confettiFall {
  0%   { transform: translate(0, 0) rotate(0); opacity: 0; }
  6%   { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translate(var(--drift, 0px), 740px) rotate(var(--spin, 220deg)); opacity: 0; }
}

@media (max-width: 900px) {
  .ritual-grid { grid-template-columns: 1fr; }
  .phone-wrap { position: static; order: -1; }
  .phone { --pw: 300px; margin-bottom: 24px; }
  .step { margin-bottom: 14px; }
  .step-btn { padding: 18px; }
}
