/* Homepage premium — trust, CTAs, new sections, footer, mobile UX */

:root {
  --hp-navy: #0c2340;
  --hp-teal: #1a6b7a;
  --hp-teal-light: #2d8f9e;
  --hp-accent: #3b82c4;
  --hp-muted: #5b6b7d;
  --hp-glass: rgba(255, 255, 255, 0.72);
}

/* Global reveal */
.hp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-reveal[data-delay="1"] { transition-delay: 0.08s; }
.hp-reveal[data-delay="2"] { transition-delay: 0.16s; }
.hp-reveal[data-delay="3"] { transition-delay: 0.24s; }
.hp-reveal[data-delay="4"] { transition-delay: 0.32s; }
.hp-reveal[data-delay="5"] { transition-delay: 0.4s; }
.hp-reveal[data-delay="6"] { transition-delay: 0.48s; }
.hp-reveal[data-delay="7"] { transition-delay: 0.15s; }

/* Hero float animation */
@keyframes hpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-premium__float {
  animation: hpFloat 5s ease-in-out infinite;
}
.hero-premium__float--2 { animation-delay: 0.8s; }
.hero-premium__float--3 { animation-delay: 1.6s; }
.hero-premium__float--4 { animation-delay: 2.4s; }

/* ===================== TRUSTED PUBLISHING NETWORKS ===================== */
.pub-network {
  position: relative;
  padding: 2.5rem 0 2rem;
  background: #fff;
  border-top: 1px solid rgba(12, 35, 64, 0.04);
  box-shadow: 0 -1px 20px rgba(12, 35, 64, 0.03);
  overflow: hidden;
}

/* Header */
.pub-network__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 1.15rem;
}

.pub-network__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hp-teal);
  background: rgba(26, 107, 122, 0.07);
  border: 1px solid rgba(26, 107, 122, 0.14);
  border-radius: 100px;
}
.pub-network__label i {
  font-size: 0.7rem;
}

.pub-network__title {
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--hp-navy);
  margin: 0;
}

/* Swiper slider wrapper */
.pub-network__slider {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.pubNetworkSwiper {
  overflow: hidden;
  padding: 0.75rem 0 1rem;
}

.pubNetworkSwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Logo card */
.pub-network__logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 1rem 1.25rem;
  background: #fafcfe;
  border: 1px solid rgba(12, 35, 64, 0.06);
  border-radius: 16px;
  cursor: default;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

.pub-network__logo-card img {
  height: 100px;
  width: 100%;
  object-fit: contain;
  /* filter: grayscale(100%) opacity(0.45); */
  transition: filter 0.45s ease, transform 0.4s ease;
}

.pub-network__logo-card:hover {
  transform: translateY(-5px) scale(1.03);
  background: #fff;
  border-color: rgba(26, 107, 122, 0.22);
  box-shadow:
    0 10px 32px rgba(12, 35, 64, 0.09),
    0 0 0 1px rgba(26, 107, 122, 0.08),
    0 0 18px rgba(45, 143, 158, 0.08);
}

.pub-network__logo-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Footnote */
.pub-network__footnote {
  text-align: center;
  margin: 1.25rem auto 0;
  max-width: 520px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--hp-muted);
  line-height: 1.55;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.pub-network__footnote i {
  color: var(--hp-teal);
  font-size: 0.72rem;
}

/* ---- Responsive: Tablet ---- */
@media (max-width: 991.98px) {
  .pub-network {
    padding: 2.75rem 0 2.5rem;
  }

  .pub-network__logo-card {
    height: 100px;
    padding: 0.85rem 1rem;
  }

  .pub-network__logo-card img {
    height: 80px;
  }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 767.98px) {
  .pub-network {
    padding: 2.5rem 0 2rem;
  }

  .pub-network__header {
    margin-bottom: 1.5rem;
  }

  .pub-network__title {
    font-size: 1.15rem;
  }

  .pub-network__logo-card {
    height: 85px;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
  }

  .pub-network__logo-card img {
    height: 65px;
  }

  .pub-network__footnote {
    font-size: 0.72rem;
    margin-top: 1.5rem;
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .pubNetworkSwiper .swiper-wrapper {
    transition-timing-function: ease !important;
  }

  .pub-network__logo-card,
  .pub-network__logo-card img {
    transition: none;
  }
}

/* Metrics */
.hp-metrics {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #f0f6fc 0%, #e8f2f8 50%, #f5f9fc 100%);
}
.hp-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.hp-metrics__card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--hp-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(12, 35, 64, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-metrics__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12, 35, 64, 0.1);
}
.hp-metrics__icon {
  font-size: 1.35rem;
  color: var(--hp-teal);
  margin-bottom: 0.65rem;
}
.hp-metrics__value {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--hp-navy);
  line-height: 1.2;
}
.hp-metrics__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--hp-muted);
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

