/* ========================================
   SUPPLEMENTARY STYLES
   Fills gaps not covered by homepage-original.css
   ======================================== */

/* ---- LOCAL FONTS (override external CDN) ---- */
@font-face {
  font-family: 'Kansas';
  src: url('../assets/fonts/Kansas-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kansas';
  src: url('../assets/fonts/Kansas-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Neue';
  src: url('../assets/fonts/Neue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue';
  src: url('../assets/fonts/Neue-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- JLI BRAND OVERRIDES ---- */
/* Primary accent: #ff7315 (orange), hover: #e56610, light tint: #ffe0c4 */

/* CTA buttons */
.homepage .button--success {
  background: #ff7315 !important;
  border-color: #ff7315 !important;
}
.homepage .button--success:hover {
  background: #e56610 !important;
  border-color: #e56610 !important;
}
.homepage .button--success-dark {
  background: #cc5c11 !important;
  border-color: #cc5c11 !important;
}
.homepage .button--success-dark:hover {
  background: #ff7315 !important;
  border-color: #ff7315 !important;
}

/* Qualifier radio buttons */
.homepage .qualifier-choice:hover {
  box-shadow: 0 0 0 2px #03D47C !important;
}
.homepage .qualifier-choice.checked {
  background: #E3F8EE !important;
  box-shadow: 0 0 0 2px #03D47C !important;
}
.homepage .qualifier-choice input[type=radio]:before {
  background: #03D47C !important;
}
.homepage .qualifier-choice input[type=radio]:after {
  border-color: #03D47C !important;
}

/* Case study highlight text */
.casestudies-section .single-casestudy-bottom blockquote span {
  color: #ff7315 !important;
}

/* Hero bullet points icon color */
.homepage .new-homepage-hero__points ul li::before {
  color: #ffffff !important;
}

/* Signup input focus */
.homepage .new-homepage-hero__signup__controls__input:focus {
  border-color: #ff7315 !important;
  box-shadow: 0 0 0 1px #ff7315 !important;
}

/* Site banner accent */
.homepage .site-banner {
  background: #042a1d !important;
}

/* Section background colours (per-section backgrounds) */
#homepageLogos {
  background: #085239 !important;
}
.homepage-hero__logos__images__image img {
  width: 120px;
  height: auto !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.homepage-hero__logos__images__image img[src$=".svg"] {
  width: 120px;
  filter: none;
}
#homepageFreeTrial,
#homepageHowItWorks {
  background: var(--color-component-bg, #ffffff);
}
#homepageRatings {
  background: #1a3d32 !important;
  overflow-x: hidden;
}
#homepageFooterCTA,
#homepageBottomSignup {
  background: #1a3d32 !important;
}

/* Hero headline accent colour on <em> */
.homepage .new-homepage-hero__headline-ratings__headline h1 em {
  color: #ff7315;
  font-style: italic;
}

/* Hero: Google sign-in button wrapper */
.homepage .new-homepage-hero__content .google-signup #js_click_googleSignIn_main > div {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #dadce0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.homepage .new-homepage-hero__content .google-signup #js_click_googleSignIn_main:hover > div {
  background-color: #f8f9fa;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

/* Hero: Apple sign-in button (matches Google button style) */
.homepage .new-homepage-hero__content .signup-option__icon-apple {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #dadce0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.homepage .new-homepage-hero__content .signup-option__icon-apple:hover {
  background-color: #f8f9fa;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

/* Navbar logo sizing */
.homepage .new-homepage-hero__navbar__logo {
  height: 40px;
  width: auto;
}

/* Footer vertical background logo - mobile only */
.page-footer,
.homepage .page-footer {
  background-image: none !important;
}
@media (max-width: 759px) {
  .page-footer,
  .homepage .page-footer {
    background-image: url('../assets/logos/jli-logo-vertical.svg') !important;
    background-repeat: no-repeat !important;
    background-position: right 120px !important;
    background-size: 111px 618px !important;
  }
}

/* Footer logo sizing */
.page-footer__logo img {
  height: 32px;
  width: auto;
}

/* Footer columns layout */
.page-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 759px) {
  .page-footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
.page-footer__column h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-heading, #002e22);
}
.page-footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-footer__column ul li {
  margin-bottom: 8px;
}
.page-footer__column ul li a {
  color: var(--color-text--light, #76847e);
  font-size: 14px;
  text-decoration: none;
}
.page-footer__column ul li a:hover {
  color: var(--color-text, #002e22);
}
.page-footer__bottom {
  border-top: 1px solid var(--color-border, #ebe6df);
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 20px;
  text-align: center;
}
.page-footer__actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* Homepage bottom signup section — two-column layout */
.homepage-bottom-signup {
  display: flex;
  align-items: center;
  gap: 80px;
  justify-content: space-between;
  color: #fffaf0;
}
.homepage-bottom-signup__left {
  flex: 1 1 50%;
}
.homepage-bottom-signup__right {
  flex: 1 1 50%;
}
.homepage-bottom-signup h2 {
  color: #fffaf0;
  font-family: 'Kansas', serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}
.homepage-bottom-signup p {
  color: #afbbb0;
  font-family: 'Neue', sans-serif;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 759px) {
  .homepage-bottom-signup {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
}

/* Review single-review-top wrapper */
.single-review-top {
  flex-grow: 1;
}

/* Integrations text overlay positioning */
.integrations-image {
  position: relative;
  overflow: hidden !important;
  border-radius: 16px;
}
.integrations-image__header {
  display: block;
  text-align: center;
  padding: 0 28px 20px;
}
.integrations-image__header h2 {
  color: #fff;
  font-family: 'Kansas', serif;
  font-size: 36px;
  font-weight: 500;
  margin: 0 0 8px;
}
.integrations-image__header p {
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.integrations-image__visual {
  position: relative;
  overflow: hidden;
}
.integrations-image__visual img {
  width: 100%;
  display: block;
  max-width: 100% !important;
  transform: none !important;
}
.integrations-image__text {
  display: none !important;
}
@media (max-width: 759px) {
  #homepageIntegrations {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  #homepageIntegrations .content-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .integrations-image {
    border-radius: 0;
  }
  .integrations-image__header h2 {
    font-size: 22px;
  }
}

/* Ratings heading */
.ratings-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.ratings-heading h2 {
  margin: 0;
  font-family: 'Kansas', serif !important;
  font-weight: 500 !important;
}
#homepageRatings h4 {
  font-family: 'Kansas', serif !important;
  font-weight: 500 !important;
}
@media (max-width: 759px) {
  .ratings-heading {
    flex-direction: column;
    text-align: center;
  }
}

/* Case studies - override opacity:0 (animated in via JS on live site) */
.casestudies-section .scrollable-casestudies .single-casestudy {
  opacity: 1 !important;
}
.casestudy-logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

/* Reviews - override opacity:.3 (animated to .visible via JS on live site) */
.scrollable-reviews .single-review {
  opacity: 1 !important;
}

/* Case study scroll arrows - force visible and functional */
.casestudies-section .casestudy-scroll-arrow {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--color-border, #1a3d32);
  border-radius: 52px;
  color: var(--color-icon, #8b9c8f);
  cursor: pointer;
  height: 52px;
  width: 52px;
  position: absolute;
  top: calc(50% - 26px);
  left: 0;
  z-index: 20;
  font-size: 24px;
  user-select: none;
  transition: background 0.15s ease;
}
.casestudies-section .casestudy-scroll-arrow:hover {
  background: var(--color-highlight, #28736d);
  color: #fff;
}
.casestudies-section .casestudy-scroll-arrow.casestudy-scroll-arrow--right {
  left: auto;
  right: 0;
}

/* Make casestudies and reviews scrollable via transform */
.casestudies-section {
  overflow: hidden;
}
.casestudies-section .scrollable-casestudies {
  transition: transform 750ms ease-out !important;
  will-change: transform;
}
.reviews-section {
  overflow: hidden;
}
.scrollable-reviews-wrapper {
  overflow: hidden;
}

/* Reviews scroll arrows - force visible */
.reviews-section .scroll-arrow {
  display: flex !important;
  font-size: 24px;
  user-select: none;
}
.reviews-section .scroll-arrow:hover {
  background: var(--color-highlight, #28736d);
  color: #fff;
}

/* Footer CTA - form controls */
.homepage-bottom-signup .new-homepage-hero__signup {
  margin-bottom: 0;
}
.homepage-bottom-signup .new-homepage-hero__signup__controls {
  border-radius: 60px;
  height: 60px;
  max-width: 100%;
  position: relative;
  width: 100%;
}
.homepage-bottom-signup .new-homepage-hero__signup__controls__input {
  font-size: 16px;
  background-color: #fff;
  border: 1px solid var(--color-border, #1a3d32);
  border-radius: 60px;
  color: #002e22;
  height: 60px;
  padding: 0 180px 0 24px;
  width: 100%;
}
.homepage-bottom-signup .new-homepage-hero__signup__controls__input::placeholder {
  color: #76847e;
}
.homepage-bottom-signup .new-homepage-hero__signup__controls__button {
  position: absolute;
  right: 4px;
  top: 4px;
  border: none;
  border-radius: 52px;
  height: 52px;
  padding: 0 48px;
}
@media (max-width: 759px) {
  .homepage-bottom-signup .new-homepage-hero__signup__controls {
    border-radius: 0;
    display: block;
    height: auto;
  }
  .homepage-bottom-signup .new-homepage-hero__signup__controls__input {
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 0 16px;
  }
  .homepage-bottom-signup .new-homepage-hero__signup__controls__button {
    position: static;
    border-radius: 60px;
    display: block;
    width: 100%;
  }
}

/* Rating and badges */
.rating-and-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 72px 0;
}
.rating-and-badges__badges {
  display: flex;
  align-items: center;
  gap: 32px;
}
@media (max-width: 759px) {
  .rating-and-badges {
    flex-direction: column;
    gap: 24px;
    padding: 24px 0 0;
  }
  .rating-and-badges__badges {
    justify-content: center;
  }
}

/* ================================================
   NEW SECTIONS & OVERRIDES (v2 improvements)
   ================================================ */

/* ---- HERO QUALIFIERS: 2 columns ---- */
.new-homepage-hero__content__qualifiers {
  display: flex !important;
  gap: 16px !important;
}
.new-homepage-hero__content__qualifiers .qualifier-choice {
  flex: 1 1 0 !important;
}

/* ---- HERO SIGNUP SPACING ---- */
.new-homepage-hero__signup {
  margin-top: 28px;
}

/* ---- HERO TRUST LINK ---- */
.hero-trust-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hero-trust-link span {
  font-family: 'Neue', sans-serif;
  font-size: 0.95rem;
  color: #fff;
}
.hero-trust-link:hover span {
  opacity: 0.85;
}

/* ---- HERO IDENTITY LINE ---- */
.hero-identity-line {
  font-family: 'Neue', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  max-width: 600px;
}
.hero-identity-line strong {
  color: #ff7315;
}
.hero-identity-line a {
  color: #ff7315;
  text-decoration: none;
}
.hero-identity-line a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: #042a1d !important;
  padding: 40px 0 !important;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-bar__number {
  display: block;
  font-family: 'Kansas', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ff7315;
  margin-bottom: 4px;
}
.stats-bar__label {
  display: block;
  font-family: 'Neue', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 759px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stats-bar__number {
    font-size: 1.5rem;
  }
}

/* ---- SERVICES GRID: 9 tiles (3x3) ---- */
.homepageFeaturesGrid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
.homepageFeaturesGrid .singleFeature {
  width: auto !important;
}
@media (max-width: 1024px) {
  .homepageFeaturesGrid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 759px) {
  .homepageFeaturesGrid {
    grid-template-columns: 1fr !important;
  }
}

/* ---- PLATFORMS SECTION ---- */
#homepagePlatforms {
  background: #085239 !important;
}
#homepagePlatforms .homepage-section__heading {
  margin-bottom: 24px !important;
}
.platforms-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
.platforms-grid .freeTrialSteps {
  width: auto !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--card-padding, 24px);
}
.platforms-grid .freeTrialSteps h3 {
  color: #ff7315 !important;
}
.platforms-grid .freeTrialSteps p {
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 12px !important;
}
a.freeTrialSteps--link {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.freeTrialSteps--link:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
.platforms-grid .freeTrialSteps span {
  color: rgba(255, 255, 255, 0.75) !important;
}
.platforms-grid .freeTrialSteps img {
  display: block;
  height: 68px;
  width: 68px;
  margin-bottom: 8px;
}
@media (max-width: 759px) {
  .platforms-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ---- HOW IT WORKS: 3-step layout ---- */
.freeTrialStepContainer {
  display: none;
}
.freeTrialStepContainer.active {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
.freeTrialStepContainer .freeTrialSteps {
  width: auto !important;
  flex-shrink: 1 !important;
}
@media (max-width: 759px) {
  .freeTrialStepContainer.active {
    grid-template-columns: 1fr !important;
  }
}

.freeTrialSignup {
  display: none;
}
.freeTrialSignup.active {
  display: block;
}

/* ---- WHY RETAILERS CHOOSE JLI ---- */
#homepageWhyJLI {
  background: #1a3d32 !important;
}
#homepageWhyJLI .singleFeature {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#homepageWhyJLI .singleFeature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
#homepageWhyJLI .singleFeature h3 {
  color: #fffaf0 !important;
}
#homepageWhyJLI .singleFeature p {
  color: rgba(255, 255, 255, 0.7) !important;
}
.why-jli-card__icon {
  font-size: 1.8rem;
  line-height: 1;
}

/* ---- RATINGS HEADING: overall score ---- */
.ratings-heading__overall {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ratings-heading__score {
  font-family: 'Neue', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- FOOTER CTA CONTACT DETAILS ---- */
.footer-cta-contact {
  margin-top: 20px;
}
.footer-cta-contact p {
  font-family: 'Neue', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}
.footer-cta-contact strong {
  color: #fffaf0;
}
.footer-cta-response {
  color: #ff7315 !important;
  font-weight: 700;
  margin-top: 8px !important;
}

/* ---- QUALIFIER BUTTONS: equal sizing on mobile ---- */
@media (max-width: 759px) {
  .new-homepage-hero__content__qualifiers .qualifier-choice {
    width: auto !important;
    margin-bottom: 0 !important;
  }
}

/* ---- CASE STUDIES: Coming Soon button ---- */
.button--coming-soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ---- TYPEFORM MODAL ---- */
.typeform-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
}
.typeform-modal-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
}
.typeform-modal-wrapper {
  position: relative;
  width: 90vw;
  max-width: 720px;
  height: 94vh;
  max-height: 940px;
  transform: translateY(30px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.typeform-modal-overlay.active .typeform-modal-wrapper {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.typeform-modal {
  background: #141212;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.typeform-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.typeform-modal__close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.typeform-modal__body {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
}
.typeform-modal__body > div,
.typeform-modal__body iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 759px) {
  .typeform-modal-wrapper {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
  }
  .typeform-modal {
    border-radius: 0;
  }
  .typeform-modal__close {
    top: 16px;
    right: 16px;
  }
}

/* ---- HERO SIGNUP: standalone button style ---- */
.new-homepage-hero__signup .button {
  border-radius: 52px;
  height: 52px;
  padding: 0 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* ---- FOOTER CTA: standalone button style ---- */
.homepage-bottom-signup__right .button {
  border-radius: 52px;
  height: 60px;
  padding: 0 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 759px) {
  .homepage-bottom-signup__right .button {
    width: 100%;
  }
}

/* ---- REVIEWS: Expensify-style layout ---- */
.scrollable-reviews .single-review {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 280px !important;
}

/* Review h4: Add quotation marks and styling */
.scrollable-reviews .single-review h4 {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #fff !important;
  margin: 16px 0 12px !important;
  position: relative;
}

.scrollable-reviews .single-review h4::before {
  content: '"' !important;
  font-size: 1.4em !important;
  line-height: 0 !important;
  vertical-align: -0.1em !important;
}

.scrollable-reviews .single-review h4::after {
  content: '"' !important;
  font-size: 1.4em !important;
  line-height: 0 !important;
  vertical-align: -0.1em !important;
}

/* Review body text */
.scrollable-reviews .single-review p {
  flex-grow: 1 !important;
  margin-bottom: 20px !important;
}

/* Reviewer info at bottom */
.scrollable-reviews .single-review .reviewer {
  margin-top: auto !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ---- DESKTOP: Hide overflow to show only complete cards ---- */
@media (min-width: 760px) {
  .casestudies-section,
  .reviews-section {
    position: relative !important;
  }
  /* Wrappers contain the overflow */
  .scrollable-casestudies-wrapper,
  .scrollable-reviews-wrapper {
    overflow: hidden !important;
    width: 100% !important;
  }
  /* Make scrollable containers use flex */
  .scrollable-casestudies,
  .scrollable-reviews {
    display: flex !important;
    gap: 20px !important;
    overflow: visible !important;
  }
  /* Set card width as exact calculation - 3 cards with 2 gaps of 20px */
  .casestudies-section .single-casestudy,
  .scrollable-reviews .single-review {
    width: calc((100% - 40px) / 3) !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    box-sizing: border-box !important;
  }
}

/* ---- MOBILE: Swipable scrolling for case studies and reviews ---- */
@media (max-width: 759px) {
  /* Case Studies - Enable horizontal scrolling on mobile */
  #homepageCasestudies {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #homepageCasestudies .content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
  }
  .homepage .casestudies-section {
    padding: 0 !important;
  }
  .casestudies-section {
    overflow: hidden !important;
  }
  .casestudies-section .scrollable-casestudies {
    display: flex !important;
    gap: 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    transition: none !important;
    transform: none !important;
    padding: 0 20px !important;
  }
  .casestudies-section .scrollable-casestudies::-webkit-scrollbar {
    display: none !important;
  }
  .casestudies-section .single-casestudy {
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    flex-shrink: 0 !important;
    width: calc(100vw - 40px) !important;
    box-sizing: border-box !important;
  }
  /* Hide scroll arrows on mobile for case studies */
  .casestudies-section .casestudy-scroll-arrow {
    display: none !important;
  }

  /* Reviews - Enable horizontal scrolling on mobile */
  #homepageRatings {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #homepageRatings .content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
  }
  .homepage .reviews-section {
    padding: 0 !important;
  }
  .reviews-section {
    overflow: hidden !important;
  }
  .scrollable-reviews-wrapper {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .scrollable-reviews-wrapper::-webkit-scrollbar {
    display: none !important;
  }
  .scrollable-reviews {
    display: flex !important;
    gap: 20px !important;
    transform: none !important;
    padding: 0 20px !important;
  }
  .scrollable-reviews::after {
    content: '' !important;
    flex: 0 0 calc(50vw - 20px) !important;
  }
  .scrollable-reviews .single-review {
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    flex-shrink: 0 !important;
    width: calc(100vw - 40px) !important;
    box-sizing: border-box !important;
  }
  /* Hide scroll arrows on mobile for reviews */
  .reviews-section .scroll-arrow {
    display: none !important;
  }
}

/* ---- PRIVACY BANNER (GDPR Consent) ---- */
.ketch-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUpBanner 0.4s ease-out;
}

@keyframes slideUpBanner {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ketch-banner__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ketch-banner__content {
  flex: 1;
}

.ketch-banner__text {
  font-family: 'Neue', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.ketch-banner__link {
  color: #03D47C;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.ketch-banner__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ketch-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ketch-banner__button {
  font-family: 'Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ketch-banner__button--primary {
  background: #03D47C;
  color: #000;
}

.ketch-banner__button--primary:hover {
  background: #02b869;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(3, 212, 124, 0.3);
}

.ketch-banner__button--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ketch-banner__button--secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 759px) {
  .ketch-banner__container {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 16px;
  }

  .ketch-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .ketch-banner__button {
    width: 100%;
    justify-content: center;
  }

  .ketch-banner__text {
    font-size: 13px;
    text-align: center;
  }
}
