/* =========================================================
   VigoAsia — Info pages: About Us, Our Team, Contact Us, How to Buy
   (flexbox only)
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: #000000; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(20, 20, 20, .75) 55%, rgba(20, 20, 20, .35) 100%); }
.page-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 230px; padding-top: 28px; padding-bottom: 28px; }
.page-hero .breadcrumb { padding: 0 0 10px; color: #cbd5e1; }
.page-hero .breadcrumb a { color: var(--c-cyan); }
.page-hero .breadcrumb li:last-child { color: #fff; }
.page-hero h1 { font-size: 36px; font-weight: 800; line-height: 1.15; }
.page-hero h1 span { color: var(--c-orange); }
.page-hero p { max-width: 640px; margin-top: 8px; font-size: 15px; color: #dbe3f0; }

.page-body { display: flex; flex-direction: column; gap: 28px; padding-top: 28px; }
.block { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px; }
.block-title { font-size: 22px; font-weight: 700; color: var(--c-dark); margin-bottom: 6px; }
.block-sub { font-size: 14px; color: var(--c-muted); margin-bottom: 20px; max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-orange-d); margin-bottom: 8px; }

/* generic flex columns: parent sets --cols / --gap */
.cols { display: flex; flex-wrap: wrap; --cols: 4; --gap: 16px; gap: var(--gap); }
.cols > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.cols--3 { --cols: 3; } .cols--2 { --cols: 2; }

