/* =========================================================
   Sri Vijayaganapathy Stores – public website theme
   ========================================================= */
:root {
	--plum: #4a1460;
	--plum-d: #2c0a3c;
	--magenta: #a3237f;
	--berry: #c2367f;
	--green: #4f9d3a;
	--green-l: #e8f5e2;
	--navy: #1e3a8a;
	--gold: #e9b44c;
	--gold-d: #c98f1e;
	--red: #c8202f;
	--ink: #23182b;
	--text: #4d4357;
	--muted: #857a8f;
	--line: #ece4f0;
	--bg: #fffaf6;
	--tint: #f8f1fa;
	--card: #ffffff;
	--r: 18px;
	--r-lg: 26px;
	--shadow: 0 10px 30px -12px rgba(74, 20, 96, .22);
	--shadow-lg: 0 28px 60px -24px rgba(74, 20, 96, .35);
	--grad: linear-gradient(130deg, #2c0a3c 0%, #4a1460 38%, #a3237f 100%);
	--grad-btn: linear-gradient(120deg, #a3237f 0%, #6d1a7e 100%);
	--grad-gold: linear-gradient(120deg, #f6cf6b 0%, #e9a83a 100%);
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--serif: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--magenta); text-decoration: none; transition: color .2s; }
a:hover { color: var(--plum); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.w-narrow { max-width: 900px; }
.w-center { text-align: center; }
.w-tamil { font-family: 'Noto Sans Tamil', var(--font); }

/* ---------- buttons ---------- */
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; font-family: inherit; line-height: 1.2; white-space: nowrap; }
.w-btn:hover { transform: translateY(-2px); }
.w-btn-sm { padding: 9px 18px; font-size: 14px; }
.w-btn-block { width: 100%; }
.w-btn-pri { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 22px -10px rgba(163, 35, 127, .7); }
.w-btn-pri:hover { color: #fff; box-shadow: 0 16px 28px -12px rgba(163, 35, 127, .8); }
.w-btn-gold { background: var(--grad-gold); color: #3b1d00; box-shadow: 0 10px 22px -10px rgba(201, 143, 30, .8); }
.w-btn-gold:hover { color: #3b1d00; }
.w-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.w-btn-ghost:hover { background: #fff; color: var(--plum); }
.w-btn-line { background: #fff; color: var(--plum); border-color: var(--line); }
.w-btn-line:hover { border-color: var(--magenta); color: var(--magenta); }
.w-link { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- announce bar ---------- */
.w-announce { background: var(--plum-d); color: #f3e6f7; font-size: 13.5px; }
.w-announce .w-wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; }
.w-announce .fa-bullhorn { color: var(--gold); margin-right: 6px; }
.w-announce-r { display: flex; gap: 18px; flex-shrink: 0; }
.w-announce-r a { color: #f3e6f7; }
.w-announce-r a:hover { color: var(--gold); }

/* ---------- header ---------- */
.w-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 246, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background .25s; }
.w-head.scrolled { background: rgba(255, 255, 255, .96); border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(74, 20, 96, .35); }
.w-head-in { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.w-brand img { height: 64px; width: auto; }
.w-nav { display: flex; align-items: center; gap: 4px; }
.w-nav a:not(.w-btn) { color: var(--ink); font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 12px; position: relative; }
.w-nav a:not(.w-btn)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--magenta); transform: scaleX(0); transition: transform .25s; }
.w-nav a:not(.w-btn):hover::after, .w-nav a.on::after { transform: scaleX(1); }
.w-nav a.on { color: var(--magenta); }
.w-nav-cta { margin-left: 10px; background: var(--grad-btn); color: #fff !important; }
.w-burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.w-burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--plum); transition: transform .25s, opacity .25s; }
.w-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.w-burger.open span:nth-child(2) { opacity: 0; }
.w-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.w-hero, .w-phero { position: relative; background: var(--grad); color: #fff; overflow: hidden; isolation: isolate; }
.w-hero { padding: 80px 0 120px; }
.w-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.w-hero-bg i { position: absolute; border-radius: 50%; filter: blur(2px); }
.w-hero-bg .b1 { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle at 30% 30%, rgba(233, 180, 76, .45), rgba(233, 180, 76, 0) 65%); animation: wFloat 12s ease-in-out infinite; }
.w-hero-bg .b2 { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(79, 157, 58, .45), rgba(79, 157, 58, 0) 65%); animation: wFloat 14s ease-in-out infinite reverse; }
.w-hero-bg .b3 { width: 260px; height: 260px; left: 42%; top: 12%; background: radial-gradient(circle, rgba(194, 54, 127, .5), rgba(194, 54, 127, 0) 70%); animation: wFloat 10s ease-in-out infinite; }
.w-sparkles { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.4px); background-size: 34px 34px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 80%); }
.w-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); z-index: -1; }
@keyframes wFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-24px, 22px); } }

