/* =========================================================
   Yoli Nilliret Martínez López — Earnings Consulting Group
   Palette from the ECG Colombia brand: orange swoosh,
   charcoal (#414141) and light grey (#EEEBEE).
   ========================================================= */
:root {
  --char: #2b2b2b;
  --char-2: #353535;
  --char-3: #414141;
  --char-deep: #1d1d1d;
  --ink: #252525;
  --ink-2: #4a4a4a;
  --muted: #737373;
  --bg: #faf9f9;
  --tint: #eeebee;
  --surface: #ffffff;
  --line: #e2dee2;
  --brand: #ed6825;
  --brand-deep: #e2401c;
  --brand-amber: #f7941d;
  --brand-gold: #ffc231;
  --brand-soft: #fdede4;
  --grad: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 50%, var(--brand-amber) 100%);
  --grad-gold: linear-gradient(120deg, var(--brand) 0%, var(--brand-amber) 55%, var(--brand-gold) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -14px rgba(0, 0, 0, .18);
  --shadow-lg: 0 30px 60px -22px rgba(0, 0, 0, .4);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(237, 104, 37, .25); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; position: relative; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--char); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-amber); outline-offset: 3px; border-radius: 6px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; transform-origin: 0 50%;
  transform: scaleX(0); background: var(--grad-gold); box-shadow: 0 0 10px rgba(237, 104, 37, .6);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; transition: width .9s var(--ease) .2s; }
.js .reveal:not(.in) .eyebrow::before, .js .reveal-left:not(.in) .eyebrow::before { width: 0; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 760px; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(226, 64, 28, .65); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(226, 64, 28, .75); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost.on-dark { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.header-cta { min-width: 150px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 249, 249, .8);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-200deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: .98rem; }
.brand-text small { font-size: .74rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.main-nav { display: flex; gap: 2px; margin-inline: auto; }
.main-nav a {
  position: relative; text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 9px; border-radius: 999px; transition: color .2s; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--brand-deep); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-toggle { position: relative; display: inline-flex; padding: 3px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.lang-pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px;
  background: var(--char); transition: transform .35s var(--ease);
}
html[lang="en"] .lang-pill { transform: translateX(100%); }
.lang-toggle button {
  position: relative; z-index: 1; border: 0; background: transparent; font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: color .3s;
}
.lang-toggle button[aria-pressed="true"] { color: #fff; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(96px, 9vw, 120px); overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.hero-glow span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-glow span:nth-child(1) { width: 520px; height: 520px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(237, 104, 37, .45), transparent 65%); }
.hero-glow span:nth-child(2) { width: 420px; height: 420px; left: -140px; bottom: -120px; background: radial-gradient(circle, rgba(255, 194, 49, .35), transparent 65%); animation-duration: 22s; }
.hero-glow span:nth-child(3) { width: 360px; height: 360px; left: 40%; top: 30%; background: radial-gradient(circle, rgba(65, 65, 65, .12), transparent 65%); animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600;
  color: var(--ink-2); background: rgba(255, 255, 255, .75); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 22px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(237, 104, 37, .6); } 70% { box-shadow: 0 0 0 10px rgba(237, 104, 37, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 104, 37, 0); } }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 10px; }
.hero h1 .accent { display: block; background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
.hero-role { font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 600; color: var(--char-3); min-height: 1.6em; margin-bottom: 18px; }
.typed { color: var(--ink); }
.caret { display: inline-block; width: 3px; height: 1.05em; margin-left: 4px; vertical-align: -.15em; background: var(--brand); border-radius: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-weight: 500; color: var(--ink); max-width: 620px; }
.hero-sub { color: var(--ink-2); max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: .82rem; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; transition: transform .3s var(--ease), border-color .3s, color .3s;
}
.chips li:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand-deep); }

