/* ============ OSL Consulting Sdn Bhd ============ */
:root {
  --navy: #0B3A47;
  --navy-2: #0F4C5C;
  --navy-deep: #072B35;
  --gold: #D9A441;
  --gold-light: #E2B65C;
  --gold-pale: #F5E8CC;
  --blue: #B8CDD4;
  --cream: #F7F4EC;
  --white: #FFFFFF;
  --ink: #1E2A2E;
  --grey: #55676E;
  --line: #E2DFD3;
  --ledger: #124B5B;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 58, 71, 0.10);
  --font-head: "EB Garamond", "Noto Serif SC", Georgia, serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, Segoe UI, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.18rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.section { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head p { color: var(--grey); margin-top: 12px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-deep);
  color: #C9CFDF;
  font-size: 0.82rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); }
.topbar span { white-space: nowrap; }

header.site {
  background: var(--white);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(20,32,74,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; }
.brand .brand-text { line-height: 1.2; }
.brand .brand-name {
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.06rem; color: var(--navy);
  letter-spacing: 0.02em;
}
.brand .brand-tag { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--ink); padding: 6px 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--navy-2); box-shadow: inset 0 -2px 0 var(--gold); }

.lang-switch { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--cream); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  color: var(--grey); padding: 4px 10px; border-radius: 999px;
}
.lang-switch button.active { background: var(--navy); color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 2px solid transparent; transition: all .18s ease;
}
.btn-gold { background: var(--gold); color: #fff !important; }
.btn-gold:hover { background: #9c8449; }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--gold-light); color: var(--gold-pale) !important; background: transparent; }
.btn-outline:hover { background: rgba(201,179,126,.12); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy) !important; background: transparent; }
.btn-outline-dark:hover { background: rgba(20,32,74,.06); }
.btn-wa { background: #1EBE57; color: #fff !important; }
.btn-wa:hover { background: #17a34a; }
.btn svg { flex: 0 0 auto; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2.6px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 89px, rgba(18,75,91,.55) 89px, rgba(18,75,91,.55) 90px),
    radial-gradient(1100px 520px at 78% -10%, #12586B 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #EAF0F0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("logo.svg") no-repeat right -140px center;
  background-size: 620px; opacity: 0.07; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1; padding: 96px 0 90px 28px; max-width: 700px;
  border-left: 2px solid rgba(217,164,65,.85);
}
.hero h1 { color: #F5EFE3; margin-bottom: 20px; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p.lead { font-size: 1.12rem; color: var(--blue); margin-bottom: 34px; max-width: 560px; }
.hero .eyebrow { color: var(--gold-light); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.trustbar { background: var(--navy-deep); border-top: 1px solid rgba(217,164,65,.3); position: relative; z-index: 1; }
.trustbar .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; padding: 26px 0; text-align: center;
}
.trust-item .num {
  font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--gold-light);
}
.trust-item .lbl { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9AA3BC; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--gold-pale); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--grey); font-size: 0.95rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--gold); }
.card .more:hover { color: var(--navy); }

