/* ============================================================
   HISCEC Foundation — Design System
   Modern navy + steel-blue + silver (logo-matched)
   ============================================================ */

:root {
  /* Navy dark surfaces (kept under --navy-* names) — from logo */
  --navy-900: #0c2235;   /* deep navy */
  --navy-800: #102c43;
  --navy-700: #17374f;

  /* Primary blue action (kept under --blue-* names) — logo blue */
  --blue-600: #1f6c9e;   /* logo blue */
  --blue-500: #2f86bb;
  --blue-50:  #eaf2f8;

  /* Light steel-blue accent (kept under --teal-* names) */
  --teal-600: #3a8bc2;
  --teal-500: #5aa9dd;   /* bright steel blue */
  --teal-50:  #eaf3fa;

  --lime:     #5aa9dd;   /* accent (formerly lime) */
  --lime-soft:#8fc4e8;

  --gold-500: #8a99a8;   /* silver-gray (logo wordmark) */

  --ink-900: #14222e;
  --ink-700: #3a4854;
  --ink-500: #6a7783;
  --ink-300: #9aa7b3;

  --bg:       #ffffff;
  --bg-soft:  #f2f6fa;   /* soft blue-gray off-white */
  --bg-tint:  #e4eef6;
  --line:     #dde6ee;
  --white:    #ffffff;

  /* Dark-surface helpers */
  --d-text:   #c4d3e0;   /* body text on dark */
  --d-mute:   #92a7bb;   /* muted on dark */
  --d-line:   rgba(90,169,221,.18);
  --d-card:   rgba(255,255,255,.05);

  --shadow-sm: 0 1px 3px rgba(12,34,53,.08), 0 1px 2px rgba(12,34,53,.04);
  --shadow-md: 0 10px 30px rgba(12,34,53,.12);
  --shadow-lg: 0 24px 60px rgba(12,34,53,.20);
  --glow:      0 0 0 1px rgba(90,169,221,.20), 0 20px 60px rgba(31,108,158,.24);

  --radius:    16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--blue-500); }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