.hero-visual { position: relative; justify-self: center; width: min(430px, 100%); }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(237, 104, 37, .35); pointer-events: none; animation: spin 40s linear infinite; }
.orbit::after { content: ""; position: absolute; top: 50%; left: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 14px rgba(237, 104, 37, .8); }
.orbit-1 { inset: -9% -14%; }
.orbit-2 { inset: 6% -24%; border-color: rgba(65, 65, 65, .18); animation-duration: 60s; animation-direction: reverse; }
.orbit-2::after { background: var(--char-3); box-shadow: none; width: 8px; height: 8px; top: 20%; left: 8%; }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait {
  position: relative; border-radius: 220px 220px 28px 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 600 / 701; background: var(--tint);
  transition: transform .6s var(--ease);
}
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55); }
.portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-visual::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 220px 220px 28px 28px;
  background: var(--grad); z-index: -1; opacity: .95;
}
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 11px 16px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 14px; box-shadow: var(--shadow); font-size: .84rem; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .94rem; }
.float-card span { color: var(--muted); }
.float-card .ico { color: var(--brand); width: 28px; height: 28px; }
.float-card img { width: 44px; height: 30px; object-fit: cover; border-radius: 6px; }
.float-1 { left: -40px; bottom: 24%; }
.float-2 { right: -30px; top: 12%; animation-delay: -2s; }
.float-3 { right: -14px; bottom: -4%; animation-delay: -4s; background: rgba(43, 43, 43, .9); border-color: rgba(255, 255, 255, .08); }
.float-3 strong { color: #fff; }
.float-3 span { color: rgba(255, 255, 255, .65); }
.float-3 .ico { color: var(--brand-gold); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.scroll-hint i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--muted); position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--brand); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Stats ---------- */
.stats { position: relative; background: var(--char); color: #fff; padding: 44px 0; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 200px at 15% 0%, rgba(237, 104, 37, .22), transparent 70%), radial-gradient(500px 200px at 90% 100%, rgba(255, 194, 49, .12), transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .35s var(--ease), border-color .35s, background-color .35s, opacity .9s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: rgba(237, 104, 37, .5); background: rgba(255, 255, 255, .07); }
.stat .num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { font-size: .9rem; color: rgba(255, 255, 255, .72); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--char); color: #fff; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, .75); }
.section-dark .eyebrow { color: var(--brand-amber); }
.section-head { margin-bottom: 48px; max-width: 820px; }
.h-sub { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; margin: 0 0 18px; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); }
.about-text p { color: var(--ink-2); }
.quote { margin: 32px 0 0; padding: 22px 24px; border-left: 3px solid var(--brand); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow); }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: 0 0 6px; color: var(--ink); }
.quote cite { font-style: normal; font-size: .85rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: .95rem; }

/* Cards (+ cursor spotlight driven by --mx / --my from main.js) */
.card, .ach, .edu, .tl-body, .cert, .contact-card { position: relative; overflow: hidden; }
.card::before, .ach::before, .edu::after, .tl-body::before, .contact-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(237, 104, 37, .12), transparent 45%);
}
.card:hover::before, .ach:hover::before, .edu:hover::after, .tl-body:hover::before, .contact-card:hover::before { opacity: 1; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s, opacity .9s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -22px rgba(0, 0, 0, .32); border-color: rgba(237, 104, 37, .35); }
.card p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.card-icon {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 18px;
  transition: transform .5s var(--ease), background-color .35s, color .35s;
}
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); background: var(--brand); color: #fff; }
.card-icon .ico { width: 24px; height: 24px; }
.grid-3, .mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Earnings Consulting Group */
.ecg-logo { width: 280px; margin-bottom: 28px; }
.lang-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 8px 16px;
  border-radius: 999px; background: #fff; color: var(--brand-deep); font-weight: 600; font-size: .92rem; border: 1px solid rgba(237, 104, 37, .3);
}

