/* Process — RedDent "Working Process" content, as sticky stacking cards:
   every step is a full card (number + 36px title, 40px-rounded photo, text, bullets,
   booking pill). Cards stick under the header and the next one slides over; the
   covered card scales down and dims slightly (assets/js/process.js). */
.process { padding: 120px var(--gutter) 40px; }
.process__head {
  max-width: var(--wrap);
  margin: 0 auto 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.process__intro {
  margin: 0;
  max-width: 478px;
  font-size: 20px;
  line-height: 34px;
  letter-spacing: -0.3px;
  color: rgba(11, 41, 93, .75);
}

.process__stack {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.pcard {
  position: sticky;
  top: calc(96px + var(--i) * 22px);
  min-height: min(560px, calc(100vh - 160px));
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 40px;
  border-radius: 40px;
  background: var(--navy);
  color: #fff;
  transform-origin: 50% 0;
  box-shadow: 0 -20px 50px -30px rgba(var(--shadow-tint), .5);
  will-change: transform;
}
.pcard:nth-child(2) { background: #0E3570; }
.pcard:nth-child(3) { background: #EFE3C2; color: var(--navy); }
.pcard:nth-child(4) { background: var(--navy-deep); }
.pcard__media {
  flex: 0 0 auto;
  width: min(620px, 50%);
  align-self: stretch;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__copy { flex: 1; max-width: 540px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.pcard__head { display: flex; align-items: center; gap: 20px; }
.pcard__num {
  width: 60px;
  height: 60px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 16px;
  opacity: .85;
}
.pcard__title { margin: 0; font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -1.5px; }
.pcard__text { margin: 0; font-size: 18px; line-height: 30.6px; letter-spacing: -0.3px; opacity: .78; }
.pcard__bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 27.2px; }
.pcard__bullets li { display: flex; align-items: center; gap: 10px; }
.pcard__bullets li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.pcard__step { position: absolute; top: 28px; right: 36px; font-size: 13px; letter-spacing: .1em; opacity: .55; }

@media (max-width: 1199.98px) {
  .pcard { gap: 36px; padding: 28px; }
}
@media (max-width: 809.98px) {
  .process { padding-top: 80px; }
  .process__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .process__intro { font-size: 17px; line-height: 28px; }
  .pcard { flex-direction: column; align-items: stretch; top: calc(80px + var(--i) * 14px); padding: 18px 18px 26px; gap: 22px; border-radius: 28px; min-height: 0; }
  .pcard__media { width: 100%; min-height: 0; aspect-ratio: 16 / 10; border-radius: 20px; }
  .pcard__num { width: 44px; height: 44px; }
  .pcard__text { font-size: 16px; line-height: 26px; }
  .pcard__step { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard { position: relative; top: auto; transform: none !important; }
}
