/* ============================================
   HOMEPAGE STYLES - MAIN CONTAINER
   ============================================ */

.case-studies-section {
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================================
   HOMEPAGE STYLES - HERO SECTION
   ============================================ */

.hero-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 9.6rem;
  width: 100%;
  min-height: 100vh;
  position: relative;
  margin-top: -9.4rem;
  background-image: linear-gradient(180deg, rgba(10, 8, 13, 0.5) 0%, rgba(10, 8, 13, 0.5) 100%), url('../assets/paweldotio-ZyP4Apa8tvI-unsplash.jpg');
  background-blend-mode: multiply, normal;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Custom background image from ACF - uses CSS variable */
.hero-section[style*="--hero-bg-image"] {
  background-image: linear-gradient(180deg, rgba(10, 8, 13, 0.5) 0%, rgba(10, 8, 13, 0.5) 100%), var(--hero-bg-image);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.4rem;
  width: 80%;
}

.hero-title-span {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 600; /* SemiBold */
  font-size: 6.9rem;
  line-height: 105%;
  text-align: center;
  letter-spacing: 0.185em;
  color: var(--neutral-100);
  margin: 0;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

.hero-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 0.8rem;
  width: 100%;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

.hero-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 6.9rem;
  line-height: 105%;
  text-align: center;
  letter-spacing: -0.01em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-100);
  margin: 0;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

.hero-description {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2.3rem;
  line-height: 140%;
  text-align: center;
  font-feature-settings: 'kern' off;
  color: var(--neutral-100);
  margin: 0;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 0.8rem;
  width: 100%;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

/* ============================================
   HERO SECTION - MOBILE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .hero-section {
    padding: 0;
    gap: 3.2rem;
    min-height: 75.5rem;
    background-image: linear-gradient(180deg, rgba(10, 8, 13, 0.4) 0%, rgba(10, 8, 13, 0.4) 100%), url('../assets/paweldotio-ZyP4Apa8tvI-unsplash.jpg');
  }

  /* Custom background image from ACF - mobile version */
  .hero-section[style*="--hero-bg-image"] {
    background-image: linear-gradient(180deg, rgba(10, 8, 13, 0.4) 0%, rgba(10, 8, 13, 0.4) 100%), var(--hero-bg-image);
  }


  .hero-content {
    gap: 4.4rem;
    width: 100%;
  }

  .hero-title-span {
    font-size: 3.6rem;
    line-height: 105%;
    letter-spacing: 0.185em;
    width: 100%;
    height: auto;
  }

  .hero-text-wrapper {
    gap: 2.4rem;
    width: 100%;
  }

  .hero-title {
    font-size: 3.6rem;
    line-height: 105%;
    letter-spacing: -0.023em;
    width: 100%;
    height: auto;
  }

  .hero-description {
    font-size: 2rem;
    line-height: 135%;
    width: 100%;
    height: auto;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }
}

/* ============================================
   HOMEPAGE STYLES - INTRO SECTION
   ============================================ */

.intro-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14.4rem 0;
  gap: 8rem;
  width: 100%;
  background-color: var(--neutral-100);
  flex: none;
  order: 3;
  flex-grow: 0;
}

.intro-container {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8rem;
}

.intro-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 3.2rem;
  width: 100%;
  max-width: 120rem;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.intro-section-tag {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 0.4rem;
  width: auto;
  height: auto;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.intro-section-tag-text {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 600; /* SemiBold */
  font-size: 2.3rem;
  line-height: 110%;
  letter-spacing: 0.185em;
  text-transform: uppercase;
  color: var(--main-500);
  margin: 0;
  /* CLS fix: reserve space for one line during font load */
  min-height: 1.1em;
}

.intro-heading-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 1.6rem;
  width: 100%;
  max-width: 120rem;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

.intro-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 4.4rem;
  line-height: 116%;
  text-align: center;
  letter-spacing: -0.015em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-900);
  margin: 0;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
  /* CLS fix: reserve space for one line during font load */
  min-height: 1.16em;
}

