/* ============================================================
   Horizon Advisory — styles.css
   Colors: Cobalt Blue #2D3FBF | White #FFFFFF | Black #0A0A0A
   ============================================================ */

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

:root {
  --blue:       #2D3FBF;
  --blue-dark:  #1A2BA0;
  --blue-light: #EEF0FF;
  --blue-glow:  rgba(45, 63, 191, 0.15);
  --black:      #0A0A0A;
  --white:      #FFFFFF;
  --gray-50:    #F5F6FA;
  --gray-100:   #EBEBF0;
  --gray-400:   #9399B2;
  --gray-600:   #5A6080;
  --gray-800:   #2A2D3E;

  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:     12px;
  --radius-lg:  20px;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  --nav-h: 72px;
  --section-pad: clamp(80px, 10vw, 140px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

h1, .h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
}

h2, .h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--black);
}

h3, .h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--gray-600);
  line-height: 1.65;
  font-weight: 400;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(45,63,191,0.3), 0 4px 16px rgba(45,63,191,0.2);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 2px 8px rgba(45,63,191,0.4), 0 8px 24px rgba(45,63,191,0.3);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-100);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.96);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo img { height: 32px; width: auto; }
.nav__logo-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.2;
}
.nav__logo-text span { display: block; font-weight: 400; font-size: 11px; color: var(--gray-400); letter-spacing: 0.05em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width 0.25s var(--ease-out);
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--blue); }
.nav__link.active::after { width: 100%; }

.nav__cta { margin-left: 8px; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 24px clamp(20px, 4vw, 48px) 32px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
}
.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav__mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-50);
  transition: color 0.2s;
}
.nav__mobile-link:hover { color: var(--blue); }
.nav__mobile .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--white);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero__content { max-width: 600px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s 0.1s var(--ease-out) forwards;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--blue);
}

.hero__title {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.9s 0.2s var(--ease-out) forwards;
}
.hero__title em {
  font-style: normal;
  color: var(--blue);
}

.hero__subtitle {
  margin-bottom: 40px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s 0.35s var(--ease-out) forwards;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.8s 0.5s var(--ease-out) forwards;
}

/* Hero visual (right column) */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fade-in 1s 0.6s var(--ease-out) forwards;
}

.hero__card-stack {
  position: relative;
  width: 340px;
  height: 400px;
}

.hero__card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06);
  padding: 28px;
  border: 1px solid var(--gray-100);
}

.hero__card--main {
  width: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: float-card 6s ease-in-out infinite;
}

.hero__card--back1 {
  width: 260px;
  top: 50%;
  left: calc(50% + 24px);
  transform: translate(-50%, calc(-50% - 30px)) rotate(6deg);
  z-index: 1;
  opacity: 0.6;
  border-color: var(--blue-light);
  background: var(--blue-light);
}

.hero__card--back2 {
  width: 260px;
  top: 50%;
  left: calc(50% - 20px);
  transform: translate(-50%, calc(-50% + 30px)) rotate(-4deg);
  z-index: 2;
  opacity: 0.8;
}

.card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.card__value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 4px;
}
.card__value span { color: var(--blue); }
.card__sub {
  font-size: 13px;
  color: var(--gray-400);
}
.card__chart {
  margin-top: 20px;
  height: 56px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.card__bar {
  flex: 1;
  background: var(--blue-light);
  border-radius: 3px 3px 0 0;
  position: relative;
  overflow: hidden;
  transition: height 0.3s;
}
.card__bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
}
.card__bar--active { background: var(--blue); }
.card__trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #16A34A;
  background: #DCFCE7;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ── Clients / Trust bar ──────────────────────────────────── */
.trust {
  padding: 32px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
}
.trust__logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  flex: 1;
}
.trust__logo-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ── Stats ────────────────────────────────────────────────── */
.stats {
  padding: var(--section-pad) clamp(20px, 4vw, 48px);
  background: var(--blue);
}
.stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.stat-item {
  padding: 40px 48px;
  background: var(--blue);
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat__number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__number sup {
  font-size: 0.45em;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
}
.stat__number sub {
  font-size: 0.35em;
  font-weight: 600;
  vertical-align: baseline;
  margin-left: 2px;
}
.stat__label {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}

/* ── Section wrapper ──────────────────────────────────────── */
.section {
  padding: var(--section-pad) clamp(20px, 4vw, 48px);
}
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--black); color: var(--white); }

.section__header {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.section__header--center { text-align: center; }
.section__header .eyebrow { margin-bottom: 16px; }
.section__header h2 { margin-bottom: 16px; }
.section__header p.lead { max-width: 560px; }
.section__header--center p.lead { margin: 0 auto; }

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Services cards ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.service-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 12px 40px rgba(45,63,191,0.12);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s;
}
.service-card:hover .service-card__icon { background: var(--blue); }
.service-card__icon svg { transition: color 0.3s; }
.service-card:hover .service-card__icon svg { color: var(--white); }

