/* ============================================================
   AM Innovations Hub — Multi-page website
   Palette: Deep indigo · Electric teal · Warm amber · Coral
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&display=swap");

:root {
  /* Brand-aligned recolour — navy · sky · amber · coral */
  --indigo: #0a1628;
  --indigo-mid: #12233a;
  --indigo-soft: #1c334f;
  --teal: #1aa6c8;
  --teal-bright: #3bc4e0;
  --teal-deep: #0d7a96;
  --amber: #e8923a;
  --amber-bright: #f5a84a;
  --coral: #e05a3c;
  --coral-soft: #f07a5e;
  --gold: #d4a84b;
  --paper: #f8f7f4;
  --paper-warm: #f0eee8;
  --card: #ffffff;
  --ink: #0a1628;
  --ink-soft: #3a4556;
  --ink-faint: #6b7585;
  --line: #e4e1da;
  --grad-hero: linear-gradient(135deg, #0a1628 0%, #12233a 38%, #0c4a5c 100%);
  --grad-teal: linear-gradient(135deg, #1aa6c8, #0d7a96);
  --grad-warm: linear-gradient(135deg, #e8923a, #e05a3c);
  --grad-logo: linear-gradient(135deg, #1aa6c8 0%, #2b8fd4 40%, #e8923a 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --max: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--coral); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.65rem); }
h3 { font-size: 1.3rem; font-family: var(--font); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink-soft); max-width: 40rem; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(250, 249, 247, 0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); transition: box-shadow 0.25s ease, background 0.25s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08); background: rgba(250, 249, 247, 0.96); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--grad-logo);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 0.95rem;
  letter-spacing: -0.04em; box-shadow: 0 4px 14px rgba(26, 166, 200, 0.35);
}
.logo small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--ink-faint); letter-spacing: 0.02em; margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a { padding: 0.45rem 0.85rem; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); transition: all 0.2s; }
.nav a:hover, .nav a.active { color: var(--ink); background: rgba(26, 166, 200, 0.1); }
.nav a.nav-cta {
  margin-left: 0.4rem; background: var(--grad-teal); color: #fff !important; font-weight: 600;
  padding: 0.5rem 1.1rem; box-shadow: 0 4px 14px rgba(26, 166, 200, 0.3);
}
.nav a.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.menu-toggle {
  display: none; background: none; border: none; width: 40px; height: 40px; padding: 8px;
  cursor: pointer; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.75rem 1.45rem; border-radius: 10px; font-family: var(--font); font-size: 0.95rem;
  font-weight: 600; border: none; cursor: pointer; transition: all 0.22s ease; text-decoration: none;
}
.btn-primary { background: var(--grad-teal); color: #fff; box-shadow: 0 4px 18px rgba(26, 166, 200, 0.35); }
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26, 166, 200, 0.4); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-deep); background: rgba(26, 166, 200, 0.06); }
.btn-warm { background: var(--grad-warm); color: #fff; box-shadow: 0 4px 18px rgba(224, 90, 60, 0.3); }
.btn-warm:hover { filter: brightness(1.06); transform: translateY(-2px); color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }

.hero {
  background: var(--grad-hero); color: #fff; padding: 3.75rem 0 3.5rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 85% 20%, rgba(26, 166, 200, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(232, 146, 58, 0.12), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; position: relative; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em { font-style: italic; color: var(--amber-bright); }
.hero .lead { color: rgba(255, 255, 255, 0.78); margin-bottom: 1.8rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.8rem; }
.hero-motto {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--teal); padding-left: 1rem; margin: 0;
}
.hero-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg); padding: 1.75rem; backdrop-filter: blur(12px);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.cycle-mini { display: flex; flex-direction: column; gap: 0.55rem; }
.cycle-mini-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.cycle-mini-num {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(26, 166, 200, 0.25);
  color: var(--teal-bright); display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}

section { padding: 3.75rem 0; }
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.section-head .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 0.7rem;
}
.section-head h2 { margin-bottom: 0.7rem; }
.section-alt { background: var(--paper-warm); }
.section-dark { background: var(--indigo); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.72); }
.section-dark .eyebrow { color: var(--teal-bright); }
.section-dark .lead { color: rgba(255, 255, 255, 0.75); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.35rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: all 0.25s ease; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(26, 166, 200, 0.35); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.25rem; margin-bottom: 1rem; background: rgba(26, 166, 200, 0.12); color: var(--teal-deep);
}
.card h3 { margin-bottom: 0.45rem; }
.card p:last-child { margin-bottom: 0; }