.intro-description {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2.3rem;
  line-height: 140%;
  text-align: center;
  font-feature-settings: 'kern' off;
  color: var(--neutral-700);
  margin: 0;
  width: 100%;
  max-width: 107.2rem;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.intro-content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 4.8rem;
  width: 100%;
  max-width: 144rem;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.intro-cards {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 4.8rem;
  width: 55.2%;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.intro-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 1.6rem;
  width: 100%;
  border-radius: 1.2rem;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

.intro-card-header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  gap: 1.6rem;
  width: auto;
  height: auto;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.intro-card-icon {
  width: 4.8rem;
  height: 4.8rem;
  flex: none;
  order: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-card-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 3.5rem;
  line-height: 115%;
  letter-spacing: -0.005em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-800);
  margin: 0;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.intro-card-text {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2rem;
  line-height: 160%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-600);
  margin: 0;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

.intro-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 2.4rem;
  width: 41.5%;
  border-radius: 1.2rem;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

.intro-image {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  object-fit: cover;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 1;
  /* CLS fix: prevent layout shift - block removes inline gap, width/height attrs reserve space */
  display: block;
}

/* ============================================
   INTRO SECTION - MOBILE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .intro-section {
    padding: 8rem 1.6rem;
    gap: 9.6rem;
  }

  .intro-container {
    gap: 5.6rem;
    padding: 0;
  }

  .intro-heading {
    gap: 3.2rem;
    width: 100%;
  }

  .intro-section-tag-text {
    font-size: 2rem;
    line-height: 120%;
    min-height: 1.2em;
  }

  .intro-heading-content {
    gap: 1.6rem;
    width: 100%;
  }

  .intro-title {
    font-size: 3.4rem;
    line-height: 115%;
    letter-spacing: -0.023em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    min-height: 1.15em;
  }

  .intro-description {
    font-size: 2rem;
    line-height: 135%;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .intro-content-wrapper {
    flex-direction: column;
    gap: 2.4rem;
  }

  .intro-cards {
    gap: 2.4rem;
    width: 100%;
    order: 1;
  }

  .intro-card {
    gap: 1.6rem;
  }

  .intro-card-header {
    gap: 1.6rem;
    flex-wrap: wrap;
    width: 100%;
  }

  .intro-card-title {
    font-size: 2.4rem;
    line-height: 120%;
    letter-spacing: -0.0125em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }

  .intro-card-text {
    font-size: 1.6rem;
    line-height: 150%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }

  .intro-image-wrapper {
    order: 0;
    width: 100%;
  }

  .intro-image {
    width: 100%;
    height: auto;
  }
}

/* ============================================
   HOMEPAGE STYLES - OFFER SECTION
   ============================================ */

.offer-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14.4rem 0;
  gap: 4.8rem;
  width: 100%;
  background: var(--neutral-150);
}

.offer-container {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8rem;
}

.offer-heading {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding: 0;
  gap: 3.2rem;
  width: 100%;
}

.offer-heading-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 2.4rem;
  width: 107.1rem;
}

.offer-section-tag {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 0.4rem;
  width: auto;
  height: auto;
}

.offer-section-tag-text {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 600; /* SemiBold */
  font-size: 2.3rem;
  line-height: 110%;
  letter-spacing: 0.185em;
  text-transform: uppercase;
  color: var(--main-500);
  margin: 0;
}

.offer-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 4.4rem;
  line-height: 116%;
  letter-spacing: -0.015em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-800);
  margin: 0;
  width: 100%;
}

.offer-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.2rem;
  width: 100%;
}

.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2.4rem;
  gap: 0.8rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply, normal;
  border-radius: 0.8rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  min-height: 32rem;
  max-height: 32rem;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}


.offer-card:hover {
  transform: translateY(-0.4rem);
}

.offer-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 0.8rem;
  width: 100%;
}

.offer-card-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 4.4rem;
  line-height: 108%;
  letter-spacing: -0.01em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-100);
  margin: 0;
}

.offer-card-text {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2rem;
  line-height: 160%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-100);
  margin: 0;
}

