:root {
  --blue: #1e3a8a;
  --sky: #38bdf8;
  --teal: #0ea5e9;
  --orange: #fbbf24;
  --gold: #fbbf24;
  --coral: #f59e0b;
  --purple: #1e3a8a;
  --green: #0284c7;
  --ink: #1e293b;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --bg: #f8fafc;
  --cream: #fffbeb;
  --lightblue: #eff6ff;
  --line: #e2e8f0;
  --disp: "Sora", sans-serif;
  --body: "Plus Jakarta Sans", sans-serif;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow-soft: 0 10px 40px rgba(30, 58, 138, 0.1);
  --shadow-card: 0 6px 24px rgba(30, 41, 59, 0.08);
  
  
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--disp);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: #eaf1ff;
  border: 1px solid #d6e4ff;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow.warm {
  color: #b45309;
  background: #fef3c7;
  border-color: #fde68a;
}

.eyebrow.teal {
  color: #0369a1;
  background: #e0f2fe;
  border-color: #c4f0ea;
}

.eyebrow.purple {
  color: #1e3a8a;
  background: #dbeafe;
  border-color: #e3d6ff;
}

.sec-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.sec-sub {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 640px;
}

.center {
  text-align: center;
}

.center .sec-sub {
  margin: 0 auto;
}

.grad-text {
  background: linear-gradient(92deg,
      var(--blue),
      var(--purple) 55%,
      var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-warm {
  background: linear-gradient(92deg, var(--orange), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2),
    box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(100deg,
      #fde047 0%,
      #fbbf24 34%,
      #f59e0b 66%,
      #d97706 100%);
  background-size: 135% 100%;
  background-position: 0% 50%;
  color: #3b2a06;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.42);
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2),
    box-shadow 0.25s,
    background-position 0.5s ease;
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.55);
}

.btn-warm {
  background: linear-gradient(92deg, var(--orange), var(--coral));
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-card);
}

.btn-ghost:hover {
  border-color: var(--sky);
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 236, 245, 0.8);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 6px 24px rgba(30, 41, 59, 0.07);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 1.25rem;
}

.footer-logo-img {
  height: auto;
  width: 50%;
  display: block;
  padding: 8px 12px;
  background: transparent;
  border-radius: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: contain;
  display: block;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.22);
}

.logo span b {
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-cta .btn {
  padding: 11px 22px;
  font-size: 0.92rem;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- mega menu ---------- */
.has-mega {
  position: static;
}

.has-mega .mega-trigger {
  position: relative;
}

.has-mega .mega-trigger::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  top: 100%;
  height: 26px;
  display: none;
}

.has-mega:hover .mega-trigger::after,
.has-mega.open .mega-trigger::after {
  display: block;
}

.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.mega-trigger .chev {
  width: 11px;
  transition: transform 0.3s;
}

.has-mega:hover .mega-trigger {
  color: var(--blue);
}

.has-mega:hover .mega-trigger .chev {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 16px 24px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1),
    visibility 0.28s;
  pointer-events: none;
  z-index: 120;
  max-width: 1120px;
  margin: auto;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.mega-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 296px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(30, 41, 59, 0.16);
  overflow: hidden;
}

.mega-list {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--lightblue));
}

.mega-eyebrow {
  display: block;
  padding: 6px 14px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  border: 0;
  background: none;
  border-radius: 11px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  transition:
    background 0.22s,
    color 0.22s,
    transform 0.22s;
}

.mega-item .mi-arrow {
  opacity: 0;
  transform: translateX(-5px);
  transition:
    opacity 0.22s,
    transform 0.22s;
  color: var(--c1);
}

.mega-item:hover,
.mega-item.is-active {
  background: #fff;
  color: var(--c1);
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.07);
}

.mega-item:hover .mi-arrow,
.mega-item.is-active .mi-arrow {
  opacity: 1;
  transform: none;
}

.mega-panel {
  position: relative;
  min-height: 326px;
  background: #fff;
  overflow: hidden;
}

.mega-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 82% 14%,
      var(--pc, transparent),
      transparent 70%);
  opacity: 0.1;
  transition: background 0.35s;
}

.mega-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 42px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.mega-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 88% 12%, var(--c1), transparent 68%);
  opacity: 0.09;
  pointer-events: none;
}

.mega-card.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mega-card>* {
  position: relative;
}

.mc-art {
  position: relative;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.mc-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: var(--c1);
  opacity: 0.11;
}

.mc-art svg {
  width: 64px;
  height: 64px;
  position: relative;
}

.mega-card h4 {
  font-size: 1.28rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.mega-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 14px;
}

.mc-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 20px;
}

.mc-list li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c1);
  background: var(--lightblue);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 99px;
}

.mc-cta {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #3b2a06;
  background: linear-gradient(100deg,
      #fde047 0%,
      #fbbf24 34%,
      #f59e0b 66%,
      #d97706 100%);
  background-size: 135% 100%;
  background-position: 0% 50%;
  padding: 11px 22px;
  border-radius: 99px;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.3);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background-position 0.5s ease;
}

.mc-cta:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.42);
}

@media (max-width: 1024px) {
  .mega {
    display: none;
  }
}

