/* =========================================================
   Mana HC Info — Design System
   Palette derived from the brand logo (blue + green)
   ========================================================= */
:root {
  --navy-950: #050d1f;
  --navy-900: #0a1630;
  --navy-800: #102245;
  --navy-700: #1a3260;
  --blue: #1e9bd7;
  --blue-light: #5cc4f2;
  --green: #8cc63f;
  --green-light: #b5e07a;
  --ink: #13203a;
  --muted: #5b6b85;
  --line: #e4e9f2;
  --bg: #f6f8fc;
  --white: #ffffff;
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--green) 100%);
  --grad-dark: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(16, 34, 69, .06);
  --shadow: 0 12px 40px rgba(16, 34, 69, .10);
  --shadow-lg: 0 24px 60px rgba(16, 34, 69, .18);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg); }
.section--dark { background: var(--grad-dark); color: #c9d5ea; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: #a9b8d3; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: var(--white); box-shadow: 0 10px 30px rgba(30, 155, 215, .35); }
.btn--primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(30, 155, 215, .45); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .85); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, height .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); --header-h: 74px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 64px; width: auto; transition: height .3s; }
.site-header.scrolled .brand img { height: 54px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; color: var(--ink);
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--blue); }
.nav .btn { margin-left: 10px; padding: 10px 22px; }
.nav .btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; color: var(--white);
  background: var(--navy-950);
}
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 13, 31, .92) 0%, rgba(5, 13, 31, .65) 50%, rgba(5, 13, 31, .25) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 720px; }
.hero h1 { color: var(--white); }
.hero .lead { color: #c3d0e6; font-size: 1.25rem; max-width: 600px; margin-bottom: 36px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; margin-bottom: 26px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .9rem; color: #dbe6f7; backdrop-filter: blur(8px);
}
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(140, 198, 63, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(140, 198, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 198, 63, 0); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 48px; margin-top: 64px; justify-content: start; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.stat span { font-size: .9rem; color: #a9b8d3; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Page hero (inner pages) */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 90px; color: var(--white);
  background: var(--grad-dark); overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45;
}
.page-hero::before { width: 420px; height: 420px; background: var(--blue); top: -140px; right: -60px; }
.page-hero::after { width: 320px; height: 320px; background: var(--green); bottom: -180px; left: 10%; opacity: .25; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { color: #b8c6de; max-width: 640px; }
.crumbs { font-size: .9rem; color: #8ea0c0; margin-bottom: 18px; }
.crumbs a { color: #c3d0e6; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 36px 32px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: 12px; }
.icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px;
  border-radius: 14px; background: linear-gradient(135deg, rgba(30, 155, 215, .12), rgba(140, 198, 63, .14));
  color: var(--blue); transition: transform .35s var(--ease), background .35s, color .35s;
}
.icon svg { width: 28px; height: 28px; }
.card:hover .icon { background: var(--grad); color: var(--white); transform: rotate(-6deg) scale(1.05); }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.section--dark .card p { color: #a9b8d3; }
.section--dark .card:hover { background: rgba(255, 255, 255, .07); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
  background: var(--grad); opacity: .18; z-index: -1;
}
.float-badge {
  position: absolute; left: -24px; bottom: 32px; padding: 18px 24px; border-radius: var(--radius-sm);
  background: var(--white); box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
  animation: floaty 5s ease-in-out infinite;
}
.float-badge strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.float-badge span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--grad) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"), var(--grad);
}

/* ---------- Clients ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.logo-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 18px 20px;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.logo-card .logo-box { width: 100%; height: 96px; display: grid; place-items: center; }
.logo-card img { max-width: 170px; max-height: 84px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.logo-card span { font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--muted); text-align: center; }
.logo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.logo-card:hover img { filter: none; opacity: 1; transform: scale(1.05); }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 56px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta {
  position: relative; padding: clamp(48px, 7vw, 80px); border-radius: 28px; overflow: hidden;
  background: var(--grad-dark); color: var(--white); text-align: center;
}
.cta::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--blue); filter: blur(120px); opacity: .35; top: -250px; left: -100px; }
.cta::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--green); filter: blur(120px); opacity: .25; bottom: -220px; right: -80px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: var(--white); }
.cta p { color: #b8c6de; max-width: 560px; margin: 0 auto 32px; }

/* ---------- Quote / Founder ---------- */
.quote {
  position: relative; padding: 48px; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow); border-left: 5px solid var(--green);
}
.quote p { font-size: 1.05rem; color: var(--muted); }
.quote p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { padding: 44px; border-radius: var(--radius); background: var(--grad-dark); color: #c3d0e6; position: relative; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--green); filter: blur(90px); opacity: .25; bottom: -120px; right: -80px; }
.contact-info h2 { color: var(--white); font-size: 1.8rem; }
.contact-item { display: flex; gap: 16px; margin-top: 26px; position: relative; z-index: 1; }
.contact-item .icon { flex: none; width: 48px; height: 48px; margin: 0; background: rgba(255, 255, 255, .08); color: var(--green-light); }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; color: var(--white); font-family: var(--font-head); font-weight: 500; }
.contact-item a { color: #c3d0e6; }
.contact-item a:hover { color: var(--green-light); }

.form { padding: 44px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); font: inherit; color: var(--ink); resize: vertical;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 17px; top: 16px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(30, 155, 215, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: .75rem; color: var(--blue); }
.form .btn { width: 100%; justify-content: center; }
.form-note { margin-top: 14px; font-size: .9rem; text-align: center; color: var(--muted); min-height: 1.4em; }

.office-card { text-align: left; }
.office-card .office-logo { display: block; width: 150px; max-width: 100%; height: auto; margin-bottom: 16px; }
.office-card .flag { font-size: 2rem; line-height: 1; margin-bottom: 14px; }
.office-card h3 { display: flex; align-items: center; gap: 10px; }
.office-card address { font-style: normal; color: var(--muted); margin-bottom: 16px; }
.office-card ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .95rem; }
.office-card li { display: flex; gap: 8px; color: var(--muted); }
.office-card li b { color: var(--ink); font-weight: 500; min-width: 54px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8ea0c0; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 60px; width: auto; background: var(--white); padding: 8px 12px; border-radius: 12px; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #8ea0c0; }
.site-footer a:hover { color: var(--green-light); }
.footer-bottom { margin-top: 60px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--grad); color: var(--white); cursor: pointer; box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 4% 28px; background: var(--white); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-radius: 999px; }
  .grid-3, .grid-2, .split, .contact-layout { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .float-badge { left: 12px; }
}
@media (max-width: 600px) {
  :root { --header-h: 74px; }
  .brand img { height: 52px; }
  .grid-4, .checklist, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat strong { font-size: 1.8rem; }
  .card, .form, .contact-info, .quote { padding: 28px 22px; }
}

/* ---------- Sign in ---------- */
.nav .nav-signin { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; border: 1.5px solid var(--line); }
.nav .nav-signin svg { width: 17px; height: 17px; }
.nav .nav-signin::after { display: none; }
.nav .nav-signin:hover { border-color: var(--blue); color: var(--blue); background: rgba(30, 155, 215, .06); }
@media (max-width: 900px) { .nav .nav-signin { margin: 12px 0 0; justify-content: center; border-radius: 999px; border: 1.5px solid var(--line); } }


/* =========================================================
   Responsive hardening + mobile menu (overrides)
   ========================================================= */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.nav-toggle { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; }
  .nav-toggle span { margin: 3px 0; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 12px 5% 24px; background: var(--white);
    border-top: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16, 34, 69, .15);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { padding: 14px 6px; font-size: 1.05rem; }
  .nav a.active { color: var(--blue); }
  .nav .btn, .nav .nav-signin { padding: 12px 20px; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(5, 13, 31, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 56px) 0 72px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(5, 13, 31, .85) 0%, rgba(5, 13, 31, .75) 100%); }
  .scroll-cue { display: none; }
  .split__media::before { inset: 14px -10px -14px 10px; }
  .float-badge { left: 10px; bottom: 16px; padding: 12px 16px; }
  .float-badge strong { font-size: 1.5rem; }
  .section-head { margin-bottom: 36px; }
  .page-hero { padding: calc(var(--header-h) + 50px) 0 56px; }
  .cta { border-radius: 20px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__stats { margin-top: 40px; }
  .stat span { font-size: .78rem; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .logo-card { padding: 18px 10px 14px; }
  .logo-card .logo-box { height: 70px; }
  .logo-card img { max-width: 120px; max-height: 60px; }
  .marquee__track { gap: 40px; }
  .marquee img { height: 40px; }
  .office-card li { flex-wrap: wrap; }
  .contact-item { word-break: break-word; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .to-top { right: 16px; bottom: 16px; }
}

.nav a.btn--primary, .nav a.btn--primary:hover { color: var(--white); }


section[id] { scroll-margin-top: calc(var(--header-h) + 10px); }


/* Sign In as primary button */
.nav a.btn--primary.nav-signin { border: 0; margin-left: 10px; color: var(--white); }
.nav a.btn--primary.nav-signin:hover { color: var(--white); background: var(--grad); }
.nav a.btn--primary.nav-signin svg { width: 17px; height: 17px; }
.nav a.btn--primary.nav-signin:hover svg { transform: none; }
@media (max-width: 900px) { .nav a.btn--primary.nav-signin { margin: 16px 0 0; border: 0; } }


/* Partner logo in office card */
.office-card .office-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; margin: -4px 0 14px; }