/* ============================================
   OFFER SECTION - MOBILE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .offer-section {
    padding: 8rem 1.6rem;
    gap: 3.2rem;
  }

  .offer-container {
    gap: 4.4rem;
    padding: 0;
  }

  .offer-heading {
    flex-direction: column;
    gap: 2.4rem;
  }

  .offer-heading-content {
    width: 100%;
    gap: 0.4rem;
  }

  .offer-section-tag-text {
    font-size: 2rem;
    line-height: 120%;
  }

  .offer-title {
    font-size: 3.4rem;
    line-height: 115%;
    letter-spacing: -0.023em;
    width: 100%;
  }

  .offer-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .offer-card {
    width: 100%;
    min-height: unset;
    max-height: 21rem;
    padding: 8rem 1.6rem 1.6rem;
  }

  .offer-card-title {
    font-size: 2.8rem;
    line-height: 110%;
    letter-spacing: -0.0175em;
  }

  .offer-card-text {
    font-size: 1.8rem;
    line-height: 140%;
  }
}

/* ============================================
   INTRO & OFFER - TABLET ONLY (767px–1024px)
   ============================================ */

@media (min-width: 767px) and (max-width: 1024px) {
  .intro-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-position: top;
  }

  .offer-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .offer-cards-grid .offer-card {
    max-width: none;
    width: 100%;
  }
}

/* ============================================
   HOMEPAGE STYLES - CASE STUDIES SECTION
   ============================================ */

.case-studies-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14.4rem 0 9.6rem;
  gap: 9.6rem;
  width: 100%;
  background: var(--neutral-100);
}

.case-studies-container {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8rem;
}

.case-studies-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 3.2rem;
  width: 100%;
}

.case-studies-section-tag {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 0.4rem;
  width: auto;
  height: auto;
}

.case-studies-section-tag-text {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 600; /* SemiBold */
  font-size: 2.3rem;
  line-height: 110%;
  letter-spacing: 0.185em;
  text-transform: uppercase;
  color: var(--main-500);
  margin: 0;
}

.case-studies-heading-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 1.6rem;
  width: 100%;
  max-width: 120rem;
}

.case-studies-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 4.4rem;
  line-height: 116%;
  text-align: center;
  letter-spacing: -0.015em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-900);
  margin: 0;
  width: 100%;
}

.case-studies-description {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2.3rem;
  line-height: 140%;
  text-align: center;
  font-feature-settings: 'kern' off;
  color: var(--neutral-700);
  margin: 0;
  width: 100%;
  max-width: 96rem;
}

.testimonials-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 3.2rem;
  width: 100%;
  position: relative;
}

.testimonials-carousel-container {
  width: 100%;
  overflow: visible; /* Show peek effect on desktop */
  position: relative;
  padding: 0;
}

.testimonials-carousel {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  gap: 2.4rem;
  width: max-content; /* Allow carousel to be wider than container */
  min-width: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Desktop: Show peek effect by centering first 3 cards */
@media (min-width: 1025px) {
  .testimonials-carousel-container {
    padding: 0 2.4rem; /* Space for peek on sides */
    overflow: visible; /* Allow cards to peek outside */
  }
  
  .testimonials-wrapper {
    overflow: visible; /* Allow peek effect */
  }
  
  .testimonials-carousel {
    margin-left: calc((100% - (44.4rem * 3 + 2.4rem * 2)) / 2 - 2.4rem);
  }
}

.testimonial-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.4rem;
  gap: 3.2rem;
  width: 44.4rem;
  min-width: 44.4rem;
  background: var(--neutral-150);
  border: 1px solid var(--neutral-200);
  border-radius: 0.8rem;
  flex-shrink: 0;
}

.testimonial-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  width: auto;
  height: 5.6rem;
}

.testimonial-logo img {
  max-width: 100%;
  max-height: 5.6rem;
  object-fit: contain;
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 0;
  width: 100%;
}

.testimonial-text {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2.3rem;
  line-height: 140%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-700);
  margin: 0;
  width: 100%;
}

.testimonial-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 1.6rem;
  width: auto;
  height: 8rem;
}