/* announce bar */
.announce {
  background: linear-gradient(92deg, #fff4e4, #fef3c7);
  color: #b45309;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 16px;
}

.announce b {
  color: #ea580c;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 72px;
  background:
    radial-gradient(900px 500px at 8% -5%,
      rgba(56, 189, 248, 0.16),
      transparent 60%),
    radial-gradient(800px 520px at 96% 8%,
      rgba(30, 58, 138, 0.13),
      transparent 60%),
    radial-gradient(700px 480px at 55% 108%,
      rgba(251, 191, 36, 0.12),
      transparent 60%),
    linear-gradient(180deg, #f8fafc, #ffffff);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}

.blob.b1 {
  width: 420px;
  height: 420px;
  background: #bfdbfe;
  top: -80px;
  left: -120px;
}

.blob.b2 {
  width: 360px;
  height: 360px;
  background: #fde9d3;
  bottom: -60px;
  right: 6%;
  animation-delay: -8s;
}

.blob.b3 {
  width: 300px;
  height: 300px;
  background: #e9ddff;
  top: 30%;
  right: -140px;
  animation-delay: -14s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(50px, 40px) scale(1.12);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  font-weight: 800;
  margin: 0 0 20px;
}

.tw-h1 {
  min-height: 4.35em;
  white-space: pre-line;
}

.tw-caret {
  display: inline-block;
  width: 0.06em;
  min-width: 2px;
  height: 1em;
  margin-left: 0.04em;
  background: var(--blue);
  border-radius: 2px;
  transform: translateY(0.12em);
  animation: twBlink 1s steps(1) infinite;
}

.tw-caret.tw-done {
  animation: twBlink 1.1s steps(1) infinite;
}

@keyframes twBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tw-caret {
    animation: none;
    opacity: 0;
  }
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
  max-width: 540px;
  margin-bottom: 26px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.avatars {
  display: flex;
}

.avatars i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -12px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
}

.avatars i:first-child {
  margin-left: 0;
}

.hero-trust small {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-trust .stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hstat b {
  font-family: var(--disp);
  font-size: 1.7rem;
  font-weight: 800;
  display: block;
  color: var(--ink);
}

.hstat b em {
  font-style: normal;
  color: var(--blue);
}

.hstat span {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 600;
}

/* hero right composition */
.hero-right {
  position: relative;
  min-height: 640px;
}

.float-book {
  position: absolute;
  perspective: 900px;
  animation: bookfloat 7s ease-in-out infinite;
}

@keyframes bookfloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.float-book {
  perspective: 800px;
}

.book3d {
  width: 130px;
  height: 190px;
  border-radius: 2px 7px 7px 2px;
  position: relative;
  transform: rotateY(-26deg) rotateZ(-2deg);
  transform-style: preserve-3d;
  filter: drop-shadow(16px 22px 20px rgba(30, 41, 59, 0.26));
}

.book3d::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 3px;
  right: -12px;
  width: 24px;
  transform: rotateY(90deg);
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(90deg, #fef3c7 0 1px, #fffbeb 1px 3px);
  box-shadow: inset -2px 0 3px rgba(0, 0, 0, 0.12);
}

.book3d::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 24px;
  transform: rotateY(90deg);
  background: inherit;
  filter: brightness(0.62);
  border-radius: 2px 0 0 2px;
}

.book3d .bc {
  position: absolute;
  inset: 0;
  border-radius: 2px 7px 7px 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 12px;
  color: #fff;
  transform: translateZ(12px);
  background: inherit;
  box-shadow:
    inset 3px 0 6px rgba(0, 0, 0, 0.25),
    inset -1px -1px 3px rgba(255, 255, 255, 0.12);
}

.book3d .bc h5 {
  font-family: var(--disp);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 700;
}

.book3d .bc small {
  font-size: 0.6rem;
  opacity: 0.85;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fb1 {
  top: 6%;
  left: -4%;
}

.fb1 .book3d {
  background: linear-gradient(160deg, #274aad, #152a63);
}

.fb2 {
  top: 0;
  left: 34%;
  animation-delay: -2.5s;
}

.fb2 .book3d {
  background: linear-gradient(160deg, #f97316, #f59e0b);
  width: 112px;
  height: 164px;
}

.fb3 {
  bottom: 4%;
  left: -8%;
  animation-delay: -4s;
}

.fb3 .book3d {
  background: linear-gradient(160deg, #0284c7, #0284c7);
  width: 104px;
  height: 152px;
}

.badge-float {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  animation: bookfloat 8s ease-in-out infinite;
  z-index: 5;
}

.badge-float .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.bfa {
  top: 32%;
  left: -6%;
  animation-delay: -3s;
}

.bfa .ic {
  background: #fef3c7;
}

.bfb {
  bottom: -3%;
  left: 22%;
  animation-delay: -5.5s;
}

.bfb .ic {
  background: #e0f2fe;
}

/* glass form */
.lead-card {
  position: relative;
  margin-left: auto;
  width: min(416px, 100%);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-lg);
  box-shadow:
    0 24px 60px rgba(30, 58, 138, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 30px 26px;
  z-index: 6;
}

.lead-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg,
      rgba(56, 189, 248, 0.5),
      rgba(30, 58, 138, 0.35),
      rgba(251, 191, 36, 0.4));
  z-index: -1;
  filter: blur(14px);
  opacity: 0.5;
}

.lead-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.lead-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.lc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lc-field {
  position: relative;
  margin-bottom: 14px;
}

.lc-field input,
.lc-field select {
  width: 100%;
  padding: 19px 14px 9px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--ink);
  transition:
    border 0.2s,
    box-shadow 0.2s;
  appearance: none;
}

.lc-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5l5-5' stroke='%2364748B' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.lc-field label {
  position: absolute;
  left: 14px;
  top: 15px;
  font-size: 0.9rem;
  color: var(--ink-mute);
  pointer-events: none;
  transition:
    transform 0.18s ease,
    color 0.18s,
    font-size 0.18s;
  transform-origin: left top;
}

.lc-field label span {
  font-weight: 500;
  opacity: 0.75;
}

.lc-field input:focus,
.lc-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
}

.lc-field input:focus+label,
.lc-field input:not(:placeholder-shown)+label,
.lc-field select:focus+label,
.lc-field select:valid+label {
  transform: translateY(-9px) scale(0.72);
  color: var(--blue);
  font-weight: 700;
}

.lead-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  padding: 15px 22px;
}