/* Trust badges row */
.hp-badges {
  padding: 1rem 0 1.25rem;
  background: #fff;
}
.hp-badges__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}
.hp-badges__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hp-navy);
  background: rgba(26, 107, 122, 0.06);
  border: 1px solid rgba(26, 107, 122, 0.12);
  border-radius: 100px;
}
.hp-badges__item i {
  color: var(--hp-teal);
  font-size: 0.8rem;
}

/* ===================== PEER-REVIEW CTA SECTION ===================== */
.pr-cta {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0;
  background: linear-gradient(145deg, #0c2340 0%, #133651 35%, #1a4a66 65%, #0c2340 100%);
}

/* Background layer */
.pr-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.pr-cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.pr-cta__orb--1 {
  width: 420px; height: 420px;
  top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(45, 143, 158, 0.3) 0%, transparent 70%);
  opacity: 0.5;
  animation: prOrbFloat1 10s ease-in-out infinite;
}
.pr-cta__orb--2 {
  width: 340px; height: 340px;
  bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(59, 130, 196, 0.25) 0%, transparent 70%);
  opacity: 0.4;
  animation: prOrbFloat2 12s ease-in-out infinite;
}

@keyframes prOrbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-20px, 15px); }
}
@keyframes prOrbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(15px, -20px); }
}

.pr-cta__grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 65% 55% at 40% 50%, rgba(0,0,0,0.6) 0%, transparent 80%);
}

/* SVG decorations */
.pr-cta__svg {
  position: absolute;
  color: rgba(255,255,255,0.08);
}
.pr-cta__svg--doc {
  width: 100px; height: 130px;
  top: 12%; right: 8%;
  animation: prSvgPulse 8s ease-in-out infinite;
}
.pr-cta__svg--pen {
  width: 60px; height: 100px;
  bottom: 10%; left: 6%;
  animation: prSvgPulse 9s ease-in-out infinite 2s;
}

@keyframes prSvgPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.05); }
}

/* Container */
.pr-cta .container {
  position: relative;
  z-index: 1;
}

/* Wrapper — flex for content + floats */
.pr-cta__wrapper {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

/* Content side */
.pr-cta__content {
  flex: 1 1 60%;
  min-width: 0;
}

.pr-cta__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
}
.pr-cta__label i {
  font-size: 0.68rem;
  color: var(--hp-teal-light);
}

.pr-cta__title {
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}

.pr-cta__desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.925rem, 1.15vw, 1.05rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 0 1.75rem;
}