.testimonial-author-image {
  width: 8rem;
  height: 8rem;
  border-radius: 8rem;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: auto;
  height: 6.4rem;
}

.testimonial-author-name {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2.3rem;
  line-height: 140%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-800);
  margin: 0;
}

.testimonial-author-position {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2rem;
  line-height: 160%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-600);
  margin: 0;
}

.testimonials-navigation {
  display: none; /* Hidden on desktop */
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 0.8rem;
  width: auto;
}

.testimonials-nav-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 0.8rem;
  gap: 0.8rem;
  width: 5.6rem;
  height: 4rem;
  border: 1px solid var(--neutral-900);
  border-radius: 1.2rem;
  background: transparent;
  cursor: pointer;
  color: var(--neutral-900);
}

.testimonials-nav-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  border-color: var(--neutral-500);
  color: var(--neutral-500);
}

.testimonials-nav-btn:disabled .testimonials-nav-arrow {
  opacity: 0.55;
  filter: grayscale(0.85);
}

.testimonials-nav-arrow {
  width: 2.5rem;
  display: block;
}

.testimonials-nav-arrow-prev {
  transform: rotate(180deg);
}

.trusted-logos-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 3.2rem;
  width: 100%;
}

.trusted-logos-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 3.5rem;
  line-height: 115%;
  letter-spacing: -0.005em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-800);
  margin: 0;
}

.trusted-logos-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  gap: 3.2rem 4.8rem;
  width: 100%;
  overflow: visible;
}

.trusted-logos-carousel {
  display: contents; /* On desktop, act as if carousel doesn't exist */
}

.trusted-logo-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  width: auto;
  height: 5.6rem;
  mix-blend-mode: luminosity;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.trusted-logo-item:hover {
  opacity: 1;
}

.trusted-logo-item img {
  max-width: 100%;
  max-height: 5.6rem;
  object-fit: contain;
}

/* ============================================
   CASE STUDIES SECTION - MOBILE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .case-studies-section {
    padding: 9.6rem 1.6rem 7.2rem;
    gap: 9.6rem;
  }

  .case-studies-container {
    gap: 5.6rem;
    padding: 0;
  }

  .case-studies-heading {
    gap: 3.2rem;
  }

  .case-studies-section-tag-text {
    font-size: 2rem;
    line-height: 120%;
  }

  .case-studies-heading-content {
    gap: 1.6rem;
  }

  .case-studies-title {
    font-size: 3.4rem;
    line-height: 115%;
    letter-spacing: -0.023em;
  }

  .case-studies-description {
    font-size: 2rem;
    line-height: 135%;
  }

  .testimonials-wrapper {
    gap: 4.4rem;
  }

  .testimonials-carousel-container {
    overflow: visible; /* Allow peek effect on mobile */
    padding: 0 1.6rem; /* Padding for peek on sides */
  }
  
  .testimonials-wrapper {
    overflow: visible; /* Allow peek effect on mobile */
  }

  .testimonials-carousel {
    flex-direction: row;
    gap: 1.6rem;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    touch-action: pan-y pinch-zoom;
  }

  .testimonial-card {
    width: 100%;
    max-width: 32.8rem;
    min-width: 32.8rem;
    padding: 2.4rem;
    gap: 2.4rem;
    justify-content: flex-start;
    align-self: flex-start;
  }

  .testimonial-body {
    align-items: center;
    gap: 0.8rem;
  }

  .testimonial-card:not(.testimonial-card--text-expanded) .testimonial-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
  }

  .testimonial-card--text-expanded .testimonial-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .testimonial-text-toggle {
    font-family: var(--font-family-gibson), sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 140%;
    color: var(--main-500);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }

  .testimonial-text-toggle:hover {
    color: var(--main-600);
  }

  .testimonials-navigation {
    display: flex; /* Show on mobile */
  }

  .testimonial-logo {
    height: 4rem;
  }

  .testimonial-logo img {
    max-height: 4rem;
  }

  .testimonial-text {
    font-size: 1.8rem;
    line-height: 140%;
    text-align: center;
  }

  .testimonial-author {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    height: auto;
  }

  .testimonial-author-image {
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 6rem;
  }

  .testimonial-author-info {
    align-items: center;
    height: auto;
  }

  .testimonial-author-name {
    font-size: 2rem;
    line-height: 135%;
    text-align: center;
  }

  .testimonial-author-position {
    font-size: 1.8rem;
    line-height: 140%;
    text-align: center;
  }

  .testimonials-navigation {
    gap: 0.8rem;
  }

  .trusted-logos-wrapper {
    gap: 1.6rem;
  }

  .trusted-logos-title {
    font-size: 2.4rem;
    line-height: 120%;
    letter-spacing: -0.0125em;
    text-align: center;
    width: 100%;
  }

  .trusted-logos-wrapper {
    overflow: visible; /* Allow peek effect */
  }

  .trusted-logos-grid {
    overflow: visible; /* Allow peek effect */
    padding: 0 1.6rem; /* Padding for peek on sides */
    width: 100%;
  }

  .trusted-logos-carousel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2.4rem;
    width: max-content;
    transition: transform 0.3s ease;
    will-change: transform;
  }

  .trusted-logo-item {
    flex-shrink: 0;
  }

  .trusted-logo-item {
    height: 3.455rem;
  }

  .trusted-logo-item img {
    max-height: 3.455rem;
  }
}

