/* ─── Apps realizadas ─── */
.apps-showcase {
  margin-bottom: 3.5rem;
}

.apps-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .apps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.app-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border: 1px solid #dce8e2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 61, 46, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.app-card:hover {
  border-color: var(--green-light);
  box-shadow: 0 10px 28px rgba(15, 61, 46, 0.1);
  transform: translateY(-2px);
}

.app-card__visual {
  flex: 0 0 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.65rem 0.85rem 0.85rem;
  background: transparent;
  position: relative;
}

.app-card__mockup-zone {
  position: relative;
  width: 100%;
  max-width: 168px;
  background: linear-gradient(145deg, var(--green-dark) 0%, #0a2920 100%);
  border-radius: 14px;
  padding: 0.85rem 0.65rem 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-card__mockup-zone::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.app-carousel {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 9 / 19.5;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  position: relative;
  z-index: 1;
  background: #061912;
}

.app-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.app-carousel__slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex-shrink: 0;
}

.app-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.55rem;
  position: relative;
  z-index: 1;
}

.app-carousel__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.25s, transform 0.25s;
}

.app-carousel__dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

.app-card__body {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem 0.95rem 0.35rem;
}

.app-card__tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  background: rgba(45, 138, 99, 0.1);
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
  margin-bottom: 0.4rem;
}

.app-card__body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.app-card__body p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.app-card__hint {
  font-size: 0.68rem;
  color: #6b8578;
  margin-top: 0.45rem;
  font-style: italic;
}

@media (max-width: 479px) {
  .app-card {
    flex-direction: column;
    align-items: stretch;
  }

  .app-card__visual {
    flex: none;
    padding: 0.75rem 0.75rem 0;
  }

  .app-card__mockup-zone {
    max-width: 140px;
    margin: 0 auto;
    padding: 0.7rem 0.55rem 0.45rem;
  }

  .app-carousel {
    max-width: 124px;
  }

  .app-card__body {
    padding: 0.75rem 1rem 0.9rem;
    text-align: center;
  }

  .app-card__hint {
    display: none;
  }
}

/* ─── Testimonios ─── */
.testimonials {
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.testimonial-card {
  background: #fff;
  border: 1px solid #dce8e2;
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 61, 46, 0.04);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.testimonial-card:hover {
  border-color: var(--green-light);
  box-shadow: 0 8px 24px rgba(15, 61, 46, 0.08);
}

.testimonial-card__quote {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex: 1;
}

.testimonial-card__quote::before {
  content: "\201C";
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 0;
  vertical-align: -0.25em;
  margin-right: 0.15rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e8eeeb;
}

.testimonial-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: #6b8578;
  line-height: 1.3;
}