/* ---------- About ---------- */
.about-intro { display: flex; gap: 32px; align-items: center; }
.about-intro__text { flex: 1 1 0; min-width: 0; }
.about-intro__text h2 { font-size: 28px; font-weight: 800; line-height: 1.2; color: var(--c-dark); margin-bottom: 14px; }
.about-intro__text h2 span { color: var(--c-navy); }
.about-intro__text p { font-size: 14.5px; color: #4b5563; margin-bottom: 12px; }
.about-intro__media { position: relative; flex: 0 0 46%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-intro__badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); }
.about-intro__badge i { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #ecfdf5; color: var(--c-green); font-size: 17px; }
.about-intro__badge b { display: block; font-size: 14px; color: var(--c-dark); }
.about-intro__badge span { font-size: 11.5px; color: var(--c-muted); }
.check-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 20px; }
.check-list li { display: flex; gap: 10px; font-size: 14px; color: #374151; }
.check-list i { color: var(--c-green); margin-top: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.stat-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.stat { flex: 1 1 200px; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); background: linear-gradient(135deg, #000000, #141414); color: #fff; }
.stat i { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 51, 65, .15); color: var(--c-cyan); font-size: 19px; flex-shrink: 0; }
.stat b { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 12px; color: #c7d2fe; }

.info-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.info-card > i { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--c-navy); font-size: 20px; margin-bottom: 4px; }
.info-card h3 { font-size: 16px; font-weight: 700; color: var(--c-dark); }
.info-card p { font-size: 13.5px; color: var(--c-muted); }
.info-card--orange > i { background: #fef2f2; color: var(--c-orange-d); }
.info-card--green > i { background: #ecfdf5; color: var(--c-green); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px; border-radius: var(--radius-lg); background: var(--grad-brand); color: #fff; }
.cta-band h2 { font-size: 22px; font-weight: 800; }
.cta-band p { font-size: 14px; color: #e0f2fe; margin-top: 4px; }

/* ---------- Team ---------- */
.team-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.team-search { position: relative; flex: 0 1 320px; }
.team-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; }
.team-search .form-control { padding-left: 36px; }
.team-count { font-size: 13px; color: var(--c-muted); }
.team-count b { color: var(--c-text); }
.dept-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: thin; }
.dept-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-border); background: #fff; font-size: 12.5px; font-weight: 600; color: #4b5563; }
.dept-chip span { font-size: 11px; font-weight: 600; color: var(--c-muted); background: #f1f5f9; border-radius: 999px; padding: 1px 7px; }
.dept-chip:hover { border-color: var(--c-navy); color: var(--c-navy); }
.dept-chip.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.dept-chip.is-active span { background: rgba(255,255,255,.2); color: #fff; }

.dept { scroll-margin-top: 70px; }
.dept + .dept { margin-top: 26px; }
.dept__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dept__head i { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fef2f2; color: var(--c-orange-d); font-size: 16px; }
.dept__head h2 { font-size: 17px; font-weight: 700; color: var(--c-dark); }
.dept__head span { font-size: 12px; color: var(--c-muted); }
.team-grid { display: flex; flex-wrap: wrap; --cols: 6; --gap: 14px; gap: var(--gap); }
.team-grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--c-border); transition: transform var(--t), box-shadow var(--t); }
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.member__photo { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #000000, #141414); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e5e7eb; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__photo .initials { color: #fff; font-size: 26px; font-weight: 700; letter-spacing: .5px; }
.member__name { font-size: 13.5px; font-weight: 700; color: var(--c-dark); line-height: 1.3; text-transform: capitalize; }
.member__role { margin-top: 4px; font-size: 11.5px; color: var(--c-muted); }
.member--lead .member__photo { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c-orange); }
.member--lead .member__role { color: var(--c-orange-d); font-weight: 600; }
.team-empty { text-align: center; padding: 40px 10px; color: var(--c-muted); }

/* ---------- Contact ---------- */
.contact-layout { display: flex; gap: 24px; align-items: flex-start; }
.contact-layout__info { flex: 0 0 380px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.contact-layout__form { flex: 1 1 0; min-width: 0; }
.c-card { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); }
.c-card > i { flex: 0 0 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--c-navy); font-size: 18px; }
.c-card h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--c-muted); margin-bottom: 4px; }
.c-card a, .c-card p { display: block; font-size: 14px; font-weight: 600; color: var(--c-dark); word-break: break-word; }
.c-card a:hover { color: var(--c-navy); }
.c-card .c-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.c-card .c-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: #f1f5f9; }
.c-card--wa > i { background: #dcfce7; color: #16a34a; }
.c-card--chat > i { background: #e0f2fe; color: #0284c7; }
.c-card--addr > i { background: #fef2f2; color: var(--c-orange-d); }
.warn-card { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius); background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; font-size: 13px; }
.warn-card i { color: var(--c-red); font-size: 20px; margin-top: 2px; }
.warn-card b { display: block; font-size: 14px; margin-bottom: 2px; color: #991b1b; }
.form-card { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 20px; font-weight: 700; color: var(--c-dark); }
.form-card > p { font-size: 13px; color: var(--c-muted); margin: 4px 0 18px; }
.form-two { display: flex; flex-wrap: wrap; gap: 0 14px; }
.form-two > * { flex: 0 0 calc(50% - 7px); min-width: 0; }
.form-two > .full { flex-basis: 100%; }
.form-card .form-success { display: none; text-align: center; padding: 30px 10px; }
.form-card .form-success.is-show { display: block; }
.form-card .form-success i { font-size: 48px; color: var(--c-green); }
.form-card .form-success h3 { font-size: 20px; margin: 10px 0 4px; }
.form-card .form-success p { color: var(--c-muted); font-size: 13.5px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); background: #e5e7eb; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- How to buy ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; counter-reset: tl; }
.tl-step { position: relative; display: flex; gap: 18px; padding-bottom: 22px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: repeating-linear-gradient(#c7d2fe 0 6px, transparent 6px 12px); }
.tl-step:last-child::before { display: none; }
.tl-step__num { flex: 0 0 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--c-navy); color: #fff; font-size: 18px; box-shadow: 0 0 0 5px #eef2ff; z-index: 1; }
.tl-step__body { flex: 1 1 0; min-width: 0; padding: 4px 0 0; }
.tl-step__body small { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--c-orange-d); }
.tl-step__body h3 { font-size: 16.5px; font-weight: 700; color: var(--c-dark); margin: 2px 0 4px; }
.tl-step__body p { font-size: 13.5px; color: #4b5563; }
.tl-step--done .tl-step__num { background: var(--c-green); box-shadow: 0 0 0 5px #dcfce7; }

.pay-layout { display: flex; gap: 20px; align-items: stretch; flex-wrap: wrap; }
.pay-layout > * { flex: 1 1 340px; min-width: 0; }
.bank-card { position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #000000 0%, #141414 60%, #7a0c13 100%); color: #fff; box-shadow: var(--shadow-lg); }
.bank-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.07); }
.bank-card dl { margin: 0; position: relative; z-index: 1; }
.bank-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.bank-card__top span { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--c-cyan); }
.bank-card__top b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; z-index: 1; }
.bank-row dt { font-size: 12px; color: #c7d2fe; flex: 0 0 110px; }
.bank-row dd { margin: 0; flex: 1 1 0; font-size: 14px; font-weight: 600; text-align: right; word-break: break-word; }
.bank-row dd.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; letter-spacing: 1px; }
.copy-btn { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; }
.copy-btn:hover { background: var(--c-cyan); color: #04122b; }
.rules { display: flex; flex-direction: column; gap: 10px; }
.rule { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius); background: #f8fafc; border: 1px solid var(--c-border); font-size: 13.5px; color: #374151; }
.rule i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--c-navy); }
.rule b { display: block; font-size: 14px; color: var(--c-dark); }
.alert-big { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius-lg); background: #fef2f2; border: 2px solid #fca5a5; color: #7f1d1d; }
.alert-big > i { font-size: 30px; color: var(--c-red); flex-shrink: 0; }
.alert-big h2 { font-size: 18px; font-weight: 800; color: #991b1b; margin-bottom: 6px; }
.alert-big ul { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.alert-big li { display: flex; gap: 8px; }
.alert-big li i { color: var(--c-red); margin-top: 4px; font-size: 11px; }
.faq .accordion__item { border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq .accordion__btn { padding: 14px 16px; font-size: 14.5px; }
.faq .accordion__panel { padding: 0 16px 14px; font-size: 13.5px; color: #4b5563; }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) { .team-grid { --cols: 5; } }
@media (max-width: 1199px) {
  .cols { --cols: 2; }
  .cols--3 { --cols: 3; }
  .team-grid { --cols: 4; }
  .contact-layout__info { flex-basis: 320px; }
}
@media (max-width: 991px) {
  .page-hero .container { min-height: 170px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 13.5px; }
  .about-intro { flex-direction: column; }
  .about-intro__media { flex: 0 0 auto; width: 100%; }
  .contact-layout { flex-direction: column; }
  .contact-layout__info, .contact-layout__form { flex: 0 0 auto; width: 100%; }
  .team-grid { --cols: 3; }
}
@media (max-width: 767px) {
  .block { padding: 18px 14px; }
  .block-title { font-size: 18px; }
  .about-intro__text h2 { font-size: 22px; }
  .cols, .cols--3, .cols--2 { --cols: 1; }
  .team-grid { --cols: 2; --gap: 10px; }
  .member__photo { width: 76px; height: 76px; }
  .member__name { font-size: 12.5px; }
  .form-card { padding: 18px 14px; }
  .form-two > * { flex-basis: 100%; }
  .map-wrap iframe { height: 280px; }
  .cta-band { padding: 20px; }
  .cta-band .btn-row { width: 100%; }
  .cta-band .btn { flex: 1 1 0; }
  .team-search { flex-basis: 100%; }
  .bank-row dt { flex-basis: 90px; }
  .stat-strip { gap: 10px; }
  .stat { flex: 0 0 calc(50% - 5px); flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .stat i { width: 38px; height: 38px; font-size: 16px; }
  .stat b { font-size: 17px; }
  .alert-big { padding: 16px; gap: 12px; }
  .alert-big > i { font-size: 24px; }
  .alert-big h2 { font-size: 16px; }
}

/* =========================================================
   Live Showroom
   ========================================================= */
.live-hero { position: relative; overflow: hidden; color: #fff; background: #05070f; }
.live-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.live-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 300px at 15% 50%, rgba(20, 20, 20, .7), transparent 70%), linear-gradient(90deg, rgba(3, 5, 20, .95) 0%, rgba(3, 5, 20, .7) 50%, rgba(3, 5, 20, .35) 100%); }
.live-hero .container { position: relative; z-index: 1; padding-top: 26px; padding-bottom: 34px; }
.live-hero .breadcrumb { padding: 0 0 14px; color: #cbd5e1; }
.live-hero .breadcrumb a { color: var(--c-cyan); }
.live-hero .breadcrumb li:last-child { color: #fff; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(225, 29, 46, .15); border: 1px solid rgba(255, 77, 94, .5); color: #ff6b78; font-size: 12px; font-weight: 700; letter-spacing: .8px; }
.live-hero h1 { font-size: 46px; font-weight: 800; line-height: 1.08; margin: 14px 0 6px; }
.live-hero h1 span { color: var(--c-orange); }
.live-hero__tag { font-size: 16px; font-weight: 600; color: var(--c-cyan); }
.live-hero__text { max-width: 600px; margin-top: 10px; font-size: 15px; color: #d1d5db; }
.live-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.live-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #e5e7eb; backdrop-filter: blur(4px); }
.live-meta i { color: var(--c-cyan); }
.live-meta b { color: #fff; font-variant-numeric: tabular-nums; }

.live-viewer { padding: 18px; background: #0b0f1a; border-color: #0b0f1a; }
.live-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.view-switch { display: flex; padding: 4px; border-radius: 10px; background: #1a2030; }
.view-switch button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 7px; font-size: 13px; font-weight: 600; color: #9ca3af; }
.view-switch button.is-active { background: #fff; color: var(--c-navy); }
.cam-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cam-tabs::-webkit-scrollbar { display: none; }
.cam-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 8px; background: #1a2030; color: #cbd5e1; font-size: 12.5px; font-weight: 600; border: 1px solid transparent; }
.cam-tab .live-dot { color: #ff4d5e; }
.cam-tab:hover { border-color: #334155; }
.cam-tab.is-active { background: var(--c-navy); color: #fff; border-color: var(--c-cyan); }
.cam-stage.is-grid ~ .live-note, .cam-stage.is-grid { }
.live-viewer:has(.cam-stage.is-grid) .cam-tabs { visibility: hidden; }

.cam-stage { display: flex; flex-wrap: wrap; gap: 12px; }
.cam { margin: 0; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid #1f2937; }
.cam__screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.cam__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cam__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #6b7280; font-size: 13px; background: radial-gradient(circle at center, #111827, #000); }
.cam__placeholder i { font-size: 34px; color: #374151; }
.cam__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: #111827; color: #d1d5db; font-size: 12.5px; }
.cam__label { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam__label b { color: #fff; }
.cam__actions { display: flex; gap: 6px; flex-shrink: 0; }
.cam__btn { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #1f2937; color: #e5e7eb; font-size: 13px; }
.cam__btn:hover { background: var(--c-cyan); color: #04122b; }
/* big view: only the active camera */
.cam-stage.is-big .cam { flex: 0 0 100%; display: none; }
.cam-stage.is-big .cam.is-active { display: flex; }
/* side by side: 2 × 2 */
.cam-stage.is-grid .cam { flex: 0 0 calc(50% - 6px); }
.live-note { margin-top: 12px; font-size: 12px; color: #9ca3af; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cta-band .btn-ghost-light { border-color: rgba(255,255,255,.5); }

@media (max-width: 991px) {
  .live-hero h1 { font-size: 32px; }
  .live-hero__text { font-size: 13.5px; }
}
@media (max-width: 767px) {
  .live-viewer { padding: 10px; margin: 0 -12px; border-radius: 0; }
  .live-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .live-toolbar > * { min-width: 0; max-width: 100%; }
  .view-switch button { flex: 1 1 0; justify-content: center; }
  .cam-stage.is-grid .cam { flex-basis: 100%; }
  .live-viewer:has(.cam-stage.is-grid) .cam-tabs { display: none; }
  .live-hero h1 { font-size: 28px; }
  .live-meta li { font-size: 12px; padding: 7px 10px; }
  .cta-band .btn-row { flex-direction: column; }
}

/* ---- Two official bank accounts (KASIKORNBANK + SMBC) ---- */
.bank-card--smbc { background: linear-gradient(135deg, #003b2a 0%, #00694a 55%, #1aa36f 100%); }
.bank-card--smbc .bank-card__top span { color: #a7f3d0; }
.bank-card--smbc .bank-row dt { color: #c6f0dd; }
.bank-card dd a { color: #fff; text-decoration: none; }
.bank-card dd a:hover { text-decoration: underline; }
.bank-row dd { word-break: break-word; }
.pay-layout--rules { margin-top: 20px; }
.pay-layout--rules .rules { flex: 1 1 100%; display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; }
.pay-layout--rules .rule { flex: 1 1 240px; min-width: 0; }
@media (max-width: 480px) {
  .bank-card { padding: 18px; }
  .bank-row dt { flex-basis: 84px; }
  .bank-row dd { font-size: 13px; }
}

/* Team photos: show the whole picture (name strip at the bottom included) */
.member { padding: 10px 10px 14px; overflow: hidden; }
.member__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 12px; box-shadow: none; margin-bottom: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #f3f4f6, #e5e7eb); }
.member__photo img { object-fit: cover; object-position: center top; border-radius: 12px; transition: transform .4s; }
.member:hover .member__photo img { transform: scale(1.04); }
.member__photo .initials { color: #9ca3af; font-size: 32px; }
.member--lead { border-color: rgba(215,20,30,.35); }
.member--lead .member__photo { box-shadow: 0 0 0 2px var(--c-orange); }
.member__role { display: inline-block; }
.member--lead .member__role { background: #fef2f2; padding: 2px 10px; border-radius: 999px; }
@media (max-width: 575px) { .member__photo { width: 100%; height: auto; } }

/* ---------- Legal pages (Privacy Policy, Terms & Conditions) ---------- */
.legal-hero { background: radial-gradient(90% 160% at 100% 0%, rgba(215,20,30,.55) 0%, rgba(215,20,30,0) 55%), linear-gradient(135deg, #1a1a1a, #050505); }
.legal-hero::after { display: none; }
.legal-hero .container { min-height: 250px; }
.legal-hero__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 12px; border-radius: 16px; background: linear-gradient(135deg, #ff3341, #a80f17); font-size: 24px; box-shadow: 0 12px 26px -10px rgba(215,20,30,.9); }
.legal-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.legal-hero__meta i { color: #ff5a63; margin-right: 4px; }
.legal-hero__meta b { color: #fff; }
.legal { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 28px; }
.legal__toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; }
.legal__tocbox { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 16px 12px; }
.legal__tocbox > b { display: block; padding: 0 8px 8px; font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--c-muted); }
.legal__tocbox ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.legal__tocbox a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 13px; color: #374151; transition: background var(--t), color var(--t); }
.legal__tocbox a span { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px; background: #f3f4f6; font-size: 11px; font-weight: 700; color: #6b7280; transition: inherit; }
.legal__tocbox a:hover, .legal__tocbox a.is-active { background: #fef2f2; color: #b3121c; }
.legal__tocbox a:hover span, .legal__tocbox a.is-active span { background: #d7141e; color: #fff; }
.legal__help { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #1c1c1c, #0b0b0b); color: #fff; transition: transform var(--t); }
.legal__help:hover { transform: translateY(-2px); color: #fff; }
.legal__help > i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #d7141e; font-size: 17px; }
.legal__help b { display: block; font-size: 14px; }
.legal__help span span { font-size: 12px; color: rgba(255,255,255,.7); }
.legal__other { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px dashed #fca5a5; border-radius: var(--radius-lg); background: #fff; font-size: 13px; font-weight: 600; color: #b3121c; }
.legal__other i:last-child { margin-left: auto; font-size: 11px; }
.legal__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.legal__sec { scroll-margin-top: 90px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 22px 24px; }
.legal__sec:target { border-color: #fca5a5; box-shadow: 0 0 0 4px rgba(215,20,30,.08); }
.legal__sec h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 18px; font-weight: 700; color: var(--c-dark); }
.legal__num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #ff3341, #a80f17); color: #fff; font-size: 13px; font-weight: 800; }
.legal__sec p { font-size: 14px; line-height: 1.75; color: #4b5563; }
.legal__sec p + p, .legal__sec ul + p, .legal__sec ol + p, .legal__sec div + p, .legal__sec p + div { margin-top: 10px; }
.legal__sec a { color: #c4121c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal__sec strong, .legal__sec b { color: var(--c-dark); }
.legal__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.legal__list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.65; color: #4b5563; }
.legal__list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #fee2e2; color: #d7141e; font-size: 9px; }
.legal__steps { list-style: none; counter-reset: ls; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.legal__steps li { counter-increment: ls; position: relative; padding: 14px 12px 12px; border-radius: 12px; background: #f9fafb; border: 1px solid var(--c-border); font-size: 13px; line-height: 1.55; color: #4b5563; }
.legal__steps li::before { content: counter(ls); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; background: #111; color: #fff; font-size: 12px; font-weight: 800; }
.legal__steps li b { display: block; margin-bottom: 2px; }
.legal__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.legal__chips span { padding: 6px 12px; border-radius: 999px; background: #fef2f2; border: 1px solid #fecaca; font-size: 12.5px; font-weight: 600; color: #b3121c; }
.legal__note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff7f7; border: 1px solid #fecaca; border-left: 4px solid #d7141e; font-size: 13.5px; line-height: 1.6; color: #4b5563; }
.legal__note i { color: #d7141e; font-size: 18px; margin-top: 2px; }
.legal__contact { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #1c1c1c, #0b0b0b); color: #fff; }
.legal__contact b { display: block; font-size: 16px; margin-bottom: 2px; }
.legal__contact > div > span { font-size: 12.5px; color: rgba(255,255,255,.7); }
.legal__contact-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.legal__contact-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; }
.legal__contact-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.legal__contact-links a.is-primary { background: #d7141e; border-color: #d7141e; }
.legal__contact-links a.is-primary:hover { background: #b3121c; }
@media (max-width: 991px) {
  .legal { grid-template-columns: 1fr; padding-top: 18px; }
  .legal__toc { position: static; }
  .legal__tocbox ol { display: grid; grid-template-columns: 1fr 1fr; }
  .legal__steps { grid-template-columns: 1fr 1fr; }
  .legal__contact { flex-direction: column; align-items: flex-start; }
  .legal__contact-links { justify-content: flex-start; }
}
@media (max-width: 575px) {
  .legal__tocbox ol { grid-template-columns: 1fr; }
  .legal__sec { padding: 18px 16px; }
  .legal__sec h2 { font-size: 16px; }
  .legal__steps { grid-template-columns: 1fr; }
  .legal__contact { padding: 18px 16px; }
  .legal__contact-links a { flex: 1 1 100%; justify-content: center; }
}
