/* =========================================================
   contact.css - stylesheet for a group of related pages (loads after main.css)
   Built from: contact.css + payment.css
   ========================================================= */

/* #########################################################
   CONTACT - Contact us (/contact-us)
   ######################################################### */

/* =========================================================
   Nepal Trip Holiday – Contact Us page
   Uses the design tokens from main.css (--navy, --red, --yellow …)
   ========================================================= */

/* ---------- hero ---------- */
.ct-hero { position: relative; overflow: hidden; color: #fff; min-height: 380px; display: flex; align-items: center; }
.ct-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; transform: scale(1.04); }
.ct-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 24, 62, .86) 0%, rgba(5, 24, 62, .62) 40%, rgba(5, 24, 62, .2) 75%),
              linear-gradient(0deg, rgba(5, 24, 62, .45) 0%, transparent 45%);
}
.ct-hero-content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 110px; }
.ct-crumb { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.ct-crumb a:hover { color: var(--yellow); }
.ct-crumb i { font-size: 11px; opacity: .8; }
.ct-hero-title { font-size: 56px; font-weight: 700; line-height: 1.1; text-shadow: 0 3px 14px rgba(0, 0, 0, .35); }
.ct-script { font-family: var(--script); font-weight: 400; color: var(--yellow); font-size: 66px; display: inline-block; transform: rotate(-3deg); margin-left: 6px; }
.ct-hero-sub { font-size: 19px; line-height: 1.5; margin-top: 12px; max-width: 640px; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }

/* ---------- contact cards ---------- */
.ct-cards-wrap { position: relative; z-index: 3; margin-top: -80px; }
.ct-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ct-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 24px; background: #fff;
  border-radius: 16px; box-shadow: var(--shadow-md); transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden;
}
.ct-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.ct-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ct-card:hover::before { transform: scaleX(1); }
.ct-card h2 { font-size: 19px; color: var(--navy); margin: 10px 0 2px; }
.ct-card address, .ct-card p { font-style: normal; font-size: 15px; line-height: 1.55; color: var(--text); }
.ct-muted { color: var(--muted) !important; font-size: 13.5px !important; }
.ct-break { word-break: break-word; }
.ct-card-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; transition: transform .4s var(--ease); }
.ct-card:hover .ct-card-icon { transform: rotate(-8deg) scale(1.08); }
.ic-red { background: linear-gradient(135deg, #ff4b55, var(--red)); box-shadow: 0 10px 22px rgba(220, 20, 32, .3); }
.ic-blue { background: linear-gradient(135deg, #2d6fe0, var(--navy)); box-shadow: 0 10px 22px rgba(11, 42, 92, .3); }
.ic-green { background: linear-gradient(135deg, #2bd46b, #13a24a); box-shadow: 0 10px 22px rgba(19, 162, 74, .3); }
.ic-yellow { background: linear-gradient(135deg, #ffd21c, #f39c12); box-shadow: 0 10px 22px rgba(243, 156, 18, .3); color: var(--navy); }
.ct-card-link { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }
.ct-card-link i { transition: transform .3s var(--ease); }
.ct-card:hover .ct-card-link i { transform: translateX(5px); }

/* ---------- form + aside ---------- */
.ct-main { padding: 70px 0 60px; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.ct-form-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 36px; }
.ct-form-head { margin-bottom: 24px; }
.ct-kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: rgba(220, 20, 32, .08); padding: 6px 12px; border-radius: 30px; }
.ct-form-head h2 { font-size: 32px; color: var(--navy); margin: 12px 0 6px; line-height: 1.2; }
.ct-form-head p { color: var(--muted); font-size: 16px; }
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.ct-field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.ct-field label em { color: var(--red); font-style: normal; }
.ct-input { position: relative; }
.ct-input > i { position: absolute; left: 16px; top: 16px; color: #9aa3b7; font-size: 15px; pointer-events: none; transition: color .2s; }
.ct-input input, .ct-input select, .ct-input textarea {
  width: 100%; min-height: 50px; padding: 13px 16px 13px 44px; border: 1.5px solid #dfe4ee; border-radius: 12px; background: #f8fafd;
  font: inherit; font-size: 15px; color: var(--navy-dark); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.ct-input textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.ct-select select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #6b7486 50%), linear-gradient(135deg, #6b7486 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.ct-input input:focus, .ct-input select:focus, .ct-input textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(220, 20, 32, .1); }
.ct-input:focus-within > i { color: var(--red); }
.ct-field.has-error input, .ct-field.has-error textarea { border-color: var(--red); background: #fff7f7; }
.ct-error { font-size: 13px; color: var(--red); font-weight: 500; min-height: 0; }
.ct-error:empty { display: none; }
.ct-counter { position: absolute; right: 4px; top: 0; font-size: 12px; color: var(--muted); }

/* captcha */
.ct-captcha { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.ct-captcha img { width: 200px; height: 64px; border-radius: 12px; border: 1.5px solid #dfe4ee; background: #eef2f8; }
.ct-captcha-refresh { width: 54px; border-radius: 12px; border: 1.5px solid #dfe4ee; background: #fff; color: var(--navy); font-size: 18px; transition: color .2s, border-color .2s; }
.ct-captcha-refresh:hover { color: var(--red); border-color: var(--red); }
.ct-captcha-refresh.spin i { animation: ctSpin .6s ease; }
@keyframes ctSpin { to { transform: rotate(360deg); } }
.ct-captcha-input { flex: 1 1 180px; }
.ct-captcha-input input { min-height: 64px; letter-spacing: .35em; text-transform: uppercase; font-weight: 700; font-size: 18px; }
.ct-captcha-input > i { top: 24px; }

.ct-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.ct-submit { display: inline-flex; align-items: center; gap: 10px; }
.ct-submit:disabled { opacity: .7; cursor: progress; }
.ct-form.is-loading .ct-submit i { animation: ctFly 1s ease-in-out infinite; }
@keyframes ctFly { 50% { transform: translate(6px, -4px); } }
.ct-privacy { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.ct-alert { padding: 13px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 500; background: #fff1f1; color: #a3121b; border: 1px solid #f7c9cc; }
.ct-alert.is-ok { background: #edfbf2; color: #127a3b; border-color: #b9ecc9; }

/* success state */
.ct-success { text-align: center; padding: 30px 10px 10px; animation: ctPop .5s var(--ease); }
@keyframes ctPop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.ct-success-icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #fff; background: linear-gradient(135deg, #2bd46b, #13a24a); box-shadow: 0 14px 30px rgba(19, 162, 74, .35); }
.ct-success h3 { font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.ct-success p { font-size: 16px; max-width: 460px; margin: 0 auto; }
.ct-again { margin-top: 22px; font-weight: 700; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }

/* aside */
.ct-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 110px; }
.ct-aside-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 30px; }
.ct-aside-card h2 { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.ct-aside-card > p, .ct-body { color: var(--muted); }
.ct-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 22px; }
.ct-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.ct-list i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(220, 20, 32, .08); color: var(--red); }
.ct-list a:hover { color: var(--red); }
.ct-list span, .ct-list a { padding-top: 7px; word-break: break-word; }
.ct-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-quick-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 13px; border-radius: 40px; font-weight: 700; color: #fff; transition: transform .25s, box-shadow .25s; }
.ct-quick-btn:hover { transform: translateY(-2px); }
.ct-quick-call { background: var(--navy); box-shadow: 0 10px 20px rgba(11, 42, 92, .25); }
.ct-quick-wa { background: #16a34a; box-shadow: 0 10px 20px rgba(22, 163, 74, .25); }
.ct-trust { background: linear-gradient(145deg, var(--navy-deep), var(--navy)); color: #fff; }
.ct-trust h3 { font-size: 20px; margin-bottom: 14px; }
.ct-trust ul { display: flex; flex-direction: column; gap: 12px; }
.ct-trust li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.ct-trust li i { color: var(--yellow); width: 20px; text-align: center; }
.ct-social { display: flex; gap: 10px; margin-top: 22px; }
.ct-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: background .25s, transform .25s; }
.ct-social a:hover { background: var(--red); transform: translateY(-3px); }

/* map */
.ct-map-wrap { padding: 0 0 80px; }
.ct-map-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ct-map-head h2 { font-size: 30px; color: var(--navy); }
.ct-map-link { font-weight: 700; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }
.ct-map { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); background: #e8edf5; aspect-ratio: 21 / 8; min-height: 320px; }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .ct-hero { min-height: 300px; }
  .ct-hero-title { font-size: 38px; }
  .ct-script { font-size: 46px; }
  .ct-hero-sub { font-size: 16px; }
  .ct-cards { grid-template-columns: 1fr; gap: 16px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-form-card { padding: 24px 18px; }
  .ct-form-head h2 { font-size: 26px; }
  .ct-aside { grid-template-columns: 1fr; }
  .ct-captcha img { width: 100%; max-width: 240px; height: auto; aspect-ratio: 200 / 64; }
  .ct-map { aspect-ratio: 4 / 3; }
}

/* #########################################################
   PAYMENT - Pay online (/payment)
   ######################################################### */

/* =========================================================
   Nepal Trip Holiday – Pay Online page (/payment)
   Uses the design tokens from main.css (--navy, --red, --yellow …)
   ========================================================= */

/* elements with display rules below still hide with the hidden attribute */
.page-payment [hidden] { display: none !important; }

/* ---------- hero ---------- */
.pay-hero { position: relative; overflow: hidden; color: #fff; min-height: 400px; display: flex; align-items: center; }
.pay-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 55%; transform: scale(1.04); }
.pay-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 24, 62, .9) 0%, rgba(5, 24, 62, .66) 42%, rgba(5, 24, 62, .22) 78%),
              linear-gradient(0deg, rgba(5, 24, 62, .5) 0%, transparent 45%);
}
.pay-hero-content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 120px; }
.pay-crumb { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.pay-crumb a:hover { color: var(--yellow); }
.pay-crumb i { font-size: 11px; opacity: .8; }
.pay-hero-title { font-size: 56px; font-weight: 700; line-height: 1.1; text-shadow: 0 3px 14px rgba(0, 0, 0, .35); }
.pay-script { font-family: var(--script); font-weight: 400; color: var(--yellow); font-size: 66px; display: inline-block; transform: rotate(-3deg); margin-left: 6px; }
.pay-hero-sub { font-size: 19px; line-height: 1.5; margin-top: 12px; max-width: 620px; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.pay-hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pay-hero-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px);
}
.pay-hero-chips i { color: var(--yellow); }

/* ---------- how it works ---------- */
.pay-steps-wrap { position: relative; z-index: 3; margin-top: -64px; }
.pay-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 18px; box-shadow: var(--shadow-md); overflow: hidden; }
.pay-steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 22px 22px 24px; }
.pay-steps li + li { border-left: 1px solid #edf0f6; }
.pay-steps li > i {
  flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: var(--red);
  background: rgba(220, 20, 32, .08); transition: transform .35s var(--ease);
}
.pay-steps li:hover > i { transform: rotate(-8deg) scale(1.06); }
.pay-steps b { display: block; font-size: 16px; color: var(--navy); }
.pay-steps small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.pay-step-no { position: absolute; top: 10px; right: 14px; font-size: 28px; font-weight: 900; color: #eef1f7; line-height: 1; }

/* ---------- layout ---------- */
.pay-main { padding: 50px 0 40px; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.pay-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 32px; }
.pay-card-head { margin-bottom: 22px; }
.pay-kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: rgba(220, 20, 32, .08); padding: 6px 12px; border-radius: 30px; }
.pay-kicker-navy { color: var(--navy); background: rgba(11, 42, 92, .08); }
.pay-card-head h2 { font-size: 28px; color: var(--navy); margin: 12px 0 6px; line-height: 1.2; }
.pay-card-head p { color: var(--muted); font-size: 15.5px; }

/* ---------- tabs ---------- */
.pay-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px; background: #f1f4fa; border-radius: 16px; margin-bottom: 22px; }
.pay-tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 0; border-radius: 12px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s;
}
.pay-tab i { font-size: 20px; }
.pay-tab:hover { color: var(--navy); }
.pay-tab.is-active { background: #fff; color: var(--red); box-shadow: 0 6px 16px rgba(11, 42, 92, .1); }
.pay-tab:focus-visible { outline: 3px solid rgba(220, 20, 32, .35); outline-offset: 2px; }
.pay-panel { animation: payIn .35s var(--ease); }
@keyframes payIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- QR ---------- */
.pay-qr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.pay-qr-frame { position: relative; width: 272px; height: 272px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 16px 36px rgba(11, 42, 92, .14); overflow: hidden; }
.pay-qr-frame img, .pay-qr-frame canvas { width: 240px; height: 240px; display: block; object-fit: contain; }
.pay-qr-corner { position: absolute; width: 30px; height: 30px; border: 4px solid var(--red); }
.pay-qr-corner.tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.pay-qr-corner.tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.pay-qr-corner.bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.pay-qr-corner.br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.pay-qr-scan { position: absolute; left: 16px; right: 16px; height: 3px; top: 16px; background: linear-gradient(90deg, transparent, var(--red), transparent); box-shadow: 0 0 12px rgba(220, 20, 32, .6); animation: payScan 2.6s ease-in-out infinite; }
@keyframes payScan { 0%, 100% { top: 18px; } 50% { top: 250px; } }
.pay-qr-info h3 { font-size: 21px; color: var(--navy); margin-bottom: 6px; }
.pay-payee { font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.pay-payee i { color: #13a24a; margin-right: 4px; }
.pay-payee b { color: var(--navy); }
.pay-qr-amount { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.pay-qr-amount small { color: var(--muted); font-weight: 400; }
.pay-apps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pay-apps li { font-size: 12.5px; font-weight: 600; color: var(--navy); background: #f1f4fa; border-radius: 20px; padding: 5px 11px; }
.pay-qr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 30px; border: 1.5px solid #dfe4ee; background: #fff;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer; transition: border-color .2s, color .2s, transform .2s;
}
.pay-btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }

/* ---------- UPI ---------- */
.pay-upi { padding: 24px; border-radius: 16px; background: linear-gradient(135deg, var(--navy) 0%, #163f86 100%); color: #fff; margin-bottom: 20px; }
.pay-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.pay-upi-id { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 12px 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px dashed rgba(255, 255, 255, .35); }
.pay-upi-id b { font-size: 22px; letter-spacing: .02em; word-break: break-all; }
.pay-upi .pay-payee { color: #d4def2; margin: 12px 0 0; }
.pay-upi .pay-payee b { color: #fff; }
.pay-upi .pay-payee i { color: #2bd46b; }
.pay-upi-open { margin-top: 16px; }
.pay-copy {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 30px; background: var(--yellow);
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--navy); cursor: pointer; transition: transform .2s, background .2s;
}
.pay-copy:hover { transform: translateY(-1px); }
.pay-copy.is-copied { background: #2bd46b; color: #fff; }
.pay-copy-sm { padding: 6px 9px; background: #f1f4fa; color: var(--navy); font-size: 13px; }
.pay-copy-sm:hover { background: rgba(220, 20, 32, .1); color: var(--red); }
.pay-howto { counter-reset: step; list-style: none; display: grid; gap: 10px; }
.pay-howto li { counter-increment: step; position: relative; padding-left: 40px; font-size: 14.5px; line-height: 1.55; }
.pay-howto li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(220, 20, 32, .1); color: var(--red); font-size: 13px; font-weight: 800;
}
.pay-howto b { color: var(--navy); word-break: break-all; }

/* ---------- bank ---------- */
.pay-bank { border: 1.5px solid #e4e8f1; border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.pay-bank-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #f7f9fd; border-bottom: 1.5px solid #e4e8f1; }
.pay-bank-head b { display: block; font-size: 17px; color: var(--navy); }
.pay-bank-head small { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.pay-bank-icon { flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: #fff; background: linear-gradient(135deg, #2d6fe0, var(--navy)); }
.pay-icon-green { background: linear-gradient(135deg, #2bd46b, #13a24a); }
.pay-bank-list { margin: 0; }
.pay-bank-list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 20px; }
.pay-bank-list > div + div { border-top: 1px solid #eef1f7; }
.pay-bank-list dt { font-size: 13.5px; color: var(--muted); }
.pay-bank-list dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: 15.5px; font-weight: 700; color: var(--navy); word-break: break-all; }
.pay-tip { display: flex; gap: 10px; font-size: 14px; line-height: 1.55; padding: 12px 16px; border-radius: 12px; background: #fff8dc; color: #5b4a0e; }
.pay-tip i { color: #e0a800; margin-top: 3px; }

/* ---------- cash ---------- */
.pay-cash-card { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1.5px solid #e4e8f1; margin-bottom: 14px; }
.pay-cash-card b { display: block; font-size: 17px; color: var(--navy); }
.pay-cash-card address { font-style: normal; font-size: 14.5px; line-height: 1.55; margin: 2px 0 4px; }
.pay-cash-card small { font-size: 13px; color: var(--muted); }
.pay-cash-note { font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }

.pay-empty { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 14px; background: #f7f9fd; font-size: 15px; }
.pay-empty i { font-size: 26px; color: var(--muted); }
.pay-empty a { color: var(--red); font-weight: 700; }

.pay-safety { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border-radius: 14px; background: #f1f7f3; border: 1px solid #d5ecdd; }
.pay-safety i { font-size: 18px; color: #13a24a; margin-top: 2px; }
.pay-safety p { font-size: 13.5px; line-height: 1.55; color: #2f5a3d; }

/* ---------- form ---------- */
.pay-form-card { position: sticky; top: 100px; border-top: 5px solid var(--red); }
.pay-form { display: flex; flex-direction: column; gap: 16px; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-field { display: flex; flex-direction: column; gap: 7px; position: relative; border: 0; min-width: 0; }
.pay-field > label, .pay-field legend, .pay-label-row label { font-size: 14px; font-weight: 600; color: var(--navy); }
.pay-field legend { margin-bottom: 7px; }
.pay-field em { color: var(--red); font-style: normal; }
.pay-input { position: relative; }
.pay-input > i { position: absolute; left: 15px; top: 16px; color: #9aa3b7; font-size: 15px; pointer-events: none; transition: color .2s; }
.pay-input input, .pay-input textarea, .pay-input-money input {
  width: 100%; min-height: 48px; padding: 12px 14px 12px 42px; border: 1.5px solid #dfe4ee; border-radius: 12px; background: #f8fafd;
  font: inherit; font-size: 15px; color: var(--navy-dark); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.pay-input textarea { resize: vertical; min-height: 70px; line-height: 1.5; }
.pay-input input:focus, .pay-input textarea:focus, .pay-input-money input:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(220, 20, 32, .1); }
.pay-input:focus-within > i { color: var(--red); }
.pay-input-money { position: relative; display: block; }
.pay-input-money > em { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 800; color: var(--navy); pointer-events: none; }
.pay-input-money input { font-weight: 700; font-size: 16px; padding-left: 34px; }
.pay-field.has-error input, .pay-field.has-error textarea { border-color: var(--red); background: #fff7f7; }
.pay-field.has-error .pay-drop { border-color: var(--red); background: #fff7f7; }
.pay-error { font-size: 13px; color: var(--red); font-weight: 500; }
.pay-error:empty { display: none; }
.pay-hint { font-size: 12.5px; color: var(--muted); }

.pay-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pay-method { position: relative; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method span {
  display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border: 1.5px solid #dfe4ee; border-radius: 12px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; transition: border-color .2s, color .2s, background .2s;
}
.pay-method span i { font-size: 17px; }
.pay-method input:checked + span { border-color: var(--red); color: var(--red); background: rgba(220, 20, 32, .05); }
.pay-method input:focus-visible + span { box-shadow: 0 0 0 4px rgba(220, 20, 32, .15); }

/* upload */
.pay-drop { position: relative; border: 2px dashed #cfd6e4; border-radius: 14px; background: #f8fafd; transition: border-color .2s, background .2s; }
.pay-drop.is-over { border-color: var(--red); background: rgba(220, 20, 32, .04); }
.pay-drop-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.pay-drop.has-file .pay-drop-input { pointer-events: none; }
.pay-drop-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 14px; text-align: center; }
.pay-drop-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); font-size: 19px; box-shadow: var(--shadow-sm); margin-bottom: 4px; }
.pay-drop-empty b { font-size: 14px; color: var(--navy); font-weight: 600; }
.pay-drop-empty u { color: var(--red); text-decoration-thickness: 1.5px; }
.pay-drop-empty small { font-size: 12.5px; color: var(--muted); }
.pay-drop-file { display: flex; align-items: center; gap: 12px; padding: 10px; position: relative; z-index: 2; }
.pay-drop-file img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.pay-drop-pdf { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; background: #fff1f1; color: var(--red); font-size: 24px; }
.pay-drop-meta { flex: 1; min-width: 0; }
.pay-drop-meta b { display: block; font-size: 14px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-drop-meta small { font-size: 12.5px; color: #13a24a; font-weight: 600; }
.pay-drop-remove { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--muted); cursor: pointer; box-shadow: var(--shadow-sm); transition: color .2s; }
.pay-drop-remove:hover { color: var(--red); }

.pay-divider { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 -2px; }
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; height: 1px; background: #e4e8f1; }

.pay-submit { width: 100%; justify-content: center; margin-top: 4px; }
.pay-form.is-loading .pay-submit span::after { content: "…"; }
.pay-privacy { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.pay-privacy i { color: #13a24a; margin-right: 4px; }
.pay-alert { padding: 12px 14px; border-radius: 12px; background: #fff1f1; color: var(--red-dark); font-size: 14px; font-weight: 500; border-left: 4px solid var(--red); }

/* success */
.pay-success { text-align: center; padding: 10px 0 4px; outline: none; }
.pay-success-icon { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-size: 34px; color: #fff; background: linear-gradient(135deg, #2bd46b, #13a24a); box-shadow: 0 0 0 10px rgba(19, 162, 74, .12); animation: payPop .55s var(--ease); }
@keyframes payPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.pay-success h3 { font-size: 26px; color: var(--navy); }
.pay-ref { display: inline-block; margin: 8px 0 12px; padding: 6px 14px; border-radius: 30px; background: var(--navy); color: var(--yellow); font-weight: 800; letter-spacing: .1em; font-size: 14px; }
.pay-success p { font-size: 15px; line-height: 1.6; }
.pay-track { list-style: none; display: flex; justify-content: space-between; position: relative; margin: 22px 6px 18px; }
.pay-track::before { content: ""; position: absolute; left: 14%; right: 14%; top: 19px; height: 3px; background: linear-gradient(90deg, #13a24a 0 50%, #e4e8f1 50% 100%); }
.pay-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; font-size: 13px; font-weight: 600; color: var(--muted); }
.pay-track li i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #eef1f7; color: #9aa3b7; font-size: 15px; }
.pay-track li.is-done i { background: #13a24a; color: #fff; }
.pay-track li.is-done, .pay-track li.is-now { color: var(--navy); }
.pay-track li.is-now i { background: #f39c12; color: #fff; animation: payPulse 1.8s ease-in-out infinite; }
@keyframes payPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, .45); } 50% { box-shadow: 0 0 0 10px rgba(243, 156, 18, 0); } }
.pay-success-mail { font-size: 13.5px !important; color: var(--muted); background: #f7f9fd; padding: 10px 14px; border-radius: 12px; }
.pay-success-mail b { color: var(--navy); word-break: break-all; }
.pay-again { margin-top: 16px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--red); cursor: pointer; }
.pay-again:hover { text-decoration: underline; }

/* ---------- help ---------- */
.pay-help { padding: 10px 0 70px; }
.pay-help-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, #163f86 60%, var(--red) 140%); box-shadow: var(--shadow-md);
}
.pay-help-card h2 { font-size: 24px; margin-bottom: 4px; }
.pay-help-card p { color: #d4def2; max-width: 620px; }
.pay-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-help-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 30px; background: #fff; color: var(--navy); font-weight: 700; transition: transform .2s; }
.pay-help-btn:hover { transform: translateY(-2px); }
.pay-help-wa { background: #25d366; color: #fff; }

.pay-only-mobile { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pay-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pay-qr-info { width: 100%; }
  .pay-apps, .pay-qr-actions { justify-content: center; }
  .pay-qr-amount { align-items: center; }
  .pay-qr-amount .pay-input-money { max-width: 240px; width: 100%; }
}
@media (max-width: 991px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-form-card { position: static; }
  .pay-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-steps li:nth-child(3) { border-left: 0; }
  .pay-steps li:nth-child(n+3) { border-top: 1px solid #edf0f6; }
  .pay-hero-title { font-size: 44px; }
  .pay-script { font-size: 52px; }
}
@media (hover: none) and (pointer: coarse) {
  .pay-only-mobile { display: inline-flex; }
}
@media (max-width: 575px) {
  .pay-hero { min-height: 340px; }
  .pay-hero-content { padding-bottom: 96px; }
  .pay-hero-title { font-size: 36px; }
  .pay-script { font-size: 42px; }
  .pay-hero-sub { font-size: 16px; }
  .pay-steps li { padding: 16px 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .pay-steps li > i { flex-basis: 40px; width: 40px; height: 40px; font-size: 17px; }
  .pay-card { padding: 22px 18px; border-radius: 16px; }
  .pay-card-head h2 { font-size: 23px; }
  .pay-tabs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .pay-row { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-qr-frame { width: 232px; height: 232px; padding: 12px; }
  .pay-qr-frame img, .pay-qr-frame canvas { width: 208px; height: 208px; }
  @keyframes payScan { 0%, 100% { top: 14px; } 50% { top: 214px; } }
  .pay-upi-id b { font-size: 18px; }
  .pay-bank-list > div { grid-template-columns: 1fr; gap: 2px; padding: 10px 16px; }
  .pay-help-card { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pay-qr-scan, .pay-track li.is-now i { animation: none; }
  .pay-panel { animation: none; }
}
.pay-input-money input::placeholder { color: #a3abbd; font-weight: 500; }