/* Marquees */
.values-band { margin: 64px 0; padding: 30px 0 4px; background: var(--char); }
.marquee-title { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brand-amber); margin: 0 0 6px; }
.marquee {
  overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 55s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-logos:hover .marquee-track { animation-play-state: running; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item {
  display: inline-flex; align-items: center; gap: 18px; padding: 22px 34px;
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; color: #fff; white-space: nowrap;
  transition: color .3s;
}
.mq-item:hover { color: var(--brand-amber); }
.mq-item i { width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--grad-gold); flex: none; }
.mq-item:nth-child(even) { -webkit-text-stroke: 1px rgba(255, 255, 255, .75); color: transparent; }
.mq-item:nth-child(even):hover { color: var(--brand-amber); -webkit-text-stroke: 0; }
.marquee-logos { padding: 8px 0 10px; }
.mq-logo {
  flex: none; display: grid; place-items: center; width: 210px; height: 120px; margin: 10px 11px; padding: 16px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.mq-logo img { max-width: 100%; max-height: 82px; width: auto; height: auto; object-fit: contain; }
.mq-logo:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 22px 36px -20px rgba(0, 0, 0, .3); }
.marquee-names { margin-top: 14px; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .5); }
.mq-name {
  display: inline-flex; align-items: center; gap: 22px; padding: 16px 0 16px 22px; white-space: nowrap;
  font-weight: 600; font-size: .95rem; color: var(--ink-2);
}
.mq-name::after { content: "✦"; color: var(--brand); font-size: .8rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.pill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pill-grid li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.pill-grid li:hover { transform: translateX(6px); border-color: var(--brand); box-shadow: var(--shadow); }
.pill-grid .ico { color: var(--brand); transition: transform .4s var(--ease); }
.pill-grid li:hover .ico { transform: scale(1.2) rotate(-8deg); }
.check-list li { position: relative; padding: 0 0 12px 34px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23e2401c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list.on-dark li { color: rgba(255, 255, 255, .85); }
.check-list.on-dark li::before { background-color: rgba(237, 104, 37, .2); }

.method { margin-bottom: 64px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 18px;
  transition: transform .45s var(--ease), box-shadow .4s, border-color .3s, opacity .9s var(--ease);
}
.steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand); }
.steps li::after { content: ""; position: absolute; top: 34px; right: -14px; width: 14px; height: 2px; background: var(--brand-amber); }
.steps li:last-child::after { display: none; }
.step-n { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 700; line-height: 1; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps strong { display: block; margin-bottom: 4px; }
.steps p { font-size: .88rem; color: var(--muted); margin: 0; }

.certs { margin-bottom: 64px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert {
  display: flex; flex-direction: column; text-align: left; font: inherit; color: inherit; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: zoom-in;
  box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s, opacity .9s var(--ease);
}
.cert:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -22px rgba(0, 0, 0, .32); }
.cert img { aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line); transition: transform .8s var(--ease); }
.cert:hover img { transform: scale(1.05); }
.cert > span { position: relative; z-index: 1; background: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.cert strong { font-size: .95rem; line-height: 1.35; }
.cert small { color: var(--muted); font-size: .82rem; }


/* Innovation (Data & AI) */
.section-ai { background: radial-gradient(900px 420px at 85% 0%, rgba(237, 104, 37, .18), transparent 60%), var(--char-deep); }
.ai-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px; animation: grid-move 6s linear infinite;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
@keyframes grid-move { to { background-position: 40px 40px, 40px 40px; } }
.pipeline { display: flex; align-items: center; margin: 0 0 44px; }
.pipe-node {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  color: rgba(255, 255, 255, .8); letter-spacing: .04em;
}
.pipe-node .ico {
  width: 58px; height: 58px; padding: 15px; border-radius: 18px; color: var(--brand-amber);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  animation: glow 3.2s ease-in-out infinite;
}
.pipe-node:nth-child(3) .ico { animation-delay: .8s; }
.pipe-node:nth-child(5) .ico { animation-delay: 1.6s; }
.pipe-node:nth-child(7) .ico { animation-delay: 2.4s; }
.pipe-end .ico { background: var(--grad); color: #fff; border-color: transparent; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(237, 104, 37, 0); } 50% { box-shadow: 0 0 26px 2px rgba(237, 104, 37, .45); } }
.pipe-line { position: relative; flex: 1; height: 2px; margin: 0 10px 26px; background: rgba(255, 255, 255, .12); overflow: hidden; border-radius: 2px; }
.pipe-line i { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--grad-gold); animation: flow 2.4s linear infinite; }
.pipe-line:nth-child(4) i { animation-delay: .8s; }
.pipe-line:nth-child(6) i { animation-delay: 1.6s; }
@keyframes flow { to { left: 100%; } }
.card-dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.card-dark p { color: rgba(255, 255, 255, .72); }
.card-dark .card-icon { background: rgba(237, 104, 37, .15); color: var(--brand-amber); }
.card-dark:hover { border-color: rgba(237, 104, 37, .5); box-shadow: 0 26px 44px -22px rgba(0, 0, 0, .7); }
.ai-benefits { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ai-benefits li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff;
  transition: transform .3s var(--ease), border-color .3s;
}
.ai-benefits li:hover { transform: translateY(-3px); border-color: var(--brand); }
.ai-benefits .ico { color: var(--brand-gold); }

/* Timeline (progress line drawn on scroll via --tl) */
.timeline { position: relative; max-width: 940px; --tl: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 160px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--tl)); box-shadow: 0 0 10px rgba(237, 104, 37, .5); }
.timeline > li { display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding-bottom: 36px; position: relative; }
.timeline > li::before {
  content: ""; position: absolute; left: 153px; top: 6px; width: 16px; height: 16px; border-radius: 50%; z-index: 1;
  background: #fff; border: 3px solid var(--line); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.timeline > li.lit::before { border-color: var(--brand); box-shadow: 0 0 0 6px rgba(237, 104, 37, .15); transform: scale(1.1); }
.tl-date { font-weight: 600; font-size: .9rem; color: var(--brand-deep); padding-top: 2px; text-align: right; padding-right: 30px; }
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.tl-body:hover { transform: translateX(6px); box-shadow: 0 26px 44px -24px rgba(0, 0, 0, .3); }
.tl-body h3 { font-size: 1.2rem; margin-bottom: 2px; }
.tl-org { color: var(--muted); font-weight: 500; font-size: .93rem; margin-bottom: 12px; }
.tl-body ul li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: .96rem; margin-bottom: 6px; }
.tl-body ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-amber); }