.w-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.w-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; font-weight: 600; margin-bottom: 22px; }
.w-badge .fa { color: var(--gold); }
.w-hero h1 { color: #fff; font-family: var(--serif); font-size: clamp(34px, 5vw, 58px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.w-hero .w-tamil { color: var(--gold); font-size: clamp(17px, 2vw, 21px); font-weight: 700; margin-bottom: 14px; }
.w-hero-sub { color: rgba(255, 255, 255, .85); font-size: 17.5px; max-width: 560px; margin-bottom: 30px; }
.w-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.w-hero-card { position: relative; }
.w-check { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); position: relative; }
.w-check::before { content: ''; position: absolute; inset: -8px; border-radius: 32px; background: linear-gradient(140deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05)); z-index: -1; }
.w-check-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-size: 24px; margin-bottom: 16px; box-shadow: 0 12px 24px -10px rgba(163, 35, 127, .7); }
.w-check h3 { font-size: 24px; margin-bottom: 4px; }
.w-check p { color: var(--muted); margin-bottom: 20px; }
.w-check-form { display: grid; gap: 12px; }
.w-check-form input, .w-fl input, .w-fl select, .w-fl textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #faf6fc; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.w-check-form input:focus, .w-fl input:focus, .w-fl select:focus, .w-fl textarea:focus { border-color: var(--magenta); background: #fff; box-shadow: 0 0 0 4px rgba(163, 35, 127, .12); }
.w-check-pts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 18px; font-size: 13.5px; color: var(--muted); }
.w-check-pts .fa { color: var(--green); margin-right: 4px; }
.w-float-chip { position: absolute; background: #fff; color: var(--ink); font-weight: 700; font-size: 13.5px; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-lg); display: flex; gap: 8px; align-items: center; animation: wBob 4s ease-in-out infinite; }
.w-float-chip .fa { color: var(--magenta); }
.w-float-chip.c1 { left: -34px; top: -20px; }
.w-float-chip.c2 { right: -18px; bottom: -22px; animation-delay: -2s; }
.w-float-chip.c2 .fa { color: var(--green); }
@keyframes wBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- stats ---------- */
.w-stats-sec { margin-top: -70px; position: relative; z-index: 2; }
.w-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.w-stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.w-stat:last-child { border-right: 0; }
.w-stat .fa { width: 46px; height: 46px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--tint); color: var(--magenta); font-size: 19px; margin-bottom: 10px; }
.w-stat b { display: block; font-size: 32px; font-weight: 800; color: var(--plum); line-height: 1.1; }
.w-stat span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- sections ---------- */
.w-sec { padding: 90px 0; }
.w-sec-tint { background: var(--tint); }
.w-sec-page { padding-top: 60px; }
.w-sec-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.w-sec-head h2, .w-split h2, .w-contact-intro h2 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.w-sec-head p { color: var(--muted); font-size: 17px; }
.w-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); background: rgba(163, 35, 127, .08); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.w-lead { font-size: 17.5px; }

