/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand: #1B3A6B;
  /* deep corporate navy */
  --brand-light: #2751A0;
  --brand-green: #2E9E2A;
  /* Svanex logo green */
  --accent: #1B3A6B;
  --ink: #111827;
  /* near-black for headings */
  --body: #374151;
  /* body text */
  --muted: #6B7280;
  /* secondary text */
  --line: #E5E7EB;
  /* borders */
  --bg: #FFFFFF;
  --bg-soft: #F9FAFB;
  /* light grey sections */
  --bg-warm: #F3F4F1;
  /* warm off-white like mth */
  --radius: 4px;
  --radius-md: 8px;
  --max: 1200px;
  --speed: 0.3s;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── CONTAINER ──────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  position: relative;
  padding-left: 20px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--brand);
}

/* ─── TOPBAR ─────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  transition: opacity var(--speed);
}

.topbar a:hover {
  opacity: 0.75;
}

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--speed);
}

.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img--footer {
  height: 64px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.02em;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-top {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand);
}

.logo-bottom {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--body);
  border-radius: var(--radius);
  transition: color var(--speed), background var(--speed);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
  background: #EEF2FC;
}

.nav-cta {
  margin-left: auto;
  display: inline-block;
  padding: 10px 22px;
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--speed), transform var(--speed);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--speed), opacity var(--speed);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 8px 32px 20px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 0;
  font-size: 0.975rem;
  color: var(--body);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.mobile-menu a:last-child {
  border: none;
}

.mobile-menu .mobile-cta {
  margin-top: 12px;
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  border: none;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--brand);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid var(--brand);
  transition: background var(--speed), transform var(--speed), box-shadow var(--speed);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27, 58, 107, 0.2);
}

.btn-ghost {
  display: inline-block;
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: border-color var(--speed), background var(--speed);
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary-dark {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid #fff;
  transition: background var(--speed), transform var(--speed);
}

.btn-primary-dark:hover {
  background: #f0f4ff;
  transform: translateY(-1px);
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--speed), transform var(--speed);
}

.btn-submit:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(10, 20, 50, 0.82) 0%,
      rgba(10, 20, 50, 0.55) 60%,
      rgba(10, 20, 50, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  max-width: 700px;
  margin: 0 auto 0 max(32px, calc((100vw - var(--max)) / 2 + 32px));
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollGrow 2s ease-in-out infinite;
}

@keyframes scrollGrow {

  0%,
  100% {
    opacity: 0.4;
    height: 40px;
  }

  50% {
    opacity: 1;
    height: 60px;
  }
}

/* ─── INTRO / NUMBERS ─────────────────────────────────────────────────────── */
.intro-section {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
}

.intro-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
}

.intro-text p {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.75;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.intro-stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.intro-stat:first-child {
  border-left: none;
  padding-left: 0;
}

.istat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--ink);
  line-height: 1;
  font-weight: 400;
  display: inline;
}

.istat-suffix {
  font-size: 1.8rem;
  color: var(--brand);
  font-family: 'DM Serif Display', serif;
  display: inline;
}

.istat-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  margin: 10px 0 8px;
}

.istat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services-section {
  padding: 100px 0;
  background: var(--bg);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.services-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
}

.services-left p {
  color: var(--body);
  line-height: 1.75;
}

.services-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-item.visible {
  opacity: 1;
  transform: none;
}

.service-item:last-child {
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--brand);
  opacity: 0.35;
  font-weight: 400;
  padding-top: 4px;
}

.service-body h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.service-body p {
  font-size: 0.92rem;
  color: var(--body);
  margin-bottom: 12px;
  line-height: 1.65;
}

.service-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-body ul li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-body ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ─── DRIFT SPLIT ─────────────────────────────────────────────────────────── */
.drift-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.drift-img-col {
  overflow: hidden;
}

.drift-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.drift-img-col:hover img {
  transform: scale(1.04);
}