/* ============================================
   HOMEPAGE STYLES - ABOUT SECTION
   ============================================ */

.about-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 2%;
  gap: 1rem;
  width: 100%;
  background: var(--neutral-100);
  padding-bottom: 8rem;
  padding-top: 14.4rem;
}

.about-container {
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8rem;
}

.about-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 3.2rem;
  width: 100%;
}

.about-section-tag {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 0.4rem;
  width: auto;
  height: auto;
}

.about-section-tag-text {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 600; /* SemiBold */
  font-size: 2.3rem;
  line-height: 110%;
  letter-spacing: 0.185em;
  text-transform: uppercase;
  color: var(--main-500);
  margin: 0;
}

.about-heading-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 1.6rem;
  width: 100%;
  max-width: 120rem;
}

.about-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 4.4rem;
  line-height: 116%;
  letter-spacing: -0.015em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-900);
  margin: 0;
  width: 100%;
}

.about-team {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  gap: 2.4rem;
  width: 100%;
}

.about-team-member {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
  gap: 1.6rem;
  width: auto;
  flex: 1;
}

.about-team-member:nth-child(3) {
  align-items: flex-start;
}

.about-team-image {
  width: 100%;
  height: 51.2rem;
  max-height: 51.2rem;
  border-radius: 0.8rem;
  overflow: hidden;
  flex-shrink: 0;
}

.about-team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about-team-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 0.8rem;
  width: 100%;
  height: 8rem;
}

.about-team-name {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 3.5rem;
  line-height: 115%;
  letter-spacing: -0.005em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-800);
  margin: 0;
}

.about-team-position {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2rem;
  line-height: 160%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-500);
  margin: 0;
  width: 100%;
}

.about-social-proof {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 9.6rem 0 14.4rem;
  width: 100%;
  background: var(--neutral-150);
}

.about-social-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0 2%;
  gap: 3.2rem;
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
}

.about-social-title {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 4.4rem;
  line-height: 108%;
  letter-spacing: -0.01em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-800);
  margin: 0;
  width: 82.7rem;
}

.about-social-description {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2.3rem;
  line-height: 140%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-700);
  margin: 0;
  width: 58.1rem;
  flex: 1;
}

.about-statistics {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 2%;
  gap: 0;
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  margin-top: 8rem;
}

.about-stat-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 1.6rem;
  max-width: 25%;
  height: 8rem;
  margin: 0 auto;
}

.about-stat-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  width: auto;
  height: 6.4rem;
  flex-shrink: 0;
}

.about-stat-icon img {
  width: 5rem;
  height: 6.4rem;
  object-fit: contain;
}

.about-stat-content {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding: 0;
  width: 100%;
  height: 8rem;
  flex-wrap: wrap;
  column-gap: 0.8rem;
}

