/* ==========================================================================
   Foxwriters — Homepage sections (built section-by-section)
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECTION 01 — Hero
   -------------------------------------------------------------------------- */
.page-home .hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(3.25rem, 6vw, 5rem);
  overflow: clip;
  background: #0b1726;
}

/* Kill base light gradients — photo + overlay replace them */
.page-home .hero::before {
  display: none;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-home .hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}

.page-home .hero__bg-overlay {
  position: absolute;
  inset: 0;
  /* background:
    linear-gradient(
      115deg,
      rgba(7, 9, 13, 0.72) 0%,
      rgba(11, 23, 38, 0.58) 38%,
      rgba(18, 112, 216, 0.42) 72%,
      rgba(11, 23, 38, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 9, 13, 0.35) 0%,
      rgba(7, 9, 13, 0.2) 45%,
      rgba(7, 9, 13, 0.45) 100%
    ); */
}

.page-home .hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 70%);
  opacity: 0.4;
}

.page-home .hero__bg-glow {
  position: absolute;
  width: min(55vw, 620px);
  height: min(55vw, 620px);
  top: -8%;
  right: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 155, 255, 0.18) 0%, rgba(30, 155, 255, 0.05) 42%, transparent 68%);
  filter: blur(2px);
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 3vw, 3.25rem);
  width: 100%;
}

@media (min-width: 1080px) {
  .page-home .hero__grid {
    flex-wrap: nowrap;
  }
}

.page-home .hero__content {
  flex: 0 1 540px;
  max-width: 540px;
}

.page-home .hero__eyebrow {
  color: #9fd4ff;
  background: rgba(18, 112, 216, 0.22);
  border-color: rgba(159, 212, 255, 0.35);
}

.page-home .hero__title {
  color: #ffffff;
}

.page-home .hero__title em {
  font-style: italic;
  color: #7ec4ff;
}

.page-home .hero__text {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.page-home .hero__actions .btn--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.page-home .hero__actions .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.page-home .hero__trust-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .hero__trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.page-home .hero__trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(18, 112, 216, 0.35);
  color: #9fd4ff;
  flex-shrink: 0;
}

.page-home .hero__trust-icon svg {
  width: 0.7rem;
  height: 0.7rem;
}

.page-home .hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 min(460px, 42vw);
  width: min(460px, 42vw);
  max-width: 100%;
  min-height: 340px;
}

.page-home .hero__books {
  position: relative;
  width: 100%;
  height: 360px;
}

.page-home .hero__book {
  position: absolute;
  margin: 0;
  width: min(46%, 190px);
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.25);
  animation: heroBookFloatA 7s ease-in-out infinite;
}

.page-home .hero__book img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero__book--1 {
  left: 4%;
  top: 18%;
  z-index: 1;
  transform: rotate(-9deg);
  animation-name: heroBookFloatA;
}

.page-home .hero__book--2 {
  left: 30%;
  top: 0;
  z-index: 3;
  transform: rotate(2deg);
  animation-name: heroBookFloatB;
  animation-duration: 8s;
}

.page-home .hero__book--3 {
  right: 2%;
  top: 22%;
  z-index: 2;
  transform: rotate(10deg);
  animation-name: heroBookFloatC;
  animation-duration: 9s;
}

@keyframes heroBookFloatA {
  0%, 100% { transform: rotate(-9deg) translateY(0); }
  50% { transform: rotate(-11deg) translateY(-12px); }
}

@keyframes heroBookFloatB {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(0deg) translateY(-16px); }
}

@keyframes heroBookFloatC {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__book {
    animation: none;
  }
}

.page-home .hero__form-card {
  position: relative;
  z-index: 2;
  padding: 3.5rem 1.35rem 3.5rem;
  border-radius: calc(var(--radius-lg) + 2px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 225, 236, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 24px 60px rgba(7, 9, 13, 0.22);
  backdrop-filter: blur(14px);
}

.page-home .hero__form-eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(18, 112, 216, 0.1);
  border: 1px solid rgba(18, 112, 216, 0.16);
  border-radius: 999px;
}

