/* Saujana Hirisan Currency Exchange — site styles */
:root {
  --navy-950: #010a35;
  --navy-900: #021460;
  --navy-800: #0a2180;
  --navy-700: #1a33a0;
  --navy-100: #e4e8f7;
  --navy-50: #f2f4fb;
  --red: #e3042e;
  --red-700: #b80224;
  --red-50: #fdebef;
  --gold: #f4c430;
  --ink: #0e1430;
  --body: #3c4466;
  --muted: #565d7c;
  --line: #e2e5ef;
  --bg: #ffffff;
  --soft: #f5f7fc;
  --green: #0a7a3d;
  --wa: #25d366;
  --wa-dark: #128c4a;
  --up: #0a7a3d;
  --down: #d1032a;
  --radius: 8px;
  --radius-sm: 4px;
  --r: 4px;
  --r-lg: 8px;
  --shadow: 0 10px 30px rgba(2, 20, 96, .10);
  --shadow-lg: 0 24px 60px rgba(2, 20, 96, .22);
  --head: "Poppins", "Segoe UI", Arial, sans-serif;
  --text: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 16px; line-height: 1.6; color: var(--body); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.center { text-align: center; }
.muted { color: var(--muted); }
/* Flag images come with a dark drop-shadow ring baked in; trim it off. */
.rc-top img, .tick img, .ft-top img, .cc-top img { clip-path: circle(37%); transform: scale(1.3); }

.num, .rc-vals strong, .rates-table td, .ticker em { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: var(--r); border: 2px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9em 1.6em; font-size: 16px; }
.btn-sm { padding: .5em .95em; font-size: 14px; }
.btn.full { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227, 4, 46, .32); }
.btn-red:hover { background: var(--red-700); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost { color: var(--navy-900); background: var(--navy-50); }
.btn-ghost:hover { background: var(--navy-100); }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, .6); background: transparent; }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-wa { background: var(--wa-dark); color: #fff; }
.btn-wa:hover { background: #0e7a40; }
.btn .ico { width: 1.15em; height: 1.15em; }

/* Top bar + header */
.topbar { background: var(--navy-950); color: #c9d1f2; font-size: 13px; }
.topbar-in { display: flex; gap: 22px; align-items: center; min-height: 38px; }
.topbar-in > * { display: inline-flex; align-items: center; gap: 7px; }
.topbar-in .ico { color: var(--gold); width: 15px; height: 15px; }
.topbar a { color: #fff; text-decoration: none; margin-left: auto; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(2, 20, 96, .10); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(2, 20, 96, .1), 0 4px 12px rgba(2, 20, 96, .18); flex: none; }
.logo-mark img { width: 46px; height: 46px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--head); font-weight: 800; font-size: 21px; color: var(--navy-900); letter-spacing: .01em; text-transform: uppercase; }
.logo-tag { margin-top: 6px; font-weight: 700; font-size: 11.5px; letter-spacing: .32em; color: var(--red); text-transform: uppercase; }
.logo-light .logo-name { color: #fff; }
.logo-light .logo-tag { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: var(--r); font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.nav a:hover { background: var(--navy-50); color: var(--navy-900); }
.nav a.is-active { color: var(--red); font-weight: 600; }
.nav .nav-cta { margin-left: 10px; color: #fff; padding: 11px 20px; }
.nav .nav-cta:hover { color: #fff; background: var(--red-700); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: var(--r); background: var(--navy-50); cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--navy-900); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(2, 20, 96, .12); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: var(--r); }
  .nav .nav-cta { margin: 8px 0 0; }
  .topbar-hide { display: none !important; }
}
@media (max-width: 560px) {
  .topbar-lic { font-size: 12px; }
  .topbar a { display: none; }
  .logo-name { font-size: 17px; }
  .logo-tag { font-size: 10px; letter-spacing: .26em; }
  .logo-mark { width: 46px; height: 46px; }
  .logo-mark img { width: 39px; height: 39px; }
  .header-in { min-height: 68px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 10, 53, .94) 0%, rgba(2, 20, 96, .80) 45%, rgba(2, 20, 96, .45) 100%), linear-gradient(0deg, rgba(1, 10, 53, .85) 0%, rgba(1, 10, 53, 0) 35%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 112px; min-height: 640px; }
.hero-badge { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: #c9d1f2; margin-bottom: 18px; }
.hero-title { color: #fff; display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.hero-name { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero-what { font-size: clamp(44px, 6.4vw, 82px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: #dfe4fa; max-width: 34em; min-height: 3.2em; transition: opacity .4s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-dots { display: flex; gap: 8px; margin-top: 34px; }
.hero-dots button { width: 34px; height: 5px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.is-active { background: var(--red); width: 54px; }

/* Converter */
.conv-card { position: relative; background: #fff; color: var(--body); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.conv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.conv-head h2 { font-size: 21px; }
.conv-branch select { border: 1px solid var(--line); background: var(--soft); border-radius: var(--r); padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--navy-900); cursor: pointer; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select { width: 100%; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(26, 51, 160, .12); }
.conv-input { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.conv-input:focus-within { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(26, 51, 160, .12); }
.conv-input input, .conv-input select, .conv-input output { border: 0; border-radius: 0; padding: 14px; font-size: 20px; font-weight: 700; font-family: var(--head); color: var(--ink); background: transparent; min-width: 0; }
.conv-input input:focus, .conv-input select:focus { box-shadow: none; }
.conv-input select { font-size: 14px; font-family: var(--text); font-weight: 600; background: var(--soft); border-left: 1.5px solid var(--line); cursor: pointer; }
.conv-out output { display: flex; align-items: center; color: var(--navy-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-swap { justify-self: center; margin: -6px 0; width: 42px; height: 42px; border-radius: var(--r); border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(227, 4, 46, .35); transition: transform .3s; }
.conv-swap:hover { background: var(--red-700); }
.conv-swap .ico { width: 20px; height: 20px; transform: rotate(90deg); }
.conv-rate { margin: 0; font-size: 13px; color: var(--muted); min-height: 2.6em; }
.conv-rate strong { color: var(--ink); }

/* Ticker */
.ticker { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: stretch; background: rgba(1, 10, 53, .9); border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-run { display: flex; width: max-content; animation: tick 160s linear infinite; will-change: transform; }
.ticker.is-off .ticker-run { animation-play-state: paused; }
@media (max-width: 700px) { .ticker-run { animation-duration: 220s; } .tick { padding: 12px 16px; font-size: 13px; } }
.ticker:hover .ticker-run { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 7px; padding: 14px 22px; white-space: nowrap; color: #c3cbef; border-right: 1px solid rgba(255, 255, 255, .1); }
.tick img { width: 20px; height: 20px; }
.tick b { color: #fff; }
.tick em { font-style: normal; color: #fff; font-weight: 600; }
.rtime { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tick .chg { font-size: 12px; }
.tick .chg-up { color: #4fe08f; } .tick .chg-down { color: #ff7d93; } .tick .chg-flat { color: #8f99c7; }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 96px; min-height: 0; gap: 34px; }
  .hero-shade { background: linear-gradient(180deg, rgba(1, 10, 53, .88) 0%, rgba(2, 20, 96, .82) 60%, rgba(1, 10, 53, .95) 100%); }
}

/* Sections */
.section { padding: 96px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 40px; }
.center-head { justify-content: center; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: currentColor; }
.center-head .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: var(--gold); }
.section h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 17px; color: var(--muted); margin: 12px 0 0; max-width: 40em; }
.updated { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-800); font-weight: 600; font-size: 14px; margin-left: 6px; }
@media (max-width: 700px) { .section { padding: 68px 0; } }

/* Tabs */
.tabs { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.tab { border: 0; border-left: 1px solid var(--line); box-shadow: inset 0 -3px 0 transparent; background: transparent; padding: 11px 20px; border-radius: 0; font-weight: 600; font-size: 14px; color: var(--navy-900); cursor: pointer; transition: background .2s, color .2s; }
.tab:first-child { border-left: 0; }
.tab:hover { background: var(--soft); }
.tab[aria-selected="true"] { background: var(--navy-900); color: #fff; box-shadow: inset 0 -3px 0 var(--red); }

/* Rate cards */
.rates-home { background: var(--soft); }
.rate-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.rate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 14px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.rate-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.rc-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.rc-top img { width: 40px; height: 40px; }
.rc-name { min-width: 0; }
.rc-name h3 { font-size: 18px; font-weight: 700; line-height: 1.2; }
.rc-name p { margin: 0; font-size: 13px; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-unit { align-self: start; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.rc-vals { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.rc-vals div { padding: 10px 12px; display: grid; gap: 2px; }
.rc-vals div + div { border-left: 1px solid var(--line); background: var(--navy-50); }
.rc-vals span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rc-vals strong { font-family: var(--head); font-size: 21px; font-weight: 700; color: var(--ink); }
.rc-vals div + div strong { color: var(--navy-900); }
.rc-vals .stock-out { font-size: 14px; font-weight: 700; line-height: 1.9; }
.rc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.rc-foot .rtime-w { display: none; }
.chg { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.chg-up { color: var(--up); }
.chg-down { color: var(--down); }
.chg-flat { color: var(--muted); font-weight: 500; }
.stock { font-size: 13px; font-weight: 600; white-space: nowrap; }
.stock-ok { color: var(--green); }
.stock-low { color: #a35f00; }
.stock-out { color: var(--down); }
.flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0% { background-color: rgba(244, 196, 48, .45); } 100% { background-color: transparent; } }
@media (max-width: 1080px) { .rate-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .rate-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 28px; }
  .rate-card { padding: 12px 12px 10px; gap: 10px; }
  .rc-top { grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .rc-top img { width: 30px; height: 30px; }
  .rc-name h3 { font-size: 16px; }
  .rc-name p, .rc-unit { display: none; }
  .rc-foot { padding-top: 8px; }
  .rc-foot .chg, .rc-foot .stock, .rc-foot .rtime { font-size: 12px; }
  .rc-vals { grid-template-columns: minmax(0, 1fr); }
  .rc-vals div { padding: 7px 9px; }
  .rc-vals div + div { border-left: 0; border-top: 1px solid var(--line); }
  .rc-vals strong { font-size: 17px; }
  .rc-foot { font-size: 12px; }
}

/* About band */
.about-band { background: var(--navy-900); color: #d6dcf6; position: relative; overflow: hidden; }
.about-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.about-badge { position: absolute; right: -18px; bottom: -22px; background: var(--red); color: #fff; padding: 18px 22px; border-radius: var(--r-lg); display: grid; box-shadow: 0 16px 34px rgba(227, 4, 46, .4); }
.about-badge strong { font-family: var(--head); font-size: 34px; line-height: 1; }
.about-badge span { font-size: 13px; opacity: .9; }
.about-copy h2 { color: #fff; margin-bottom: 18px; }
.about-text { color: #cdd4f3; font-size: 16.5px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0 34px; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 18px; }
.stat strong { display: block; font-family: var(--head); font-size: clamp(22px, 2.2vw, 28px); color: #fff; line-height: 1.1; white-space: nowrap; }
.stat span { font-size: 13.5px; color: #aeb8e6; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); gap: 52px; } .about-badge { right: 14px; } }
@media (max-width: 480px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding: 34px 28px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); counter-increment: step; transition: box-shadow .25s, transform .25s; }
.steps li:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.steps li::before { content: "0" counter(step); position: absolute; top: 22px; right: 26px; font-family: var(--head); font-weight: 800; font-size: 42px; color: var(--navy-50); line-height: 1; }
.step-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: var(--r-lg); background: var(--red-50); color: var(--red); margin-bottom: 18px; }
.step-ico .ico { width: 28px; height: 28px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Branch cards */
.branches-home { background: var(--soft); }
.branch-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.branch-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.branch-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.bc-head { position: relative; padding: 26px 24px 22px; background: var(--navy-900); color: #fff; overflow: hidden; }
.branch-card:nth-child(2) .bc-head { background: var(--red); }
.branch-card:nth-child(3) .bc-head { background: var(--navy-800); }
.bc-head > .ico { position: absolute; right: 20px; top: 20px; width: 54px; height: 54px; opacity: .22; }
.bc-head span { position: relative; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bc-head h3 { position: relative; z-index: 1; color: #fff; font-size: 28px; font-weight: 800; margin-top: 4px; }
.bc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bc-name { margin: 0; font-weight: 600; color: var(--ink); }
.bc-body address { font-style: normal; font-size: 14.5px; color: var(--muted); }
.bc-phone { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--navy-900); }
.bc-phone .ico { color: var(--red); }
.bc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
@media (max-width: 980px) { .branch-cards { grid-template-columns: minmax(0, 1fr); } }

/* Reviews */
.review-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
@media (max-width: 700px) { .review-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; } }
.review { margin: 0; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars .ico { width: 19px; height: 19px; }
.review blockquote { margin: 0; font-size: 16px; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; color: var(--ink); font-size: 15px; }
.review figcaption small { color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-weight: 700; font-family: var(--head); }
.review:nth-child(3n+2) .avatar { background: var(--red); }

/* Enquiry */
.enquiry-band { background: var(--red); color: #ffe3e9; position: relative; overflow: hidden; }
.enquiry-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.enquiry-copy h2 { color: #fff; margin-bottom: 16px; }
.enquiry-copy .eyebrow-light { color: #fff; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: #fff; }
.ticks li::before { content: "✓"; font-weight: 700; flex: none; }
.enquiry-card { background: #fff; color: var(--body); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 30px 60px rgba(90, 0, 18, .35); }
.enq-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.enq-form .full { grid-column: 1 / -1; }
.seg-radio { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); }
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio span { display: block; text-align: center; padding: 10px 8px; border-radius: var(--r); font-weight: 600; font-size: 14px; cursor: pointer; color: var(--navy-900); transition: background .2s, color .2s; }
.seg-radio input:checked + span { background: var(--navy-900); color: #fff; }
.seg-radio input:focus-visible + span { outline: 3px solid var(--gold); }
.enq-estimate { background: var(--navy-50); border-radius: var(--r); padding: 14px 16px; font-size: 14px; color: var(--body); }
.enq-estimate strong { display: block; font-family: var(--head); font-size: 24px; color: var(--navy-900); }
.enq-note { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .enquiry-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 520px) { .enq-form { grid-template-columns: minmax(0, 1fr); } .enquiry-card { padding: 20px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--navy-100); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; color: var(--ink); position: relative; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: var(--r); display: grid; place-items: center; background: var(--navy-50); color: var(--navy-900); font-size: 20px; line-height: 1; transition: transform .25s, background .2s; }
.faq details[open] summary::after { content: "–"; background: var(--red); color: #fff; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--navy-900) center / cover no-repeat; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 10, 53, .95), rgba(2, 20, 96, .72)); }
.page-hero .container { padding-top: 70px; padding-bottom: 70px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.01em; }
.page-hero p { color: #d3daf7; font-size: 17px; margin: 14px 0 0; max-width: 42em; }
.crumbs { font-size: 13.5px; color: #aeb8e6; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }

/* Exchange rates page: "currency wall" */
.rx-hero { position: relative; color: #d3daf7; background: url("img/guilloche.svg") center -260px / 1600px auto repeat-x, radial-gradient(ellipse 60% 120% at 85% 0%, #1b3cc0 0%, transparent 60%), linear-gradient(160deg, #031a78 0%, var(--navy-900) 55%, var(--navy-950) 100%); }
.rx-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 72px; }
.rx-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.01em; }
.rx-sub { margin: 8px 0 0; font-size: 17px; }
.rx-sub strong { color: #fff; }
.rx-updated { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 8px 14px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: 14px; }
.rx-updated b { color: #fff; }
.rx-updated .rel { color: #aeb8e6; }
.rx-updated .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4fe08f; box-shadow: 0 0 0 4px rgba(79, 224, 143, .2); animation: pulse 1.8s infinite; }

/* quick calculator */
.qconv { background: #fff; color: var(--body); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); display: grid; gap: 12px; }
.qconv-h { margin: 0; font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); }
.qconv-dir { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qconv-dir button { border: 0; background: #fff; padding: 9px 6px; font-weight: 600; font-size: 14px; color: var(--navy-900); cursor: pointer; }
.qconv-dir button + button { border-left: 1px solid var(--line); }
.qconv-dir button[aria-pressed="true"] { background: var(--navy-900); color: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.qconv-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qconv-row:focus-within { border-color: var(--navy-700); }
.qconv-row input, .qconv-row select { border: 0; min-width: 0; padding: 12px; font-size: 18px; font-family: var(--head); font-weight: 700; color: var(--ink); background: #fff; }
.qconv-row select { font-family: var(--text); font-size: 14px; font-weight: 600; background: var(--soft); border-left: 1.5px solid var(--line); cursor: pointer; }
.qconv-row :focus { outline: none; }
.qconv-out { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.qconv-out span { font-size: 14px; color: var(--muted); }
.qconv-out strong { font-family: var(--head); font-size: 28px; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.qconv-rate { margin: -6px 0 0; font-size: 12.5px; color: var(--muted); }

/* sticky branch + search bar, floating over the hero edge */
.rx-bar { position: sticky; top: var(--hh, 78px); z-index: 40; margin-top: -32px; pointer-events: none; }
.rx-bar-in { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 10px; background: #fff; border-radius: var(--r-lg); box-shadow: 0 12px 30px rgba(2, 20, 96, .16); pointer-events: auto; }
.rx-bar .tabs { border: 0; }
.rx-bar .tab { padding: 11px 22px; border-radius: var(--r); }
.search { position: relative; flex: 0 1 300px; }
.search input { width: 100%; padding: 11px 14px 11px 40px; border: 1.5px solid var(--line); border-radius: var(--r); font-size: 15px; background: var(--soft); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 3px rgba(26, 51, 160, .12); }
.search::before { content: ""; position: absolute; left: 15px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); border: 2px solid var(--muted); border-radius: 50%; box-sizing: border-box; }

.rx-main { padding: 34px 0 90px; background: linear-gradient(180deg, #eef2fb 0%, #f6f8fc 40%, #eef2fb 100%); }
.rx-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 20px; font-size: 14px; color: var(--body); }
.lg-item b { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: var(--r); background: var(--navy-900); color: #fff; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.lg-item + .lg-item b { background: var(--red); }
.rx-legend .travel { margin: 0 0 0 auto; }
.rx-group { margin: 34px 0 14px; font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); display: flex; align-items: center; gap: 12px; }
.rx-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* shared value block */
.rv { display: grid; gap: 1px; min-width: 0; }
.rv small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rv strong { font-family: var(--head); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.rv .stock-out { font-size: 15px; font-weight: 700; line-height: 1.6; }
.rv .rv-note { display: block; font-size: 11.5px; font-weight: 700; line-height: 1.2; margin-top: 2px; }
.ftile .rv .rv-note { color: #ffd479; }

/* featured tiles: coloured by each currency's own flag */
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ftiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ftile { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 18px; padding: 20px; border: 0; border-radius: var(--r-lg); text-align: left; font: inherit; color: #fff; cursor: pointer; background: #0a1450; box-shadow: 0 14px 30px rgba(2, 20, 96, .22); transition: transform .25s, box-shadow .25s; }
.ftile:hover, .ftile.is-open { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(2, 20, 96, .32); }
.ft-glow { position: absolute; inset: -10%; z-index: -2; background: center / cover no-repeat; transform: scale(1.4) rotate(-8deg); }
.ftile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(165deg, rgba(5, 12, 50, .05) 0%, rgba(5, 12, 50, .55) 55%, rgba(3, 8, 36, .85) 100%); }
.ft-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ft-top img { width: 46px; height: 46px; }
.ft-top b { display: block; font-family: var(--head); font-size: 22px; line-height: 1; }
.ft-top small { color: rgba(255, 255, 255, .78); font-size: 13px; }
.ft-unit { align-self: start; font-size: 12px; color: rgba(255, 255, 255, .7); }
.ft-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ft-vals .rv { padding: 10px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.ft-vals .rv small { color: rgba(255, 255, 255, .72); }
.ft-vals .rv strong { font-size: 24px; color: #fff; }
.ft-vals .stock-out { color: #ffb3c0; }
.ft-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.ftile .chg-up { color: #6ff0a6; } .ftile .chg-down { color: #ff9aab; } .ftile .chg-flat, .ftile .rtime { color: rgba(255, 255, 255, .72); }
.ftile .stock-low { color: #ffd479; }
.ftile .rtime-w { display: none; }

/* currency cards */
.ccard { position: relative; display: grid; gap: 12px; padding: 16px 16px 12px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ccard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--navy-900)); }
.ccard:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(2, 20, 96, .12); border-color: transparent; }
.ccard.is-open { border-color: var(--c, var(--navy-900)); box-shadow: 0 0 0 2px var(--c, var(--navy-900)); }
.cc-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.cc-top img { width: 36px; height: 36px; }
.cc-name { min-width: 0; font-size: 14.5px; color: var(--body); line-height: 1.3; }
.cc-name b { font-family: var(--head); font-size: 17px; color: var(--ink); margin-right: 3px; }
.cc-name small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-chev { width: 26px; height: 26px; border-radius: var(--r); background: var(--soft); position: relative; transition: transform .25s, background .2s; }
.cc-chev::before { content: ""; position: absolute; left: 50%; top: 42%; width: 7px; height: 7px; border-right: 2px solid var(--navy-900); border-bottom: 2px solid var(--navy-900); transform: translate(-50%, -50%) rotate(45deg); }
.ccard.is-open .cc-chev { transform: rotate(180deg); background: var(--navy-50); }
.cc-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-vals .rv { padding: 8px 10px; border-radius: var(--r); background: var(--soft); }
.cc-vals .rv small { color: var(--muted); }
.cc-vals .rv strong { font-size: 20px; color: var(--ink); }
.cc-vals .rv-sell { background: var(--navy-50); }
.cc-vals .rv-sell strong { color: var(--navy-900); }
.cc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; }
.cc-foot .chg, .cc-foot .stock { font-size: 12.5px; }
.cc-foot .rtime { font-size: 12px; }

/* travel switch highlight (optional feature) */
#rateList[data-mode="abroad"] .rv-buy, #rateList[data-mode="back"] .rv-sell { opacity: .4; }
#rateList[data-mode="abroad"] .ccard .rv-sell strong, #rateList[data-mode="back"] .ccard .rv-buy strong { color: var(--red); }
#rateList[data-mode="abroad"] .ftile .rv-sell, #rateList[data-mode="back"] .ftile .rv-buy { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); }

.rl-empty { padding: 30px 20px; text-align: center; color: var(--muted); margin: 0; }
.rl-foot { font-size: 13.5px; color: var(--muted); margin: 26px 2px 0; max-width: 70em; }

/* Stock warnings fade in and out so they catch the eye */
.stock-low, .stock-out { animation: stockPulse 2s ease-in-out infinite; }
@keyframes stockPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* A card whose rate or stock just changed fades in with a soft highlight */
.is-changed { animation: changedIn 1.6s ease-out; }
@keyframes changedIn { 0% { opacity: .2; box-shadow: 0 0 0 4px rgba(244, 196, 48, .7); } 30% { opacity: 1; } 100% { box-shadow: 0 0 0 0 rgba(244, 196, 48, 0); } }

/* Computer: currencies below the tiles show as a table (phones keep the cards) */
.cg-head { display: none; }
@media (min-width: 900px) {
  .cgrid:not(.ftiles) { grid-template-columns: minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(2, 20, 96, .06); }
  .cg-head, .ccard { grid-template-columns: 40px minmax(0, 1fr) 130px 130px 110px 130px 28px; column-gap: 14px; }
  .cg-head { display: grid; align-items: center; padding: 13px 18px 13px 22px; background: var(--navy-900); border-bottom: 3px solid var(--gold); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  .cg-head span:first-child { grid-column: 1 / 3; }
  .cg-head span:nth-child(2) { grid-column: 3; text-align: right; }
  .cg-head span:nth-child(3) { grid-column: 4; text-align: right; }
  .cg-head span:nth-child(4) { grid-column: 5; }
  .cg-head span:nth-child(5) { grid-column: 6; }
  .ccard { display: grid; align-items: center; min-height: 64px; padding: 10px 18px 10px 22px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; transform: none !important; }
  .ccard:nth-of-type(even) { background: #f3f6fc; }
  .ccard:hover { background: #e9eef9; box-shadow: none; }
  .ccard.is-open { background: color-mix(in srgb, var(--c, #021460) 8%, #fff); box-shadow: inset 0 0 0 2px var(--c, #021460); }
  .ccard::before { top: 16px; bottom: 16px; width: 4px; border-radius: 0 2px 2px 0; }
  .cc-top, .cc-vals, .cc-foot { display: contents; }
  .cc-top > img { grid-row: 1; grid-column: 1; width: 34px; height: 34px; }
  .cc-name { grid-row: 1; grid-column: 2; font-size: 14.5px; }
  .cc-chev { grid-row: 1; grid-column: 7; background: transparent; }
  .cc-vals .rv { grid-row: 1; padding: 0; background: none; text-align: right; }
  .cc-vals .rv-buy { grid-column: 3; }
  .cc-vals .rv-sell { grid-column: 4; background: none; }
  .cc-vals .rv small { display: none; }
  .cc-vals .rv strong { font-size: 18px; }
  .cc-vals .rv .stock-out { font-size: 14px; line-height: 1.3; }
  .cc-foot > :first-child { grid-row: 1; grid-column: 5; justify-self: start; font-size: 13.5px; }
  .cc-foot .rtime { grid-row: 1; grid-column: 6; font-size: 13.5px; color: var(--body); }
  .cc-foot .rtime-w { display: none; }
  .cgrid:not(.ftiles) .rpanel { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
}

/* Detail panel: opens under the clicked card's row, full width */
.rpanel { grid-column: 1 / -1; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--c, var(--navy-900)); background: #fff; box-shadow: 0 18px 40px rgba(2, 20, 96, .14); animation: panelIn .3s ease-out; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.rp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; padding: 22px; background: linear-gradient(180deg, #f7f9fe, #fff); }
.rp-close { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: var(--r); background: transparent; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.rp-close:hover { background: var(--soft); color: var(--ink); }
.rp-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; min-width: 0; }
.rp-box h3 { font-size: 15px; font-family: var(--text); font-weight: 700; color: var(--ink); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-right: 28px; }
.rp-box h3 span { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.rp-dir { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 12px; }
.rp-dir button { border: 0; background: #fff; padding: 9px 6px; font-weight: 600; font-size: 13.5px; color: var(--navy-900); cursor: pointer; }
.rp-dir button + button { border-left: 1px solid var(--line); }
.rp-dir button[aria-pressed="true"] { background: var(--navy-900); color: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.rp-pair { display: grid; gap: 8px; }
.rp-in { display: grid; grid-template-columns: 58px minmax(0, 1fr); border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rp-in:focus-within { border-color: var(--navy-700); }
.rp-in span { display: grid; place-items: center; background: var(--soft); font-weight: 700; font-size: 13px; color: var(--navy-900); border-right: 1.5px solid var(--line); }
.rp-in input { border: 0; padding: 11px 12px; font-family: var(--head); font-size: 19px; font-weight: 700; color: var(--ink); min-width: 0; width: 100%; background: #fff; }
.rp-in input:focus { outline: none; }
.rp-rate { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.rp-chart svg { width: 100%; height: auto; display: block; }
.rp-chart text { fill: var(--muted); font: 11px var(--text); }
.rp-stats { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.rp-stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rp-actions { display: grid; gap: 8px; margin-top: 14px; }
.rp-actions .btn { width: 100%; }

@media (max-width: 1080px) {
  .ftiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .rx-hero-in { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 60px; }
}
@media (max-width: 720px) {
  .qconv { display: none; }
  .rx-hero-in { padding-bottom: 52px; }
  .rx-hero h1 { font-size: 30px; }
  .rx-sub { font-size: 15px; }
  .rx-bar-in { padding: 8px; gap: 8px; }
  .rx-bar .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .rx-bar .tab { padding: 10px 6px; text-align: center; }
  .rx-bar .search { flex: 1 1 100%; }
  .rx-legend { gap: 8px 14px; font-size: 13px; }
  .rx-legend .travel { margin: 4px 0 0; width: 100%; }
  .cgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ftiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .ftile { padding: 14px; gap: 12px; }
  .ft-top { grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .ft-top img { width: 32px; height: 32px; }
  .ft-top b { font-size: 18px; }
  .ft-top small, .ft-unit { display: none; }
  .ft-vals { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ft-vals .rv { padding: 7px 9px; }
  .ft-vals .rv strong { font-size: 19px; }
  .ft-foot { font-size: 12px; }
  .ftile .rtime { display: none; }
  .rp { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 12px; }
  .rp-box.rp-chart { order: 0; }
}
@media print {
  .rx-bar, .travel, .qconv, .cc-chev, .rpanel, .info-grid { display: none !important; }
  .rx-hero { background: none; color: #000; }
  .rx-hero h1, .rx-updated b { color: #000; }
  .ftile { color: #000; background: #fff; box-shadow: none; border: 1px solid #ccc; }
  .ft-glow, .ftile::after { display: none; }
  .stock-low, .stock-out { animation: none; }
}

/* Info cards (rates page side notes, contact) */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.info-card { background: var(--soft); border-radius: var(--r-lg); padding: 24px; }
.info-card .step-ico { width: 50px; height: 50px; margin-bottom: 14px; }
.info-card h3 { font-size: 18px; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: minmax(0, 1fr); } }

/* Branches page */
.branch-jump { background: #fff; border-bottom: 1px solid var(--line); }
.branch-jump-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.branch-jump a { display: flex; align-items: center; gap: 12px; padding: 18px 20px; text-decoration: none; color: var(--ink); border-left: 1px solid var(--line); transition: background .15s; }
.branch-jump a:first-child { border-left: 0; }
.branch-jump a:hover { background: var(--soft); }
.branch-jump .ico { width: 22px; height: 22px; color: var(--red); }
.branch-jump b { display: block; font-family: var(--head); font-size: 16px; }
.branch-jump small { color: var(--muted); font-size: 13px; }
.branches-page { background: var(--soft); padding-top: 48px; }
.branch-list { display: grid; gap: 28px; }
.branch-full { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: 110px; }
.bf-media { display: flex; flex-direction: column; background: var(--navy-900); }
.bf-media > img, .bf-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bf-placeholder { display: grid; place-items: center; background: var(--navy-800); }
.bf-placeholder .logo-mark { width: 96px; height: 96px; }
.bf-placeholder .logo-mark img { width: 82px; height: 82px; }
.bf-label { padding: 18px 24px 20px; color: #fff; border-top: 4px solid var(--red); flex: 1; }
.bf-label span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.bf-label h2 { color: #fff; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin-top: 4px; }
.bf-body { padding: 30px 32px; display: grid; gap: 18px; align-content: start; }
.bf-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.bf-row .ico { color: var(--red); width: 21px; height: 21px; margin-top: 2px; }
.bf-note { margin-top: 4px !important; font-size: 13.5px; font-weight: 600; color: #a35f00 !important; }
.notice { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 12px 16px; background: #fff7e6; border-left: 4px solid #e0a100; color: #6b4300; font-weight: 600; font-size: 15px; }
.notice .ico { width: 20px; height: 20px; color: #a35f00; flex: none; }
.bf-row strong { display: block; color: var(--ink); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.bf-row p, .bf-row address { margin: 0; font-style: normal; color: var(--body); }
.bf-row a { color: var(--navy-900); font-weight: 600; text-decoration: none; }
.bf-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bf-actions .btn { width: 100%; }
@media (max-width: 900px) {
  .branch-full { grid-template-columns: minmax(0, 1fr); }
  .bf-body { padding: 22px 20px; }
}
@media (max-width: 600px) {
  .branch-jump-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .branch-jump a { flex-direction: column; text-align: center; gap: 4px; padding: 12px 6px; }
  .branch-jump small { display: none; }
}

/* About page */
.prose { font-size: 17px; }
.prose h3, .prose h4 { margin: 1.4em 0 .5em; }
.about-hero { position: relative; color: #fff; background: var(--navy-900) center / cover no-repeat; isolation: isolate; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 10, 53, .94) 0%, rgba(2, 20, 96, .78) 55%, rgba(2, 20, 96, .45) 100%); }
.about-hero-in { padding-top: 96px; padding-bottom: 96px; max-width: 1200px; }
.about-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 800; max-width: 14em; letter-spacing: -.01em; }
.about-hero p:last-child { margin: 16px 0 0; font-size: 17px; color: #d3daf7; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.story-text h2 { margin-bottom: 18px; }
.story-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.story-photos { position: relative; min-height: 440px; }
.story-photo { position: absolute; width: 74%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.story-photo-1 { top: 0; right: 0; }
.story-photo-2 { bottom: 0; left: 0; border: 6px solid #fff; }
.story-photos:has(.story-photo-1:only-child) .story-photo-1 { position: static; width: 100%; }
.about-numbers { background: var(--navy-900); color: #fff; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 44px; padding-bottom: 44px; }
.num-item { text-align: center; padding: 6px 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.num-item:first-child { border-left: 0; }
.num-item strong { display: block; font-family: var(--head); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.1; }
.num-item span { color: #aeb8e6; font-size: 14px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .25s, transform .25s; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-lg); background: var(--navy-50); color: var(--navy-900); }
.service-ico .ico { width: 26px; height: 26px; }
.service h3 { font-size: 20px; }
.service p { margin: 0; color: var(--muted); flex: 1; }
.service a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red); text-decoration: none; }
.service a .ico { width: 15px; height: 15px; }
.about-values { background: var(--navy-900); color: #d3daf7; }
.about-values h2 { color: #fff; }
.about-values .lead { color: #aeb8e6; }
.values-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: v; }
.value-list li { position: relative; padding: 20px 22px 20px 74px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); counter-increment: v; }
.value-list li::before { content: counter(v); position: absolute; left: 22px; top: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); background: var(--red); color: #fff; font-family: var(--head); font-weight: 800; }
.value-list h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.value-list p { margin: 0; color: #c3cbef; }
.licence-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy-900); border-radius: var(--r-lg); padding: 30px 32px; }
.licence-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r-lg); background: var(--navy-900); color: var(--gold); }
.licence-ico .ico { width: 30px; height: 30px; }
.licence-panel h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.licence-panel p { color: var(--body); }
.licence-panel a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-800); }
.licence-panel a .ico { width: 15px; height: 15px; }
.about-visit { background: var(--soft); }
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.visit-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s; }
.visit-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.visit-card img, .visit-ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--navy-800); }
.visit-txt { display: grid; gap: 2px; padding: 16px 18px; }
.visit-txt b { font-family: var(--head); color: var(--ink); font-size: 17px; }
.visit-txt small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .story-grid, .values-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .story-photos { min-height: 0; display: grid; gap: 12px; }
  .story-photo { position: static; width: 100%; border: 0 !important; }
  .services, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .num-item:nth-child(3) { border-left: 0; }
  .about-hero-in { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .licence-panel { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .value-list li { padding: 18px 18px 18px 66px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 26px; margin-bottom: 6px; }
.contact-list { display: grid; gap: 16px; }
.contact-item { background: var(--soft); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 6px; }
.contact-item h3 { font-size: 17px; }
.contact-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.contact-item .bc-actions { padding-top: 6px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--navy-950); color: #aeb8e6; font-size: 14.5px; border-top: 1px solid rgba(217, 180, 74, .35); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.1fr); gap: 44px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0 0; max-width: 30em; line-height: 1.65; }
.footer-licence { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); color: #fff; font-weight: 600; font-size: 14px; }
.footer-licence .ico { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.footer-licence small { font-weight: 400; color: #aeb8e6; font-size: 12.5px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--red); display: inline-block; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer a { color: #fff; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--gold); }
.footer-links a::before { content: "›"; color: var(--red); margin-right: 8px; font-weight: 700; }
.footer-branches li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-branches li:last-child { border-bottom: 0; padding-bottom: 0; }
.footer-branches li > a:first-child { font-weight: 600; }
.footer-branches span { font-size: 13px; color: #8f99c7; }
.footer-dir { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--gold) !important; }
.footer-dir .ico { width: 13px; height: 13px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { width: 17px; height: 17px; color: var(--gold); margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .2); }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-social .ico { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: #00072a; }
.footer-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 30px; padding-top: 18px; padding-bottom: 20px; font-size: 12.5px; color: #8f99c7; }
.footer-bottom-in p { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); padding-top: 44px; } }

/* WhatsApp float */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-btn { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: var(--r-lg); padding: 13px 20px 13px 16px; background: var(--wa); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 12px 28px rgba(18, 140, 74, .45); transition: transform .2s; }
.wa-btn:hover { transform: translateY(-2px); }
.wa-btn .ico { width: 26px; height: 26px; }
.wa-menu { background: #fff; border-radius: var(--r-lg); padding: 10px; width: 270px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.wa-menu p { margin: 4px 10px 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wa-menu a { display: flex; gap: 12px; align-items: center; padding: 11px 10px; border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 600; }
.wa-menu a:hover { background: var(--soft); }
.wa-menu a .ico { color: var(--wa-dark); width: 20px; height: 20px; }
.wa-menu small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
@media (max-width: 560px) { .wa-btn span { display: none; } .wa-btn { padding: 14px; } .row-open .wa-float { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-run { animation: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .wa-float, .ticker, .hero-actions, .info-grid, .enquiry-band { display: none !important; }
  .page-hero { background: none !important; color: #000; }
  .page-hero::before { display: none; }
  .page-hero h1, .page-hero p { color: #000; }
}