/* CTA button */
.pr-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hp-navy) !important;
  background: #fff;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 28px rgba(0,0,0,0.18),
    0 0 0 0 rgba(255,255,255,0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.pr-cta__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(45,143,158,0.08) 0%, rgba(59,130,196,0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pr-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 36px rgba(0,0,0,0.22),
    0 0 24px rgba(255,255,255,0.15);
  color: var(--hp-navy) !important;
}
.pr-cta__btn:hover::before { opacity: 1; }

.pr-cta__btn span,
.pr-cta__btn i { position: relative; z-index: 1; }

.pr-cta__btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.pr-cta__btn:hover i {
  transform: translateX(4px);
}

/* Floating trust indicators — right side */
.pr-cta__floats {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.pr-cta__float {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pr-cta__float i {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--hp-teal-light);
  flex-shrink: 0;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.pr-cta__float:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}
.pr-cta__float:hover i {
  background: rgba(45,143,158,0.3);
  color: #fff;
  transform: scale(1.08);
}

/* Float positioning animations */
.pr-cta__float--1 { animation: prCardFloat 5s ease-in-out infinite; }
.pr-cta__float--2 { animation: prCardFloat 5.5s ease-in-out 0.5s infinite; }
.pr-cta__float--3 { animation: prCardFloat 4.8s ease-in-out 1s infinite; }
.pr-cta__float--4 { animation: prCardFloat 5.2s ease-in-out 1.5s infinite; }

@keyframes prCardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---- Responsive: Tablet ---- */
@media (max-width: 991.98px) {
  .pr-cta {
    padding: 3rem 0;
  }

  .pr-cta__wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .pr-cta__content {
    flex: none;
    width: 100%;
  }

  .pr-cta__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .pr-cta__floats {
    justify-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 767.98px) {
  .pr-cta {
    padding: 2.5rem 0;
  }

  .pr-cta__title {
    font-size: 1.45rem;
  }

  .pr-cta__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .pr-cta__floats {
    grid-template-columns: 1fr;
    max-width: 260px;
  }

  .pr-cta__svg {
    display: none;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .pr-cta__orb,
  .pr-cta__svg,
  .pr-cta__float {
    animation: none !important;
  }
  .pr-cta__btn,
  .pr-cta__float,
  .pr-cta__float i {
    transition: none;
  }
}

/* ============================================================
   WHY RESEARCHERS CHOOSE US — premium trust-focused section
   ============================================================ */
.hp-workwith {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(178deg, #f7fafd 0%, #edf4f8 40%, #f0f5f9 100%);
  border-top: 1px solid rgba(12, 35, 64, 0.05);
}

/* ---- Background layer ---- */
.hp-workwith__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hp-workwith__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 85% 12%, rgba(26, 107, 122, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 88%, rgba(59, 130, 196, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 35% 30% at 50% 50%, rgba(200, 170, 90, 0.04) 0%, transparent 50%);
}

.hp-workwith__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hp-workwith__orb--1 {
  width: 340px;
  height: 340px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(45, 143, 158, 0.22) 0%, transparent 70%);
  animation: wwOrbFloat 18s ease-in-out infinite;
}

.hp-workwith__orb--2 {
  width: 280px;
  height: 280px;
  bottom: 5%;
  left: -70px;
  background: radial-gradient(circle, rgba(12, 35, 64, 0.1) 0%, transparent 70%);
  animation: wwOrbFloat 22s ease-in-out infinite reverse;
}

.hp-workwith__shape--ring {
  position: absolute;
  bottom: 22%;
  right: 5%;
  width: 110px;
  height: 110px;
  border: 1.5px solid rgba(26, 107, 122, 0.1);
  border-radius: 50%;
  opacity: 0.55;
  animation: wwOrbFloat 20s ease-in-out infinite;
}

.hp-workwith__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(26, 107, 122, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 107, 122, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 30%, transparent 70%);
}

/* Floating academic background icons */
.hp-workwith__bg-icons {
  position: absolute;
  inset: 0;
}

.hp-workwith__bg-icon {
  position: absolute;
  font-size: 1.6rem;
  color: rgba(26, 107, 122, 0.07);
  animation: wwIconFloat 16s ease-in-out infinite;
}

.hp-workwith__bg-icon--1 { top: 8%; left: 6%; animation-delay: 0s; font-size: 1.8rem; }
.hp-workwith__bg-icon--2 { top: 15%; right: 10%; animation-delay: -3s; font-size: 2rem; }
.hp-workwith__bg-icon--3 { top: 45%; left: 3%; animation-delay: -6s; font-size: 1.4rem; }
.hp-workwith__bg-icon--4 { bottom: 20%; right: 5%; animation-delay: -9s; font-size: 1.5rem; }
.hp-workwith__bg-icon--5 { bottom: 12%; left: 12%; animation-delay: -12s; font-size: 1.3rem; }
.hp-workwith__bg-icon--6 { top: 65%; right: 15%; animation-delay: -4s; font-size: 1.7rem; }

/* SVG decorations */
.hp-workwith__svg {
  position: absolute;
  opacity: 0.06;
}

.hp-workwith__svg--nodes {
  width: 160px;
  height: 160px;
  top: 5%;
  right: 4%;
  animation: wwSvgPulse 14s ease-in-out infinite;
}

.hp-workwith__svg--bars {
  width: 110px;
  height: 75px;
  bottom: 10%;
  left: 3%;
  animation: wwSvgPulse 16s ease-in-out infinite reverse;
}

/* ---- Container z-index ---- */
.hp-workwith .container {
  position: relative;
  z-index: 1;
}

/* ---- Centered header ---- */
.hp-workwith__header {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.hp-workwith__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.15rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hp-teal);
  background: rgba(26, 107, 122, 0.07);
  border: 1px solid rgba(26, 107, 122, 0.14);
  border-radius: 100px;
}

.hp-workwith__label i {
  font-size: 0.7rem;
}

.hp-workwith__title {
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--hp-navy);
  margin-bottom: 1.1rem;
}

.hp-workwith__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 1.15vw, 1.02rem);
  line-height: 1.75;
  color: var(--hp-muted);
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- 3-column card grid ---- */
.hp-workwith__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Feature card */
.hp-workwith__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(26, 107, 122, 0.1);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 250, 253, 0.8) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 4px 24px rgba(12, 35, 64, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

/* Top accent stripe */
.hp-workwith__card-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hp-teal) 0%, rgba(59, 130, 196, 0.6) 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Alternating accent cards - subtle gradient border */
.hp-workwith__card--accent {
  border-color: rgba(200, 170, 90, 0.15);
}