.lead-trust {
  text-align: center;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.lead-trust .stars {
  color: var(--gold);
  letter-spacing: 2px;
}

@media (max-width: 380px) {
  .lc-row {
    grid-template-columns: 1fr;
  }
}

/* authors marquee */
.marquee-sec {
  background: #fff;
  padding: 64px 0 60px;
  overflow: hidden;
}

.marquee-cap {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent);
  mask-image: linear-gradient(90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track img {
  display: block;
  height: clamp(90px, 10vw, 140px);
  width: auto;
  flex: 0 0 auto;
  user-select: none;
  pointer-events: none;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* hero background image (books wall) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(../images/homebnr.webp);
  background-size: cover;
  background-position: center top;
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(248, 250, 252, 0.97) 0%,
      rgba(248, 250, 252, 0.9) 30%,
      rgba(248, 250, 252, 0.62) 48%,
      rgba(248, 250, 252, 0.18) 66%,
      rgba(248, 250, 252, 0) 82%),
    linear-gradient(180deg,
      rgba(248, 250, 252, 0.55),
      rgba(248, 250, 252, 0) 26%,
      rgba(248, 250, 252, 0) 62%,
      rgba(248, 250, 252, 0.7));
}

.hero.has-media {
  background: #f8fafc;
}

@media (max-width: 1024px) {
  .hero-bg {
    opacity: 0.5;
  }

  .hero-bg-overlay {
    background: linear-gradient(180deg,
        rgba(248, 250, 252, 0.86),
        rgba(248, 250, 252, 0.72) 40%,
        rgba(248, 250, 252, 0.9));
  }
}

.hero.has-media .blob {
  opacity: 0.32;
  mix-blend-mode: multiply;
}

/* trusted by */
.trusted {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trusted p {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

.logo-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}

.plogo {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  opacity: 0.85;
  filter: grayscale(0);
  transition:
    opacity 0.25s,
    transform 0.25s;
}

.plogo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.plogo svg {
  display: block;
}

.lg-amazon {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: #232f3e;
  line-height: 1;
  position: relative;
  padding-bottom: 8px;
}

.lg-amazon svg {
  position: absolute;
  left: 2px;
  bottom: 0;
  width: calc(100% - 10px);
}

.lg-kindle {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #232f3e;
  line-height: 1;
}

.lg-bn {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: #38684a;
  line-height: 1.1;
  text-align: left;
}

.lg-apple {
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #1d1d1f;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lg-audible {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lg-ingram {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lg-ingram .in1 {
  color: #54565a;
}

.lg-ingram .in2 {
  color: #00a9e0;
}

/* featured books — coverflow showcase */
.featured {
  padding: 64px 0;
  background: linear-gradient(180deg, #fff, #f5f8fc);
}

.bx-panel {
  position: relative;
  border-radius: 30px;
  padding: 32px 40px 28px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(680px 380px at 22% 6%,
      rgba(56, 189, 248, 0.16),
      transparent 60%),
    radial-gradient(720px 460px at 86% 92%,
      rgba(251, 191, 36, 0.15),
      transparent 60%),
    linear-gradient(160deg, #12203c 0%, #0c1830 52%, #0a1428 100%);
  box-shadow:
    0 40px 90px rgba(10, 20, 40, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bx-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px,
      transparent 1px);
  background-size: 3px 3px;
}

.bx-panel>* {
  position: relative;
  z-index: 1;
}

.bx-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 14px;
}

.bx-eyebrow {
  display: inline-block;
  font-family: var(--disp);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 11px;
}

.bx-title {
  font-family: var(--disp);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #f1f5f9;
}

.bx-em {
  background: linear-gradient(92deg, #fde047, #fbbf24 40%, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bx-sub {
  margin-top: 12px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #93a3bc;
}

/* coverflow */
.bx-flow {
  position: relative;
  height: 250px;
  margin: 0 auto 14px;
  max-width: 820px;
  perspective: 1700px;
  transform-style: preserve-3d;
}

.bx-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side,
      rgba(251, 191, 36, 0.28),
      rgba(56, 189, 248, 0.1) 55%,
      transparent 72%);
  filter: blur(6px);
  z-index: 0;
}

.bx-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 158px;
  height: 237px;
  margin: -118px 0 0 -79px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 4px 9px 9px 4px;
  transform-style: preserve-3d;
  transition:
    transform 0.6s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.6s,
    filter 0.6s;
  will-change: transform, opacity;
}

.bx-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 9px 9px 4px;
  display: block;
  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.55),
    0 6px 14px rgba(0, 0, 0, 0.4);
  -webkit-user-drag: none;
  user-select: none;
}