.page-home .hero__form-title {
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.page-home .hero__form-text {
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-secondary);
}

.page-home .hero__form .form-field {
  margin-bottom: 0.85rem;
}

.page-home .hero__form .form-field label {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.page-home .hero__form .form-field input,
.page-home .hero__form .form-field select,
.page-home .hero__form .form-field textarea {
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(215, 225, 236, 0.95);
  background: #f7fafc;
}

.page-home .hero__form .form-field textarea {
  min-height: 88px;
  resize: vertical;
}

.page-home .hero__form .form-field input:focus,
.page-home .hero__form .form-field select:focus,
.page-home .hero__form .form-field textarea:focus {
  border-color: rgba(18, 112, 216, 0.45);
  box-shadow: 0 0 0 4px rgba(18, 112, 216, 0.12);
  background: #ffffff;
}

.page-home .hero__form .btn--block {
  width: 100%;
  margin-top: 0.35rem;
}

.page-home .hero__form .form-status {
  margin-top: 0.75rem;
  font-size: 0.82rem;
}

.page-home .hero__float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 225, 236, 0.95);
  box-shadow: 0 16px 40px rgba(7, 9, 13, 0.14);
  backdrop-filter: blur(10px);
  animation: hero-float-card 6s ease-in-out infinite;
}

.page-home .hero__float--stat {
  left: -1.25rem;
  bottom: 0.5rem;
}

.page-home .hero__float--service {
  right: -1rem;
  top: 0.25rem;
  animation-delay: -2s;
}

.page-home .hero__float-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(18, 112, 216, 0.14), rgba(18, 112, 216, 0.05));
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.page-home .hero__float > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.page-home .hero__float-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-primary);
}

.page-home .hero__float-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.page-home .hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  z-index: 2;
  transition: color var(--transition);
}

.page-home .hero__scroll:hover {
  color: #9fd4ff;
}

.page-home .hero__scroll-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(180deg, var(--color-accent), transparent);
  animation: hero-scroll-pulse 2s ease-in-out infinite;
}

@keyframes hero-float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes hero-scroll-pulse {
  0%, 100% { opacity: 0.45; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__float,
  .page-home .hero__scroll-line {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   MARQUEE — after hero
   -------------------------------------------------------------------------- */
.page-home .home-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 0.95rem;
  background:
    radial-gradient(ellipse 50% 120% at 50% 50%, rgba(18, 112, 216, 0.22), transparent 65%),
    linear-gradient(160deg, #07090d 0%, #0b1726 48%, #122033 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.page-home .home-marquee__track {
  display: flex;
  width: max-content;
  animation: homeMarquee 38s linear infinite;
}

.page-home .home-marquee:hover .home-marquee__track {
  animation-play-state: paused;
}

.page-home .home-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.page-home .home-marquee__item {
  padding-inline: 1.35rem;
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
}

.page-home .home-marquee__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--color-accent-light);
  opacity: 0.9;
}

@keyframes homeMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-marquee__track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0;
  }

  .page-home .home-marquee__group[aria-hidden="true"] {
    display: none;
  }

  .page-home .home-marquee__item {
    padding-inline: 0.75rem;
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   SECTION 02 — Stats
   -------------------------------------------------------------------------- */
.page-home .stats {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
  color: var(--color-primary);
  background:
    radial-gradient(ellipse 55% 45% at 8% 0%, rgba(18, 112, 216, 0.08), transparent 58%),
    linear-gradient(180deg, #f4f8fd 0%, #eef4fb 100%);
  border-block: 0;
}

.page-home .stats::before,
.page-home .stats::after {
  display: none;
}

.page-home .stats__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.page-home .stats__copy {
  max-width: 36rem;
  width: 100%;
  padding-right: clamp(2rem, 4vw, 3.75rem);
}

.page-home .stats__divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 1px;
  min-height: 12rem;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(18, 112, 216, 0.12) 12%,
    rgba(18, 112, 216, 0.45) 35%,
    rgba(11, 23, 38, 0.22) 50%,
    rgba(18, 112, 216, 0.45) 65%,
    rgba(18, 112, 216, 0.12) 88%,
    transparent 100%
  );
}