.hp-workwith__card--accent .hp-workwith__card-stripe {
  background: linear-gradient(90deg, rgba(200, 170, 90, 0.8) 0%, var(--hp-teal) 100%);
}

/* Card number badge */
.hp-workwith__card-number {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(26, 107, 122, 0.05);
  letter-spacing: -0.03em;
  transition: color 0.45s ease;
}

/* Radial hover glow */
.hp-workwith__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 143, 158, 0.08) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hp-workwith__card:hover {
  transform: translateY(-7px);
  border-color: rgba(45, 143, 158, 0.3);
  box-shadow:
    0 0 0 1px rgba(45, 143, 158, 0.1),
    0 0 32px rgba(45, 143, 158, 0.1),
    0 20px 56px rgba(12, 35, 64, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hp-workwith__card--accent:hover {
  border-color: rgba(200, 170, 90, 0.35);
  box-shadow:
    0 0 0 1px rgba(200, 170, 90, 0.1),
    0 0 32px rgba(200, 170, 90, 0.08),
    0 20px 56px rgba(12, 35, 64, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hp-workwith__card:hover::before { opacity: 1; }

.hp-workwith__card:hover .hp-workwith__card-stripe { opacity: 1; }

.hp-workwith__card:hover .hp-workwith__card-number {
  color: rgba(26, 107, 122, 0.1);
}

/* Icon wrapper */
.hp-workwith__card-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  font-size: 1.2rem;
  color: var(--hp-teal);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 244, 248, 0.85) 100%);
  border: 1px solid rgba(26, 107, 122, 0.12);
  box-shadow:
    0 4px 16px rgba(12, 35, 64, 0.06),
    0 0 0 4px rgba(26, 107, 122, 0.04);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-workwith__card-icon i {
  display: block;
  line-height: 1;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-weight: 900;
  font-style: normal;
}

.hp-workwith__card:hover .hp-workwith__card-icon {
  transform: scale(1.08) translateY(-2px);
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hp-teal-light) 0%, var(--hp-navy) 100%);
  border-color: transparent;
  box-shadow: 0 8px 26px rgba(26, 107, 122, 0.3);
}

