:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:#000}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}


/* Layout: one centred mobile column (same as the mockup) with three views: Home, Application Form, Token Payment. */
:root {
  --green-deep: #0a3a2c;
  --green: #0e5a40;
  --green-mid: #1a7a57;
  --gold: #d6a94a;
  --gold-hi: #f0cd7a;
  --paper: #fbfaf5;
  --card: #ffffff;
  --ivory: #fbf4e1;
  --mint: #e4efe6;
  --ink: #12281f;
  --muted: #566b60;
  --line: #cfdcd3;
  --err: #b3261e;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Naskh Arabic", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--green-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
svg.i { width: 1em; height: 1em; flex: none; }

.page { max-width: 520px; margin: 0 auto; background: var(--paper); min-height: 100vh; overflow: hidden; }
.pad { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ur { font-family: var(--font-urdu); direction: rtl; line-height: 2; }
.en-only .ur:not(.keep) { display: none; }
.view[hidden] { display: none; }
.en-only .hint, .en-only .btn small, .en-only .bt td:last-child { display: none; }

/* Header */
.top { background: var(--green-deep); color: #fff; }
.top .pad { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand svg { width: 36px; height: 36px; color: var(--gold); }
.brand b { display: block; font: 700 17px/1.1 var(--font-display); }
.brand small { display: block; font-size: 10px; color: var(--gold-hi); letter-spacing: .06em; }
.menu { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; }
.menu a:hover { color: var(--gold-hi); }
.lang { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--green-mid); color: #fff; padding: 6px 12px; border-radius: 8px; font: 600 12px/1.4 var(--font-urdu); cursor: pointer; }
.lang svg { width: 14px; height: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; min-height: 46px; padding: 8px 22px; border-radius: 10px; font: 700 14px/1.25 var(--font-body); text-align: center; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn small { display: block; font: 400 11px/1.9 var(--font-urdu); direction: rtl; opacity: .95; }
.btn svg { width: 18px; height: 18px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-mid); }
.btn-block { width: 100%; }
.btn-pill { border-radius: 999px; background: #1b3f2f; color: #fff; border: 3px solid var(--gold); box-shadow: 0 0 0 3px rgba(214,169,74,.25), 0 8px 22px rgba(0,0,0,.35); padding: 6px 26px 6px 22px; }
.btn-gold { background: var(--gold); color: var(--green-deep); border-radius: 999px; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { background: rgba(6,35,27,.3); color: #fff; border: 2px solid rgba(255,255,255,.55); border-radius: 999px; }
.btn-line { background: transparent; border: 2px solid var(--green); color: var(--green); }

/* Hero (home) */
.hero { position: relative; color: #fff; min-height: 300px; background: linear-gradient(180deg, #4d6aa8 0%, #8b9fd0 38%, #e7b98c 78%, #f3c88e 100%); overflow: hidden; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; background: url(../assets/visual-1.jpg) 40% 100% / cover no-repeat; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%); mask-image: linear-gradient(to right, transparent 0, #000 40%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,28,56,.5), rgba(14,28,56,0) 68%); }
.hero .pad { position: relative; z-index: 2; padding-block: 18px 22px; }
.calli { font: 400 34px/1.5 var(--font-urdu); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.9); direction: rtl; text-align: left; }
.hero h1 { font: 700 clamp(22px, 6.2vw, 29px)/1.18 var(--font-display); text-shadow: 0 2px 8px rgba(0,0,0,.45); max-width: 14em; }
.hero h1 em { display: block; font-style: normal; color: var(--gold-hi); font-weight: 800; }
.hero .u { font-size: 13px; line-height: 2.05; margin-top: 8px; max-width: 17em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero .btn-pill { margin-top: 14px; }

/* Trust strip */
.trust { background: var(--green-deep); color: #fff; }
.trust ul { list-style: none; margin: 0; padding-block: 14px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { text-align: center; padding: 2px 6px; font-size: 10.5px; font-weight: 600; line-height: 1.3; border-left: 1px solid rgba(255,255,255,.18); }
.trust li:first-child { border-left: 0; }
.trust svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 4px; }
.trust .ur { display: block; font-size: 9.5px; font-weight: 400; line-height: 2; color: #d6e5db; }
@media (max-width: 400px) {
  .trust ul { grid-template-columns: 1fr 1fr; gap: 12px 0; }
  .trust li:nth-child(3) { border-left: 0; }
}

/* Token fee card */
.fee { margin-top: 14px; background: var(--ivory); border: 1px solid #ecd9a3; border-radius: 16px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.fee .lab { font: 700 14px/1.2 var(--font-display); }
.fee .amt { font: 800 clamp(32px, 9vw, 42px)/1.05 var(--font-display); color: var(--green); }
.fee .ur-b { font: 600 15px/2 var(--font-urdu); direction: rtl; text-align: left; }
.fee p.en { font-size: 12px; color: #33453c; margin-block: 2px 10px; }
.fee .btn { min-height: 40px; padding: 6px 16px; font-size: 13px; border-radius: 22px; }
.fee .go { display: flex; align-items: center; gap: 10px; }
.fee .go .ur { font-size: 12px; font-weight: 600; }
.emblem { position: relative; width: 138px; height: 150px; display: grid; place-items: center; text-align: center; color: var(--green); }
.emblem > svg.hex { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); }
.emblem .emb { position: relative; display: grid; justify-items: center; gap: 0; }
.emblem .emb svg { width: 48px; height: 48px; }
.emblem .emb .ur { font: 600 15px/1.9 var(--font-urdu); }
@media (max-width: 400px) { .fee { grid-template-columns: 1fr; } .emblem { justify-self: center; } }

/* Places */
.places h2 { font: 700 16px/1.2 var(--font-display); }
.places .ur-h { font: 600 14px/2 var(--font-urdu); direction: rtl; text-align: left; }
.pl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.pc { background: var(--ivory); border: 1px solid #ecd9a3; border-radius: 10px; overflow: hidden; text-align: center; font: 600 10.5px/1.3 var(--font-display); }
.pc .ph { height: 74px; background-size: cover; background-position: center; }
.pc span { display: block; padding: 6px 4px 0; }
.pc .ur { display: block; font: 400 10px/1.9 var(--font-urdu); color: var(--muted); padding-bottom: 4px; }

/* Shared section titles */
.sec { padding-block: 26px; }
.sec h2 { font: 700 clamp(22px, 6vw, 28px)/1.15 var(--font-display); color: var(--green-deep); }
.sec .ur-h { font: 600 16px/2 var(--font-urdu); color: var(--green); direction: rtl; text-align: left; }

/* Emotional section */
.feel { background: linear-gradient(180deg, var(--green-deep), var(--green)); color: #fff; text-align: center; padding-block: 44px; }
.feel svg { width: 48px; height: 48px; color: var(--gold); margin-bottom: 4px; }
.feel h2 { font: 400 clamp(26px, 7vw, 34px)/2 var(--font-urdu); color: var(--gold-hi); direction: rtl; }
.feel p { font: 400 clamp(17px, 4.6vw, 20px)/2.1 var(--font-urdu); direction: rtl; }
.feel .salaam { color: var(--gold-hi); font-size: clamp(19px, 5vw, 23px); }

/* Steps */
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; min-width: 0; }
.step .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font: 700 16px/1 var(--font-display); margin-bottom: 10px; }
.step h3 { font: 700 16px/1.25 var(--font-display); margin-bottom: 4px; }
.step .ur { font-size: 13px; color: var(--muted); line-height: 2; }
@media (max-width: 340px) { .steps { grid-template-columns: 1fr; } }

/* Packages */
.pk { background: var(--mint); }
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.pkg { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pkg.prem { background: var(--green); color: #fff; border-color: var(--gold); }
.pkg h3 { font: 700 17px/1.25 var(--font-display); }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; font-size: 13px; }
.pkg li { display: flex; gap: 8px; align-items: flex-start; }
.pkg li svg { width: 18px; height: 18px; margin-top: 1px; color: var(--green-mid); }
.pkg.prem li svg { color: var(--gold-hi); }
.pkg .btn { min-height: 42px; font-size: 13px; padding: 6px 12px; }
.pkg.prem .btn { background: var(--gold); color: var(--green-deep); }
@media (max-width: 440px) { .pkg-grid { grid-template-columns: 1fr; } }

/* Final CTA */
.fin { background: radial-gradient(90% 80% at 50% 120%, rgba(214,169,74,.35), rgba(214,169,74,0) 60%), linear-gradient(180deg, var(--green), var(--green-deep)); color: #fff; text-align: center; padding-block: 44px; }
.fin h2 { font: 400 clamp(26px, 7vw, 34px)/2 var(--font-urdu); color: var(--gold-hi); direction: rtl; }
.fin p { font: 400 clamp(18px, 5vw, 22px)/2.1 var(--font-urdu); direction: rtl; }
.fin .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.fin .row .btn { flex: 1 1 160px; max-width: 220px; min-height: 48px; }

/* Footer (home) */
.foot { background: var(--green-deep); color: #e9f1ec; position: relative; overflow: hidden; }
.foot .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; padding-block: 18px; font-size: 10.5px; line-height: 1.5; }
.foot q { quotes: "“" "”"; font-style: italic; }
.foot .ur { font-size: 10.5px; line-height: 2.1; }
.foot h4 { margin: 0 0 6px; font: 700 13px/1.2 var(--font-display); }
.foot .ct { display: grid; gap: 6px; }
.foot .ct div { display: flex; gap: 6px; align-items: center; overflow-wrap: anywhere; }
.foot .ct svg { width: 14px; height: 14px; color: var(--gold); }
.foot .ghost { position: absolute; right: 10px; bottom: 28px; width: 64px; height: 64px; color: var(--gold); opacity: .25; }
.legal { background: var(--green-deep); border-top: 1px solid rgba(255,255,255,.12); color: #cfe0d5; font-size: 10.5px; }
.legal .pad { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 12px; }
@media (max-width: 440px) { .foot .cols { grid-template-columns: 1fr; } }

/* Banner for form + payment */
.ban { position: relative; color: #fff; min-height: 136px; background: linear-gradient(180deg, #3c4f86, #8c8fc0 55%, #e9b58a); overflow: hidden; }
.ban::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36%; background: url(../assets/visual-2.jpg) center top / cover no-repeat; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%); mask-image: linear-gradient(to right, transparent 0, #000 45%); }
.ban::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,28,56,.55), rgba(14,28,56,.1) 70%); }
.ban .pad { position: relative; z-index: 2; padding-block: 20px; }
.ban h1 { font: 700 clamp(22px, 6vw, 26px)/1.2 var(--font-display); text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.ban p { font-size: 12px; max-width: 24em; margin-top: 6px; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.ban p.ur { font-size: 12px; line-height: 2.1; margin-top: 4px; }

/* Form */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-top: 14px; overflow: hidden; }
.card-h { display: flex; align-items: center; gap: 10px; background: var(--mint); padding: 10px 12px; font: 700 13.5px/1.3 var(--font-display); color: var(--green-deep); }
.card-h .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-deep); color: #fff; flex: none; }
.card-h .ic svg { width: 17px; height: 17px; }
.card-h .ur { margin-left: auto; font: 600 12px/1.8 var(--font-urdu); color: var(--green); }
.card-b { padding: 12px; display: grid; gap: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .row2 { grid-template-columns: 1fr; } }
.f { min-width: 0; }
.lab { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 11.5px; font-weight: 600; margin-bottom: 4px; }
.lab i { font-style: normal; color: var(--err); }
.lab .ur { font-size: 11px; font-weight: 400; color: var(--muted); line-height: 1.8; }
.in, select.in, textarea.in { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 9px 10px; font-size: 12.5px; color: var(--ink); }
textarea.in { min-height: 64px; resize: vertical; }
.in::placeholder { color: #8da097; }
.in.bad { border-color: var(--err); }
.hint { font-size: 10px; color: var(--muted); text-align: right; line-height: 1.9; font-family: var(--font-urdu); direction: rtl; }
.err { color: var(--err); font-size: 11px; min-height: 0; }
.photo { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: stretch; }
.drop { display: grid; place-items: center; text-align: center; gap: 2px; border: 2px dashed #8fb6a1; border-radius: 10px; background: #f6faf7; padding: 14px 8px; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--green-deep); min-height: 120px; }
.drop svg { width: 26px; height: 26px; color: var(--green); }
.drop small { font-size: 10px; font-weight: 400; color: var(--muted); }
.drop .ur { font-size: 11px; font-weight: 600; line-height: 1.8; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.prev { background: #e4e8e6; border-radius: 10px; display: grid; place-items: center; min-height: 120px; overflow: hidden; }
.prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prev svg { width: 70%; color: #9aa6a0; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; }
.agree input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green); flex: none; }
.agree .ur { display: block; font-size: 10.5px; line-height: 1.9; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10.5px; color: var(--green); text-decoration: underline; padding-left: 28px; }
.safe { margin-top: 14px; background: var(--ivory); border: 1px solid #ecd9a3; border-radius: 12px; padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.safe div { display: flex; gap: 8px; align-items: flex-start; font-size: 10px; line-height: 1.35; }
.safe svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.safe .ur { display: block; font-size: 9.5px; color: var(--muted); line-height: 1.9; }
@media (max-width: 440px) { .safe { grid-template-columns: 1fr; } }
.mini-foot { background: var(--green-deep); color: #cfe0d5; font-size: 10.5px; margin-top: 22px; }
.mini-foot .pad { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 14px; }

/* Payment */
.grid2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-top: 14px; }
@media (max-width: 440px) { .grid2 { grid-template-columns: 1fr; } }
.tf { background: var(--ivory); border: 1px solid #ecd9a3; border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; align-items: start; min-width: 0; }
.coin { width: 56px; height: 56px; border-radius: 50%; background: var(--green-deep); border: 3px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; }
.coin svg { width: 30px; height: 30px; }
.tf .amt { font: 800 28px/1.1 var(--font-display); color: var(--green); }
.tf .lab2 { font: 700 13px/1.2 var(--font-display); }
.tf .ur-b { font: 600 13px/2 var(--font-urdu); direction: rtl; text-align: left; }
.tf p { grid-column: 1 / -1; font-size: 11.5px; color: #33453c; }
.tf p.ur { font-size: 11.5px; line-height: 2.1; color: var(--muted); }
.pm { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.pm h3 { display: flex; justify-content: space-between; gap: 6px; font: 700 12px/1.3 var(--font-display); margin-bottom: 6px; }
.pm h3 .ur { font: 600 11px/1.8 var(--font-urdu); color: var(--green); }
.pm .it { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #edf1ee; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.pm .it svg { width: 26px; height: 26px; color: var(--green); flex: none; }
.pm .it .ur { display: block; font-size: 10.5px; font-weight: 400; line-height: 1.8; color: var(--muted); }
.bank { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; align-items: center; }
.bt { width: 100%; border-collapse: collapse; font-size: 11px; }
.bt td { padding: 5px 4px; vertical-align: top; }
.bt td:nth-child(2) { font-weight: 600; overflow-wrap: anywhere; }
.bt td:last-child { text-align: right; direction: rtl; font: 400 10.5px/1.8 var(--font-urdu); color: var(--muted); }
.qr { text-align: center; font-size: 11px; font-weight: 700; color: var(--green-deep); }
.qr img { width: 84px; height: 84px; display: block; margin: 0 auto 4px; border: 1px solid var(--line); border-radius: 6px; padding: 3px; background: #fff; }
.qr .ur { display: block; font-size: 10px; font-weight: 400; line-height: 1.8; color: var(--muted); }
@media (max-width: 380px) { .bank { grid-template-columns: 1fr; } }
.stp { display: grid; gap: 8px; margin: 0; padding: 12px 12px 0; list-style: none; }
.stp li { display: flex; align-items: center; gap: 10px; font-size: 11.5px; }
.stp li span.n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-deep); color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.stp li .ur { margin-left: auto; font-size: 10.5px; color: var(--muted); line-height: 1.8; text-align: right; }
.rc { display: grid; grid-template-columns: 1fr 108px; gap: 10px; padding: 12px; align-items: end; }
.upl { display: grid; place-items: center; text-align: center; gap: 2px; border: 1px dashed #8fb6a1; background: #f2f8f4; border-radius: 8px; min-height: 42px; padding: 6px; font-size: 10.5px; font-weight: 600; color: var(--green-deep); cursor: pointer; overflow-wrap: anywhere; }
.upl svg { width: 20px; height: 20px; }
.upl .ur { font-size: 10px; font-weight: 400; color: var(--muted); line-height: 1.7; }
.upl input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upl:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.ok { margin-top: 14px; background: var(--mint); border: 1px solid #bfd8c8; border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 44px 1fr; gap: 6px 12px; align-items: center; }
.ok .ck { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.ok .ck svg { width: 26px; height: 26px; }
.ok h3 { font: 700 14px/1.2 var(--font-display); }
.ok p { font-size: 11.5px; }
.ok .ur { font-size: 11.5px; line-height: 2; color: var(--muted); }
.aid { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.aid code { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 16px; font: 700 15px/1.2 var(--font-body); letter-spacing: .04em; color: var(--green-deep); }
.ok .btn { grid-column: 1 / -1; background: #1c8c4e; color: #fff; }
.note { font-size: 10.5px; color: var(--muted); }

@media (max-width: 400px) {
  .menu { gap: 10px; }
  .photo { grid-template-columns: 1fr 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}


/* Responsive polish: keep the original single-column flow readable on phones, tablets and desktops. */
img { height: auto; }
.page { width: 100%; max-width: 1180px; }
.pad { padding-left: clamp(16px, 3.5vw, 40px); padding-right: clamp(16px, 3.5vw, 40px); }
.hero { min-height: clamp(300px, 36vw, 460px); }
.hero .pad { max-width: 1180px; margin-inline: auto; }
.demo-notice { margin: 16px 0; padding: 12px 14px; border: 1px solid #d6a94a; border-radius: 10px; background: #fff7df; color: #49370d; font-weight: 700; }
@media (min-width: 760px) {
  .hero .pad { padding-top: 44px; padding-bottom: 44px; }
  .hero h1 { max-width: 56%; }
  .hero .u { max-width: 52%; }
}
@media (max-width: 520px) {
  .menu { flex-wrap: wrap; }
  .row2, .grid2 { grid-template-columns: minmax(0, 1fr) !important; }
  .btn { max-width: 100%; }
  .bt { width: 100%; table-layout: fixed; overflow-wrap: anywhere; }
  .bt td { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Requested payment QR and participant consent layout */
.hero .u { max-width: 22em; direction: rtl; text-align: right; line-height: 2.05; }
.qr-bank { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.qr-bank .qr img { width: min(100%, 260px); height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 6px; }
.account-holder { display: flex; flex-direction: column; justify-content: center; gap: 10px; border-left: 1px solid var(--line); padding: 12px; min-width: 0; }
.muted-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.account-holder strong { display: block; overflow-wrap: anywhere; background: #fff2bd; color: #182b22; padding: 10px; border-radius: 10px; text-align: center; font-size: clamp(12px, 2.5vw, 17px); }
.consent-box { margin: 8px 12px 12px; border: 1px solid var(--line); background: #fbfcf8; border-radius: 12px; padding: 14px; }
.consent-box h3 { color: var(--green-deep); font-size: 15px; margin-bottom: 8px; }
.consent-box p, .consent-box li { font-size: 12px; line-height: 1.65; color: #33453c; }
.consent-box ul { padding-left: 20px; display: grid; gap: 7px; margin: 10px 0 14px; }
.consent-check { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border-radius: 8px; background: #eef7f0; font-size: 12px; line-height: 1.6; font-weight: 600; }
.consent-check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green); }
.receipt-row { grid-template-columns: 1fr; padding-top: 0; }
.upl.is-disabled { opacity: .55; cursor: not-allowed; }
.upl input:disabled { cursor: not-allowed; }
@media (max-width: 380px) { .qr-bank { grid-template-columns: 1fr; } .account-holder { border-left: 0; border-top: 1px solid var(--line); } }

/* Terms stay collapsed until the visitor chooses to read them. */
.read-terms { cursor: pointer; color: var(--green-deep); font-weight: 700; font-size: 14px; padding: 2px 0; list-style-position: inside; }
.read-terms::marker { color: var(--gold); }
.terms-content { padding-top: 12px; }
.consent-box:not([open]) { padding: 12px 14px; }

/* Keep the required acceptance checkbox outside the expandable terms text. */
.terms-accept-outside { margin: 0 12px 12px; }
.terms-accept-outside .consent-check { margin: 0; }
