/* Editorial refinements: richer reviews and a visual service journey. */
.testimonials {
  padding-block: 66px;
  background: linear-gradient(120deg, #f8f3ee, #fcfaf7 65%, #f5f0ec);
  border-bottom: 1px solid #eee6df;
}
.testimonials .section-heading { align-items: center; margin-bottom: 30px; }
.testimonials .section-heading > div { max-width: 710px; }
.reviews-intro {
  flex: 0 1 310px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  border-left: 2px solid #e8ccc4;
  padding-left: 22px;
}
.testimonial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 25px;
  border-color: #e9e1da;
  border-radius: 16px;
  box-shadow: 0 5px 16px #2e241004;
}
.testimonial-top { display: flex; align-items: center; justify-content: space-between; }
.testimonial-index { color: #c2b5ab; font-size: 12px; letter-spacing: 2px; }
.testimonial blockquote { font-size: 17px; margin-top: 17px; }
.testimonial .person > span { width: 42px; height: 42px; border: 1px solid #f5e0db; }
.testimonial .person strong { font-size: 14px; }
.testimonial-featured { background: #252a31; color: #fff; border-color: #252a31; }
.testimonial-featured::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -24px;
  top: 26px;
  width: 200px;
  height: 250px;
  background: url('/assets/abanking-mark.png') center / contain no-repeat;
  opacity: .08;
}
.testimonial-featured .quote-mark { color: #ff9a9b; }
.testimonial-featured .testimonial-index { color: #9f9fa2; }
.testimonial-featured .person { border-color: #ffffff26; }
.testimonial-featured .person > span { color: #ffc3be; background: #ffffff0c; border-color: #ffffff26; }
.testimonial-featured .person small { color: #bdc1c7; }
.reviews-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 18px 23px;
  background: #ffffff85;
  border: 1px solid #e9ddd5;
  border-radius: 12px;
}
.reviews-invitation > span { display: flex; align-items: center; gap: 13px; font-size: 15px; }
.reviews-invitation > span > .line-icon { color: var(--red); width: 23px; height: 23px; }
.reviews-invitation .text-link { font-size: 14px; white-space: nowrap; }
.process-section { padding-block: 66px; }
.process-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 65px; align-items: center; }
.process-intro .section-heading { margin-bottom: 22px; max-width: none; }
.process-intro .section-description { max-width: 540px; line-height: 1.6; }
.process-assurances { display: flex; flex-wrap: wrap; gap: 10px; }
.process-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #faf6f2;
  border: 1px solid #eee5dd;
  color: #686a6d;
  font-size: 12px;
}
.process-assurances .line-icon { color: var(--red); width: 16px; height: 16px; }
.process-visual { margin: 0; position: relative; border-radius: 17px; overflow: hidden; border: 1px solid #ebe3db; }
.process-visual > img { width: 100%; height: 260px; object-fit: cover; object-position: center; }
.process-visual figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 19px;
  background: #faf6f1;
  border-top: 1px solid #ebe3db;
}
.process-visual-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; color: var(--red); background: #fff; border-radius: 10px; }
.process-visual figcaption small { display: block; font-size: 9px; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 4px; }
.process-visual figcaption strong { font-size: 19px; }
.process-visual figcaption a { display: grid; place-items: center; margin-left: auto; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid #e6d8cc; border-radius: 50%; color: var(--red); }
.process-visual figcaption a:hover { background: var(--red); color: #fff; }
.process-grid { gap: 17px; margin-top: 32px; }
.process-step {
  position: relative;
  min-width: 0;
  padding: 24px 19px 22px;
  border: 1px solid #e9e2db;
  border-top: 3px solid #e8d9cc;
  border-radius: 12px;
  background: #fcfaf7;
}
.process-step:first-child { background: #fff6f2; border-top-color: var(--red); }
.process-step > .process-emblem { width: 55px; height: 55px; border-radius: 13px; background: #fff; }
.process-emblem small { border-color: #fcfaf7; }
.process-step:first-child .process-emblem small { border-color: #fff6f2; }
.process-step:not(:last-child)::after {
  content: '→' / '';
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 1;
  right: -20px;
  top: 40px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 17px;
}
.process-step:nth-child(5n)::after { display: none; }
.process-step h3 { margin: 20px 0 10px; font-size: 20px; }
.process-step p { line-height: 1.6; font-size: 15px; }
.process-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--line); }
.process-next p { font-size: 15px; color: var(--muted); }
.process-next strong { color: var(--ink); }
.process-next .text-link { font-size: 14px; white-space: nowrap; }
@media (max-width: 1100px) {
  .process-intro { gap: 35px; }
  .process-visual > img { height: 245px; }
  .process-grid { gap: 12px; }
  .process-step { padding: 22px 14px; }
  .process-step:not(:last-child)::after { right: -18px; }
}
@media (max-width: 800px) {
  .testimonials, .process-section { padding-block: 54px; }
  .testimonials .section-heading { display: block; }
  .reviews-intro { margin-top: 20px; max-width: 540px; }
  .process-intro { grid-template-columns: 1fr; gap: 27px; }
  .process-visual > img { height: 270px; }
  .process-step:nth-child(5n)::after { display: grid; }
  .process-step:nth-child(3n)::after, .process-step:last-child::after { display: none; }
  .reviews-invitation { align-items: flex-start; }
  .reviews-invitation > span { align-items: flex-start; }
}
@media (max-width: 520px) {
  .testimonials, .process-section { padding-block: 42px; }
  .reviews-intro { font-size: 15px; padding-left: 16px; }
  .testimonial-grid { gap: 14px; }
  .testimonial { padding: 23px; }
  .testimonial blockquote { margin-bottom: 23px; }
  .reviews-invitation { display: block; padding: 17px; margin-top: 18px; }
  .reviews-invitation > span { font-size: 14px; }
  .reviews-invitation .text-link { margin-top: 13px; margin-left: 36px; white-space: normal; }
  .process-visual > img { height: 195px; }
  .process-visual figcaption { padding: 13px; gap: 10px; }
  .process-visual figcaption strong { font-size: 17px; }
  .process-visual figcaption small { font-size: 8px; letter-spacing: 1px; }
  .process-visual-icon { width: 36px; height: 36px; }
  .process-visual-icon > .line-icon { width: 22px; height: 22px; }
  .process-grid { gap: 15px; margin-top: 24px; }
  .process-step { grid-template-columns: 55px 1fr; gap: 7px 18px; padding: 21px 19px; }
  .process-step > .process-emblem { width: 51px; height: 51px; }
  .process-step h3 { margin: 2px 0 0; font-size: 20px; }
  .process-step p { grid-column: 2; font-size: 15px; }
  .process-step:not(:last-child)::after, .process-step:nth-child(3n)::after, .process-step:nth-child(5n)::after {
    display: grid;
    content: '↓' / '';
    left: 34px;
    right: auto;
    top: auto;
    bottom: -20px;
  }
  .process-step:last-child::after { display: none; }
  .process-next { display: block; margin-top: 22px; }
  .process-next p { margin-bottom: 13px; }
  .process-next .text-link { white-space: normal; }
}