.hp-workwith__card--accent:hover .hp-workwith__card-icon {
  background: linear-gradient(135deg, rgba(200, 170, 90, 0.9) 0%, var(--hp-navy) 100%);
  box-shadow: 0 8px 26px rgba(200, 170, 90, 0.25);
}

/* Card title */
.hp-workwith__card-title {
  position: relative;
  z-index: 1;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hp-navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  transition: color 0.35s ease;
}

.hp-workwith__card:hover .hp-workwith__card-title {
  color: var(--hp-teal);
}

.hp-workwith__card--accent:hover .hp-workwith__card-title {
  color: #9a7b30;
}

/* Card description */
.hp-workwith__card-desc {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--hp-muted);
  margin: 0;
  flex-grow: 1;
}

/* ---- Bottom CTA ---- */
.hp-workwith__cta {
  position: relative;
  padding: 2.5rem 2.5rem;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #312e81 0%, #4338ca 40%, #6366f1 80%, #818cf8 100%);
  border: 1px solid rgba(165, 180, 252, 0.25);
  box-shadow:
    0 12px 48px rgba(49, 46, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hp-workwith__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 90%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 10%, rgba(165, 180, 252, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hp-workwith__cta-inner {
  position: relative;
  z-index: 1;
}

.hp-workwith__cta-split {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.hp-workwith__cta-left {
  flex: 1;
  text-align: left;
}

.hp-workwith__cta-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hp-workwith__cta-title {
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.hp-workwith__cta-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.hp-workwith__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hp-workwith__cta-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.hp-workwith__cta-btn:hover i {
  transform: translateX(3px);
}

.hp-workwith__cta-btn--primary {
  color: #312e81 !important;
  background: #fff;
  border: none;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
}

.hp-workwith__cta-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(99, 102, 241, 0.45);
  color: #312e81 !important;
}

.hp-workwith__cta-btn--outline {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(165, 180, 252, 0.5);
  box-shadow: none;
  border-radius: 14px;
}

.hp-workwith__cta-btn--outline:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(165, 180, 252, 0.8);
  color: #fff !important;
}

/* ---- Animations ---- */
@keyframes wwOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -12px) scale(1.04); }
  66% { transform: translate(-10px, 8px) scale(0.97); }
}

@keyframes wwIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.07; }
  50% { transform: translateY(-14px) rotate(6deg); opacity: 0.12; }
}

@keyframes wwSvgPulse {
  0%, 100% { opacity: 0.06; transform: scale(1); }
  50% { opacity: 0.1; transform: scale(1.05); }
}

/* ---- Responsive: tablet ---- */
@media (max-width: 991.98px) {
  .hp-workwith {
    padding: 3.5rem 0 3rem;
  }

  .hp-workwith__header {
    margin-bottom: 2rem;
  }

  .hp-workwith__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .hp-workwith__svg { display: none; }
}