.service-card h3 { margin-bottom: 12px; color: var(--black); }
.service-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.2s;
}
.service-card__link:hover { gap: 10px; }
.service-card__link svg { width: 14px; height: 14px; }

/* ── Why section ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  align-items: start;
}
.why-item { display: flex; gap: 20px; }
.why-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-item__icon svg { color: var(--blue); }
.why-item__text h3 { margin-bottom: 8px; font-size: 18px; }
.why-item__text p { font-size: 15px; color: var(--gray-600); line-height: 1.65; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--blue);
  padding: clamp(64px, 8vw, 100px) clamp(20px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); max-width: 540px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 17px; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 64px clamp(20px, 4vw, 48px) 40px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { height: 28px; filter: invert(1); margin-bottom: 16px; }
.footer__brand-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__brand-desc {
  font-size: 13px;
  line-height: 1.6;
  max-width: 280px;
}
.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Services Page ────────────────────────────────────────── */
.page-hero {
  background: var(--blue);
  padding: calc(var(--nav-h) + 80px) clamp(20px, 4vw, 48px) 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.page-hero .eyebrow { color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero p.lead { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; }

/* Process timeline */
.process {
  padding: var(--section-pad) clamp(20px, 4vw, 48px);
  background: var(--gray-50);
}
.process__inner { max-width: 1200px; margin: 0 auto; }
.process__header { text-align: center; margin-bottom: 64px; }
.process__header .eyebrow { margin-bottom: 16px; }
.process__header h2 { margin-bottom: 16px; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.process-step__num {
  width: 64px;
  height: 64px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--gray-50), 0 4px 16px rgba(45,63,191,0.3);
}
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ── 404 Page ─────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) clamp(20px, 4vw, 48px) 80px;
}
.error-page__inner { max-width: 480px; }
.error-page__code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 8px;
}
.error-page__code span { color: var(--blue); }
.error-page h2 { margin-bottom: 16px; }
.error-page p { color: var(--gray-600); margin-bottom: 40px; }

/* ── Scroll Animations ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.fade-in.is-visible { opacity: 1; }

.slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.slide-left.is-visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.slide-right.is-visible { opacity: 1; transform: translateX(0); }

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger.is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.stagger.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.stagger.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
.stagger.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }
.stagger.is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 320ms; }
.stagger.is-visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 400ms; }

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  to { opacity: 1; }
}
@keyframes float-card {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,63,191,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(45,63,191,0); }
}

/* ── Scrolling Logo Marquee ───────────────────────────────── */
.clients {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}
.clients__label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 28px;
}
.clients__track-wrapper {
  overflow: hidden;
  position: relative;
}
.clients__track-wrapper::before,
.clients__track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clients__track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}
.clients__track-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--white) 0%, transparent 100%);
}
.clients__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee-scroll 9s linear infinite;
}
.clients__track:hover { animation-play-state: paused; }

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: grayscale(0.2) opacity(0.9);
  transition: filter 0.3s, transform 0.3s;
}
.client-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}
.client-logo img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 8px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Hero Saving Card (replaces portfolio stack) ──────────── */
.hero__saving-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
  padding: 36px 32px;
  width: 340px;
  position: relative;
  animation: float-card 6s ease-in-out infinite;
}
.saving-card__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.saving-card__comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
}
.saving-col { display: flex; flex-direction: column; }
.saving-col__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.saving-col__rate {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.saving-col--before .saving-col__rate { color: #DC2626; }
.saving-col--after .saving-col__rate  { color: #16A34A; }
.saving-col__line {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
}
.saving-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--blue-light);
  border-radius: 50%;
  flex-shrink: 0;
}
.saving-arrow svg { color: var(--blue); }
.saving-divider {
  height: 1px;
  background: var(--gray-100);
  margin-bottom: 20px;
}
.saving-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.saving-result__label {
  font-size: 13px;
  color: var(--gray-600);
}
.saving-result__amount {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
}
.saving-result__amount span { color: var(--blue); }
.saving-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  width: 100%;
  justify-content: center;
}
.saving-badge svg { flex-shrink: 0; }
.saving-card__note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.5;
}

/* ── Model banner (win-win callout) ───────────────────────── */
.model-banner {
  background: var(--blue-light);
  border: 1px solid rgba(45,63,191,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.model-banner__icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.model-banner__text p { font-size: 15px; color: var(--gray-600); line-height: 1.6; }
.model-banner__text p strong { color: var(--blue); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .model-banner { flex-direction: column; text-align: center; }
  .stats__inner { grid-template-columns: 1fr; }
  .stat-item:not(:last-child)::after { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 48px; }
  .process-steps::before { display: none; }
  .cta-banner__inner { flex-direction: column; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
}

@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .trust__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