.page-home .stats__title {
  margin-bottom: 1.15rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-navy);
}

.page-home .stats__text {
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-secondary);
}

.page-home .stats__board {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  margin-left: clamp(2rem, 4vw, 3.75rem);
  padding-left: 0;
}

.page-home .stats__board::before,
.page-home .stats__board::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(4px);
}

.page-home .stats__board::before {
  width: min(180%, 620px);
  height: min(180%, 620px);
  top: -42%;
  right: -28%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(18, 112, 216, 0.28) 0%,
    rgba(41, 169, 255, 0.16) 32%,
    rgba(18, 112, 216, 0.06) 55%,
    transparent 72%
  );
  animation: statsGlowA 12s ease-in-out infinite alternate;
}

.page-home .stats__board::after {
  width: min(160%, 540px);
  height: min(160%, 540px);
  left: -22%;
  bottom: -36%;
  background: radial-gradient(
    circle at 45% 45%,
    rgba(30, 155, 255, 0.2) 0%,
    rgba(18, 112, 216, 0.12) 36%,
    rgba(11, 23, 38, 0.05) 58%,
    transparent 74%
  );
  animation: statsGlowB 16s ease-in-out infinite alternate;
}

@keyframes statsGlowA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  100% {
    transform: translate3d(-6%, 8%, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes statsGlowB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate3d(8%, -6%, 0) scale(1.1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .stats__board::before,
  .page-home .stats__board::after {
    animation: none;
  }
}

.page-home .stats__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: #ffffff;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(11, 23, 38, 0.06);
}

.page-home .stats__item:nth-child(2)::after,
.page-home .stats__item:not(:last-child)::after {
  display: none;
}

.page-home .stats__item:nth-child(2) {
  -webkit-mask-image: radial-gradient(circle 28px at 100% 100%, transparent 27px, #000 28px);
  mask-image: radial-gradient(circle 28px at 100% 100%, transparent 27px, #000 28px);
}

.page-home .stats__item:nth-child(3) {
  -webkit-mask-image: radial-gradient(circle 28px at 0 100%, transparent 27px, #000 28px);
  mask-image: radial-gradient(circle 28px at 0 100%, transparent 27px, #000 28px);
}

.page-home .stats__item:nth-child(4) {
  -webkit-mask-image: radial-gradient(circle 28px at 100% 0, transparent 27px, #000 28px);
  mask-image: radial-gradient(circle 28px at 100% 0, transparent 27px, #000 28px);
}

.page-home .stats__item:nth-child(5) {
  -webkit-mask-image: radial-gradient(circle 28px at 0 0, transparent 27px, #000 28px);
  mask-image: radial-gradient(circle 28px at 0 0, transparent 27px, #000 28px);
}

.page-home .stats__item:nth-child(2)::before,
.page-home .stats__item:nth-child(3)::before,
.page-home .stats__item:nth-child(4)::before,
.page-home .stats__item:nth-child(5)::before {
  content: none;
}

.page-home .stats__value {
  margin-bottom: 0.45rem;
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-navy);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  font-variant-numeric: tabular-nums;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.page-home .stats__value.is-counted {
  color: var(--color-accent-dark);
}

.page-home .stats__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.page-home .stats__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  background: rgba(232, 242, 252, 0.95);
  box-shadow: 0 0 0 6px rgba(244, 248, 253, 0.9);
}

.page-home .stats__hub-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.page-home .stats__hub-arrow svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.page-home .stats__hub-arrow--tl {
  left: 0;
  top: 0;
  transform: rotate(-135deg);
}

.page-home .stats__hub-arrow--tr {
  right: 0;
  top: 0;
  transform: rotate(-45deg);
}

.page-home .stats__hub-arrow--bl {
  left: 0;
  bottom: 0;
  transform: rotate(135deg);
}

.page-home .stats__hub-arrow--br {
  right: 0;
  bottom: 0;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   SECTION 03 — Process timeline
   -------------------------------------------------------------------------- */
.page-home .process-section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(ellipse 50% 70% at 88% 20%, rgba(18, 112, 216, 0.22), transparent 58%),
    linear-gradient(160deg, #07090d 0%, #0b1726 48%, #122033 100%);
}

.page-home .process-section__title {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.page-home .process-timeline {
  --process-node: 22px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-top: 0;
}

.page-home .process-timeline__line {
  position: absolute;
  top: calc(var(--process-node) / 2);
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 0;
}

.page-home .process-timeline__progress {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--color-accent-light), var(--color-accent));
}

.page-home .process-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .process-stage__node {
  position: relative;
  z-index: 2;
  display: block;
  width: var(--process-node);
  height: var(--process-node);
  margin: 0 0 1.5rem;
  border-radius: 50%;
  background: #0b1726;
  border: 2px solid #9fd4ff;
  box-shadow: 0 0 0 6px rgba(18, 112, 216, 0.18);
  transform: scale(0);
  opacity: 0;
}

.page-home .process-stage__node::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #3a96ef;
  pointer-events: none;
}

.page-home .process-stage__body {
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
}

.page-home .process-stage__title {
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.page-home .process-stage__label {
  margin: 0.7rem 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.page-home .process-stage__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .process-stage__list li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .process-stage__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent-light);
}

.page-home .process-section__cta {
  margin-top: 3rem;
}

.page-home .process-section .btn--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.page-home .process-section .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}

.page-home .process-section.is-active .process-timeline__progress {
  animation: process-line-loop 6.5s var(--ease) infinite;
}

.page-home .process-section.is-active .process-stage__node {
  animation: process-node-loop 6.5s cubic-bezier(0.22, 1.4, 0.36, 1) infinite;
  animation-delay: calc(0.2s + (var(--stage-index) * 0.35s));
}

.page-home .process-section.is-active .process-stage__body {
  animation: process-copy-loop 6.5s var(--ease) infinite;
  animation-delay: calc(0.35s + (var(--stage-index) * 0.35s));
}

@keyframes process-line-loop {
  0% { transform: scaleX(0); opacity: 1; }
  18% { transform: scaleX(1); opacity: 1; }
  70% { transform: scaleX(1); opacity: 1; }
  82% { transform: scaleX(1); opacity: 0.45; }
  90%, 100% { transform: scaleX(0); opacity: 0; }
}

@keyframes process-node-loop {
  0%, 4% { transform: scale(0); opacity: 0; }
  12% { transform: scale(1.18); opacity: 1; }
  16%, 70% { transform: scale(1); opacity: 1; }
  82% { transform: scale(0.9); opacity: 0.4; }
  90%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes process-copy-loop {
  0%, 6% { opacity: 0; transform: translateY(18px); }
  16%, 70% { opacity: 1; transform: translateY(0); }
  82% { opacity: 0.35; transform: translateY(8px); }
  90%, 100% { opacity: 0; transform: translateY(18px); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .process-timeline__progress,
  .page-home .process-stage__node,
  .page-home .process-stage__body {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive — homepage sections */
@media (max-width: 960px) {
  .page-home .hero__grid {
    flex-direction: column;
    gap: 2.25rem;
    justify-content: center;
  }

  .page-home .hero__content {
    max-width: 40rem;
    text-align: center;
  }

  .page-home .hero__text {
    margin-inline: auto;
  }

  .hero__title {
    max-width: inherit;
  }

  .page-home .hero__actions {
    justify-content: center;
  }

  .page-home .hero__trust-list {
    justify-content: center;
  }

  .page-home .hero__visual {
    flex: 0 1 auto;
    width: min(100%, 360px);
    min-height: 280px;
  }

  .page-home .hero__books {
    height: 280px;
  }

  .page-home .hero__scroll {
    display: none;
  }

  .page-home .stats__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-home .stats__divider {
    display: none;
  }

  .page-home .stats__copy {
    text-align: center;
    margin-inline: auto;
    max-width: 40rem;
    padding-right: 0;
  }

  .page-home .stats__text {
    margin-inline: auto;
  }

  .page-home .stats__board {
    max-width: 520px;
    margin-inline: auto;
    margin-left: auto;
    justify-self: center;
  }

  .page-home .process-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 0.35rem;
  }

  .page-home .process-timeline__line {
    top: 0;
    bottom: 2rem;
    left: calc(var(--process-node) / 1.4);
    right: auto;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }

  .page-home .process-timeline__progress {
    transform: scaleY(0);
    transform-origin: top center;
  }

  .page-home .process-section.is-active .process-timeline__progress {
    animation-name: process-line-loop-y;
  }

  .page-home .process-stage {
    padding-left: 2.25rem;
  }

  .page-home .process-stage__node {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }

  .page-home .process-stage__body {
    padding-top: 0.1rem;
  }
}

@media (max-width: 540px) {
  .page-home .hero__form-wrap {
    padding-top: 2.25rem;
  }

  .page-home .hero__float {
    padding: 0.55rem 0.75rem;
  }

  .page-home .hero__float-value {
    font-size: 1rem;
  }

  .page-home .stats__item {
    min-height: 140px;
    border-radius: 22px;
  }
}

@keyframes process-line-loop-y {
  0% { transform: scaleY(0); opacity: 1; }
  18% { transform: scaleY(1); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  82% { transform: scaleY(1); opacity: 0.45; }
  90%, 100% { transform: scaleY(0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   SECTION 04 — Services (solution cards)
   -------------------------------------------------------------------------- */
.page-home .services-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: #f4f8fd;
}

.page-home .services-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .services-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}

.page-home .services-section__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 250, 252, 0.92) 0%, rgba(247, 250, 252, 0.72) 48%, rgba(247, 250, 252, 0.08) 78%, rgba(247, 250, 252, 0) 100%),
    linear-gradient(180deg, rgba(247, 250, 252, 0.35) 0%, rgba(238, 244, 251, 0.4) 100%);
}

.page-home .services-carousel {
  position: absolute;
  top: 0;
  right: max(0px, calc((100% - var(--container-max)) / 2 - 1rem));
  bottom: 0;
  z-index: 1;
  width: min(36vw, 360px);
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.page-home .services-carousel .book-carousel--parallel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  height: 100%;
  padding: 1.5rem 0.5rem;
}

.page-home .services-carousel .book-carousel__col {
  height: 100%;
  overflow: hidden;
}

.page-home .services-carousel .book-carousel__col--down {
  margin-top: 3.5rem;
}

.page-home .services-carousel .book-carousel__col--up .book-carousel__track {
  animation-duration: 30s;
}

.page-home .services-carousel .book-carousel__col--down .book-carousel__track {
  animation-duration: 38s;
}

.page-home .services-carousel .book-carousel__item {
  border-radius: 8px;
  background: #ffffff;
  box-shadow:
    0 16px 36px rgba(11, 23, 38, 0.16),
    0 4px 10px rgba(11, 23, 38, 0.08);
}

.page-home .services-carousel .book-carousel__item img {
  filter: none;
}

.page-home .services-section > .container {
  position: relative;
  z-index: 2;
}

.page-home .services-intro {
  max-width: 40rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.page-home .services-intro__eyebrow {
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.page-home .services-intro__title {
  margin-bottom: 0.9rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-navy);
}

.page-home .services-intro__text {
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-secondary);
}

.page-home .services-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  /* width: min(100%, calc(100% - 9.5rem)); */
}

.page-home .services-card {
  display: block;
  padding: clamp(1.6rem, 2.8vw, 2.15rem);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(215, 225, 236, 0.85);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(11, 23, 38, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .services-card:hover,
.page-home .services-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(18, 112, 216, 0.28);
  box-shadow: 0 18px 40px rgba(11, 23, 38, 0.09);
  outline: none;
}

.page-home .services-card__title {
  position: relative;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.page-home .services-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 3px;
  background: var(--color-accent);
}

.page-home .services-card__text {
  margin: 0;
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-secondary);
}

@media (max-width: 1100px) {
  .page-home .services-carousel {
    width: min(34vw, 280px);
    right: 0;
  }

  .page-home .services-cards {
    width: min(100%, calc(100% - 6.5rem));
  }
}

@media (max-width: 720px) {
  .page-home .services-cards {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .page-home .services-intro {
    text-align: left;
  }

  .page-home .services-carousel {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   SECTION 05 — Featured Ghostwriting (horizontal book carousel)
   -------------------------------------------------------------------------- */
.page-home .featured-ghostwriting .featured-service {
  grid-template-columns: minmax(200px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
}

.page-home .featured-ghostwriting .featured-service__visual--carousel {
  position: relative;
  aspect-ratio: 2 / 3;
  max-width: 340px;
  width: 100%;
  max-height: none;
  margin-inline: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 14px;
  isolation: isolate;
}

/* Soft side fades — hide leftover letterbox against dark section */
.page-home .featured-ghostwriting .featured-service__visual--carousel::before,
.page-home .featured-ghostwriting .featured-service__visual--carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  z-index: 2;
  pointer-events: none;
}

.page-home .featured-ghostwriting .featured-service__visual--carousel::before {
  left: 0;
  background: linear-gradient(90deg, #07090d 0%, rgba(7, 9, 13, 0.55) 42%, transparent 100%);
}

.page-home .featured-ghostwriting .featured-service__visual--carousel::after {
  right: 0;
  background: linear-gradient(270deg, #0b1726 0%, rgba(11, 23, 38, 0.55) 42%, transparent 100%);
}

.page-home .book-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  height: 100%;
  padding: 0.85rem;
}

.page-home .book-carousel__col {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.page-home .book-carousel__track {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  will-change: transform;
}

.page-home .book-carousel__col--up .book-carousel__track {
  animation: bookCarouselUp 28s linear infinite;
}

.page-home .book-carousel__col--down .book-carousel__track {
  animation: bookCarouselDown 34s linear infinite;
}

.page-home .book-carousel__item {
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
}

.page-home .book-carousel__item:nth-child(odd) {
  aspect-ratio: 2 / 3;
}

.page-home .book-carousel__item:nth-child(even) {
  aspect-ratio: 3 / 4;
}

.page-home .book-carousel__col--down .book-carousel__item:nth-child(odd) {
  aspect-ratio: 3 / 4;
}

.page-home .book-carousel__col--down .book-carousel__item:nth-child(even) {
  aspect-ratio: 2 / 3;
}

.page-home .book-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Featured: one full-bleed slide at a time */
.page-home .book-carousel--slides {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.page-home .book-carousel--slides .book-carousel__track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  width: 100%;
  height: 100%;
  animation: none;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.page-home .book-carousel--slides .book-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.page-home .book-carousel--slides .book-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@keyframes bookCarouselUp {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes bookCarouselDown {
  from {
    transform: translate3d(0, -50%, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .book-carousel__col--up .book-carousel__track,
  .page-home .book-carousel__col--down .book-carousel__track {
    animation: none;
    transform: translate3d(0, 0, 0);
  }

  .page-home .book-carousel__col--down .book-carousel__track {
    transform: translate3d(0, -8%, 0);
  }

  .page-home .book-carousel--slides .book-carousel__track {
    transition: none;
  }
}

@media (max-width: 900px) {
  .page-home .featured-ghostwriting .featured-service {
    grid-template-columns: 1fr;
  }

  .page-home .featured-ghostwriting .featured-service__visual--carousel {
    aspect-ratio: 2 / 3;
    max-width: 280px;
    max-height: none;
    margin-inline: auto;
  }

  .page-home .featured-ghostwriting .featured-service__visual--carousel::before,
  .page-home .featured-ghostwriting .featured-service__visual--carousel::after {
    width: 10%;
  }
}

@media (max-width: 640px) {
  .page-home .book-carousel {
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .page-home .book-carousel__track {
    gap: 0.55rem;
  }
}

/* --------------------------------------------------------------------------
   SECTION 08 — Portfolio (cover grid + filters)
   -------------------------------------------------------------------------- */
.page-home .portfolio-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fafc 0%, #f3f6fa 48%, #eef3f9 100%);
  padding-block: clamp(4.5rem, 8vw, 7rem) clamp(3.5rem, 6vw, 5.5rem);
}

.page-home .portfolio-section::before,
.page-home .portfolio-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}

.page-home .portfolio-section::before {
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  top: -12%;
  left: -8%;
  background:
    radial-gradient(circle at 40% 40%, rgba(18, 112, 216, 0.18) 0%, rgba(18, 112, 216, 0.06) 42%, transparent 70%);
  animation: portfolioGlowA 14s ease-in-out infinite alternate;
}

.page-home .portfolio-section::after {
  width: min(48vw, 460px);
  height: min(48vw, 460px);
  right: -6%;
  bottom: 8%;
  background:
    radial-gradient(circle at 55% 45%, rgba(41, 169, 255, 0.16) 0%, rgba(11, 23, 38, 0.04) 45%, transparent 72%);
  animation: portfolioGlowB 18s ease-in-out infinite alternate;
}

.page-home .portfolio-section > .container,
.page-home .portfolio-section > .portfolio-showcase {
  position: relative;
  z-index: 1;
}

@keyframes portfolioGlowA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate3d(6%, 8%, 0) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate3d(10%, -4%, 0) scale(0.96);
    opacity: 0.75;
  }
}

@keyframes portfolioGlowB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate3d(-8%, -6%, 0) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate3d(-4%, 10%, 0) scale(0.94);
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .portfolio-section::before,
  .page-home .portfolio-section::after {
    animation: none;
  }
}

.page-home .portfolio-section .section-heading {
  margin-bottom: 1.75rem;
}

.page-home .portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.page-home .portfolio-filters__btn {
  position: relative;
  padding: 0.35rem 0.15rem 0.55rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color var(--transition);
}

.page-home .portfolio-filters__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}

.page-home .portfolio-filters__btn:hover,
.page-home .portfolio-filters__btn:focus-visible {
  color: var(--color-navy);
}

.page-home .portfolio-filters__btn.is-active {
  color: var(--color-navy);
}

.page-home .portfolio-filters__btn.is-active::after {
  transform: scaleX(1);
}

.page-home .portfolio-showcase {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

.page-home .portfolio-covers {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.page-home .portfolio-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #e8eef5;
  box-shadow: 0 1px 0 rgba(11, 23, 38, 0.04);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    opacity 0.35s var(--ease);
}

.page-home .portfolio-cover.is-hidden {
  display: none;
}

.page-home .portfolio-cover.is-leaving {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition-delay: var(--cover-delay, 0ms);
}

.page-home .portfolio-cover.is-entering {
  animation: portfolioCoverIn 0.45s var(--ease) both;
  animation-delay: var(--cover-delay, 0ms);
}

.page-home .portfolio-covers.is-filtering .portfolio-cover:not(.is-hidden):not(.is-leaving):not(.is-entering) {
  pointer-events: none;
}

@keyframes portfolioCoverIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .portfolio-cover.is-leaving,
  .page-home .portfolio-cover.is-entering {
    animation: none;
    transition: none;
  }
}

.page-home .portfolio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.page-home .portfolio-cover:hover,
.page-home .portfolio-cover:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 23, 38, 0.14);
  outline: none;
}

.page-home .portfolio-cover:hover img,
.page-home .portfolio-cover:focus-visible img {
  transform: scale(1.04);
}

.page-home .portfolio-empty {
  margin-top: 2rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .page-home .portfolio-covers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-home .portfolio-covers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .page-home .portfolio-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem 1.15rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }

  .page-home .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .page-home .portfolio-filters [role="tab"] {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .page-home .portfolio-covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   SECTION 10 — Testimonials (reference: centered intro + 3 soft cards)
   -------------------------------------------------------------------------- */
.page-home .testimonials-section {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: #f7f9fc;
}

.page-home .testimonials-section__glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(980px, 92vw);
  height: min(520px, 70vw);
  transform: translate(-50%, -42%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(30, 155, 255, 0.18) 0%, rgba(75, 188, 255, 0.1) 35%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.page-home .testimonials-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.page-home .testimonials-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.page-home .testimonials-intro__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #0b1726;
}

.page-home .testimonials-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  margin: 0 0 1.35rem;
}

.page-home .testimonials-trust__faces {
  display: flex;
  align-items: center;
  padding-right: 0.15rem;
}

.page-home .testimonials-trust__face {
  width: 34px;
  height: 34px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 3px rgba(11, 23, 38, 0.12);
}

.page-home .testimonials-trust__face:first-child {
  margin-left: 0;
}

.page-home .testimonials-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #1e9bff;
  line-height: 1;
}

.page-home .testimonials-stars--sm svg {
  width: 15px;
  height: 15px;
}

.page-home .testimonials-trust__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d4a5c;
  white-space: nowrap;
}

.page-home .testimonials-intro__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.45rem;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent) 55%, var(--color-accent-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 8px 20px rgba(30, 155, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.4s var(--ease),
    filter 0.35s var(--ease);
}

.page-home .testimonials-intro__cta::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -40%;
  width: 45%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 35%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.45) 52%,
    rgba(255, 255, 255, 0.05) 65%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-22deg);
  pointer-events: none;
  z-index: 1;
  animation: btnGlassShine 4.8s var(--ease) infinite;
}

.page-home .testimonials-intro__cta:hover {
  background: linear-gradient(135deg, #63c5ff, var(--color-accent) 40%, var(--color-accent-dark));
  color: #fff;
  transform: translateY(-3px);
  box-shadow:
    0 14px 28px rgba(15, 127, 217, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.04);
}

.page-home .testimonials-intro__cta:hover::before {
  animation: btnGlassShineHover 0.75s var(--ease) forwards;
}

.page-home .testimonials-intro__cta svg {
  position: relative;
  z-index: 2;
  transition: transform 0.35s var(--ease);
}

.page-home .testimonials-intro__cta:hover svg {
  transform: translateX(3px);
}

.page-home .testimonials-carousel {
  position: relative;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.page-home .testimonials-carousel.is-dragging {
  cursor: grabbing;
}

.page-home .testimonials-carousel__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.page-home .testimonials-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 1.35rem;
  width: max-content;
  will-change: transform;
  padding-inline: max(1.25rem, calc((100vw - 1120px) / 2));
}

.page-home .testimonials-carousel .t-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(340px, calc(100vw - 3rem));
  width: min(340px, calc(100vw - 3rem));
  margin: 0;
  padding: 1.85rem 1.65rem 1.55rem;
  background: #fff;
  border: none;
  border-radius: 18px;
  box-shadow:
    0 2px 4px rgba(11, 23, 38, 0.03),
    0 14px 36px rgba(11, 23, 38, 0.07);
  text-align: left;
  pointer-events: none;
}

@media (min-width: 960px) {
  .page-home .testimonials-carousel .t-card {
    flex-basis: 340px;
    width: 340px;
  }
}

.page-home .t-card__top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.05rem;
}

.page-home .t-card__badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b1726;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.page-home .t-card__badge img {
  width: 18px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.page-home .t-card__headline {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #0b1726;
}

.page-home .t-card__quote {
  flex-grow: 1;
  margin: 0 0 1.5rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.65;
  color: #5a6a7d;
}

.page-home .t-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.page-home .t-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.page-home .t-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.page-home .t-card__name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  font-style: normal;
  color: #0b1726;
}

.page-home .t-card__role {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #7a8798;
}

@media (max-width: 960px) {
  .page-home .testimonials-intro {
    margin-bottom: 2.25rem;
  }
}

@media (max-width: 560px) {
  .page-home .testimonials-intro__title {
    font-size: 1.65rem;
  }

  .page-home .testimonials-trust {
    gap: 0.45rem 0.55rem;
  }

  .page-home .testimonials-trust__text {
    white-space: normal;
    width: 100%;
    text-align: center;
  }

  .page-home .testimonials-carousel .t-card {
    padding: 1.45rem 1.25rem 1.3rem;
  }

  .page-home .testimonials-carousel__viewport {
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  }
}

/* FAQ layout styles live in style.css (shared with service pages) */