.bx-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px 9px 9px 4px;
  pointer-events: none;
  background: linear-gradient(115deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0) 30%,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, 0.25));
}

.bx-slide.is-active {
  cursor: default;
}

.bx-slide.is-active::after {
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0) 34%);
}

.bx-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #0c1830;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s,
    background 0.25s;
}

.bx-nav.prev {
  left: 2px;
}

.bx-nav.next {
  right: 2px;
}

.bx-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.bx-nav:active {
  transform: translateY(-50%) scale(0.96);
}

/* active book detail */
.bx-detail {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.bx-detail.is-swapping {
  opacity: 0;
  transform: translateY(12px);
}

.bx-cat {
  display: inline-block;
  font-family: var(--disp);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #38bdf8;
  padding: 5px 13px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  margin-bottom: 12px;
}

.bx-detail h3 {
  font-family: var(--disp);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #f8fafc;
  margin-bottom: 7px;
}

.bx-meta {
  font-size: 0.92rem;
  color: #8da0bb;
  margin-bottom: 12px;
}

.bx-rate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.88rem;
}

.bx-stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbf24;
}

.bx-service {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #b7c4d8;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  margin-bottom: 16px;
  text-align: left;
}

.bx-tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: #0c1830;
  background: linear-gradient(140deg, #fde047, #f59e0b);
}

.bx-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 0.92rem;
  color: #0c1830;
  background: linear-gradient(100deg, #fde047, #fbbf24 46%, #f59e0b);
  padding: 11px 24px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.32);
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2),
    box-shadow 0.25s;
}

.bx-cta i {
  font-style: normal;
  transition: transform 0.25s;
}

.bx-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(251, 191, 36, 0.44);
}

.bx-cta:hover i {
  transform: translateX(4px);
}

/* dots */
.bx-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 14px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.bx-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.24);
  transition:
    background 0.3s,
    transform 0.3s,
    width 0.3s;
}

.bx-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.bx-dot.is-active {
  width: 26px;
  border-radius: 5px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.bx-dot:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .bx-panel {
    padding: 48px 24px 38px;
    border-radius: 26px;
  }

  .bx-flow {
    height: 280px;
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .bx-panel {
    padding: 38px 16px 32px;
  }

  .bx-flow {
    height: 250px;
  }

  .bx-slide {
    width: 150px;
    height: 225px;
    margin: -112px 0 0 -75px;
  }

  .bx-glow {
    width: 250px;
    height: 250px;
  }

  .bx-nav {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .bx-service {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {

  .bx-slide,
  .bx-detail {
    transition: none;
  }
}

/* journey */
.journey {
  padding: 100px 0;
  position: relative;
  background:
    radial-gradient(700px 420px at 10% 0%,
      rgba(251, 191, 36, 0.1),
      transparent 60%),
    radial-gradient(700px 420px at 90% 100%,
      rgba(30, 58, 138, 0.09),
      transparent 60%),
    var(--cream);
}

.journey>.wrap {
  position: relative;
  z-index: 2;
}

/* ---------- publishing journey (pinned, scroll-driven) ---------- */
.pj {
  position: relative;
  background: var(--cream);
}

.pj-pin {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pj-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(760px 460px at 12% 8%,
      rgba(30, 58, 138, 0.1),
      transparent 62%),
    radial-gradient(700px 460px at 88% 90%,
      rgba(251, 191, 36, 0.13),
      transparent 62%),
    linear-gradient(180deg, #fffdf7, var(--cream));
}

.pj .wrap {
  width: 100%;
  flex: 1 1 auto;
  max-width: 1340px;
}

.pj-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 4.4vw, 80px);
  align-items: center;
  padding-top: 90px;
  padding-bottom: 70px;
}

/* ---- copy column ---- */
.pj-copy {
  max-width: 560px;
}

.pj-copy .eyebrow {
  margin-bottom: 16px;
}

.pj-copy .sec-title {
  margin-bottom: 26px;
}

.pj-panels {
  position: relative;
  min-height: 290px;
}

.pj-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  filter: blur(6px);
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1),
    filter 0.55s;
}

.pj-panel.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
}

.pj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 14px;
}

.pj-kicker i {
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  display: inline-block;
}

.pj-panel h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}