.stat-strip { background: var(--indigo-mid); padding: 2.2rem 0; }
.stat-strip-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; text-align: center; }
.stat-item strong {
  display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 700;
  color: var(--teal-bright); line-height: 1.1;
}
.stat-item span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); font-weight: 500; }

.values-list { display: grid; gap: 1rem; }
.value-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; transition: border-color 0.2s;
}
.value-item:hover { border-color: var(--teal); }
.value-num {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad-teal); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.value-item h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.value-item p { margin: 0; font-size: 0.95rem; }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.pillar-card {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; transition: all 0.25s; box-shadow: var(--shadow);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pillar-head {
  padding: 1.35rem 1.5rem 1rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.9rem;
}
.pillar-num {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad-teal); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1rem;
}
.pillar-card h3 { margin: 0; font-size: 1.15rem; }
.pillar-body { padding: 1.15rem 1.5rem 1.5rem; }
.pillar-body ul { margin: 0; padding: 0; list-style: none; }
.pillar-body li {
  position: relative; padding-left: 1.15rem; margin-bottom: 0.4rem; font-size: 0.92rem; color: var(--ink-soft);
}
.pillar-body li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--teal);
}

.portfolio-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.ptab {
  padding: 0.55rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--card); font-family: var(--font); font-size: 0.88rem; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; transition: all 0.2s;
}
.ptab:hover { border-color: var(--teal); color: var(--teal-deep); }
.ptab.active { background: var(--grad-teal); border-color: transparent; color: #fff; }
.ppanel { display: none; }
.ppanel.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.portfolio-detail {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
}
.portfolio-detail h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 0.6rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.25rem; }
.tag {
  padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(26, 166, 200, 0.1);
  color: var(--teal-deep); font-size: 0.82rem; font-weight: 600;
}

.cycle-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; }
.cycle-step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; position: relative; transition: all 0.22s;
}
.cycle-step:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.cycle-step .num {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 0.5rem;
}
.cycle-step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.cycle-step p { font-size: 0.9rem; margin: 0; }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(to bottom, var(--teal), var(--amber), var(--coral)); border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2rem; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--paper); box-shadow: 0 0 0 3px rgba(26, 166, 200, 0.3);
}
.timeline-item:nth-child(2) .timeline-dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(232, 146, 58, 0.3); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--coral); box-shadow: 0 0 0 3px rgba(224, 90, 60, 0.3); }
.timeline-year {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 0.35rem;
}
.timeline-item h3 { margin-bottom: 0.5rem; }
.timeline-item ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: 0.95rem; }
.timeline-item li { margin-bottom: 0.3rem; }

.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.leader-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-align: center; transition: all 0.25s; box-shadow: var(--shadow);
}
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.leader-avatar {
  height: 160px; background: var(--grad-hero); display: grid; place-items: center; position: relative;
}
.leader-avatar::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(26, 166, 200, 0.25), transparent);
}
.avatar-placeholder {
  width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25); display: grid; place-items: center;
  font-size: 2rem; color: rgba(255, 255, 255, 0.7); position: relative; z-index: 1;
}
.leader-body { padding: 1.4rem 1.3rem 1.6rem; }
.leader-body h3 { margin-bottom: 0.2rem; }
.leader-role { font-size: 0.85rem; font-weight: 600; color: var(--teal-deep); margin-bottom: 0.35rem; }
.leader-studied {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 0.7rem;
  line-height: 1.45;
}
.leader-studied-label {
  display: block;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.leader-studied-list {
  margin: 0;
  padding: 0 0 0 1.05rem;
  list-style: disc;
}
.leader-studied-list li {
  margin: 0.15rem 0;
  color: var(--ink-faint);
}
.leader-body p { font-size: 0.9rem; margin: 0; }

.culture-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.culture-item {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 0.7rem;
}
.culture-item span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.metric-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; border-top: 3px solid var(--teal);
}
.metric-card:nth-child(2) { border-top-color: var(--amber); }
.metric-card:nth-child(3) { border-top-color: var(--coral); }
.metric-card:nth-child(4) { border-top-color: var(--gold); }
.metric-card:nth-child(5) { border-top-color: var(--teal-deep); }
.metric-card:nth-child(6) { border-top-color: #7b68ee; }
.metric-card h3 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.metric-card ul { margin: 0; padding: 0; list-style: none; }
.metric-card li {
  font-size: 0.9rem; color: var(--ink-soft); padding: 0.25rem 0; border-bottom: 1px solid var(--line);
}
.metric-card li:last-child { border-bottom: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact-info h3 { margin-bottom: 0.8rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.2rem; }
.contact-detail .icon {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(26, 166, 200, 0.12);
  color: var(--teal-deep); display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem;
}
.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.7rem 0.95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.95rem; background: var(--paper); color: var(--ink); transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26, 166, 200, 0.15);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.8rem; margin-bottom: 0; }
.form-success {
  display: none; background: rgba(26, 166, 200, 0.1); border: 1px solid var(--teal);
  border-radius: var(--radius-sm); padding: 1rem; color: var(--teal-deep); font-weight: 500; margin-bottom: 1rem;
}
.form-success.show { display: block; }