/* steps */
.w-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.w-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 28px 30px; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.w-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.w-step-no { position: absolute; right: 22px; top: 14px; font-family: var(--serif); font-size: 54px; font-weight: 700; color: rgba(163, 35, 127, .08); line-height: 1; }
.w-step-ic { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--grad-btn); margin-bottom: 20px; box-shadow: 0 14px 26px -12px rgba(163, 35, 127, .7); }
.w-step:nth-child(2) .w-step-ic { background: linear-gradient(120deg, #4f9d3a, #2f7a3a); box-shadow: 0 14px 26px -12px rgba(79, 157, 58, .7); }
.w-step:nth-child(3) .w-step-ic { background: var(--grad-gold); color: #3b1d00; box-shadow: 0 14px 26px -12px rgba(201, 143, 30, .7); }
.w-step h3 { font-size: 20px; }
.w-step p { color: var(--muted); margin: 0; }

/* plans */
.w-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: stretch; }
.w-plan { position: relative; background: #fff; border-radius: var(--r-lg); padding: 32px 28px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.w-plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.w-plan.hot { background: var(--grad); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.w-plan.hot .w-plan-name, .w-plan.hot .w-plan-price { color: #fff; }
.w-plan.hot ul li { color: rgba(255, 255, 255, .88); }
.w-plan.hot ul .fa { background: rgba(255, 255, 255, .15); color: var(--gold); }
.w-plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-gold); color: #3b1d00; font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.w-plan-name { font-weight: 800; color: var(--magenta); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.w-plan-price { font-size: 46px; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 22px; display: flex; align-items: baseline; gap: 3px; }
.w-plan-price small { font-size: 24px; }
.w-plan-price em { font-style: normal; font-size: 15px; font-weight: 600; opacity: .7; margin-left: 4px; }
.w-plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; flex: 1; }
.w-plan ul li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.w-plan ul .fa { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--green-l); color: var(--green); flex-shrink: 0; }

.w-table-wrap { margin-top: 44px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.w-table { width: 100%; border-collapse: collapse; }
.w-table th { background: var(--tint); color: var(--plum); text-align: left; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; padding: 16px 20px; }
.w-table td { padding: 16px 20px; border-top: 1px solid var(--line); color: var(--ink); }
.w-table tr:hover td { background: #fdfaff; }

/* split about */
.w-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.w-split-art { position: relative; }
.w-art-card { background: #fff; border-radius: 36px; padding: 50px 40px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.w-art-ring { position: absolute; inset: 30px -24px -24px 30px; border-radius: 36px; background: var(--grad); opacity: .95; }
.w-why { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 30px; }
.w-why div { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; }
.w-why .fa { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--magenta); font-size: 18px; }
.w-why b { color: var(--ink); font-size: 15.5px; }
.w-why span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* branches */
.w-branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.w-branches.sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.w-branch { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 18px; font-weight: 700; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.w-branch:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.w-branch .fa { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-l); color: var(--green); flex-shrink: 0; }
.w-branches.sm .w-branch { padding: 11px 14px; font-size: 14.5px; }

/* cta */
.w-cta-sec { padding-top: 20px; }
.w-cta { background: var(--grad); border-radius: 32px; padding: 52px 56px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.w-cta::before { content: ''; position: absolute; width: 380px; height: 380px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 180, 76, .45), transparent 65%); }
.w-cta h2 { color: #fff; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.w-cta p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 17px; }
.w-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- page hero ---------- */
.w-phero { padding: 46px 0 70px; }
.w-phero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--bg); clip-path: ellipse(70% 100% at 50% 100%); z-index: -1; }
.w-crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 22px; flex-wrap: wrap; }
.w-crumb a { color: rgba(255, 255, 255, .85); }
.w-crumb a:hover { color: var(--gold); }
.w-crumb span { color: #fff; font-weight: 600; }
.w-phero-row { display: flex; gap: 20px; align-items: center; }
.w-phero-ic { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: 28px; color: var(--gold); flex-shrink: 0; backdrop-filter: blur(6px); }
.w-phero h1 { color: #fff; font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); font-weight: 700; margin-bottom: 6px; }
.w-phero p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 17px; }

/* ---------- document pages ---------- */
.w-doc-grid { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: start; }
.w-doc-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.w-doc-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.w-doc-nav h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 4px 8px 12px; }
.w-doc-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; }
.w-doc-nav a .fa { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--tint); color: var(--magenta); font-size: 14px; flex-shrink: 0; }
.w-doc-nav a:hover { background: var(--tint); }
.w-doc-nav a.on { background: var(--grad-btn); color: #fff; }
.w-doc-nav a.on .fa { background: rgba(255, 255, 255, .18); color: #fff; }
.w-doc-help { background: var(--grad); color: #fff; border-radius: var(--r); padding: 24px; }
.w-doc-help .fa { font-size: 28px; color: var(--gold); margin-bottom: 8px; display: block; }
.w-doc-help b { font-size: 18px; display: block; }
.w-doc-help p { color: rgba(255, 255, 255, .8); font-size: 14.5px; margin: 4px 0 14px; }
.w-doc-help .w-btn { background: #fff; color: var(--plum); box-shadow: none; }
.w-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 48px; box-shadow: var(--shadow); min-width: 0; }
.w-doc-meta { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); background: var(--tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.w-doc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed var(--line); margin-top: 34px; padding-top: 22px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }

.w-prose { color: var(--text); font-size: 16.5px; overflow-wrap: anywhere; }
.w-prose h1, .w-prose h2 { font-size: 26px; margin: 1.4em 0 .6em; }
.w-prose h3 { font-size: 20px; margin: 1.6em 0 .5em; color: var(--plum); display: flex; align-items: center; gap: 10px; }
.w-prose h3::before { content: ''; width: 6px; height: 22px; border-radius: 4px; background: var(--grad-btn); flex-shrink: 0; }
.w-prose > :first-child { margin-top: 0; }
.w-prose ul, .w-prose ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; display: grid; gap: 9px; }
.w-prose ol { counter-reset: li; }
.w-prose ul li, .w-prose ol li { position: relative; padding-left: 30px; }
.w-prose ul li::before { content: ''; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-l); }
.w-prose ol li::before { counter-increment: li; content: counter(li); position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); color: var(--magenta); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.w-prose strong, .w-prose b { color: var(--ink); }
.w-prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--gold); background: #fff8ea; border-radius: 0 14px 14px 0; }
.w-prose img { border-radius: 14px; margin: 1em 0; height: auto; }
.w-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.w-prose td, .w-prose th { border: 1px solid var(--line); padding: 10px 12px; }
.w-prose iframe { width: 100%; min-height: 320px; border: 0; border-radius: 14px; }
.w-prose .ql-align-center { text-align: center; }
.w-prose .ql-align-right { text-align: right; }

