/* Clientes page */

.frogmi-clientes-page-wrap {
  --clientes-shadow: 0 12px 30px rgba(33, 68, 99, 0.1);
}

.frogmi-clientes-page__page-bg {
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  min-height: 100%;
}

.frogmi-clientes-page {
  padding: 72px 0 0;
}

.frogmi-clientes-page__header {
  margin-bottom: 60px;
}

.frogmi-clientes-page__header-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 90px;
  align-items: center;
}

.frogmi-clientes-page__title {
  margin: 0;
  max-width: 570px;
  font-size: 43px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--title);
  text-transform: none;
}

.frogmi-clientes-page__title-line {
  display: block;
}

.frogmi-clientes-page__title-line--accent {
  color: var(--green);
}

.frogmi-clientes-page__intro {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.55;
  max-width: 550px;
}

.frogmi-clientes-page__eyebrow {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: #000;
  letter-spacing: 0.04em;
}

.frogmi-clientes-page__logos {
  padding: 20px 0 0;
}

.frogmi-clientes-page .frogmi-logos {
  padding: 0 0 32px;
  background: transparent;
}

.frogmi-clientes-page__testimonials {
  padding: 72px 0 0;
}

.frogmi-clientes-page__section-title {
  margin: 0 auto 55px;
  max-width: 860px;
  font-size: 33px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--title);
  text-align: center;
}

.frogmi-clientes-page__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.frogmi-clientes-page__testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--clientes-shadow);
  padding: 28px 30px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.frogmi-clientes-page__testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(33, 68, 99, 0.14);
}

.frogmi-clientes-page__testimonial-logo {
  display: block;
  width: auto;
  max-width: 140px;
  max-height: 48px;
  object-fit: contain;
  margin-bottom: 22px;
}

.frogmi-clientes-page__testimonial-logo--lg {
  max-width: 168px;
  max-height: 58px;
}

.frogmi-clientes-page__testimonial-logo--sm {
  max-width: 118px;
  max-height: 38px;
}

.frogmi-clientes-page__testimonial-quote {
  margin: 0;
}

.frogmi-clientes-page__testimonial-quote p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.55;
}

.frogmi-clientes-page__testimonial-author {
  margin-top: 18px;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.frogmi-clientes-page__testimonial-author strong {
  display: block;
  color: var(--title);
  font-weight: 700;
  margin-bottom: 2px;
}

.frogmi-clientes-page__testimonial-author span {
  display: block;
  font-size: 12px;
}

.frogmi-clientes-page__implementation {
  padding: 72px 0 0;
}

.frogmi-clientes-page__implementation-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: start;
}

.frogmi-clientes-page__implementation-copy {
  padding-top: 0;
}

.frogmi-clientes-page__implementation-title {
  margin: 0 0 14px;
  font-size: 33px;
  line-height: 1.08;
  font-weight: 700;
  color: var(--title);
}

.frogmi-clientes-page__implementation-intro {
  margin: 0 0 28px;
  color: #555;
  font-size: 16px;
  line-height: 1.55;
  max-width: 520px;
}

.frogmi-clientes-page__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.frogmi-clientes-page__step {
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 14px;
  align-items: start;
}

.frogmi-clientes-page__step-number {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: linear-gradient(180deg, #51ba5c 0%, #0054a3 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.frogmi-clientes-page__step-copy h3 {
  margin: 2px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--title);
}

.frogmi-clientes-page__step-copy p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.55;
}

.frogmi-clientes-page__implementation-cta {
  margin-top: 28px;
}

@media (max-width: 768px) {
  .frogmi-clientes-page__implementation-cta {
    width: 100%;
  }
}

.frogmi-clientes-page__implementation-media {
  position: relative;
  margin-left: 40px;
}

.frogmi-clientes-page__implementation-media img {
  display: block;
  width: 90%;
  height: auto;
  border-radius: 20px;
}

.frogmi-clientes-page__journey-cards {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: grid;
  gap: 0;
  width: min(240px, 42%);
  z-index: 2;
}

.frogmi-clientes-page__journey-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 50px;
  box-shadow: var(--clientes-shadow);
  margin-bottom: 5px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--title);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.frogmi-clientes-page__journey-card-icon {
  flex: 0 0 40px;
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
}

.frogmi-clientes-page__journey-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(33, 68, 99, 0.14);
}

.frogmi-clientes-page__blog {
  padding-top: 100px;
}

.frogmi-clientes-page__blog .frogmi-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.frogmi-clientes-page__blog .frogmi-blog__excerpt {
  display: -webkit-box;
}

.frogmi-clientes-page__blog .frogmi-blog__tag,
.frogmi-clientes-page__blog a.frogmi-blog__tag {
  color: var(--green);
}

.frogmi-clientes-page__blog a.frogmi-blog__tag:hover {
  color: var(--green-dark);
}

.frogmi-clientes-page__blog-shell {
  position: relative;
}

.frogmi-clientes-page__blog-shell.is-carousel {
  padding: 0 52px;
}

.frogmi-clientes-page__blog-viewport {
  overflow: hidden;
}

.frogmi-clientes-page__blog-track--carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.frogmi-clientes-page__blog-track--carousel::-webkit-scrollbar {
  display: none;
}

.frogmi-clientes-page__blog-track--carousel .frogmi-blog__card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 280px;
}

.frogmi-clientes-page__blog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  box-shadow: var(--clientes-shadow);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.frogmi-clientes-page__blog-nav--prev {
  left: 0;
}

.frogmi-clientes-page__blog-nav--next {
  right: 0;
}

.frogmi-clientes-page__blog-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.frogmi-clientes-page__blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 0 52px;
}

.frogmi-clientes-page__blog-pagination-line {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #c9d3dd;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.frogmi-clientes-page__blog-pagination-line:hover {
  background: #aeb8c2;
}

.frogmi-clientes-page__blog-pagination-line.is-active {
  width: 22px;
  background: var(--green, #51ba5c);
}

.frogmi-clientes-page__contact {
  padding-top: 8px;
}

.frogmi-clientes-page__contact .frogmi-contact {
  padding-bottom: 56px;
}

.frogmi-clientes-page__contact .frogmi-contact .container {
  width: var(--container);
}

@media (max-width: 1100px) {
  .frogmi-clientes-page__testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .frogmi-clientes-page__implementation-grid {
    grid-template-columns: 1fr;
  }

  .frogmi-clientes-page__journey-cards {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 16px;
  }

  .frogmi-clientes-page__blog-track--carousel .frogmi-blog__card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .frogmi-clientes-page__header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* En mobile la imagen ya incluye las etapas de implementación */
  .frogmi-clientes-page__journey-cards {
    display: none;
  }

  .frogmi-clientes-page__implementation-media {
    margin-left: 0;
  }

  .frogmi-clientes-page__implementation-media img {
    width: 100%;
  }

  .frogmi-clientes-page__title {
    font-size: 36px;
  }

  .frogmi-clientes-page__section-title,
  .frogmi-clientes-page__implementation-title {
    font-size: 28px;
  }

  .frogmi-clientes-page__blog-shell.is-carousel {
    padding: 0;
  }

  .frogmi-clientes-page__blog-pagination {
    padding: 0;
    margin-top: 24px;
  }

  .frogmi-clientes-page__blog-nav {
    display: none;
  }

  .frogmi-clientes-page__blog-track--carousel .frogmi-blog__card {
    flex-basis: 88%;
  }
}
