/* ==========================================================================
   Capital Chamber Singapore Limited (CCSL) — Site-wide styles
   Design system: "Modern Corporate Trade" — navy + gold
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-dark: #071a30;
  --navy-mid: #123262;
  --gold: #c9982f;
  --gold-light: #e3b94f;
  --gold-dark: #a87c22;
  --white: #ffffff;
  --off-white: #f6f7fa;
  --border: #e3e7ee;
  --text: #1c2530;
  --text-light: #5a6472;
  --text-invert: #eef1f6;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.10);
  --shadow-sm: 0 4px 14px rgba(11, 37, 69, 0.08);
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--navy { background: var(--navy); color: var(--text-invert); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--off { background: var(--off-white); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-dark);
  margin-bottom: .8em;
}
.section--navy .eyebrow { color: var(--gold-light); }

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p { color: var(--text-light); }
.section--navy .section-head p { color: #c7d0e0; }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(201, 152, 47, 0.35);
}
.btn-gold:hover { box-shadow: 0 10px 24px rgba(201, 152, 47, 0.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-navy-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* Header / nav ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.1;
}
.brand img { height: 46px; width: auto; }
.brand small {
  display: block;
  font-weight: 500;
  font-size: .68rem;
  color: var(--text-light);
  letter-spacing: .04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--navy);
  border-color: var(--gold);
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero -------------------------------------------------------------------*/
.hero {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7,26,48,.94) 0%, rgba(11,37,69,.86) 45%, rgba(11,37,69,.55) 100%);
  z-index: -1;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px 90px;
}
.hero h1 { color: var(--white); max-width: 760px; }
.hero .lead {
  font-size: 1.15rem;
  max-width: 620px;
  color: #dbe3f0;
  margin-bottom: 2em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero { padding: 70px 24px 60px; }
.page-hero .hero-inner { padding: 30px 0 0; }

.breadcrumb { font-size: .85rem; color: #b9c4d8; margin-bottom: 14px; }
.breadcrumb a { color: #e3b94f; }

/* Stat strip ---------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  text-align: center;
}
.stat-card .num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
}
.stat-card .label { font-size: .85rem; color: var(--text-light); }

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #fdf3de, #f3dca4);
  color: var(--gold-dark);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--text-light); margin-bottom: 0; font-size: .95rem; }

.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.media-card img { height: 200px; width: 100%; object-fit: cover; }
.media-card .body { padding: 22px 22px 26px; }
.media-card h3 { margin-bottom: .4em; }
.media-card p { color: var(--text-light); font-size: .93rem; }
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2fb;
  color: var(--navy-mid);
  margin-bottom: 10px;
}
.tag-gold { background: #fbf0d9; color: var(--gold-dark); }

/* Two-col media/text block --------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split .kicker { margin-bottom: .3em; }
.checklist { list-style: none; margin: 0 0 1.4em; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: .7em;
  color: var(--text);
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

/* CTA band ------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--navy-mid));
  color: var(--white);
  border-radius: 20px;
  padding: 52px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d7deec; max-width: 560px; margin: 0 auto 1.6em; }
.cta-band-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Membership tiers ------------------------------------------------------ */
.tier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.tier--featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
  position: relative;
  transform: translateY(-8px);
}
.tier-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 14px;
  border-radius: 999px;
}
.tier h3 { margin-bottom: .2em; }
.tier .price { font-size: 1rem; color: var(--text-light); margin-bottom: 1.2em; }
.tier .checklist { flex: 1; }

/* Timeline / process ----------------------------------------------------*/
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}

/* Affiliation strip ------------------------------------------------------*/
.affiliate-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 0;
}
.affiliate-strip .aff {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}
.affiliate-strip .aff .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
}

/* Forms ------------------------------------------------------------------*/
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--off-white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}
.form-note { font-size: .8rem; color: var(--text-light); margin-top: 6px; }

/* Events -------------------------------------------------------------- */
.event-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.event-date {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  text-align: center;
  padding: 12px 6px;
}
.event-date .d { font-size: 1.5rem; font-weight: 800; display: block; }
.event-date .m { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.event-meta { font-size: .82rem; color: var(--text-light); margin-bottom: 4px; }

/* Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: #c7d0e0;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.2em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .7em; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 42px; }
.footer-brand span { color: var(--white); font-weight: 800; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #93a1bc;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.social-row a:hover { background: var(--gold); color: var(--navy-dark); }

/* Utility ----------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
  .site-header.open .nav-actions .btn { display: inline-flex; }
  .site-header.open .nav-actions { flex-direction: column; align-items: flex-start; margin-top: 10px; }
  .hero-inner { padding: 60px 24px 56px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 70px 1fr; }
  .event-card .btn { grid-column: 1 / -1; }
  .cta-band { padding: 36px 22px; }
  .steps { grid-template-columns: 1fr; }
}
