/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal--left {
  transform: translateX(-28px) scale(0.98);
}

.reveal--left.reveal--visible {
  transform: translateX(0) scale(1);
}

.reveal--right {
  transform: translateX(28px) scale(0.98);
}

.reveal--right.reveal--visible {
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Reviews carousel */
.reviews-carousel {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.reviews-carousel__viewport {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}

.reviews-carousel__track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-carousel__slide {
  flex: 0 0 100%;
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .reviews-carousel__slide {
    padding: 3rem 3.5rem;
  }
}

.reviews-carousel__quote {
  width: 2rem;
  height: 2rem;
  color: rgba(5, 183, 114, 0.3);
  margin-bottom: 1.5rem;
}

.reviews-carousel__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.reviews-carousel__stars svg {
  width: 1rem;
  height: 1rem;
  fill: #05b772;
  color: #05b772;
}

.reviews-carousel__text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #3f3f46;
  font-style: italic;
  margin: 0;
}

@media (min-width: 768px) {
  .reviews-carousel__text {
    font-size: 1.25rem;
  }
}

.reviews-carousel__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.reviews-carousel__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #05b772;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-carousel__name {
  font-weight: 600;
  color: #18181b;
}

.reviews-carousel__type {
  font-size: 0.875rem;
  color: #71717a;
}

.reviews-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid #e4e4e7;
  background: #fff;
  color: #3f3f46;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s, color 0.2s;
}

.reviews-carousel__btn:hover {
  border-color: rgba(5, 183, 114, 0.3);
  color: #05b772;
}

.reviews-carousel__btn--prev {
  left: -0.75rem;
}

.reviews-carousel__btn--next {
  right: -0.75rem;
}

@media (min-width: 768px) {
  .reviews-carousel__btn--prev {
    left: -1.25rem;
  }

  .reviews-carousel__btn--next {
    right: -1.25rem;
  }
}

.reviews-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.reviews-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  border: none;
  padding: 0;
  background: #d4d4d8;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.reviews-carousel__dot.is-active {
  width: 2rem;
  background: #05b772;
}

/* FAQ */
.faq-list {
  border: 1px solid #e4e4e7;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.faq-item {
  border-bottom: 1px solid #e4e4e7;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: #18181b;
  cursor: pointer;
}

.faq-item__question:hover {
  background: #fafafa;
}

.faq-item__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #05b772;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.faq-item--open .faq-item__icon {
  background: #05b772;
  color: #fff;
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item--open .faq-item__answer {
  max-height: 20rem;
}

.faq-item__answer p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: #52525b;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Social tiles */
.social-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.social-tile:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(5, 183, 114, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.social-tile__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.social-tile__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-tile__name {
  font-weight: 700;
  color: #18181b;
}

.social-tile__handle {
  font-size: 0.875rem;
  color: #71717a;
}

/* Floating actions */
.floating-actions__stack,
.floating-actions__whatsapp {
  position: fixed;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-actions.is-visible .floating-actions__stack,
.floating-actions.is-visible .floating-actions__whatsapp {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-actions__stack {
  right: 1rem;
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.floating-actions__call,
.floating-actions__book {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-actions__call {
  background: #fff;
  color: #18181b;
  border: 1px solid rgba(228, 228, 231, 0.9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.floating-actions__call:hover,
.floating-actions__book:hover {
  transform: translateY(-2px);
}

.floating-actions__call-icon,
.floating-actions__book-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-actions__call-icon {
  background: rgba(5, 183, 114, 0.1);
  color: #05b772;
}

.floating-actions__call-label,
.floating-actions__book-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.floating-actions__book {
  background: #05b772;
  color: #fff;
  border: 1px solid rgba(5, 183, 114, 0.9);
  box-shadow: 0 8px 28px rgba(5, 183, 114, 0.35);
}

.floating-actions__book:hover {
  background: #049e65;
}

.floating-actions__book-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.floating-actions__whatsapp {
  right: 1rem;
  bottom: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.floating-actions__whatsapp:hover {
  background: #1fb855;
  transform: scale(1.05);
}

.floating-actions__whatsapp svg {
  width: 1.75rem;
  height: 1.75rem;
}

@media (max-width: 767px) {
  .floating-actions__stack {
    right: 0.75rem;
    bottom: 5.25rem;
    gap: 0.55rem;
  }

  .floating-actions__call,
  .floating-actions__book {
    padding: 0.35rem;
    gap: 0;
    border-radius: 9999px;
  }

  .floating-actions__call-label,
  .floating-actions__book-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .floating-actions__call-icon,
  .floating-actions__book-icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .floating-actions__whatsapp {
    right: 0.75rem;
    bottom: 1.15rem;
    width: 3.15rem;
    height: 3.15rem;
  }
}

@media (min-width: 768px) {
  .floating-actions__stack {
    right: 0;
    bottom: auto;
    top: 50%;
    transform: translateY(calc(-50% + 1rem));
    gap: 0.75rem;
  }

  .floating-actions.is-visible .floating-actions__stack {
    transform: translateY(-50%);
  }

  .floating-actions__call,
  .floating-actions__book {
    flex-direction: column;
    padding: 1.25rem 0.75rem;
    gap: 0.75rem;
    border-radius: 1rem 0 0 1rem;
    border-right: none;
  }

  .floating-actions__call-label,
  .floating-actions__book-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .floating-actions__whatsapp {
    right: 1.5rem;
    bottom: 2rem;
  }
}