/* ---------- contact ---------- */
.w-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 50px; }
.w-ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 4px; color: var(--text); transition: transform .25s, box-shadow .25s; }
a.w-ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.w-ccard .fa { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-size: 20px; margin-bottom: 10px; }
.w-ccard.wa .fa { background: linear-gradient(120deg, #25d366, #128c7e); }
.w-ccard b { color: var(--ink); font-size: 17px; }
.w-ccard span { font-size: 14.5px; overflow-wrap: anywhere; }
.w-contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.w-mini-h { font-size: 18px; margin-top: 28px; }
.w-form-card { background: #fff; border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.w-form-card h3 { font-size: 22px; display: flex; gap: 10px; align-items: center; }
.w-form-card h3 .fa { color: var(--magenta); }
.w-form { display: grid; gap: 16px; margin-top: 18px; }
.w-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.w-fl { display: grid; gap: 7px; }
.w-fl span { font-size: 14px; font-weight: 700; color: var(--ink); }
.w-fl textarea { resize: vertical; min-height: 120px; }
.w-fnote { font-size: 13.5px; color: var(--muted); margin: 0; text-align: center; }
.w-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.w-alert { border-radius: 14px; padding: 14px 16px; font-size: 14.5px; margin-top: 14px; }
.w-alert.err { background: #fdecee; color: #a01d2b; border: 1px solid #f6c5cb; }
.w-sent { text-align: center; padding: 20px 0; }
.w-sent-ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 32px; color: #fff; background: linear-gradient(120deg, #4f9d3a, #2f7a3a); box-shadow: 0 0 0 10px var(--green-l); animation: wPop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes wPop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.w-map { margin-top: 50px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.w-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- card check ---------- */
.w-search { margin-top: 28px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 7px 7px 7px 22px; max-width: 640px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5); }
.w-search > .fa { color: var(--muted); }
.w-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; padding: 10px 4px; color: var(--ink); background: transparent; }
.w-search-x { color: var(--muted); padding: 8px; }
.w-empty { text-align: center; max-width: 520px; margin: 10px auto; background: #fff; border: 1px dashed #dccbe6; border-radius: var(--r-lg); padding: 50px 30px; }
.w-empty > .fa { font-size: 46px; color: var(--magenta); opacity: .75; margin-bottom: 14px; }
.w-empty p { color: var(--muted); }
.w-result-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.w-result-head h2 { margin: 0; font-size: 26px; }
.w-result-head span { color: var(--muted); }
.w-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.w-mycard { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 0 0 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.w-mycard > *:not(.w-mycard-top) { margin: 0 22px; }
.w-mycard .w-btn-block { width: auto; }
.w-mycard-top { background: var(--grad); color: #fff; padding: 22px; display: flex; justify-content: space-between; align-items: flex-start; position: relative; overflow: hidden; }
.w-mycard-top::after { content: ''; position: absolute; width: 160px; height: 160px; right: -40px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 180, 76, .5), transparent 65%); }
.w-mycard-yr { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; opacity: .8; font-weight: 700; }
.w-mycard-no { font-size: 28px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.w-pill { position: relative; z-index: 1; font-size: 12.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.w-pill.ok { background: #e8f5e2; color: #2f7a3a; }
.w-mycard-name { font-weight: 700; color: var(--ink); font-size: 17px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.w-mycard-name .fa { color: var(--magenta); }
.w-mycard-name small { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.w-mycard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-mycard-grid div { background: var(--tint); border-radius: 12px; padding: 10px 12px; }
.w-mycard-grid span { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.w-mycard-grid b { color: var(--ink); font-size: 15.5px; }
.w-progress-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.w-progress-top b { color: var(--green); }
.w-bar { height: 10px; border-radius: 99px; background: #efe7f3; overflow: hidden; }
.w-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4f9d3a, #8bc34a); transition: width 1s ease; }

.w-modal { position: fixed; inset: 0; z-index: 100; background: rgba(28, 8, 38, .6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.w-modal.open { display: flex; animation: wFade .2s; }
@keyframes wFade { from { opacity: 0; } to { opacity: 1; } }
.w-modal-box { background: #fff; border-radius: 22px; width: 100%; max-width: 820px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); }
.w-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.w-modal-head h4 { margin: 0; font-size: 18px; }
.w-modal-x { width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--tint); color: var(--plum); cursor: pointer; font-size: 16px; }
.w-modal-body { padding: 20px; overflow: auto; }
.w-modal-body .btn-style { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 10px 22px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-weight: 700; }
.w-loader { text-align: center; padding: 40px; color: var(--muted); }
.w-404 { padding: 40px 0; }
.w-404 > .fa { font-size: 60px; color: var(--magenta); opacity: .5; margin-bottom: 14px; }

/* ---------- footer ---------- */
.w-foot { background: var(--plum-d); color: rgba(255, 255, 255, .72); position: relative; margin-top: 90px; }
.w-foot-wave { position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--plum-d); clip-path: ellipse(70% 100% at 50% 100%); }
.w-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-top: 60px; padding-bottom: 46px; }
.w-foot-logo { background: #fff; border-radius: 18px; padding: 12px 16px; display: inline-block; margin-bottom: 18px; }
.w-foot-logo img { height: 64px; width: auto; }
.w-foot h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.w-foot h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.w-foot p { font-size: 15px; }
.w-foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.w-foot-links a { color: rgba(255, 255, 255, .72); font-size: 15px; display: inline-flex; gap: 8px; align-items: center; transition: color .2s, transform .2s; }
.w-foot-links a::before { content: '\f105'; font-family: FontAwesome; color: var(--gold); }
.w-foot-links a:hover { color: #fff; transform: translateX(3px); }
.w-foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 15px; }
.w-foot-contact li { display: flex; gap: 12px; }
.w-foot-contact .fa { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.w-foot-contact span { overflow-wrap: anywhere; padding-top: 5px; line-height: 1.5; }
.w-foot-contact a { color: rgba(255, 255, 255, .85); }
.w-foot-contact a:hover { color: var(--gold); }
.w-social { display: flex; gap: 10px; }
.w-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.w-social a:hover { background: var(--magenta); transform: translateY(-3px); color: #fff; }
.w-foot-bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.w-foot-bar .w-wrap { display: flex; justify-content: space-between; gap: 14px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.w-foot-mini { display: flex; gap: 18px; flex-wrap: wrap; }
.w-foot-mini a { color: rgba(255, 255, 255, .65); }
.w-foot-mini a:hover { color: var(--gold); }

.w-wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 28px; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); animation: wPulse 2.4s infinite; }
.w-wa-float:hover { color: #fff; }
@keyframes wPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.w-top { position: fixed; right: 24px; bottom: 90px; z-index: 60; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--grad-btn); color: #fff; font-size: 22px; cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; box-shadow: var(--shadow); }
.w-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
body:not(:has(.w-wa-float)) .w-top { bottom: 24px; }

/* ---------- reveal animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.w-foot-grid { grid-template-columns: 1fr 1fr; }
	.w-doc-grid { grid-template-columns: 250px 1fr; }
}
@media (max-width: 960px) {
	.w-burger { display: flex; }
	.w-nav { position: fixed; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 2px; box-shadow: 0 24px 40px -20px rgba(74, 20, 96, .4); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-height: calc(100vh - 78px); overflow: auto; }
	.w-nav.open { transform: none; opacity: 1; pointer-events: auto; }
	.w-nav a:not(.w-btn) { padding: 13px 14px; }
	.w-nav a:not(.w-btn)::after { display: none; }
	.w-nav a.on { background: var(--tint); }
	.w-nav-cta { margin: 10px 0 0; }
	.w-hero { padding: 56px 0 110px; }
	.w-hero-grid, .w-split, .w-contact-grid, .w-doc-grid { grid-template-columns: 1fr; }
	.w-hero-grid { gap: 50px; }
	.w-split { gap: 50px; }
	.w-split-art { max-width: 420px; margin: 0 auto; width: 90%; }
	.w-steps { grid-template-columns: 1fr; }
	.w-doc-side { position: static; order: 2; }
	.w-cta { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
	.w-announce-r { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.w-wrap { padding: 0 16px; }
	.w-head-in { height: 68px; }
	.w-nav { top: 68px; max-height: calc(100vh - 68px); }
	.w-brand img { height: 56px; }
	.w-sec { padding: 64px 0; }
	.w-sec-head { margin-bottom: 36px; }
	.w-check { padding: 26px 22px; }
	.w-float-chip { display: none; }
	.w-stats { grid-template-columns: 1fr 1fr; }
	.w-stat { border-bottom: 1px solid var(--line); padding: 22px 12px; }
	.w-stat:nth-child(2n) { border-right: 0; }
	.w-stat b { font-size: 26px; }
	.w-stat:last-child:nth-child(odd) { grid-column: span 2; border-right: 0; }
	.w-why { grid-template-columns: 1fr; }
	.w-doc { padding: 28px 20px; }
	.w-fgrid { grid-template-columns: 1fr; }
	.w-form-card { padding: 26px 20px; }
	.w-foot-grid { grid-template-columns: 1fr; gap: 30px; }
	.w-phero-row { align-items: flex-start; }
	.w-phero-ic { width: 54px; height: 54px; font-size: 22px; border-radius: 16px; }
	.w-cards { grid-template-columns: 1fr; }
	.w-search { padding-left: 16px; }
	.w-search .w-btn { padding: 11px 18px; }
	.w-table thead { display: none; }
	.w-table tr { display: block; border-top: 1px solid var(--line); padding: 8px 0; }
	.w-table td { display: flex; justify-content: space-between; border: 0; padding: 8px 18px; }
	.w-table td::before { content: attr(data-l); color: var(--muted); font-weight: 600; font-size: 13.5px; }
	.w-cta-btns, .w-cta-btns .w-btn, .w-hero-btns .w-btn { width: 100%; }
	.w-modal { padding: 10px; }
}

/* ---------- print (policy pages) ---------- */
@media print {
	.w-announce, .w-head, .w-foot, .w-doc-side, .w-wa-float, .w-top, .w-doc-foot .w-btn, .w-phero .w-crumb { display: none !important; }
	.w-phero { background: none; color: #000; padding: 0; }
	.w-phero h1, .w-phero p { color: #000; }
	.w-phero-ic, .w-hero-bg { display: none; }
	.w-doc-grid { display: block; }
	.w-doc { box-shadow: none; border: 0; padding: 0; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- create card online (join.php) ---------- */
.w-nav a.w-nav-join { color: var(--green); font-weight: 700; }
.w-nav a.w-nav-join .fa { margin-right: 4px; }
.jn-card [hidden], .jn-step[hidden] { display: none !important; }
.jn-grid { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.jn-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 30px 34px 34px; min-width: 0; scroll-margin-top: 100px; }
.jn-steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.jn-steps li { position: relative; font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.jn-steps li::before { content: ''; position: absolute; top: 17px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.jn-steps li:first-child::before { display: none; }
.jn-steps li span { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #f1eaf5; color: var(--muted); font-size: 15px; transition: background .3s, color .3s, box-shadow .3s; }
.jn-steps li.on { color: var(--plum); }
.jn-steps li.on::before { background: var(--grad-btn); }
.jn-steps li.on span { background: var(--grad-btn); color: #fff; }
.jn-steps li.cur span { box-shadow: 0 0 0 6px rgba(163, 35, 127, .15); }
.jn-step h3 { font-size: 21px; margin-bottom: 16px; }
.jn-step .w-fl { margin-bottom: 14px; }
.jn-step .w-fgrid .w-fl { margin-bottom: 0; }
.jn-step .w-fgrid { margin-bottom: 14px; }
.jn-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 22px; }
.jn-plan { cursor: pointer; margin: 0; }
.jn-plan input { position: absolute; opacity: 0; pointer-events: none; }
.jn-plan-box { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; border-radius: 16px; border: 2px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.jn-plan-box b { font-size: 13px; color: var(--magenta); text-transform: uppercase; letter-spacing: .05em; }
.jn-plan-box em { font-style: normal; font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.jn-plan-box em small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.jn-plan-box > small { font-size: 12.5px; color: var(--muted); }
.jn-plan-box .fa { position: absolute; right: 12px; top: 12px; font-size: 20px; color: var(--line); transition: color .2s; }
.jn-plan:hover .jn-plan-box { transform: translateY(-2px); }
.jn-plan input:checked + .jn-plan-box { border-color: var(--magenta); box-shadow: 0 12px 26px -16px rgba(163, 35, 127, .8); background: #fdf8fc; }
.jn-plan input:checked + .jn-plan-box .fa { color: var(--magenta); }
.jn-plan input:focus-visible + .jn-plan-box { box-shadow: 0 0 0 4px rgba(163, 35, 127, .2); }
.jn-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 18px; cursor: pointer; }
.jn-agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--magenta); flex-shrink: 0; }
.jn-muted { color: var(--muted); font-size: 14.5px; }
.jn-otp { width: 100%; font: inherit; font-size: 30px; letter-spacing: .5em; text-align: center; padding: 14px; border-radius: 16px; border: 2px solid var(--line); background: #faf6fc; margin-bottom: 16px; outline: none; color: var(--ink); font-weight: 800; }
.jn-otp:focus { border-color: var(--magenta); background: #fff; box-shadow: 0 0 0 4px rgba(163, 35, 127, .12); }
.jn-links { display: flex; justify-content: space-between; margin-top: 12px; }
.jn-link { border: 0; background: none; color: var(--magenta); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 6px 0; }
.jn-link:disabled { color: var(--muted); cursor: default; }
.jn-verified { display: flex; gap: 8px; align-items: center; background: var(--green-l); color: #2f7a3a; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.jn-ok { background: #e8f5e2; color: #2f7a3a; border: 1px solid #c8e6bd; border-radius: 14px; padding: 12px 16px; font-size: 14.5px; margin-bottom: 14px; }
#jnErr { margin: 0 0 14px; }
.jn-done { text-align: center; }
.jn-ticket { text-align: left; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); margin: 18px auto; max-width: 520px; box-shadow: var(--shadow); }
.jn-ticket-top { background: var(--grad); color: #fff; padding: 18px 22px; position: relative; }
.jn-ticket-top small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .8; font-weight: 700; display: block; }
.jn-ticket-top b { font-size: 30px; letter-spacing: .04em; display: block; }
.jn-ticket-top span { position: absolute; right: 18px; top: 18px; background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; }
.jn-ticket-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 16px; }
.jn-ticket-grid div { background: var(--tint); border-radius: 12px; padding: 9px 12px; min-width: 0; }
.jn-ticket-grid small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.jn-ticket-grid b { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.jn-done-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.jn-side { display: grid; gap: 18px; position: sticky; top: 100px; }
.jn-side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.jn-side-box h4 { font-size: 17px; display: flex; gap: 8px; align-items: center; }
.jn-side-box h4 .fa { color: var(--magenta); }
.jn-how { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.jn-how li { display: flex; gap: 12px; font-size: 14.5px; }
.jn-how b { width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--magenta); display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
@media (max-width: 960px) { .jn-grid { grid-template-columns: 1fr; } .jn-side { position: static; } }
@media (max-width: 640px) {
	.jn-card { padding: 22px 16px 24px; }
	.jn-steps li { font-size: 11px; }
	.jn-plans { grid-template-columns: 1fr 1fr; }
	.jn-plan-box em { font-size: 23px; }
	.jn-ticket-grid { grid-template-columns: 1fr 1fr; }
	.jn-done-btns .w-btn { width: 100%; }
}
@media print {
	.pg-join .jn-steps, .pg-join .jn-side, .pg-join .jn-done-btns, .pg-join .w-phero { display: none !important; }
	.pg-join .jn-card { box-shadow: none; border: 0; }
}

/* ---------- online payment (pay.php / pay_return.php) ---------- */
.py-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
.py-card { position: sticky; top: 100px; }
.py-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.py-m { cursor: pointer; margin: 0; }
.py-m input { position: absolute; opacity: 0; pointer-events: none; }
.py-m span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-weight: 600; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.py-m span b { font-size: 22px; color: var(--ink); line-height: 1.1; }
.py-m span small { font-size: 13px; color: var(--magenta); font-weight: 700; }
.py-m input:checked + span { border-color: var(--magenta); background: #fdf8fc; box-shadow: 0 10px 22px -14px rgba(163, 35, 127, .8); }
.py-m input:focus-visible + span { box-shadow: 0 0 0 4px rgba(163, 35, 127, .2); }
.py-total { display: flex; justify-content: space-between; align-items: center; background: var(--tint); border-radius: 14px; padding: 14px 18px; font-weight: 700; color: var(--plum); }
.py-total b { font-size: 26px; color: var(--ink); }
.py-result { text-align: center; }
.py-result h3 { justify-content: center; }
.py-result .jn-ticket { text-align: left; }
.w-sent-ic.py-wait { background: var(--grad-gold); color: #3b1d00; box-shadow: 0 0 0 10px #fff3d6; }
.w-sent-ic.py-fail { background: linear-gradient(120deg, #e0414f, #a01d2b); box-shadow: 0 0 0 10px #fdecee; }
.w-mycard .w-btn-gold.w-btn-block { width: auto; }
@media (max-width: 960px) { .py-grid { grid-template-columns: 1fr; } .py-card { position: static; } }
@media print { .pg-pay .jn-done-btns, .pg-pay .w-announce, .pg-pay .w-head, .pg-pay .w-foot { display: none !important; } .pg-pay .w-form-card { box-shadow: none; border: 0; } }

/* ---------- card print popup (due_entry.php inside Check My Card) ---------- */
#payModal .w-modal-box { max-width: 920px; }
.w-modal-body .card_print { width: 22cm; height: 15.8cm; margin: 0 auto 10px; display: block; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.3; color: #000084; background: #fff; transform-origin: top left; }
.w-modal-body #print { height: 100%; background-repeat: no-repeat !important; background-color: #fff; display: flow-root; }
.w-modal-body .print-card-tab { border-collapse: collapse; }
.w-modal-body .print-card-tab th, .w-modal-body .print-card-tab td { color: #000084; font-weight: 700; padding: 0; font-size: 11px; line-height: 13px; }
.w-modal-body .print-card-tab p { margin: 0; }
.w-modal-body .print-hide { display: block !important; }
.w-modal-body .card-fit { overflow: hidden; margin: 0 auto; }