.pj-panel p {
  font-size: clamp(1rem, 0.55vw + 0.86rem, 1.12rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 20px;
}

.pj-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pj-chips li {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #efe2cc;
  padding: 7px 15px;
  border-radius: 99px;
}

.pj-meter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.pj-meter-bar {
  position: relative;
  flex: 1;
  max-width: 260px;
  height: 3px;
  border-radius: 3px;
  background: #efe2cc;
  overflow: hidden;
}

.pj-meter-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--mp, 0%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.pj-meter-txt {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}

.pj-meter-txt b {
  color: var(--ink);
}

/* ---- stage ---- */
.pj-stage {
  position: relative;
  width: min(100%, 66vh);
  max-width: 680px;
  margin-left: auto;
  aspect-ratio: 1/1;
  perspective: 1200px;
}

.pj-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pj-track {
  fill: none;
  stroke: #ebdcc2;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1 9;
}

.pj-prog {
  fill: none;
  stroke: url(#pjGrad);
  stroke-width: 3.4;
  stroke-linecap: round;
  opacity: 0.95;
}

.pj-nodes {
  position: absolute;
  inset: 0;
}

.pj-node {
  position: absolute;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  border: 1.5px solid #eadcc4;
  background: #fffdf9;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 8px 22px rgba(120, 90, 40, 0.12);
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2),
    border-color 0.5s,
    background 0.5s,
    box-shadow 0.5s;
}

.pj-node-n {
  font-family: var(--disp);
  font-weight: 800;
  font-size: inherit;
  color: var(--ink-mute);
  transition: color 0.4s;
}

.pj-node::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition:
    border-color 0.5s,
    transform 0.5s;
}

.pj-node.is-done {
  background: linear-gradient(140deg, var(--blue), var(--sky));
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(30, 58, 138, 0.28);
}

.pj-node.is-done .pj-node-n {
  color: #fff;
}

.pj-node.is-now {
  transform: scale(1.16);
  background: linear-gradient(140deg, var(--gold), #f59e0b);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.34);
}

.pj-node.is-now .pj-node-n {
  color: #fff;
}

.pj-node.is-now::after {
  border-color: rgba(245, 158, 11, 0.42);
  transform: scale(1.06);
}

/* ---- the book ---- */
.pj-book {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 4;
  will-change: transform;
}

.pj-book-3d {
  position: absolute;
  left: -54px;
  top: -126px;
  width: 112px;
  height: 131px;
  will-change: transform;
  filter: drop-shadow(0 18px 26px rgba(60, 45, 20, 0.3)) drop-shadow(0 4px 8px rgba(60, 45, 20, 0.16));
}

.pj-book-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pj-book::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--shw, 80px);
  height: calc(var(--shw, 80px) * 0.2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side,
      rgba(90, 66, 26, 0.28),
      transparent 74%);
  filter: blur(3px);
  pointer-events: none;
}

.pj-book-3d {
  animation: pjFloat 4.6s ease-in-out infinite;
}

@keyframes pjFloat {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

.pj.is-moving .pj-book-3d {
  animation-play-state: paused;
}

.pj-node::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(closest-side,
      rgba(245, 158, 11, 0.34),
      transparent 72%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s;
}

.pj-node.is-now::before {
  opacity: 1;
  animation: pjHalo 2.4s ease-out infinite;
}

@keyframes pjHalo {
  0% {
    transform: scale(0.85);
    opacity: 0.85;
  }

  70% {
    transform: scale(1.9);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.pj-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translate(-50%, 6px);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(30, 41, 59, 0.94);
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  z-index: 6;
}

.pj-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(30, 41, 59, 0.94);
}

.pj-node:hover .pj-tip,
.pj-node:focus-visible .pj-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pj-next {
  display: block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  opacity: 0.9;
}

.pj-next b {
  color: #b45309;
}

.pj-pin::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(255, 251, 235, 0.85));
}

.pj-hint {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0.85;
  transition: opacity 0.4s;
}

.pj-hint i {
  font-style: normal;
  animation: pjBob 1.6s ease-in-out infinite;
}

@keyframes pjBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.pj.is-moving .pj-hint {
  opacity: 0;
}

.pj-static {
  display: none;
}

/* ---- responsive ---- */
@media (min-width: 1800px) {
  .pj .wrap {
    max-width: 1500px;
  }
}

@media (max-width: 1024px) {
  .pj-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 82px;
    padding-bottom: 56px;
    text-align: center;
  }

  .pj-copy {
    max-width: none;
    margin: 0 auto;
    order: 2;
  }

  .pj-panel p {
    margin-left: auto;
    margin-right: auto;
  }

  .pj-chips,
  .pj-meter {
    justify-content: center;
  }

  .pj-panels {
    min-height: 246px;
  }

  .pj-stage {
    order: 1;
    max-width: 400px;
    margin: 0 auto;
  }

  .pj-node {
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
  }

  .pj-node-n {
    font-size: 0.74rem;
  }

  .pj-book-3d {
    left: -43px;
    top: -100px;
    width: 88px;
    height: 103px;
  }

  .pj-hint {
    display: none;
  }
}

@media (max-width: 640px) {
  .pj-stage {
    max-width: 300px;
    display: none;
  }

  .pj-panels {
    min-height: 280px;
  }

  .pj-panel h3 {
    font-size: 1.4rem;
  }

  .pj-panel p {
    font-size: 0.94rem;
  }

  .pj-node {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
  }

  .pj-node-n {
    font-size: 0.66rem;
  }

  .pj-book-3d {
    left: -34px;
    top: -80px;
    width: 70px;
    height: 82px;
  }

  .story-main blockquote {
    font-size: 1rem !important;
    font-weight: 300 !important;
  }

  .story-main {
    min-height: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pj-pin {
    min-height: auto;
  }

  .pj-stage,
  .pj-meter {
    display: none;
  }

  .pj-panels {
    position: static;
    min-height: 0;
  }

  .pj-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    margin-bottom: 26px;
  }
}