.about-stat-number {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 4.4rem;
  line-height: 108%;
  letter-spacing: -0.01em;
  font-feature-settings: 'kern' off;
  color: var(--neutral-800);
  margin: 0;
  width: fit-content;
  height: 4.8rem;
}

.about-stat-text {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2rem;
  line-height: 160%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-600);
  margin: 0;
  width: fit-content;
  height: 3.2rem;
}

.about-stat-description {
  font-family: var(--font-family-gibson);
  font-style: normal;
  font-weight: 400; /* Regular */
  font-size: 2rem;
  line-height: 160%;
  font-feature-settings: 'kern' off;
  color: var(--neutral-600);
  display: block;
  width: 100%;
}

/* ============================================
   ABOUT SECTION - MOBILE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .about-section {
    padding: 8rem 1.6rem 0;
    gap: 1rem;
  }

  .about-container {
    gap: 5.6rem;
    padding: 0;
  }

  .about-heading {
    gap: 3.2rem;
  }

  .about-section-tag-text {
    font-size: 2rem;
    line-height: 120%;
  }

  .about-title {
    font-size: 3.4rem;
    line-height: 115%;
    letter-spacing: -0.023em;
  }

  .about-team {
    flex-direction: column;
    gap: 2.4rem;
  }

  .about-team-member {
    width: 100%;
    align-items: flex-end;
  }

  .about-team-member:nth-child(3) {
    align-items: flex-start;
  }

  .about-team-image {
    height: 40rem;
    max-height: 40rem;
  }

  .about-team-info {
    height: auto;
    gap: 0.8rem;
  }

  .about-team-name {
    font-size: 2.4rem;
    line-height: 120%;
    letter-spacing: -0.0125em;
  }

  .about-team-position {
    font-size: 1.8rem;
    line-height: 140%;
  }

  .about-social-proof {
    padding: 7.2rem 1.6rem 9.6rem;
  }

  .about-social-content {
    flex-direction: column;
    gap: 1.6rem;
    padding: 0 1.6rem;
  }

  .about-social-title {
    font-size: 2.8rem;
    line-height: 110%;
    letter-spacing: -0.0175em;
    width: 100%;
  }

  .about-social-description {
    font-size: 2rem;
    line-height: 135%;
    width: 100%;
  }

  .about-statistics {
    flex-direction: column;
    gap: 1.6rem;
    margin-top: 5.6rem;
    padding: 0 1.6rem;
  }

  .about-stat-item {
    width: 100%;
    justify-content: flex-start;
    height: auto;
    margin: 0;
  }

  .about-stat-icon {
    width: 4.8rem;
    height: 4.8rem;
  }

  .about-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .about-stat-content {
    height: auto;
    gap: 0;
  }

  .about-stat-number {
    font-size: 3.4rem;
    line-height: 115%;
    letter-spacing: -0.023em;
    height: auto;
  }

  .about-stat-text {
    font-size: 1.6rem;
    line-height: 150%;
    height: auto;
  }

  .about-stat-description {
    font-size: 1.6rem;
    line-height: 150%;
  }
}

/* ============================================
   ABOUT SECTION - TABLET (767px–1024px)
   ============================================ */

@media (min-width: 767px) and (max-width: 1024px) {
  .about-team {
    flex-direction: row;
    gap: 2.4rem;
  }

  .about-statistics {
    flex-direction: row;
    gap: 0.8rem;
    margin-top: 5.6rem;
    padding: 0 1.6rem;
  }

  .about-stat-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 1.6rem;
    max-width: 25%;
    height: 8rem;
    margin: 0 auto;
  }
}

/* ============================================
   HOMEPAGE STYLES - FAQ SECTION
   ============================================ */

.faq-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14.4rem 0;
    gap: 3.2rem;
    width: 100%;
    background: #F9F9F9;
}

.faq-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2%;
    gap: 8rem;
    width: 100%;
    max-width: 144rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.faq-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 1.6rem;
    width: 100%;
}

.faq-section-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.faq-section-tag-text {
    font-family: var(--font-family-gibson), sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 2.3rem;
    line-height: 110%;
    letter-spacing: 0.185em;
    text-transform: uppercase;
    color: #85244E;
}