/* Achievements */
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ach {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .3s, opacity .9s var(--ease);
}
.ach:hover { transform: translateY(-6px); border-color: rgba(237, 104, 37, .35); box-shadow: 0 26px 44px -22px rgba(0, 0, 0, .32); }
.ach > .ico { width: 34px; height: 34px; color: var(--brand); margin-bottom: 16px; transition: transform .5s var(--ease); }
.ach:hover > .ico { transform: scale(1.15) rotate(-6deg); }
.ach p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.ach-feature { background: var(--grad); background-size: 200% 200%; animation: grad-pan 10s ease infinite; color: #fff; border: 0; }
.ach-feature h3 { color: #fff; }
.ach-feature p { color: rgba(255, 255, 255, .92); }
.ach-feature > .ico { color: #fff; }
.ach-feature::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 45%); }
@keyframes grad-pan { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.talks { margin-top: 40px; padding: 32px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.talks-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.talks-head > .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--char); color: var(--brand-amber); }
.talks-head h3 { margin-bottom: 2px; }
.talks-head p { margin: 0; color: var(--muted); }
.talk-list { display: flex; flex-wrap: wrap; gap: 10px; }
.talk-list li { background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: transform .3s var(--ease), border-color .3s; }
.talk-list li:hover { transform: translateY(-3px); border-color: var(--brand); }

/* Leadership */
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.comp { display: grid; gap: 12px; }
.comp li {
  padding: 18px 20px; border-radius: var(--radius-sm); background: var(--char-2); border: 1px solid rgba(255, 255, 255, .06); border-left: 3px solid var(--brand);
  transition: transform .4s var(--ease), background-color .3s;
}
.comp li:hover { transform: translateX(8px); background: var(--char-3); }
.comp strong { display: block; color: #fff; }
.comp span { font-size: .9rem; color: rgba(255, 255, 255, .62); }

/* Education */
.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 56px; }
.edu {
  padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s, opacity .9s var(--ease);
}
.edu:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -22px rgba(0, 0, 0, .32); }
.edu::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform-origin: left; transform: scaleX(.2); transition: transform 1.1s var(--ease) .3s; }
.edu.in::before, .edu.shown::before { transform: scaleX(1); }
.edu > .ico { width: 32px; height: 32px; color: var(--brand); margin-bottom: 14px; }
.edu-year { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--line); transition: color .4s; }
.edu:hover .edu-year { color: var(--brand-amber); }
.edu h3 { font-size: 1.2rem; }
.edu-org { font-weight: 600; color: var(--brand-deep); font-size: .93rem; margin-bottom: 10px; }
.edu p:last-child { color: var(--ink-2); font-size: .95rem; margin: 0; }
.cred-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.cred-list li {
  display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s, opacity .9s var(--ease);
}
.cred-list li:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.cred-year { flex: none; display: grid; place-items: center; width: 64px; height: 44px; border-radius: 10px; background: var(--char); color: #fff; font-weight: 700; font-size: .85rem; transition: background .3s; }
.cred-list li:hover .cred-year { background: var(--brand); }
.cred-list strong { display: block; font-size: .96rem; line-height: 1.35; }
.cred-list div span { font-size: .86rem; color: var(--muted); }

/* Contact */
.contact-glow {
  position: absolute; width: 700px; height: 700px; left: -200px; top: -250px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(237, 104, 37, .25), transparent 65%); animation: drift 16s ease-in-out infinite alternate;
}
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.contact-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.contact-card ul { position: relative; display: grid; gap: 20px; }
.contact-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-card li > .ico { color: var(--brand); width: 22px; height: 22px; margin-top: 3px; }
.contact-card .k { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card a { font-weight: 600; text-decoration: none; }
.contact-card a:hover { color: var(--brand-deep); }
.socials { position: relative; display: flex; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--char); color: #fff; transition: background .3s, transform .35s var(--ease); }
.socials a:hover { background: var(--brand-deep); transform: translateY(-4px) rotate(-6deg); }
.socials .ecg-btn img { width: 26px; height: auto; transition: transform .6s var(--ease); }
.socials .ecg-btn:hover { background: #fff; box-shadow: 0 0 0 2px var(--brand); }
.socials .ecg-btn:hover img { transform: rotate(-200deg); }
.about-socials { margin-top: 24px; padding-top: 0; border-top: 0; }

/* Footer */
.site-footer { background: var(--char-deep); color: rgba(255, 255, 255, .65); padding: 40px 0; font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner img { width: 200px; }
.footer-inner p { margin: 0; }
.to-top { text-decoration: none; color: var(--brand-amber); font-weight: 600; }

.fab-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(226, 64, 28, .7);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .35s, transform .45s var(--ease);
}
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-top.show:hover { transform: translateY(-4px); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(960px, 94vw); overflow: visible; }
.lightbox[open] { animation: modal-in .45s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.lightbox::backdrop { background: rgba(29, 29, 29, .85); backdrop-filter: blur(4px); }
.lightbox img { border-radius: 12px; max-height: 86vh; width: auto; }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* ---------- Reveal animations (fade up / left / right / zoom, staggered via --d) ---------- */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .45s var(--ease), border-color .35s, background-color .35s;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal { transform: translateY(28px); }
.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }
.js .reveal-zoom { transform: scale(.92); }
.js .in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .mq-clone { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 2px; padding: 12px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-130%); transition: transform .4s var(--ease); z-index: -1;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; border-radius: 10px; }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: var(--brand-soft); }
  .menu-btn { display: inline-grid; place-items: center; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .about-grid, .split, .lead-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(370px, 82%); margin-top: 20px; }
  .grid-3, .mvv, .cert-grid, .edu-grid, .ach-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta, .orbit-2 { display: none; }
  .brand-text small { display: none; }
  .grid-3, .mvv, .cert-grid, .edu-grid, .ach-grid, .pill-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .float-1 { left: -14px; }
  .float-2 { right: -14px; }
  .float-3 { right: -8px; }
  .facts { grid-template-columns: 1fr; }
  .timeline::before, .timeline::after { left: 7px; }
  .timeline > li { grid-template-columns: 1fr; gap: 8px; padding-left: 32px; }
  .timeline > li::before { left: 0; }
  .tl-date { text-align: left; padding-right: 0; }
  .mq-logo { width: 160px; height: 96px; margin: 8px 8px; padding: 12px 16px; }
  .mq-logo img { max-height: 64px; }
  .cred-list { grid-template-columns: 1fr; }
  .card, .ach, .edu, .contact-card, .talks { padding: 22px; }
  .pipe-node { font-size: .72rem; }
  .pipe-node .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; }
  .pipe-line { margin: 0 4px 24px; }
  .mq-item { padding: 18px 22px; }
}