/* why choose */
.why {
  padding: 100px 0;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.why-card {
  border-radius: var(--r-md);
  padding: 30px 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, #fff);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 20px 46px rgba(30, 58, 138, 0.14);
}

.why-card .ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.why-card h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* services — alternating tile mosaic */
.services {
  padding: 104px 0;
  background:
    radial-gradient(720px 400px at 14% 0%,
      rgba(30, 58, 138, 0.07),
      transparent 60%),
    radial-gradient(680px 400px at 90% 100%,
      rgba(251, 191, 36, 0.07),
      transparent 60%),
    linear-gradient(180deg, #eff6ff, #fff 66%);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.svc {
  position: relative;
  overflow: hidden;
  padding: 38px 24px 30px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #e7edf6;
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.06);
  --c1: #1e3a8a;
  --c2: #38bdf8;
  transition:
    transform 0.42s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.42s,
    background 0.42s,
    border-color 0.42s;
}

.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, var(--c1), transparent 68%);
  opacity: 0;
  transition: opacity 0.42s;
  z-index: 0;
}

.svc>* {
  position: relative;
  z-index: 1;
}

.svc:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(30, 41, 59, 0.16);
  z-index: 2;
}

.svc:hover::after {
  opacity: 0.06;
}

.svc-art {
  position: relative;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.svc-art::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--c1);
  opacity: 0.1;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1),
    opacity 0.45s;
}

.svc:hover .svc-art::before {
  transform: scale(1.14);
  opacity: 0.18;
}

.svc-art svg {
  width: 66px;
  height: 66px;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.svc:hover .svc-art svg {
  transform: translateY(-4px) scale(1.07);
}

.svc h4 {
  font-size: 1.05rem;
  margin-bottom: 11px;
  color: var(--ink);
}

.svc-rule {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--c2);
  margin-bottom: 13px;
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.svc:hover .svc-rule {
  width: 48px;
}

.svc p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 220px;
  margin-bottom: 16px;
}

.svc a {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c1);
}

.svc a::after {
  content: " \2192";
  display: inline-block;
  transition: transform 0.25s;
}

.svc:hover a::after {
  transform: translateX(4px);
}

@media (hover: hover) {
  .svc a {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.35s,
      transform 0.35s;
  }

  .svc:hover a {
    opacity: 1;
    transform: none;
  }
}

/* blue tiles — checkerboard (4-col) */
.svc:nth-child(2),
.svc:nth-child(4),
.svc:nth-child(5),
.svc:nth-child(7) {
  background: linear-gradient(160deg, #274aad, #152a63);
  border-color: transparent;
  box-shadow: 0 16px 38px rgba(30, 58, 138, 0.3);
  --c1: #ffffff;
  --c2: rgba(255, 255, 255, 0.9);
}

.svc:nth-child(2) h4,
.svc:nth-child(4) h4,
.svc:nth-child(5) h4,
.svc:nth-child(7) h4 {
  color: #fff;
}

.svc:nth-child(2) p,
.svc:nth-child(4) p,
.svc:nth-child(5) p,
.svc:nth-child(7) p {
  color: rgba(255, 255, 255, 0.86);
}

.svc:nth-child(2) .svc-rule,
.svc:nth-child(4) .svc-rule,
.svc:nth-child(5) .svc-rule,
.svc:nth-child(7) .svc-rule {
  background: #fbbf24;
}

.svc:nth-child(2) a,
.svc:nth-child(4) a,
.svc:nth-child(5) a,
.svc:nth-child(7) a {
  color: #fff;
}

.svc:nth-child(2):hover,
.svc:nth-child(4):hover,
.svc:nth-child(5):hover,
.svc:nth-child(7):hover {
  box-shadow: 0 28px 58px rgba(30, 58, 138, 0.42);
}

@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc:nth-child(n) {
    background: #fff;
    border-color: #e7edf6;
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.06);
    --c1: #1e3a8a;
    --c2: #38bdf8;
  }

  .svc:nth-child(n) h4 {
    color: var(--ink);
  }

  .svc:nth-child(n) p {
    color: var(--ink-mute);
  }

  .svc:nth-child(n) .svc-rule {
    background: var(--c2);
  }

  .svc:nth-child(n) a {
    color: var(--c1);
  }

  .svc:nth-child(2),
  .svc:nth-child(3),
  .svc:nth-child(6),
  .svc:nth-child(7) {
    background: linear-gradient(160deg, #274aad, #152a63);
    border-color: transparent;
    box-shadow: 0 16px 38px rgba(30, 58, 138, 0.3);
    --c1: #ffffff;
    --c2: rgba(255, 255, 255, 0.9);
  }

  .svc:nth-child(2) h4,
  .svc:nth-child(3) h4,
  .svc:nth-child(6) h4,
  .svc:nth-child(7) h4 {
    color: #fff;
  }

  .svc:nth-child(2) p,
  .svc:nth-child(3) p,
  .svc:nth-child(6) p,
  .svc:nth-child(7) p {
    color: rgba(255, 255, 255, 0.86);
  }

  .svc:nth-child(2) .svc-rule,
  .svc:nth-child(3) .svc-rule,
  .svc:nth-child(6) .svc-rule,
  .svc:nth-child(7) .svc-rule {
    background: #fbbf24;
  }

  .svc:nth-child(2) a,
  .svc:nth-child(3) a,
  .svc:nth-child(6) a,
  .svc:nth-child(7) a {
    color: #fff;
  }

  .svc:nth-child(2):hover,
  .svc:nth-child(3):hover,
  .svc:nth-child(6):hover,
  .svc:nth-child(7):hover {
    box-shadow: 0 28px 58px rgba(30, 58, 138, 0.42);
  }
}