.faq-title {
    font-family: var(--font-family-gibson), sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 116%;
    text-align: center;
    letter-spacing: -0.015em;
    font-feature-settings: 'kern' off;
    color: #040404;
    margin: 0;
    max-width: 120rem;
}

.faq-subtitle {
    font-family: var(--font-family-gibson), sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 2.3rem;
    line-height: 140%;
    text-align: center;
    font-feature-settings: 'kern' off;
    color: #3A393C;
    margin: 0;
    max-width: 1072px;
}

.single-oferta .faq-subtitle {
    width: 75%;
}

/* FAQ + CTA row */
.faq-content-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8rem;
    width: 100%;
}

.faq-accordion-wrapper {
    flex: 1;
    min-width: 0;
    width: 100%;
    z-index: 100;
}

.faq-cta-wrapper {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    width: 100%;
}

.faq-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0.8rem;
    width: 100%;
    border-bottom: 1px solid #D3D2D3;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 0;
    gap: 1.6rem;
    width: 100%;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.faq-item-header:hover {
    outline: none;
}

.faq-item-question {
    font-family: var(--font-family-gibson), sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 3rem;
    line-height: 115%;
    letter-spacing: -0.005em;
    font-feature-settings: 'kern' off;
    color: #212122;
    margin: 0;
    flex: 1;
}

.faq-item.expanded .faq-item-question {
    color: #85244E;
}

.faq-item-icon {
    height: 4.8rem;
    background: #FAFAFA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    margin-right: 1.6rem;
}

.faq-item-icon::before,
.faq-item-icon::after {
    content: '';
    position: absolute;
    background: #212122;
    transition: all 0.3s ease;
}

.faq-item-icon::before {
    width: 16px;
    height: 2px;
}

.faq-item-icon::after {
    width: 2px;
    height: 16px;
}

.faq-item.expanded .faq-item-icon::before,
.faq-item.expanded .faq-item-icon::after {
    background: #85244E;
}

.faq-item.expanded .faq-item-icon::after {
    opacity: 0;
}

.faq-item-content {
    display: none;
    padding: 0 0 1.6rem 0;
    overflow: hidden;
}

.faq-item.expanded .faq-item-content {
    display: block;
}

.faq-item-answer {
    font-family: var(--font-family-gibson), sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    line-height: 160%;
    font-feature-settings: 'kern' off;
    color: #4E4E51;
    margin: 0;
}

.faq-item-answer p {
    margin: 0 0 1rem 0;
}

.faq-item-answer p:last-child {
    margin-bottom: 0;
}

.faq-cta-wrapper .cta-container {
    padding: 0;
}

/* ============================================
   FAQ SECTION - MOBILE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .faq-section {
        padding: 9.6rem 1.6rem;
        gap: 3.2rem;
    }

    .faq-container {
        gap: 5.6rem;
        padding: 0;
    }

    .faq-content-row {
        flex-direction: column;
        gap: 5.6rem;
    }

    .faq-heading {
        gap: 0.8rem;
    }

    .faq-section-tag-text {
        font-size: 2rem;
        line-height: 120%;
        letter-spacing: 0.185em;
    }

    .faq-title {
        font-size: 3.4rem;
        line-height: 115%;
        letter-spacing: -0.023em;
    }

    .faq-subtitle {
        font-size: 1.8rem;
        line-height: 140%;
    }

    .single-oferta .faq-subtitle {
        width: 100%;
    }

    .faq-item-question {
        font-size: 2.4rem;
        line-height: 120%;
        letter-spacing: -0.0125em;
    }

    .faq-item-icon {
        height: 3.2rem;
    }

    .faq-item-icon::before {
        width: 12px;
    }

    .faq-item-icon::after {
        height: 12px;
    }

    .faq-item-header {
        justify-content: flex-end;
        padding: 1.2rem 0;
    }

    .faq-item-answer {
        font-size: 1.8rem;
        line-height: 140%;
    }

    .faq-cta-wrapper .cta-module {
        margin-top: 0;
    }
}

