.payment-hero {
  overflow: hidden;
  padding: 56px 0 72px;
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
}
.payment-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .8fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}
.payment-hero__copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: .98;
  letter-spacing: -.06em;
}
.payment-hero__copy > p:not(.payment-hero__note) {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.payment-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.payment-hero__note { display: flex; max-width: 680px; align-items: flex-start; gap: 10px; margin: 26px 0 0; color: #516170; font-size: 14px; }
.payment-hero__note svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 1px; color: var(--blue); }
.payment-visual {
  position: relative;
  min-height: 440px;
  border-radius: 40px;
  background: var(--blue);
  box-shadow: 0 30px 80px rgba(23, 105, 255, .22);
}
.payment-visual::before, .payment-visual::after { position: absolute; content: ""; border-radius: 50%; background: rgba(255,255,255,.1); }
.payment-visual::before { width: 260px; height: 260px; top: -80px; right: -60px; }
.payment-visual::after { width: 170px; height: 170px; bottom: -55px; left: -45px; }
.payment-visual__invoice {
  position: absolute;
  z-index: 1;
  inset: 68px 48px 76px;
  padding: 32px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(4, 39, 99, .22);
  transform: rotate(-3deg);
}
.payment-visual__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; color: #263544; font-weight: 800; font-size: 20px; }
.payment-visual__top svg { width: 42px; height: 42px; padding: 11px; border-radius: 50%; color: #fff; background: #26b46e; }
.payment-visual__line { width: 72%; height: 10px; margin: 16px 0; border-radius: 10px; background: #e9eef3; }
.payment-visual__line--wide { width: 100%; }
.payment-visual__line--short { width: 48%; }
.payment-visual__total { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 23px; border-top: 1px solid var(--line); font-weight: 700; }
.payment-visual__total strong { color: #26a767; font-size: 24px; }
.payment-visual__badge { position: absolute; z-index: 2; right: -22px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid rgba(17,24,32,.08); border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; line-height: 1.3; }
.payment-visual__badge svg { width: 30px; height: 30px; color: var(--blue); }

.payment-summary { border-bottom: 1px solid var(--line); background: #fff; }
.payment-summary__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.payment-summary article { display: flex; gap: 18px; padding: 28px 32px; border-left: 1px solid var(--line); }
.payment-summary article:last-child { border-right: 1px solid var(--line); }
.payment-summary article > span { color: var(--blue); font-size: 13px; font-weight: 800; }
.payment-summary strong { display: block; margin-bottom: 5px; font-size: 16px; }
.payment-summary p { margin: 0; color: var(--muted); font-size: 14px; }

.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.payment-method-card { min-height: 450px; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.payment-method-card--accent { border-color: transparent; background: var(--blue-soft); }
.payment-method-card__icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 38px; border-radius: 17px; color: var(--blue); background: #fff; box-shadow: 0 9px 25px rgba(17,24,32,.07); }
.payment-method-card__icon svg { width: 25px; height: 25px; }
.payment-method-card__type { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.payment-method-card h3 { margin: 10px 0 14px; font-size: 28px; line-height: 1.1; letter-spacing: -.035em; }
.payment-method-card > p { min-height: 96px; margin: 0; color: var(--muted); }
.payment-method-card ul { display: grid; gap: 10px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(123,142,159,.2); list-style: none; }
.payment-method-card li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; }
.payment-method-card li svg { width: 18px; height: 18px; color: #25a867; }
.payment-methods__note { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; padding: 17px 20px; border-radius: 16px; color: #516170; background: var(--page); font-size: 14px; }
.payment-methods__note svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--blue); }

.payment-order { display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1fr); align-items: start; gap: clamp(48px, 8vw, 110px); }
.payment-order__copy h2 { max-width: 580px; margin: 0; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
.payment-order__copy > p { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.payment-order__callout { display: flex; gap: 15px; margin-top: 34px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(17,24,32,.06); }
.payment-order__callout svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--blue); }
.payment-order__callout strong, .payment-order__callout span { display: block; }
.payment-order__callout span { margin-top: 4px; color: var(--muted); font-size: 14px; }
.payment-order__steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: payment-order; }
.payment-order__steps li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 0 0 30px; }
.payment-order__steps li:not(:last-child)::after { position: absolute; width: 1px; top: 46px; bottom: 0; left: 22px; content: ""; background: #cfd9e3; }
.payment-order__steps li > span { display: grid; z-index: 1; width: 46px; height: 46px; place-items: center; border-radius: 15px; color: #fff; background: var(--blue); font-weight: 800; }
.payment-order__steps strong { display: block; padding-top: 3px; font-size: 19px; }
.payment-order__steps p { margin: 5px 0 0; color: var(--muted); }

.payment-process { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; list-style: none; }
.payment-process li { position: relative; min-height: 290px; padding: 30px; background: #fff; }
.payment-process li + li { border-left: 1px solid var(--line); }
.payment-process li > span { position: absolute; top: 22px; right: 24px; color: #a7b2bd; font-size: 13px; font-weight: 800; }
.payment-process li > svg { width: 34px; height: 34px; margin: 42px 0 40px; color: var(--blue); }
.payment-process h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.15; }
.payment-process p { margin: 0; color: var(--muted); font-size: 14px; }

.payment-documents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.payment-documents article { display: flex; gap: 17px; min-height: 190px; padding: 27px; border-radius: 24px; background: #fff; box-shadow: 0 12px 35px rgba(17,24,32,.05); }
.payment-documents article > svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--blue); }
.payment-documents h3 { margin: 2px 0 10px; font-size: 20px; }
.payment-documents p { margin: 0; color: var(--muted); }

.payment-faq { display: grid; grid-template-columns: minmax(280px, .62fr) 1fr; align-items: start; gap: clamp(50px, 8vw, 120px); }
.payment-faq__heading { position: sticky; top: calc(var(--header-height) + 30px); }
.payment-faq__heading h2 { max-width: 430px; margin: 0; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
.payment-faq__list { border-top: 1px solid var(--line); }
.payment-faq details { border-bottom: 1px solid var(--line); }
.payment-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.payment-faq summary::-webkit-details-marker { display: none; }
.payment-faq summary svg { width: 21px; height: 21px; flex: 0 0 auto; color: var(--blue); transition: transform .2s ease; }
.payment-faq details[open] summary svg { transform: rotate(45deg); }
.payment-faq details p { max-width: 760px; margin: -7px 46px 24px 0; color: var(--muted); }

.payment-contact { padding-top: 0; }
.payment-contact__box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; padding: clamp(38px, 5vw, 66px); border-radius: 34px; color: #fff; background: var(--blue); box-shadow: 0 24px 68px rgba(23,105,255,.2); }
.payment-contact .eyebrow { color: #fff; }
.payment-contact .eyebrow::before { background: #fff; }
.payment-contact h2 { max-width: 730px; margin: 0; font-size: clamp(36px, 4.3vw, 56px); line-height: 1.02; letter-spacing: -.05em; }
.payment-contact p { max-width: 660px; margin: 18px 0 0; color: rgba(255,255,255,.8); font-size: 17px; }
.payment-contact__actions { display: grid; gap: 10px; min-width: 265px; }
.payment-contact__button { border-color: rgba(255,255,255,.42); color: #fff; background: transparent; }
.payment-contact__button:hover { background: rgba(255,255,255,.1); }
.payment-contact__actions > span { color: rgba(255,255,255,.72); font-size: 12px; text-align: center; }

@media (max-width: 1120px) {
  .payment-hero__grid { grid-template-columns: 1fr 400px; gap: 40px; }
  .payment-visual { min-height: 390px; }
  .payment-method-card { padding: 25px; }
  .payment-order { grid-template-columns: 1fr 1fr; gap: 55px; }
  .payment-process li { padding: 24px; }
}

@media (max-width: 900px) {
  .payment-hero__grid, .payment-order, .payment-faq { grid-template-columns: 1fr; }
  .payment-hero__copy { max-width: 780px; }
  .payment-visual { width: min(100%, 620px); }
  .payment-summary__grid { grid-template-columns: 1fr; }
  .payment-summary article { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .payment-summary article:last-child { border-bottom: 0; }
  .payment-methods, .payment-documents { grid-template-columns: 1fr; }
  .payment-method-card { min-height: 0; }
  .payment-method-card > p { min-height: 0; }
  .payment-process { grid-template-columns: repeat(2, 1fr); }
  .payment-process li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .payment-process li:nth-child(4) { border-top: 1px solid var(--line); }
  .payment-faq__heading { position: static; }
  .payment-contact__box { grid-template-columns: 1fr; }
  .payment-contact__actions { width: min(100%, 360px); }
}

@media (max-width: 620px) {
  .payment-hero { padding: 38px 0 52px; }
  .payment-hero__copy h1 { font-size: clamp(42px, 14vw, 60px); }
  .payment-hero__actions, .payment-hero__actions .btn { width: 100%; }
  .payment-visual { min-height: 330px; border-radius: 28px; }
  .payment-visual__invoice { inset: 45px 22px 56px; padding: 24px; }
  .payment-visual__top { margin-bottom: 28px; font-size: 17px; }
  .payment-visual__total { margin-top: 28px; }
  .payment-visual__badge { right: 12px; bottom: 14px; }
  .payment-summary article { padding: 23px 20px; }
  .payment-method-card { padding: 24px; border-radius: 22px; }
  .payment-order__copy > p { font-size: 16px; }
  .payment-process { grid-template-columns: 1fr; }
  .payment-process li { min-height: 230px; }
  .payment-process li + li { border-top: 1px solid var(--line); border-left: 0; }
  .payment-documents article { min-height: 0; padding: 23px; }
  .payment-faq summary { font-size: 16px; }
  .payment-contact__box { padding: 32px 24px; border-radius: 26px; }
}