.page-hero {
  background: var(--grad-hero); color: #fff; padding: 2.75rem 0 2.5rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 90% 10%, rgba(26, 166, 200, 0.2), transparent); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-bright); margin-bottom: 0.6rem;
}
.page-hero h1 { color: #fff; margin-bottom: 0.7rem; max-width: 18ch; }
.page-hero .lead { color: rgba(255, 255, 255, 0.75); max-width: 36rem; margin: 0; }

.site-footer {
  background: var(--indigo);
  color: rgba(255, 255, 255, 0.65);
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.site-footer .logo { margin: 0; }
.site-footer .logo-img { height: 32px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-bright); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-meta a { color: rgba(255, 255, 255, 0.5); }
.footer-meta a:hover { color: var(--teal-bright); }

/* Legacy footer classes kept for safety */
.footer-grid { display: none; }
.footer-col { display: none; }
.footer-bottom { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.quote-block {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.5;
  color: var(--ink); border-left: 4px solid var(--teal); padding-left: 1.4rem; margin: 1.5rem 0;
}
.section-dark .quote-block { color: #fff; border-color: var(--teal-bright); }

@media (max-width: 900px) {
  .hero-grid, .contact-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .stat-strip-inner { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--paper);
    flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); gap: 0.2rem;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 0.7rem 1rem; }
  .nav a.nav-cta { margin: 0.5rem 0 0; text-align: center; }
  .menu-toggle { display: flex; }
  .hero { padding: 3.5rem 0 3.5rem; }
  section { padding: 3.5rem 0; }
}
@media (max-width: 560px) {
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Real logo ---------- */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-img-lg {
  height: 56px;
  width: auto;
}
.site-footer .logo-img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-item figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Leadership photo improvements */
.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.leader-avatar {
  height: 200px;
}

/* Compact footer responsive */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .footer-links { gap: 0.5rem 0.9rem; }
}

/* Hero refinements */
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin-bottom: 0.9rem; }
.hero .lead { margin-bottom: 1.4rem; }
.hero-actions { margin-bottom: 0; }
.hero-card { padding: 1.4rem 1.5rem; }
.hero-card h3 { font-size: 0.95rem; margin-bottom: 0.85rem; letter-spacing: 0.02em; text-transform: uppercase; opacity: 0.85; }
.cycle-mini-item { font-size: 0.88rem; }
.cycle-mini-num { width: 24px; height: 24px; font-size: 0.7rem; }

.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-hero .lead { font-size: 1.05rem; }

/* ============================================================
   IFMSA-inspired visual language
   Full-bleed imagery · soft overlays · elevated cards · portraits
   ============================================================ */

/* Hero with background image */
.hero-photo {
  background:
    linear-gradient(120deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.55) 55%, rgba(13,61,56,0.45) 100%),
    url("team-field.jpg") center/cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 4rem 0 3.5rem;
  position: relative;
}
.hero-slogan {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  font-style: italic;
  color: var(--amber-bright);
  margin: 0.85rem 0 1.1rem;
  letter-spacing: 0.01em;
}
.hero-photo .hero-grid {
  width: 100%;
}
.hero-photo .hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
}

/* Feature image band (text over large photo) */
.feature-band {
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  border-radius: 0;
  overflow: hidden;
}
.feature-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.25) 55%, transparent 100%);
}
.feature-band-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  color: #fff;
  max-width: 36rem;
}
.feature-band-content h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature-band-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

/* Leadership — portrait style (IFMSA-like) */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}
.leader-card {
  background: var(--card);
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10,22,40,0.08);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}
.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10,22,40,0.14);
}
.leader-avatar {
  height: 260px;
  position: relative;
  overflow: hidden;
}
.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}
.leader-card:hover .leader-avatar img {
  transform: scale(1.05);
}
.leader-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.35) 0%, transparent 45%);
  pointer-events: none;
}
.leader-body {
  padding: 1.25rem 1.35rem 1.5rem;
}
.leader-body h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}
.leader-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.3rem;
}
.leader-studied {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 0.65rem;
  line-height: 1.45;
}
.leader-studied-label {
  display: block;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.leader-studied-list {
  margin: 0;
  padding: 0 0 0 1.05rem;
  list-style: disc;
}
.leader-studied-list li {
  margin: 0.15rem 0;
  color: var(--ink-faint);
}
.leader-body p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  color: var(--ink-soft);
}