p  { margin: 0 0 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background:
    radial-gradient(800px 480px at 88% -10%, rgba(90,169,221,.10), transparent 60%),
    radial-gradient(700px 460px at 5% 110%, rgba(31,108,158,.16), transparent 55%),
    var(--navy-900);
  color: var(--d-text);
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--lime); border-radius: 2px; }
.section--navy .eyebrow { color: var(--lime); }
.section-head.text-center .eyebrow, .section-head:not(.left) .eyebrow { }
.lead { font-size: 1.2rem; color: var(--ink-700); }
.section--navy .lead { color: var(--d-mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
/* Primary blue button with white text */
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 26px rgba(31,108,158,.32); }
.btn--primary:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(31,108,158,.42); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(90,169,221,.16); color: #fff; border-color: var(--lime); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--navy-900); }
.btn--outline { background: #fff; color: var(--ink-900); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand-logo { height: 48px; width: auto; display: block; }
.footer-brand .brand-logo { height: 54px; margin-bottom: 6px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: linear-gradient(135deg, var(--blue-600), var(--lime));
  display: grid; place-items: center; color: var(--navy-900); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(90,169,221,.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.06rem; color: #fff; }
.brand-text span { font-size: .72rem; font-weight: 600; color: var(--d-mute); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-700); font-weight: 600; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero (dark navy) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--d-text);
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(90,169,221,.16), transparent 58%),
    radial-gradient(900px 600px at 6% 120%, rgba(31,108,158,.22), transparent 55%),
    linear-gradient(180deg, #0a1a28, #0e2436 60%, #0a1a28);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(90,169,221,.06) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: radial-gradient(700px 500px at 70% 20%, #000, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 104px 0 100px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--lime); }
.hero .lead { font-size: 1.24rem; max-width: 560px; color: var(--d-text); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(90,169,221,.08); border: 1px solid var(--d-line); color: var(--d-text);
  padding: 8px 16px; border-radius: var(--radius-pill); font-size: .86rem; font-weight: 600;
  margin-bottom: 26px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(90,169,221,.18); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { margin-top: 42px; display: flex; align-items: center; gap: 20px; color: var(--d-mute); font-size: .88rem; }
.hero-trust strong { color: #fff; }

.hero-card {
  position: relative; z-index: 1;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--glow);
  padding: 28px; border: 1px solid rgba(90,169,221,.2);
}
.hero-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card-top strong { color: var(--navy-900); }
.hero-card-top .tag { font-size: .78rem; font-weight: 700; color: #1f6c9e; background: var(--teal-50); padding: 5px 11px; border-radius: var(--radius-pill); }
.hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stat { background: var(--bg-soft); border-radius: var(--radius); padding: 18px; }
.hero-stat .n { font-size: 1.8rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; }
.hero-stat .l { font-size: .82rem; color: var(--ink-500); }
.hero-bar { margin-top: 18px; }
.hero-bar .label { display: flex; justify-content: space-between; font-size: .82rem; margin-bottom: 8px; color: var(--ink-700); font-weight: 600; }
.bar-track { height: 10px; background: var(--bg-tint); border-radius: 10px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--blue-600), var(--lime)); }

/* ---------- Logos strip ---------- */
.logos { padding: 44px 0; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.07); }
.logos p { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--d-mute); margin-bottom: 22px; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.logo-chip { font-weight: 800; color: #6f8675; letter-spacing: -.01em; font-size: 1.15rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.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: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--lime); }
.card .icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 20px; color: #fff; font-size: 1.4rem;
}
.icon--blue { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); }
.icon--teal { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); }
.icon--gold { background: linear-gradient(135deg, #9aa7b3, #6a7d8f); }
.icon--navy { background: linear-gradient(135deg, var(--navy-700), var(--blue-600)); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; margin-bottom: 0; color: var(--ink-700); }
.card .more { display: inline-block; margin-top: 16px; font-weight: 700; font-size: .94rem; }

/* On dark sections, cards turn glassy */
.section--navy .card { background: var(--d-card); border-color: var(--d-line); }
.section--navy .card h3 { color: #fff; }
.section--navy .card p { color: var(--d-mute); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat .n { font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.stat .n .accent { color: var(--lime); }
.stat .l { color: var(--d-mute); font-size: .96rem; }

/* ---------- Mission / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media-card {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(500px 300px at 80% 0%, rgba(90,169,221,.18), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border: 1px solid var(--d-line);
  min-height: 400px; position: relative; display: grid; place-items: center; padding: 34px;
}
.media-quote { color: #fff; }
.media-quote .q { font-size: 1.45rem; font-weight: 700; line-height: 1.32; letter-spacing: -.02em; }
.media-quote .who { margin-top: 22px; color: var(--lime); font-weight: 700; }
.media-quote .who small { display: block; color: var(--d-mute); font-weight: 500; margin-top: 2px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-50); color: #1f6c9e;
  display: grid; place-items: center; margin-top: 2px; font-weight: 800; font-size: .85rem;
}
.checklist b { color: var(--ink-900); }

/* ---------- Steps / approach ---------- */
.steps { counter-reset: s; display: grid; gap: 24px; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: start; }
.step .num {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); font-weight: 800; font-size: 1.35rem;
  border: 1px solid var(--bg-tint);
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -20%, rgba(90,169,221,.16), transparent 60%),
    radial-gradient(700px 460px at 5% 120%, rgba(31,108,158,.2), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--d-text); padding: 92px 0 84px; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 660px; margin: 16px auto 0; color: var(--d-mute); font-size: 1.18rem; }
.breadcrumb { font-size: .85rem; color: var(--d-mute); margin-bottom: 20px; }
.breadcrumb a { color: var(--lime); }

/* ---------- Values ---------- */
.value { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease; }
.value:hover { transform: translateY(-4px); border-color: var(--lime); }
.value .icon { width: 46px; height: 46px; border-radius: 13px; display:grid; place-items:center; margin-bottom: 16px; color:#fff; font-size:1.25rem; }
.value h3 { font-size: 1.12rem; }
.value p { font-size: .95rem; margin: 0; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.7rem;
  background: linear-gradient(135deg, var(--blue-500), var(--lime));
}
.team-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.team-card .role { color: var(--ink-500); font-size: .9rem; }

/* ---------- President's message ---------- */
.president-grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 56px; align-items: start; }
.president-figure { margin: 0; position: sticky; top: 100px; }
.president-photo {
  width: 100%; border-radius: var(--radius-lg); display: block;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  aspect-ratio: 1462 / 2000; object-fit: cover; object-position: center top;
  background: linear-gradient(160deg, #e6edf4, #cdd9e6);
}
.president-namecard {
  margin-top: -34px; margin-left: 22px; margin-right: 22px; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 16px 20px;
  border-left: 4px solid var(--blue-600);
}
.president-namecard .nm { font-weight: 800; color: var(--ink-900); font-size: 1.05rem; letter-spacing: -.01em; }
.president-namecard .ti { color: var(--blue-600); font-weight: 600; font-size: .86rem; }
.president-body p { font-size: 1.06rem; color: var(--ink-700); margin-bottom: 1.05rem; }
.president-body p.intro { font-size: 1.22rem; color: var(--ink-900); font-weight: 500; }
.president-quote {
  margin: 30px 0; padding: 22px 28px; border-left: 4px solid var(--lime);
  background: var(--bg-soft); border-radius: 0 14px 14px 0;
  font-size: 1.2rem; font-weight: 600; color: var(--navy-900); line-height: 1.45; letter-spacing: -.01em;
}
.president-sign { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.president-sign .name { font-size: 1.3rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.02em; }
.president-sign .meta { color: var(--ink-500); font-size: .96rem; margin-top: 2px; }
.president-sign .meta b { color: var(--blue-600); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 72px 56px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 320px at 18% 0%, rgba(90,169,221,.26), transparent 60%),
    radial-gradient(600px 320px at 90% 110%, rgba(31,108,158,.4), transparent 60%),
    linear-gradient(120deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--d-line);
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; }
.cta p { color: var(--d-text); max-width: 580px; margin: 0 auto 30px; font-size: 1.14rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--d-mute); padding: 74px 0 30px; border-top: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-text b { color: #fff; }
.footer-brand p { color: var(--d-mute); font-size: .95rem; max-width: 320px; margin-top: 16px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--d-mute); font-size: .95rem; }
.footer a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .86rem; color: var(--d-mute);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: var(--d-text);
}
.footer-social a:hover { background: var(--lime); color: var(--navy-900); }

/* ---------- Bilingual badge ---------- */
.lang-badge { display:inline-flex; gap:6px; align-items:center; font-size:.8rem; font-weight:700; color:#1f6c9e; background:var(--teal-50); padding:6px 13px; border-radius:var(--radius-pill); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-500); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .president-grid { grid-template-columns: 1fr; gap: 8px; }
  .president-figure { position: static; max-width: 360px; }
  .president-body { margin-top: 28px; }
  .hero-grid { padding: 72px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 6px; position: absolute;
    top: 78px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px; box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 8px 0; color: var(--ink-700); }
  .cta { padding: 52px 26px; }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .grid-4, .grid-3, .grid-2, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stat-row { grid-template-columns: 1fr 1fr; }
}