@media (max-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .svc:nth-child(n) {
    background: #fff;
    border-color: #e7edf6;
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.06);
    --c1: #1e3a8a;
    --c2: #38bdf8;
  }

  .svc:nth-child(n) h4 {
    color: var(--ink);
  }

  .svc:nth-child(n) p {
    color: var(--ink-mute);
  }

  .svc:nth-child(n) .svc-rule {
    background: var(--c2);
  }

  .svc:nth-child(n) a {
    color: var(--c1);
  }

  .svc:nth-child(even) {
    background: linear-gradient(160deg, #274aad, #152a63);
    border-color: transparent;
    box-shadow: 0 16px 38px rgba(30, 58, 138, 0.3);
    --c1: #fff;
    --c2: rgba(255, 255, 255, 0.9);
  }

  .svc:nth-child(even) h4 {
    color: #fff;
  }

  .svc:nth-child(even) p {
    color: rgba(255, 255, 255, 0.86);
  }

  .svc:nth-child(even) .svc-rule {
    background: #fbbf24;
  }

  .svc:nth-child(even) a {
    color: #fff;
  }
}

/* team */
.team {
  padding: 100px 0;
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.tm {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid #f2e8d9;
  box-shadow: 0 6px 22px rgba(180, 120, 40, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  text-align: center;
  padding-bottom: 22px;
}

.tm:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(180, 120, 40, 0.16);
}

.tm .ph {
  height: 190px;
  display: grid;
  place-items: center;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 2.6rem;
  color: #fff;
  position: relative;
}

.tm .ph small {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.tm h4 {
  font-size: 1.05rem;
  margin: 16px 0 2px;
}

.tm p {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

/* success stories */
.stories {
  padding: 100px 0;
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-top: 50px;
}

.story-main {
  border-radius: var(--r-lg);
  padding: 40px;
  color: #fff;
  background: linear-gradient(140deg, #1e3a8a, #1e3a8a 70%, #1e3a8a);
  box-shadow: 0 24px 60px rgba(30, 58, 138, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.story-main::before {
  content: "“";
  position: absolute;
  top: -40px;
  right: 20px;
  font-family: var(--disp);
  font-size: 16rem;
  opacity: 0.12;
}

.story-main blockquote {
  font-family: var(--disp);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 520px;
}

.story-main footer {
  margin-top: 26px;
  font-weight: 700;
}

.story-main footer span {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.85;
}

.story-side {
  display: grid;
  gap: 22px;
}

.story-card {
  background: linear-gradient(180deg, #fbfdff, #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.story-card b {
  display: block;
  font-family: var(--disp);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.story-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.story-card .res {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 999px;
}

/* testimonials */
.testi {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc, #fffbeb);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.tcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s;
  text-align: left;
}

.tcard:hover {
  transform: translateY(-6px);
}

.tcard .stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.tcard p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 10px;

}

.tcard .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tcard .who i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.tcard .who b {
  display: block;
  font-size: 0.92rem;
}

.tcard .who span {
  font-size: 0.78rem;
  color: var(--ink-mute);
}

/* stats band */
.stats {
  position: relative;
  padding: 78px 0;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(160deg, #12203c 0%, #0c1830 55%, #0a1428 100%);
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px,
      transparent 1px);
  background-size: 3px 3px;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 300px at 15% 0%,
      rgba(56, 189, 248, 0.14),
      transparent 60%),
    radial-gradient(680px 320px at 88% 100%,
      rgba(251, 191, 36, 0.14),
      transparent 60%);
}

.stats .wrap {
  position: relative;
  z-index: 2;
}

.stats-eyebrow {
  display: block;
  text-align: center;
  font-family: var(--disp);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 38px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  position: relative;
  padding: 8px 22px;
}

.stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 70%;
  background: linear-gradient(180deg,
      transparent,
      rgba(255, 255, 255, 0.16) 20%,
      rgba(255, 255, 255, 0.16) 80%,
      transparent);
}

.stat-ic {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.22);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.2),
    background 0.4s;
}

.stat-ic svg {
  width: 30px;
  height: 30px;
}

.stat:hover .stat-ic {
  transform: translateY(-4px) scale(1.06);
  background: rgba(251, 191, 36, 0.18);
}

.stat b {
  font-family: var(--disp);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat b em {
  font-style: normal;
  background: linear-gradient(180deg, #fde047, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-l {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #b7c4d8;
  font-weight: 600;
}

@media (max-width: 640px) {
  .stats .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 0;
  }

  .stat:nth-child(3)::before {
    display: none;
  }

  .stat-ic {
    width: 50px;
    height: 50px;
  }
}

/* resources */
.resources {
  padding: 100px 0;
  background: #fff;
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.res-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.res-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(30, 58, 138, 0.14);
}

.res-card .top {
  height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}

.res-card .top small {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.res-card .bd {
  padding: 20px;
}

.res-card .bd p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.res-card .bd a {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue);
}

/* faq */
.faq {
  padding: 100px 0;
  background: var(--lightblue);
}

.faq-list {
  max-width: 820px;
  margin: 46px auto 0;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 600;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .ans {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* final cta */
.final {
  padding: 110px 0;
  background:
    radial-gradient(700px 400px at 15% 20%,
      rgba(56, 189, 248, 0.2),
      transparent 60%),
    radial-gradient(700px 400px at 85% 80%,
      rgba(251, 191, 36, 0.18),
      transparent 60%),
    linear-gradient(180deg, #fffbeb, #eff6ff);
}

.final-card {
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(30, 58, 138, 0.16);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.final-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.final-card p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

.final-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.mini-books {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.mini-books i {
  width: 34px;
  height: 50px;
  border-radius: 3px 6px 6px 3px;
  display: block;
  transform: rotate(var(--r));
  box-shadow: 4px 6px 14px rgba(30, 41, 59, 0.2);
}

/* footer */
footer.site {
  background: #1e293b;
  color: #c4cfe4;
  padding: 70px 0 30px;
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.f-grid h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.f-grid a {
  display: block;
  font-size: 0.9rem;
  padding: 5px 0;
  color: #9fb0cf;
  transition: color 0.2s;
}

.f-grid a:hover {
  color: var(--sky);
}

.f-about p {
  font-size: 0.92rem;
  color: #9fb0cf;
  margin: 14px 0 20px;
  max-width: 300px;
}

.f-social {
  display: flex;
  gap: 12px;
}

.f-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.2s;
}

.f-social a:hover {
  background: var(--blue);
  transform: translateY(-3px);
  color: #fff;
}

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #7c8db0;
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.rv.in {
  opacity: 1;
  transform: none;
}

.rv.d1 {
  transition-delay: 0.08s;
}

.rv.d2 {
  transition-delay: 0.16s;
}

.rv.d3 {
  transition-delay: 0.24s;
}

.rv.d4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-right {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .float-book,
  .badge-float {
    display: none;
  }

  .lead-card {
    margin: 0 auto;
  }

  .steps,
  .team-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .svc-grid,
  .pk-grid,
  .testi-grid,
  .res-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .f-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav-cta .nav-phone {
    display: none;
  }
}

@media (max-width: 640px) {

  .eyebrow {
    font-size: 0.70rem;
    text-transform: capitalize;
  }

  .hero-ctas {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .btn {
    font-size: 0.8rem;
    padding: 8px 17px;
  }

  .hero-stats {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hstat {
    text-align: center;
  }

  .hstat b {
    font-size: 1.4rem;
  }

  .hstat span {
    font-size: 0.7rem;
  }

  .steps,
  .why-grid,
  .svc-grid,
  .pk-grid,
  .team-grid,
  .testi-grid,
  .res-grid,
  .stats-grid,
  .f-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 104px;
  }

  .final-card {
    padding: 48px 26px;
  }

  .nav-cta .btn {
    display: none;
  }
}



/* ================================
   MOBILE / TABLET NAVBAR
================================ */

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #1e3a8a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* Tablet + Mobile */
@media (max-width: 1199px) {

  .nav-inner {
    position: relative;
  }

  .burger {
    display: flex;
  }

  .nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-phone,
  .nav-cta .btn-primary {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    width: 100%;
    max-height: calc(100vh - 100px);
    overflow-y: auto;

    background: #fff;
    border-radius: 14px;
    padding: 15px;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 1001;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links>a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 15px;

    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
  }

  /* Services */
  .nav-links .has-mega {
    width: 100%;
  }

  .nav-links .mega-trigger {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #e5e7eb;
  }

  /* Mega menu becomes normal mobile dropdown */
  .nav-links .mega {
    position: static !important;

    width: 100% !important;
    max-width: none !important;

    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;

    background: #f8fafc;
  }

  .nav-links .has-mega.mobile-open .mega {
    display: block !important;
  }

  .mega-inner {
    display: block !important;
    width: 100%;
  }

  .mega-list {
    width: 100% !important;
    max-height: none !important;
  }

  .mega-list .mega-eyebrow {
    display: block;
    padding: 12px 15px 8px;
    font-size: 11px;
  }

  .mega-item {
    min-height: 48px;
    padding: 11px 15px !important;
  }

  /* Hide desktop preview panel on mobile */
  .mega-panel {
    display: none !important;
  }

  /* CTA stays hidden on tablet/mobile */
  .nav-cta .btn-primary {
    display: none;
  }

}


/* Smaller phones */
@media (max-width: 600px) {

  .nav-inner {
    padding-left: 15px;
    padding-right: 15px;
  }

  .logo img {
    max-width: 42px;
  }

  .logo span {
    font-size: 18px;
  }

  .nav-links {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .footer-logo-img {
    max-width: 100% !important;
    width: 45%;
    height: auto;
  }

}


/* iPad portrait */
@media (min-width: 601px) and (max-width: 1199px) {

  .nav-links {
    left: 0;
    right: 0;
    width: 100%;
  }

  .nav-links>a,
  .nav-links .mega-trigger {
    min-height: 56px;
    font-size: 16px;
  }

}

@media (min-width: 1200px) and (max-width: 1280px) {
  .nav-links {
    gap: 20px;
  }

  .nav-cta .btn {
    padding: 8px 13px;
  }
}




