/* ==========================================================
   Emmanuel Nwanna & Co. Chartered Accountants
   Design tokens
   ========================================================== */
:root {
  --navy-950: #071528;
  --navy-900: #0b1f3a;
  --navy-800: #102a4d;
  --navy-700: #17376a;
  --gold-500: #b8975a;
  --gold-400: #c9a96a;
  --gold-300: #e3c98f;
  --ink: #1b2537;
  --muted: #5b667a;
  --line: #e3e7ee;
  --surface: #ffffff;
  --surface-alt: #f4f6fa;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, .06);
  --shadow-md: 0 14px 34px rgba(11, 31, 58, .12);
  --nav-h: 78px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
section[id], header[id] { scroll-margin-top: 70px; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { max-width: 68ch; }

a { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--gold-400); color: var(--navy-950); padding: .6rem 1rem; border-radius: 6px; font-weight: 700;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 6px; letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn-gold { background: linear-gradient(120deg, var(--gold-400), var(--gold-300) 50%, var(--gold-400)); background-size: 220% 100%; border-color: var(--gold-400); color: var(--navy-950); }
.btn-gold:hover, .btn-gold:focus-visible { background-position: 100% 0; border-color: var(--gold-300); color: var(--navy-950); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(201, 169, 106, .35); }
.btn-outline-light:hover { color: var(--navy-900); transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.site-nav {
  background: rgba(7, 21, 40, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.1rem 0;
  transition: padding .3s var(--ease), background-color .3s, box-shadow .3s;
}
.site-nav.scrolled { padding: .5rem 0; background: rgba(7, 21, 40, .96); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border: 1.5px solid var(--gold-400); color: var(--gold-300); border-radius: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.brand-sub { font-size: .72rem; color: var(--gold-300); letter-spacing: .06em; }
.site-nav .nav-link { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .92rem; padding: .5rem .85rem; position: relative; }
.site-nav .nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: 1rem 0 1.25rem; }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-link.active { color: var(--gold-300); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem; background: var(--navy-950); color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -6% 0; background: url("../images/hero.svg") center / cover no-repeat;
  will-change: transform;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 21, 40, .92) 0%, rgba(7, 21, 40, .7) 55%, rgba(7, 21, 40, .45) 100%); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem;
  padding: .4rem .9rem; border: 1px solid rgba(201, 169, 106, .55); border-radius: 999px;
  color: var(--gold-300); font-weight: 700; font-size: .85rem;
}
.hero-title { color: #fff; font-weight: 600; font-size: clamp(2.2rem, 5.2vw, 4.1rem); margin-bottom: 1.25rem; max-width: 18ch; }
.hero-lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255, 255, 255, .84); margin-bottom: 2rem; }
.hero-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius); padding: .5rem 1.5rem; max-width: 380px; margin-left: auto;
}
.hero-card-row { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 0; }
.hero-card-row + .hero-card-row { border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-card-row i { font-size: 1.6rem; color: var(--gold-300); }
.hero-card-label { display: block; font-size: .78rem; color: rgba(255, 255, 255, .65); }
.hero-card-value { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.scroll-cue { position: absolute; bottom: 1.5rem; left: 50%; translate: -50% 0; color: var(--gold-300); font-size: 1.4rem; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Hero entrance (single orchestrated moment) */
.hero-anim { opacity: 0; transform: translateY(22px); animation: heroIn .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: radial-gradient(rgba(11, 31, 58, .07) 1px, transparent 1px) 0 0 / 22px 22px, var(--surface-alt); }
.section-navy { background: radial-gradient(900px 400px at 90% 0%, rgba(201, 169, 106, .12), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(47, 95, 179, .25), transparent 60%), var(--navy-900); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head p { margin-inline: auto; color: var(--muted); }
.section-head.text-start { margin-inline: 0; }
.section-head.text-start p { margin-inline: 0; }
.text-light-soft { color: rgba(255, 255, 255, .74) !important; }
.eyebrow { display: inline-block; margin-bottom: .7rem; font-weight: 700; font-size: .85rem; color: var(--gold-500); padding-left: 2.2rem; position: relative; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.6rem; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--gold-300); }
.lead-text { font-size: 1.15rem; color: var(--navy-800); }

/* Scroll reveal (only hidden when JS is active) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.milestone { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; background: var(--surface-alt); border-left: 4px solid var(--gold-400); border-radius: 0 var(--radius) var(--radius) 0; }
.milestone-number { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; color: var(--navy-900); line-height: 1; font-variant-numeric: tabular-nums; }
.milestone-text strong { display: block; color: var(--navy-900); }
.milestone-text span { color: var(--muted); font-size: .94rem; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold-400), var(--line)); }
.timeline li { position: relative; padding: 0 0 2rem 1rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -2rem; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy-700); }
.timeline-dot-gold { border-color: var(--gold-500); background: var(--gold-300); box-shadow: 0 0 0 6px rgba(201, 169, 106, .2); }
.timeline h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Services ---------- */
.service-card {
  height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.icon-box { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; background: var(--navy-900); color: var(--gold-300); font-size: 1.5rem; margin-bottom: 1.2rem; transition: background-color .3s, color .3s; }
.service-card:hover .icon-box { background: var(--gold-400); color: var(--navy-950); }
.service-card h3 { font-size: 1.18rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Reputation ---------- */
.reputation-line { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-300); margin: 1.5rem 0 0; }
.trust-card { height: 100%; padding: 1.7rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .04); transition: background-color .3s, transform .35s var(--ease), border-color .3s; }
.trust-card:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); border-color: rgba(201, 169, 106, .5); }
.trust-card i { font-size: 1.8rem; color: var(--gold-300); }
.trust-card h3 { color: #fff; margin: .9rem 0 .4rem; font-size: 1.2rem; }
.trust-card p { color: rgba(255, 255, 255, .72); margin: 0; font-size: .94rem; }

/* ---------- Values ---------- */
.value-card { height: 100%; padding: 2rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold-400); color: var(--gold-500); font-size: 1.35rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.2rem; }
.value-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Leadership (the memorable moment) ---------- */
.section-leadership { background: radial-gradient(1200px 500px at 50% -10%, #17376a 0%, transparent 60%), var(--navy-950); color: #fff; }
.leader-card {
  position: relative; height: 100%; text-align: center; padding: 3.25rem 1.75rem 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .25s ease-out, border-color .4s, box-shadow .4s;
}
.leader-card:hover { --ty: -8px; border-color: rgba(201, 169, 106, .6); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.leader-featured { border-color: rgba(201, 169, 106, .55); }
.leader-flag { position: absolute; top: 1rem; right: 1rem; font-size: .74rem; font-weight: 700; color: var(--navy-950); background: var(--gold-400); padding: .2rem .7rem; border-radius: 999px; }
.leader-photo { position: relative; width: 190px; height: 190px; border-radius: 50%; overflow: hidden; margin-bottom: 1.5rem; border: 4px solid var(--gold-400); box-shadow: 0 0 0 8px rgba(201, 169, 106, .16); background: var(--navy-800); }
.leader-featured .leader-photo { width: 210px; height: 210px; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .7s var(--ease); }
.leader-card:hover .leader-photo img { transform: scale(1.08); }
.leader-photo-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 21, 40, .55); color: var(--gold-300); font-size: 1.8rem; opacity: 0; transition: opacity .35s; }
.leader-card:hover .leader-photo-overlay { opacity: 1; }
.leader-card h3 { color: #fff; font-size: 1.45rem; margin-bottom: .3rem; }
.leader-quals { color: var(--gold-300); font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.leader-role { color: #fff; font-weight: 600; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .16); width: 100%; max-width: 220px; }
.leader-bio { color: rgba(255, 255, 255, .76); font-size: .95rem; margin-bottom: 1.5rem; flex-grow: 1; }

.profile-modal { border: 0; border-radius: 12px; overflow: hidden; }
.profile-modal .modal-header { background: var(--navy-900); color: #fff; border: 0; padding: 1.25rem 1.5rem; }
.profile-modal .modal-title { color: #fff; }
.profile-modal .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.modal-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 3px solid var(--gold-400); }
.modal-sub { color: var(--gold-300); font-size: .92rem; }
.profile-modal .modal-body { padding: 1.5rem 1.75rem 2rem; }
.profile-modal h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 800; color: var(--navy-800); margin: 1.4rem 0 .5rem; }
.profile-modal ul { padding-left: 1.2rem; color: var(--ink); }
.profile-modal li { margin-bottom: .35rem; }

/* ---------- Team ---------- */
.team-card { height: 100%; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1rem; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-photo, .team-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; border: 3px solid var(--gold-400); object-fit: cover; object-position: center 18%; }
.team-avatar { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--gold-300); font-size: 2.6rem; }
.team-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.team-card p { margin: 0 auto; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- Methodology ---------- */
.process { list-style: none; padding: 0; margin: 0; position: relative; }
.step-card { position: relative; height: 100%; padding: 0 .5rem; text-align: center; }
.step-icon { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); font-size: 2rem; box-shadow: 0 0 0 8px var(--surface-alt), 0 0 0 9px var(--line); }
.step-icon b { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-400); color: var(--navy-950); font-size: .82rem; display: grid; place-items: center; font-family: var(--font-body); }
.step-card h3 { font-size: 1.15rem; }
.step-card p { color: var(--muted); font-size: .93rem; margin-inline: auto; }
@media (min-width: 992px) {
  /* animated connector line between steps */
  .process::before { content: ""; position: absolute; top: 42px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 16px); background-size: 16px 2px; animation: dash 1.4s linear infinite; }
  .process > li { position: relative; z-index: 1; }
}
@keyframes dash { to { background-position: 16px 0; } }
#methodology .step-icon { box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line); }

.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-list li { padding: .45rem .95rem; border: 1px solid var(--gold-400); border-radius: 999px; background: #fff; color: var(--navy-800); font-weight: 600; font-size: .9rem; }
.scope-list { display: grid; gap: 1rem; }
.scope-list > div { display: flex; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-alt); }
.scope-list i { color: var(--gold-500); font-size: 1.5rem; }
.scope-list strong { display: block; color: var(--navy-900); }
.scope-list span { color: var(--muted); font-size: .92rem; line-height: 1.55; display: block; }

/* ---------- Philosophy ---------- */
.philosophy { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.philosophy-quote { margin: 2rem 0 0; padding: 2rem 0 0 2rem; border-left: 3px solid var(--gold-400); position: relative; }
.philosophy-quote > i { position: absolute; top: -1rem; left: .6rem; font-size: 3.5rem; color: var(--gold-400); opacity: .55; }
.philosophy-quote blockquote { font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2.15rem); font-weight: 500; line-height: 1.35; color: #fff; margin: 0; }
.philosophy-quote figcaption { margin-top: 1.25rem; color: var(--gold-300); font-size: .9rem; }
.philosophy-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.philosophy-points li { display: flex; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.philosophy-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.philosophy-points i { font-size: 1.4rem; color: var(--gold-300); margin-top: .1rem; }
.philosophy-points h3 { color: #fff; font-size: 1.08rem; margin-bottom: .2rem; }
.philosophy-points p { color: rgba(255, 255, 255, .7); font-size: .93rem; margin: 0; }

/* ---------- Experience ---------- */
.sector-card { height: 100%; text-align: center; padding: 2rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s; }
.sector-card i { display: block; font-size: 2.1rem; color: var(--gold-500); margin-bottom: .8rem; transition: transform .35s var(--ease), color .35s; }
.sector-card h3 { font-size: 1.02rem; margin: 0; }
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); background: var(--navy-900); }
.sector-card:hover h3 { color: #fff; }
.sector-card:hover i { color: var(--gold-300); transform: scale(1.12); }

/* ---------- Clients ---------- */
.client-card { height: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold-400); border-radius: 6px; font-weight: 700; color: var(--navy-900); line-height: 1.35; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.client-card i { font-size: 1.35rem; color: var(--navy-700); }
.client-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

/* ---------- Assignments ---------- */
.assignment-feature { padding: 2.25rem; border-radius: 12px; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; }
.assignment-feature i { font-size: 2.4rem; color: var(--gold-300); }
.assignment-feature h3 { color: #fff; font-size: 1.55rem; margin: 1rem 0; }
.assignment-feature p { color: rgba(255, 255, 255, .8); margin: 0; }
.assign-card { height: 100%; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.assign-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.assign-card i { font-size: 1.6rem; color: var(--gold-500); }
.assign-card h3 { font-size: 1.05rem; margin: .7rem 0 .3rem; }
.assign-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.assign-wide { display: flex; gap: 1.1rem; align-items: flex-start; }
.assign-wide h3 { margin-top: 0; }
.career-note { margin: 2.5rem auto 0; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list li > i { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1.5px solid var(--gold-400); color: var(--gold-300); font-size: 1.2rem; }
.contact-list span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.contact-list a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--gold-300); }
.contact-list div { color: #fff; font-weight: 600; }
.placeholder-text { color: var(--gold-300); font-style: normal; font-weight: 600; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 240px; padding: 1.5rem; border: 1px dashed rgba(255, 255, 255, .35); border-radius: var(--radius); color: rgba(255, 255, 255, .8); background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px); }
.map-placeholder i { font-size: 2.2rem; color: var(--gold-300); }
.contact-form { background: #fff; color: var(--ink); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 12px; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.contact-form .form-label { font-weight: 700; font-size: .88rem; color: var(--navy-900); }
.contact-form .form-control, .contact-form .form-select { padding: .7rem .9rem; border-color: #ccd3de; border-radius: 6px; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 .2rem rgba(201, 169, 106, .3); }
#cf-status .alert { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 4.5rem 0 1.5rem; }
.footer-about { max-width: 46ch; font-size: .95rem; }
.footer-title { font-family: var(--font-body); font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 1.1rem; letter-spacing: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .footer-bottom a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--gold-300); padding-left: 4px; }
.footer-bottom a:hover { color: var(--gold-300); }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: #fff; text-decoration: none; opacity: .7; cursor: default; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .88rem; }

.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold-400); color: var(--navy-950); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Responsive fine-tuning ---------- */
@media (max-width: 575.98px) {
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .hero-title { max-width: none; }
  .brand-sub { display: none; }
  .milestone { flex-direction: column; align-items: flex-start; }
  .philosophy-quote { padding-left: 1.25rem; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-anim, .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg { transform: none !important; }
  .scroll-cue, .process::before { animation: none; }
}


/* ---------- Extra polish: hero motion, stats strip, headings ---------- */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; animation: orbFloat 16s ease-in-out infinite; }
.orb-1 { width: 440px; height: 440px; top: 6%; right: 6%; background: radial-gradient(circle, rgba(201, 169, 106, .35), transparent 70%); }
.orb-2 { width: 560px; height: 560px; bottom: -14%; left: -10%; background: radial-gradient(circle, rgba(47, 95, 179, .4), transparent 70%); animation-delay: -7s; }
@keyframes orbFloat { 50% { transform: translate(34px, -44px) scale(1.1); } }
.hero-chart { position: absolute; left: 0; bottom: 0; width: 100%; height: 34%; pointer-events: none; }
.chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 3.2s .6s var(--ease) forwards; }
.chart-line-2 { animation-delay: 1s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.scroll-cue { bottom: 4.5rem; }
.hero { padding-bottom: 7rem; }

.stats-strip { position: relative; z-index: 5; margin-top: -3.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 12px; border-top: 3px solid var(--gold-400); box-shadow: var(--shadow-md); }
.stat { padding: 1.6rem 1rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat-label { display: block; font-size: .88rem; color: var(--muted); font-weight: 600; margin-top: .3rem; }
@media (max-width: 767.98px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.section-head h2::after { content: ""; display: block; height: 3px; width: 64px; margin: 1rem auto 0; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); border-radius: 2px; }
.section-head.text-start h2::after { margin-left: 0; }
.js .section-head.reveal h2::after { width: 0; transition: width .9s .35s var(--ease); }
.js .section-head.reveal.is-visible h2::after { width: 64px; }

.leader-featured .leader-photo { animation: photoGlow 4s ease-in-out infinite; }
@keyframes photoGlow { 50% { box-shadow: 0 0 0 16px rgba(201, 169, 106, .07), 0 0 40px rgba(201, 169, 106, .35); } }
.icon-box, .value-card i, .step-icon { transition: transform .4s var(--ease), background-color .3s, color .3s; }
.service-card:hover .icon-box { transform: rotate(-6deg) scale(1.08); }
.value-card:hover i { transform: scale(1.12) rotate(8deg); background: var(--gold-400); color: var(--navy-950); }
.step-card:hover .step-icon { transform: translateY(-4px) scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .hero-orb, .leader-featured .leader-photo { animation: none; }
  .chart-line { stroke-dashoffset: 0; }
  .leader-card { transform: none; }
}