/* why us */
.why { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item .n {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); border: 1.5px solid var(--gold-light);
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { margin-bottom: 6px; }
.why-item p { color: var(--grey); font-size: 0.95rem; }

/* testimonials */
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.quote-card blockquote { font-size: 0.98rem; color: var(--ink); margin-bottom: 16px; }
.quote-card .who { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.quote-card .who span { display: block; font-weight: 400; color: var(--grey); font-size: 0.84rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 64px 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #BFC7DC; max-width: 520px; }
.cta-band .hero-ctas { flex: 0 0 auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy-2)); color: #fff; padding: 72px 0 60px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #C6CDE0; max-width: 640px; margin-top: 12px; font-size: 1.05rem; }

/* ---------- Services page ---------- */
.svc-block {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.svc-block:last-of-type { border-bottom: 0; }
.svc-side { position: sticky; top: 110px; align-self: start; }
.svc-side .icon {
  width: 60px; height: 60px; border-radius: 14px; background: var(--navy);
  color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.svc-side h2 { font-size: 1.55rem; margin-bottom: 10px; }
.svc-side p { color: var(--grey); font-size: 0.95rem; margin-bottom: 18px; }
.svc-list { list-style: none; display: grid; gap: 16px; }
.svc-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px 18px 52px; position: relative; font-size: 0.95rem; color: var(--grey);
}
.svc-list li strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 3px; }
.svc-list li::before {
  content: "✓"; position: absolute; left: 20px; top: 19px;
  color: var(--gold); font-weight: 700;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.badge {
  font-size: 0.72rem; letter-spacing: 0.06em; font-weight: 600;
  background: var(--gold-pale); color: var(--navy); border-radius: 999px; padding: 5px 12px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.founder-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow); text-align: center;
}
.founder-card .avatar {
  width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold-light); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  border: 3px solid var(--gold-light);
}
.founder-card .cn { color: var(--gold); font-size: 1.05rem; margin: 2px 0 10px; }
.founder-card .creds { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 18px; }
.founder-card p.bio { text-align: left; color: var(--grey); font-size: 0.95rem; }
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.stat-box { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; }
.stat-box .num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.stat-box .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--grey); }

.value-list { list-style: none; display: grid; gap: 20px; margin-top: 10px; }
.value-list li { padding-left: 34px; position: relative; color: var(--grey); font-size: 0.97rem; }
.value-list li strong { color: var(--navy); display: block; }
.value-list li::before { content: "◆"; position: absolute; left: 4px; top: 4px; color: var(--gold); font-size: 0.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px;
}
.contact-card .icon {
  width: 46px; height: 46px; border-radius: 10px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.icon-wa { background: #E7F8EE; color: #17a34a; }
.icon-tel { background: #E9F0FB; color: var(--navy-2); }
.icon-mail { background: var(--gold-pale); color: var(--gold); }
.icon-map { background: #F3EFE5; color: var(--navy); }
.contact-card strong { color: var(--navy); display: block; font-size: 0.98rem; }
.contact-card a.big { font-size: 1.05rem; font-weight: 600; color: var(--navy-2); }
.contact-card p { color: var(--grey); font-size: 0.88rem; }

form.enquiry {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
form.enquiry h3 { margin-bottom: 6px; }
form.enquiry .sub { color: var(--grey); font-size: 0.92rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); background: var(--cream);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.form-note { font-size: 0.8rem; color: var(--grey); margin-top: 12px; }
.form-success {
  display: none; background: #E7F8EE; border: 1px solid #b7e4c7; color: #14532d;
  padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 0.92rem;
}
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 60px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-deep); color: #A7AFC6; font-size: 0.9rem;
}
.foot-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding: 60px 0 44px; }
.foot-main h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.foot-brand img { width: 54px; margin-bottom: 14px; }
.foot-brand .name { font-family: var(--font-head); color: #fff; font-size: 1.1rem; font-weight: 700; }
.foot-brand .reg { font-size: 0.8rem; color: #7C86A3; margin: 4px 0 10px; }
.foot-brand .tag { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site a { color: #A7AFC6; }
footer.site a:hover { color: var(--gold-light); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; color: #7C86A3; }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1EBE57; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(23,163,74,.4);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .svc-block { grid-template-columns: 1fr; gap: 22px; }
  .svc-side { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .trustbar .container { grid-template-columns: 1fr 1fr; gap: 20px; }
}
/* banner embed */
.banner-embed {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  line-height: 0; background: var(--navy);
}
.banner-embed svg { width: 100%; height: auto; display: block; }

@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 18px 5%; gap: 16px; box-shadow: 0 12px 20px rgba(20,32,74,.12);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-cta .btn { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-inner { padding: 68px 0 62px; }
  .topbar .container { justify-content: center; }
  .foot-main { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
