/* Yes Global Philippines — one stylesheet for every page. Tokens follow the Yes Global (Malaysia) site. */
:root {
  --navy: #0A1628;
  --navy-mid: #1B3A5C;
  --bg: #060E1A;
  --gold: #C8A45E;
  --gold-light: #E8D5A0;
  --cream: #F5F0E8;
  --white: #FFFFFF;
  --muted: #8A9BB5;
  --line: rgba(200, 164, 94, 0.18);
  --panel: linear-gradient(135deg, rgba(27, 58, 92, 0.35), rgba(10, 22, 40, 0.85));
  --ink: #1B2533;
  --radius: 8px;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 2000; background: var(--gold); color: var(--navy); padding: 8px 14px; }

/* ── navigation ── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 22, 40, 0.94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 13px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.nav-cta { padding: 9px 22px; border: 1px solid var(--gold); border-radius: 4px; color: var(--gold) !important; }
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--cream); padding: 8px 12px;
  border-radius: 4px; font: inherit; cursor: pointer; }

/* ── hero ── */
.hero { position: relative; padding: 120px 0 96px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--hero-img, none) center / cover no-repeat;
  opacity: 0.28; }
.hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 26, 0.2), var(--bg)); }
.hero .wrap { position: relative; z-index: 1; }
.tag { display: inline-block; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; color: var(--white); }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; max-width: 820px; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.lede { font-size: 19px; color: var(--muted); max-width: 680px; margin-top: 20px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-block; padding: 13px 28px; border-radius: 4px; text-decoration: none; font-weight: 600;
  letter-spacing: 0.5px; border: 1px solid var(--gold); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-line { color: var(--gold); }
.btn-line:hover { background: rgba(200, 164, 94, 0.12); }

/* ── sections ── */
.section { padding: 84px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 17px; }
.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  overflow: hidden; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card ul { padding-left: 18px; margin-top: 8px; }
.card .img { margin: -30px -30px 22px; height: 200px; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.kv { display: grid; grid-template-columns: minmax(170px, 260px) 1fr; border-top: 1px solid var(--line); }
.kv dt, .kv dd { padding: 13px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--gold); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding-right: 18px; }
.kv dd { color: var(--cream); }
.notice { border: 1px solid var(--gold); border-radius: var(--radius); padding: 22px 26px;
  background: rgba(200, 164, 94, 0.08); color: var(--cream); }
.notice strong { color: var(--gold-light); }
.small { font-size: 13px; color: var(--muted); }

/* ── data tables ── */
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.data th { background: var(--navy-mid); color: var(--white); text-align: left; padding: 12px 14px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.6px; }
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--cream); }
table.data tr:nth-child(even) td { background: rgba(27, 58, 92, 0.18); }
table.data td.num, table.data th.num { text-align: center; }

/* ── legal documents (cream paper for long reading) ── */
.doc { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 56px clamp(22px, 6vw, 72px);
  max-width: 900px; margin: 0 auto; }
.doc h1 { color: var(--navy); font-size: clamp(30px, 4vw, 42px); }
.doc .meta { color: #5b6677; font-size: 14px; margin: 10px 0 30px; }
.doc h2 { color: var(--navy); font-size: 22px; margin: 34px 0 12px; }
.doc p, .doc li { margin-bottom: 10px; text-align: justify; }
.doc .li { padding-left: 28px; text-indent: -16px; }
.doc .note { font-size: 13.5px; color: #5b6677; }
.doc .box { border: 1px solid var(--gold); background: #F6EFDF; padding: 16px 20px; border-radius: 6px; margin: 16px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid #c9cfd8; padding: 9px 11px; vertical-align: top; text-align: left; }
.doc th { background: #e9e4da; }
.doc td.label { background: #f1ede6; font-weight: 600; width: 34%; }
.doc .tick { padding-left: 30px; position: relative; }
.doc .tick::before { content: '☐'; position: absolute; left: 6px; }
.doc .sign { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 20px 0; }
.doc .sign div { border-top: 1px solid #8c96a5; padding-top: 8px; font-size: 14px; }
.doc .fill { background: #fff3b0; color: #a00000; font-weight: 700; padding: 0 3px; }
.doc a { color: var(--navy-mid); }
.doc .download { margin-top: 26px; }
.doc .download a { color: var(--navy); font-weight: 600; }

/* ── footer ── */
.footer { border-top: 1px solid var(--line); padding: 54px 0 34px; background: var(--navy); margin-top: 40px; }
.footer .cols { display: grid; gap: 34px; grid-template-columns: 2fr 1fr 1fr; }
.footer h4 { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer p, .footer li { color: var(--muted); font-size: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer .entity { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px;
  color: var(--muted); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-cta { border: none; }
  .hero { padding: 84px 0 64px; }
  .footer .cols { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { border-bottom: none; padding-bottom: 0; }
}
