.pay-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); gap: 48px; align-items: center; }
.pay-hero h1 { max-width: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.gate { margin: 0; }
.gate-window { background: #fff; color: #15171b; border: 1px solid #e7e9ed; border-radius: 22px; box-shadow: 0 24px 60px rgba(20, 24, 31, .12); overflow: hidden; }
.gate-bar { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; background: #f4f5f7; border-bottom: 1px solid #e7e9ed; }
.gate-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe3; }
.gate-bar span:first-child { background: #ff5f57; }
.gate-bar span:nth-child(2) { background: #febc2e; }
.gate-bar span:nth-child(3) { background: #28c840; }
.gate-bar em { margin-left: 8px; font-style: normal; font-size: 12px; color: #5d6168; background: #fff; border-radius: 999px; padding: 4px 10px; }
.gate-sheet { padding: 22px 22px 18px; }
.gate-shop { margin: 0; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #c99a00; }
.gate-amount { margin: 8px 0 0; font-size: 36px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.gate-desc { margin: 4px 0 16px; color: #5d6168; }
.gate-field { border: 1px solid #e7e9ed; border-radius: 12px; padding: 8px 12px 10px; font-size: 12px; color: #9a9ea6; background: #fff; }
.gate-field b { display: block; margin-top: 2px; color: #15171b; font-size: 15px; font-weight: 650; }
.gate-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.gate-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.gate-wallets span { display: grid; place-items: center; height: 40px; border-radius: 10px; background: #111; color: #fff; font-weight: 700; font-size: 13px; }
.gate-pay { display: grid; place-items: center; height: 48px; border-radius: 12px; background: #ffdb4d; color: #1b1b1b; font-weight: 750; }
.gate-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: #9a9ea6; }
.gate figcaption { margin-top: 12px; text-align: center; color: var(--ink-2); font-size: 14px; }
.pay-calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 22px; background: linear-gradient(135deg, #fffbe6, #fff); border: 1px solid #f3e7b0; border-radius: 26px; padding: 28px; }
.pay-calc .calc-controls label { display: grid; gap: 8px; font-weight: 650; }
.pay-calc output { font-weight: 750; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 18px 0 0; }
.pay-methods li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.steps b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #1b1b1b; }
.calc-controls, .calc-result { display: grid; gap: 14px; }
.calc-result { grid-template-columns: 1fr 1fr; align-content: start; }
.calc-result > div, .calc-controls { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.calc-result strong { display: block; font-size: 28px; letter-spacing: -.03em; }
.pay-calc input[type="range"] { width: 100%; accent-color: #ffdb4d; }
.save { grid-column: 1 / -1; font-weight: 750; }
.lang-list { position: absolute; right: 0; margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 180px; box-shadow: var(--shadow); }
.lang-list a { padding: 6px; border-radius: 8px; color: var(--ink); font-weight: 700; font-size: 13px; text-align: center; }
.lang-list a:hover { background: var(--soft); text-decoration: none; }
.foot { padding: 28px 0 40px; }
.foot-bottom { color: var(--ink-2); font-size: 14px; }
.id-login { min-height: 70vh; display: grid; place-items: center; padding: 32px 16px; }
.id-card { width: min(440px, 100%); background: #fff; border: 1px solid #e7e9ed; border-radius: 18px; padding: 28px; box-shadow: 0 18px 50px rgba(20, 24, 31, .12); }
.id-card h1 { font-size: 28px; }
#id-qr { display: grid; place-items: center; min-height: 180px; }
@media (max-width: 960px) {
  .pay-hero, .pay-calc, .steps, .calc-result { grid-template-columns: 1fr; }
  .gate { max-width: 420px; }
}