/* ---- Responsive: mobile ---- */
@media (max-width: 767.98px) {
  .hp-workwith {
    padding: 2.5rem 0 2.5rem;
  }

  .hp-workwith__title {
    font-size: 1.55rem;
  }

  .hp-workwith__cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hp-workwith__card {
    padding: 1.5rem 1.25rem 1.35rem;
  }

  .hp-workwith__card-number {
    font-size: 2.2rem;
  }

  .hp-workwith__cta {
    padding: 1.75rem 1.25rem;
  }

  .hp-workwith__cta-split {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .hp-workwith__cta-left {
    text-align: center;
  }

  .hp-workwith__cta-text {
    margin-bottom: 0;
  }

  .hp-workwith__cta-right {
    width: 100%;
    align-items: center;
  }

  .hp-workwith__cta-btn {
    width: 100%;
    max-width: 300px;
  }

  .hp-workwith__shape--ring,
  .hp-workwith__bg-icons,
  .hp-workwith__grid-lines {
    display: none;
  }
}

/* ---- Touch device fallback ---- */
@media (hover: none) and (pointer: coarse) {
  .hp-workwith__card:hover {
    transform: none;
  }

  .hp-workwith__card:active {
    transform: translateY(-4px);
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hp-workwith__orb,
  .hp-workwith__shape--ring,
  .hp-workwith__bg-icon,
  .hp-workwith__svg {
    animation: none;
  }
}

/* Before / After */
.hp-compare {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f2f7fb 100%);
}
.hp-compare__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hp-compare__label {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hp-teal);
  background: rgba(26, 107, 122, 0.08);
  border-radius: 100px;
}
.hp-compare__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--hp-navy);
}
.hp-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.hp-compare__panel {
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  min-height: 280px;
}
.hp-compare__panel--before {
  background: #fff;
  border: 1px solid rgba(220, 38, 38, 0.15);
  box-shadow: 0 4px 20px rgba(12, 35, 64, 0.04);
}
.hp-compare__panel--after {
  background: linear-gradient(160deg, #fff 0%, #eef6f8 100%);
  border: 1px solid rgba(26, 107, 122, 0.2);
  box-shadow: 0 8px 32px rgba(12, 35, 64, 0.08);
}
.hp-compare__tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.hp-compare__panel--before .hp-compare__tag {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}
.hp-compare__panel--after .hp-compare__tag {
  background: rgba(26, 107, 122, 0.12);
  color: var(--hp-teal);
}
.hp-compare__panel h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hp-navy);
  margin-bottom: 1rem;
}
.hp-compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hp-compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--hp-muted);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.hp-compare__list li i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.hp-compare__panel--before .hp-compare__list i { color: #dc2626; }
.hp-compare__panel--after .hp-compare__list i { color: var(--hp-teal); }

/* Testimonials */
.hp-testimonials {
  padding: 5rem 0;
  background: #fff;
}
.hp-testimonials__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.hp-testimonials__label {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hp-teal);
  background: rgba(26, 107, 122, 0.08);
  border-radius: 100px;
}
.hp-testimonials__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--hp-navy);
}
.hp-testimonial-card {
  height: 100%;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(12, 35, 64, 0.06);
}
.hp-testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hp-testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(26, 107, 122, 0.2);
}
.hp-testimonial-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hp-navy);
  margin: 0 0 0.15rem;
}
.hp-testimonial-card__meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--hp-muted);
  margin: 0;
}
.hp-testimonial-card__flag {
  font-size: 1rem;
  margin-right: 0.25rem;
}
.hp-testimonial-card__stars {
  color: #f59e0b;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}
.hp-testimonial-card__quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--hp-muted);
  margin: 0;
  font-style: italic;
}
.testimonialSwiper .swiper-pagination-bullet-active {
  background: var(--hp-teal);
}

/* Manuscript submission form */
.hp-manuscript {
  --ms-navy: #0c2340;
  --ms-teal: #1a6b7a;
  --ms-teal-light: #2d8f9e;
  --ms-muted: #5b6b7d;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
  scroll-margin-top: 1.5rem;
}

.hp-manuscript__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hp-manuscript__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hp-manuscript__orb--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: rgba(59, 130, 196, 0.2);
}

.hp-manuscript__orb--2 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  left: -40px;
  background: rgba(45, 143, 158, 0.18);
}

.hp-manuscript__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.hp-manuscript__label {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ms-teal);
  background: rgba(26, 107, 122, 0.08);
  border: 1px solid rgba(26, 107, 122, 0.16);
  border-radius: 100px;
  display: none;
}

.hp-manuscript__title {
  font-family: 'Outfit', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: var(--ms-navy);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hp-manuscript__text {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  /* line-height: 1.72; */
  color: var(--ms-muted);
  margin-bottom: 1.25rem;
}

.hp-manuscript__points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-manuscript__points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: var(--ms-navy);
  margin-bottom: 0.55rem;
}

.hp-manuscript__points i {
  color: var(--ms-teal);
  font-size: 0.85rem;
}

