/* ===== Client logos (recreates the Elementor image carousel) ===== */
.hg-logos { display: flex; flex-direction: column; gap: 24px; padding: 40px 40px 20px; box-sizing: border-box; width: 100%; }
.hg-logos__title { margin: 0; font-family: "Outfit", sans-serif; font-size: 25px; font-weight: 700; line-height: 33px; letter-spacing: -1px; color: #2D0B4F; text-align: center; }
.hg-logos__viewport { overflow: hidden; width: 100%; }
.hg-logos__track { display: flex; will-change: transform; }
.hg-logos__slide { --hg-n: 7; flex: 0 0 calc((100% - 41px * (var(--hg-n) - 1)) / var(--hg-n)); margin-right: 41px; text-align: center; box-sizing: border-box; }
.hg-logos__slide img { display: inline-block; width: 140px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; vertical-align: middle; }
@media (max-width: 1024px) { .hg-logos__slide { --hg-n: 2; } }
@media (max-width: 767px) {
  .hg-logos { padding: 30px 20px 40px; }
  .hg-logos__title { font-size: 22px; line-height: 1.32; }
  .hg-logos__slide { --hg-n: 3; }
}

/* ===== GummyPros carousel ===== */
@media (max-width: 768px) {
  .hg-gummypros .gummypros-prev { left: -12px !important; }
  .hg-gummypros .gummypros-next { right: -12px !important; }
  .hg-gummypros .gummypros-card { flex: 0 0 calc(100% - 24px) !important; min-width: calc(100% - 24px) !important; }
  .hg-gummypros .gummypros-header { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .hg-gummypros .gummypros-header .shrink-0 { margin-left: 0 !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .hg-gummypros .gummypros-card { flex: 0 0 calc(50% - 18px) !important; min-width: calc(50% - 18px) !important; }
}

/* ===== Case studies ===== */
@media (max-width: 768px) {
  .hg-stories-grid .h-48 { height: 200px !important; object-position: top !important; }
  .hg-stories-grid .p-6 { padding: 20px !important; }
  .hg-stories-grid h3 { font-size: 20px !important; }
  .hg-stories-grid .line-clamp-2 { -webkit-line-clamp: 3 !important; }
}

/* ===== Top roles ===== */
@media (max-width: 768px) {
  .hg-roles .roles-header { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .hg-roles .roles-see-all-desktop { display: none !important; }
  .hg-roles .roles-see-all-mobile { display: flex !important; }
}
@media (min-width: 769px) {
  .hg-roles .roles-see-all-mobile { display: none !important; }
}

/* ===== Testimonials ===== */
.hg-testimonials [data-hg-video]:focus-visible { outline: 2px solid #00E5A0; outline-offset: 6px; border-radius: 12px; }

/* ===== Google reviews badge ===== */
.hg-gr { padding: 36px 16px; text-align: center; }
.hg-gr__badge, a.hg-gr__badge:visited {
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%; box-sizing: border-box;
  padding: 14px 16px 14px 22px; border-radius: 18px;
  background: #fff; border: 1px solid #ECE7F6;
  box-shadow: 0 12px 32px -16px rgba(45,10,79,.28);
  text-decoration: none !important; color: #2D0A4F !important;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
a.hg-gr__badge:hover { transform: translateY(-3px); border-color: #D9CFF0; box-shadow: 0 18px 40px -16px rgba(45,10,79,.36); }
.hg-gr__stars { display: inline-flex !important; align-items: center; gap: 2px; flex: 0 0 auto; line-height: 0; }
.hg-gr__stars svg { display: block !important; width: 18px !important; height: 18px !important; min-width: 18px; max-width: none !important; overflow: visible; visibility: visible !important; }
.hg-gr__stars svg path { fill: #FBBC04 !important; stroke: none !important; }
/* Animation only when JS has run: stars stay visible if scripts are delayed */
.hg-gr.hg-anim .hg-gr__stars svg { transform: scale(.4); opacity: 0; }
.hg-gr.hg-anim.is-in .hg-gr__stars svg { animation: hgStarIn .5s cubic-bezier(.3,1.6,.5,1) forwards; }
.hg-gr.hg-anim.is-in .hg-gr__stars svg:nth-child(2) { animation-delay: .08s; }
.hg-gr.hg-anim.is-in .hg-gr__stars svg:nth-child(3) { animation-delay: .16s; }
.hg-gr.hg-anim.is-in .hg-gr__stars svg:nth-child(4) { animation-delay: .24s; }
.hg-gr.hg-anim.is-in .hg-gr__stars svg:nth-child(5) { animation-delay: .32s; }
@keyframes hgStarIn { to { transform: scale(1); opacity: 1; } }
.hg-gr__text { font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap; color: #2D0A4F; }
.hg-gr__arrow {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: #00E5A0; color: #1A0033;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .3s ease;
}
.hg-gr__arrow svg { width: 16px; height: 16px; }
a.hg-gr__badge:hover .hg-gr__arrow { transform: translate(2px,-2px); }
@media (max-width: 480px) {
  .hg-gr { padding: 28px 12px; }
  .hg-gr__badge { gap: 9px; padding: 11px 11px 11px 14px; border-radius: 14px; }
  .hg-gr__stars svg { width: 13px !important; height: 13px !important; min-width: 13px; }
  .hg-gr__stars { gap: 1px; }
  .hg-gr__text { font-size: 13px; }
  .hg-gr__arrow { width: 26px; height: 26px; border-radius: 8px; }
  .hg-gr__arrow svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-gr.hg-anim .hg-gr__stars svg { transform: none; opacity: 1; animation: none !important; }
}

/* ===== Booking CTA ===== */
@media (max-width: 768px) {
  .hg-cta .cta-left-panel { padding: 36px 24px !important; }
  .hg-cta .cta-headline { font-size: 32px !important; line-height: 1.2 !important; }
  .hg-cta .cta-buttons-row { flex-direction: column !important; align-items: center !important; gap: 20px !important; }
  .hg-cta .cta-book-btn { width: 100% !important; justify-content: center !important; padding: 14px 24px !important; font-size: 15px !important; }
  .hg-cta .cta-social-proof { flex-direction: column !important; align-items: center !important; gap: 8px !important; }
  .hg-cta .cta-mascot-col { min-height: 280px !important; }
  .hg-cta .hg-cta-mascot { width: 90% !important; max-width: 100% !important; }
}

/* ===== Written testimonials carousel ===== */
.hg-qt { padding: 64px 0 72px; overflow: hidden; }
.hg-qt__head { max-width: 1420px; margin: 0 auto 32px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hg-qt__title { margin: 0; font-family: "Outfit", sans-serif; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: #1A0033; }
.hg-qt__badge, a.hg-qt__badge:visited { display: inline-flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; border-radius: 14px; background: #fff; border: 1px solid #ECE7F6; text-decoration: none !important; color: #2D0A4F !important; font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 700; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; }
a.hg-qt__badge:hover { transform: translateY(-2px); border-color: #D9CFF0; }
.hg-qt__arrow { width: 26px; height: 26px; border-radius: 8px; background: #00E5A0; color: #1A0033; display: inline-flex; align-items: center; justify-content: center; }
.hg-qt__arrow svg { width: 14px; height: 14px; }
.hg-qt__stars { display: inline-flex !important; gap: 1px; line-height: 0; flex: 0 0 auto; }
.hg-qt__stars svg { display: block !important; width: 15px !important; height: 15px !important; max-width: none !important; }
.hg-qt__stars svg path { fill: #FBBC04 !important; }
.hg-qt__viewport { overflow-x: auto; scrollbar-width: none; padding: 4px 40px 12px; }
.hg-qt__viewport::-webkit-scrollbar { display: none; }
.hg-qt__track { display: flex; gap: 24px; width: max-content; }
.hg-qt.is-marquee .hg-qt__viewport { overflow: hidden; padding-left: 0; padding-right: 0; }
.hg-qt.is-marquee .hg-qt__track { animation: hgQtMove var(--hg-qt-dur, 40s) linear infinite; will-change: transform; }
.hg-qt.is-marquee .hg-qt__viewport:hover .hg-qt__track { animation-play-state: paused; }
@keyframes hgQtMove { to { transform: translate3d(calc(-50% - 12px), 0, 0); } }
.hg-qt__card { width: 420px; flex: 0 0 420px; box-sizing: border-box; display: flex; flex-direction: column; background: #fff; border: 1px solid #ECE7F6; border-radius: 20px; padding: 26px; box-shadow: 0 12px 32px -22px rgba(45,10,79,.35); transition: border-color .3s; }
.hg-qt__card:hover { border-color: #00E5A0; }
.hg-qt__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hg-qt__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hg-qt__avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; overflow: hidden; background: #EEE8FA; color: #3D0068; display: flex; align-items: center; justify-content: center; font: 700 15px "Outfit", sans-serif; }
.hg-qt__avatar img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.hg-qt__meta { display: flex; flex-direction: column; min-width: 0; }
.hg-qt__meta b { font-family: "Outfit", sans-serif; font-size: 17px; font-weight: 700; color: #1A0033; line-height: 1.25; }
.hg-qt__meta small { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13.5px; color: #64637A; line-height: 1.3; }
.hg-qt__quote { flex: 1; margin: 18px 0 20px !important; font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; line-height: 1.65; color: #4A4560; }
.hg-qt__site, a.hg-qt__site:visited { display: block; padding-top: 16px; border-top: 1px solid #F0ECF8; font-family: "Plus Jakarta Sans", sans-serif; font-size: 14.5px; font-weight: 700; color: #0E6B4D !important; text-decoration: none !important; line-height: 1.5 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.hg-qt__site:hover { color: #1A0033 !important; }
@media (max-width: 767px) {
  .hg-qt { padding: 48px 0 56px; }
  .hg-qt__head { padding: 0 20px; margin-bottom: 24px; }
  .hg-qt__viewport { padding: 4px 20px 12px; }
  .hg-qt__track { gap: 16px; }
  @keyframes hgQtMove { to { transform: translate3d(calc(-50% - 8px), 0, 0); } }
  .hg-qt__card { width: 300px; flex-basis: 300px; padding: 20px; }
  .hg-qt__stars svg { width: 12px !important; height: 12px !important; }
  .hg-qt__quote { font-size: 14px; }
}