/* Gallery — modern image cards with hover caption overlay */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 6px 24px rgba(10,22,40,0.1);
  aspect-ratio: 4/3;
  cursor: default;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.2rem 1.15rem;
  margin: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.82), transparent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.3s, opacity 0.3s;
}
.gallery-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* Soft rounded image utility */
.img-rounded {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10,22,40,0.1);
}
.img-rounded img {
  width: 100%;
  height: auto;
  display: block;
}

/* Split image + text section */
.split-visual {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split-visual .img-rounded {
  min-height: 320px;
}
.split-visual .img-rounded img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
@media (max-width: 800px) {
  .split-visual { grid-template-columns: 1fr; }
  .hero-photo { min-height: 360px; padding: 3rem 0 2.75rem; }
}

/* ============================================================
   IFMSA-style image cards (photo as background)
   ============================================================ */
.img-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
@media (max-width: 900px) {
  .img-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .img-card-grid { grid-template-columns: 1fr; }
}

.img-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem 1.5rem 1.5rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(10,22,40,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
}
.img-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.45) 45%, rgba(10,22,40,0.25) 100%);
  transition: background 0.3s;
}
.img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(10,22,40,0.2);
  color: #fff;
}
.img-card:hover::before {
  background: linear-gradient(to top, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.55) 50%, rgba(10,22,40,0.3) 100%);
}
.img-card-icon {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.img-card-body {
  position: relative;
  z-index: 2;
}
.img-card h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
  font-weight: 600;
}
.img-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.img-card .btn-card {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.img-card:hover .btn-card {
  background: var(--teal);
  color: #fff;
}

/* Professional compact footer v2 */
.site-footer {
  background: var(--indigo);
  color: rgba(255,255,255,0.6);
  padding: 2rem 0 1.25rem;
  border-top: none;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.site-footer .logo-img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1.35rem;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.footer-links a:hover { color: var(--teal-bright); }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: right;
}
.footer-meta a {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.footer-meta a:hover { color: var(--teal-bright); }
.footer-bar {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .footer-meta { align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Parallax photo surfaces — images drift slower than text */
.hero-photo {
  background-attachment: scroll;
  will-change: background-position;
}
.feature-band {
  background-attachment: scroll;
  will-change: background-position;
  min-height: 380px;
}

/* Ensure img-cards are solid scrolling cards, not fixed layers */
.img-card {
  isolation: isolate;
  transform: translateZ(0);
  background-attachment: scroll !important;
}

/* Smooth reveal that doesn't fight parallax */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating quick-contact buttons */
.float-contact {
  position: fixed;
  right: 1.1rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.35);
  color: #fff;
}
.float-whatsapp { background: #25d366; }
.float-whatsapp:hover { background: #1ebe57; color: #fff; }
.float-mail { background: var(--teal-deep); }
.float-mail:hover { background: var(--teal); color: #fff; }
.float-call { background: var(--indigo-mid); }
.float-call:hover { background: var(--indigo-soft); color: #fff; }

@media (max-width: 480px) {
  .float-contact { right: 0.75rem; bottom: 0.9rem; }
  .float-btn { width: 48px; height: 48px; }
}

/* Language switcher */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  margin-left: 0.35rem;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.lang-btn:hover,
.lang-switcher.open .lang-btn {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: rgba(26, 166, 200, 0.06);
}
.lang-label {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-icon { flex-shrink: 0; opacity: 0.85; }
.lang-caret { flex-shrink: 0; opacity: 0.7; }
.lang-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 120;
  min-width: 220px;
  max-height: min(70vh, 420px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lang-menu-inner {
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 0.4rem;
}
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
.lang-option:hover { background: rgba(26, 166, 200, 0.1); color: var(--teal-deep); }
.lang-option.active {
  background: rgba(26, 166, 200, 0.14);
  color: var(--teal-deep);
  font-weight: 600;
}

/* Hide default Google Translate chrome */
#google_translate_element,
.goog-te-banner-frame,
.skiptranslate,
body > .skiptranslate {
  display: none !important;
}
body { top: 0 !important; }
.goog-te-gadget { font-size: 0 !important; }
.goog-te-combo { display: none !important; }
font font { background: transparent !important; box-shadow: none !important; }

@media (max-width: 900px) {
  .lang-label { display: none; }
  .lang-btn { padding: 0.45rem 0.55rem; }
  .lang-menu { right: 0; left: auto; min-width: 200px; }
}