.hp-manuscript__form-card {
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(12, 35, 64, 0.08);
}

.hp-manuscript__alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  border-radius: 12px;
}

.hp-manuscript__alert--success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.hp-manuscript__alert--error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.hp-manuscript__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hp-manuscript__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hp-manuscript__field--full {
  margin-bottom: 1rem;
}

.hp-manuscript__field > label:not(.hp-manuscript__file-label) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-manuscript__req {
  color: var(--ms-teal);
}

.hp-manuscript__optional {
  font-weight: 500;
  color: var(--ms-muted);
  font-size: 0.8rem;
}

.hp-manuscript__field input[type="text"],
.hp-manuscript__field input[type="email"],
.hp-manuscript__field input[type="tel"],
.hp-manuscript__field select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--ms-navy);
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.14);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hp-manuscript__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230c2340' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.hp-manuscript__field input:focus,
.hp-manuscript__field select:focus {
  border-color: var(--ms-teal);
  box-shadow: 0 0 0 3px rgba(26, 107, 122, 0.12);
}

.hp-manuscript__field input::placeholder {
  color: #94a3b8;
}

.hp-manuscript__file {
  position: relative;
}

.hp-manuscript__file input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.hp-manuscript__file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1.5px dashed rgba(12, 35, 64, 0.18);
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.hp-manuscript__file-label:hover,
.hp-manuscript__file:focus-within .hp-manuscript__file-label {
  border-color: var(--ms-teal);
  background: rgba(26, 107, 122, 0.04);
}

.hp-manuscript__file-label i {
  font-size: 1.25rem;
  color: var(--ms-teal);
}

.hp-manuscript__file-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ms-navy);
}

.hp-manuscript__file-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--ms-muted);
}

.hp-manuscript__file-name {
  display: block;
  margin-top: 0.45rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--ms-teal);
  word-break: break-all;
}

.hp-manuscript__file-name:empty {
  display: none;
}

.hp-manuscript__field-error {
  display: block;
  margin-top: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #c53030;
  line-height: 1.35;
}

.hp-manuscript__field-error:empty {
  display: none;
}

.hp-manuscript__field.is-invalid input,
.hp-manuscript__field.is-invalid select {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.hp-manuscript__field.is-invalid .hp-manuscript__file-label {
  border-color: #e53e3e;
  background: rgba(229, 62, 62, 0.04);
}

.hp-manuscript__form-feedback {
  margin-bottom: 1rem;
}

.hp-manuscript__submit {
  position: relative;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--ms-teal-light) 0%, var(--ms-navy) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(12, 35, 64, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-manuscript__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(12, 35, 64, 0.28);
}

.hp-manuscript__submit:disabled {
  cursor: not-allowed;
  opacity: 0.92;
}

.hp-manuscript__submit-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hp-manuscript__submit.is-loading .hp-manuscript__submit-text {
  visibility: hidden;
}

.hp-manuscript__submit.is-loading .hp-manuscript__submit-loader {
  display: inline-flex;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 991.98px) {
  .hp-manuscript__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hp-manuscript__intro {
    text-align: center;
  }

  .hp-manuscript__points li {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hp-manuscript {
    padding: 3rem 0;
  }

  .hp-manuscript__form-card {
    padding: 1.5rem 1.15rem;
  }

  .hp-manuscript__row {
    grid-template-columns: 1fr;
  }
}

/* Lead gen */
.hp-leadgen {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #f2f7fb 0%, #fff 100%);
}
.hp-leadgen__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hp-leadgen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.hp-leadgen__resource {
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-leadgen__resource:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12, 35, 64, 0.08);
}
.hp-leadgen__resource i {
  font-size: 1.75rem;
  color: var(--hp-teal);
  margin-bottom: 0.75rem;
}
.hp-leadgen__resource h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hp-navy);
  margin-bottom: 0.35rem;
}
.hp-leadgen__resource p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--hp-muted);
  margin: 0;
}
.hp-leadgen__form-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  background: var(--hp-glass);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(12, 35, 64, 0.08);
}
.hp-leadgen__form-wrap h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hp-navy);
  text-align: center;
  margin-bottom: 1rem;
}
.hp-leadgen__form input[type="text"],
.hp-leadgen__form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(12, 35, 64, 0.12);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--hp-navy);
  background: #fff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hp-leadgen__form input[type="text"]:focus,