.drift-content-col {
  background: var(--bg-soft);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.drift-content-col h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
}

.drift-intro {
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 32px;
}

.drift-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.drift-feature:last-of-type {
  border-bottom: 1px solid var(--line);
}

.drift-feature-icon {
  width: 36px;
  height: 36px;
  background: #EEF2FC;
  color: var(--brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.drift-feature h4 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.drift-feature p {
  font-size: 0.865rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── WHY SECTION ─────────────────────────────────────────────────────────── */
.why-section {
  padding: 100px 0;
  background: var(--bg);
}

.why-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.2;
}

.why-intro {
  color: var(--body);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-card {
  background: var(--bg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, background var(--speed);
}

.why-card.visible {
  opacity: 1;
  transform: none;
}

.why-card:hover {
  background: var(--bg-soft);
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.why-icon {
  width: 48px;
  height: 48px;
  background: #EEF2FC;
  color: var(--brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--line);
  font-weight: 400;
  line-height: 1;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.7;
}

/* ─── CTA BAND ───────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--brand);
  padding: 72px 32px;
}

.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: #fff;
  font-weight: 400;
  margin-bottom: 10px;
}

.cta-band-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */
.contact-section {
  padding: 100px 0;
  background: var(--bg-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 14px;
}

.contact-left p {
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 1px solid var(--line);
}

.ci-icon {
  width: 36px;
  height: 36px;
  background: #EEF2FC;
  color: var(--brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ci-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 3px;
}

.ci-value {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--speed);
}

a.ci-value:hover {
  color: var(--brand);
}

.contact-right {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--body);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color var(--speed), box-shadow var(--speed);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}

.form-field textarea {
  resize: none;
}

.form-ok {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2D7D46;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 12px 16px;
}

.form-ok.show {
  display: flex;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo .logo-icon {
  background: rgba(255, 255, 255, 0.1);
}

.footer-logo .logo-top {
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo .logo-bottom {
  color: rgba(255, 255, 255, 0.45);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.footer-col a,
.footer-col span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--speed);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ─── REVEAL ─────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .drift-split {
    grid-template-columns: 1fr;
  }

  .drift-img-col {
    height: 380px;
  }

  .drift-content-col {
    padding: 60px 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .why-grid {
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
  }

  .why-card {
    border: 1px solid var(--line);
  }

  .intro-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-stat {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }

  .intro-stat:first-child {
    border-top: none;
    padding-top: 0;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding-bottom: 60px;
    align-items: center;
  }

  .hero-content {
    margin: 80px 32px 0;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .contact-right {
    padding: 28px 20px;
  }

  .drift-content-col {
    padding: 48px 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* ─── NAV DROPDOWN ─────────────────────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-link--has-sub {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.nav-link--has-sub svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-link--has-sub svg {
  transform: rotate(180deg);
}

.nav-drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #ffffff;
  border-radius: 12px;
  min-width: 320px;
  padding: 24px 8px 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 200;
}

.nav-dropdown:hover .nav-drop-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-panel::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
}

.nav-drop-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drop-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-drop-item:hover {
  background: rgba(27, 58, 107, 0.04);
  color: var(--brand);
}

.nav-drop-icon {
  width: 36px;
  height: 36px;
  background: rgba(27, 58, 107, 0.05);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-drop-item:hover .nav-drop-icon {
  background: var(--brand);
  color: #ffffff;
}

.nav-drop-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-drop-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.3;
}

.nav-drop-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.nav-drop-item:hover .nav-drop-title {
  color: var(--brand);
}

/* ─── PARTNER LOGO CAROUSEL ────────────────────────────────────────────────── */
.partners-section {
  padding: 72px 0 64px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.partners-track-wrap {
  overflow: hidden;
  width: 100%;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: partnersScroll 22s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-slide img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease;
}

.partner-slide img:hover {
  filter: grayscale(0%) opacity(1);
}