.hp-leadgen__form input[type="email"]:focus {
  border-color: var(--hp-teal);
  box-shadow: 0 0 0 3px rgba(26, 107, 122, 0.1);
}

.hp-leadgen__form input::placeholder {
  color: #9aa8b8;
  opacity: 1;
  font-weight: 400;
}
.hp-leadgen__form button {
  width: 100%;
  padding: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--hp-teal-light) 0%, var(--hp-navy) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.hp-leadgen__form button:hover {
  transform: scale(1.045);
  box-shadow:
    0 0 18px rgba(45, 143, 158, 0.45),
    0 8px 28px rgba(12, 35, 64, 0.2);
}

/* Final CTA — grand hero, deep navy with silver */
.hp-final-cta {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(160deg, #0c1929 0%, #0f2444 30%, #162d50 60%, #0c1929 100%);
}
.hp-final-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hp-final-cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
.hp-final-cta__orb--1 {
  width: 500px;
  height: 500px;
  top: -160px;
  right: -100px;
  background: rgba(99, 102, 241, 0.18);
  animation: finalOrbFloat 9s ease-in-out infinite;
}
.hp-final-cta__orb--2 {
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: -80px;
  background: rgba(56, 178, 172, 0.14);
  animation: finalOrbFloat 9s ease-in-out infinite 4.5s;
}

@keyframes finalOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -8px) scale(1.06); }
}

.hp-final-cta__card {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 32px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hp-final-cta__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.hp-final-cta__text {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hp-final-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hp-final-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-final-cta__btn--primary {
  color: #0c1929 !important;
  background: #fff;
  box-shadow: 0 8px 36px rgba(255, 255, 255, 0.15);
}
.hp-final-cta__btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 52px rgba(255, 255, 255, 0.25);
  color: #0c1929 !important;
}
.hp-final-cta__btn--secondary {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(148, 163, 184, 0.35);
}
.hp-final-cta__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(148, 163, 184, 0.6);
  color: #fff !important;
  transform: translateY(-3px);
}

/* Final CTA responsive */
@media (max-width: 767.98px) {
  .hp-final-cta {
    padding: 3rem 0;
  }
  .hp-final-cta__card {
    padding: 2rem 1.5rem;
    border-radius: 22px;
  }
  .hp-final-cta__btns {
    flex-direction: column;
    align-items: center;
  }
  .hp-final-cta__btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* Sticky mobile CTA */
.hp-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: 0.65rem 0.75rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(12, 35, 64, 0.1);
  box-shadow: 0 -8px 32px rgba(12, 35, 64, 0.12);
  gap: 0.5rem;
}
.hp-mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
.hp-mobile-cta__wa {
  color: #fff !important;
  background: #25d366;
}
.hp-mobile-cta__consult {
  color: #fff !important;
  background: linear-gradient(135deg, var(--hp-teal-light) 0%, var(--hp-navy) 100%);
}

/* Hide old overlay on homepage */
body.home-premium .css-overlay {
  display: none !important;
}

/* Body padding for sticky bar */
@media (max-width: 991.98px) {
  body.home-premium {
    padding-bottom: 72px;
  }
  .hp-mobile-cta {
    display: flex;
  }
  .hp-metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-leadgen__grid {
    grid-template-columns: 1fr;
  }
  .hp-compare__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .hp-metrics__grid {
    grid-template-columns: 1fr;
  }
  /* (old hp-inline-cta removed — now pr-cta) */
  .hp-wa-tooltip {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hp-reveal, .hero-premium__float, .floating-whatsapp-widget-wrapper a {
    animation: none;
    transition: none;
  }
  .hp-reveal { opacity: 1; transform: none; }
}
