
/* ── Testimonial cards + carrusel ── */
.testimonials-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev viewport next"
    "dots dots dots";
  align-items: center;
  gap: var(--space-sm) var(--space-xs);
}

.testimonials-carousel__viewport {
  grid-area: viewport;
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.testimonials-grid,
.testimonials-carousel__track {
  display: flex;
  gap: var(--space-md);
  align-items: stretch;
  transition: transform 0.55s ease;
  will-change: transform;
}

.testimonials-carousel__nav {
  grid-area: prev;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--color-forest);
  background: var(--color-white);
  color: var(--color-forest);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.testimonials-carousel__nav--next {
  grid-area: next;
}

.testimonials-carousel__nav:hover:not(:disabled) {
  background: var(--color-forest);
  color: var(--color-white);
}

.testimonials-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.testimonials-carousel__dots {
  grid-area: dots;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding-bottom: 0.15rem;
}

.testimonials-carousel__dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(24, 56, 127, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-carousel__dot.is-active {
  background: var(--color-forest);
  transform: scale(1.15);
}

.testimonials-carousel.is-paused .testimonials-carousel__viewport {
  cursor: grab;
}

@media (max-width: 560px) {
  .testimonials-carousel__nav {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-terracotta);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  height: 100%;
  touch-action: pan-y;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-forest);
  /* Sin flex:1 — el hueco entre cita y nombre era excesivo */
  flex: 0 1 auto;
  margin: 0;
  line-height: 1.45;
  text-wrap: pretty;
}

.testimonial-card__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-terracotta);
  margin: 0;
  padding-top: 0;
}

.testimonial-card__location {
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Legacy benefit cards */
.benefit-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  overflow: hidden;
}

/* Legacy static cards (if reused elsewhere) */
.benefit-card:not(.benefit-card--accordion) {
  padding: var(--space-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:not(.benefit-card--accordion):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-card:not(.benefit-card--accordion) .benefit-card__icon {
  margin-bottom: var(--space-sm);
}

.benefit-card:not(.benefit-card--accordion) h3 {
  margin-bottom: var(--space-xs);
}

.benefit-card:not(.benefit-card--accordion) p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ── Process timeline ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
  align-items: stretch;
}

.process-step {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.process-step h3 {
  margin-bottom: var(--space-sm);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
}

.process-step p {
  font-size: var(--text-base);
  line-height: 1.7;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0;
}

.process-step__highlight {
  display: inline-block;
  margin-block-start: var(--space-md);
  margin-top: auto;
  padding-block: 0.45rem;
  padding-inline: 0.95rem;
  background: rgba(184, 92, 56, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-terracotta);
}

.section--dark .process-step p {
  color: rgba(251, 244, 234, 0.92);
}

.section--dark .process-step__highlight {
  background: rgba(201, 162, 39, 0.22);
  color: var(--color-gold);
}

a.process-step__highlight {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.section--dark a.process-step__highlight {
  color: var(--color-gold);
}

.section--dark a.process-step__highlight:hover,
.section--dark a.process-step__highlight:focus-visible {
  color: var(--color-gold);
  text-decoration: none;
}

.section--dark .process-intro {
  font-size: var(--text-lg);
  line-height: 1.65;
  font-weight: 500;
  color: rgba(251, 244, 234, 0.92);
  opacity: 1;
}

/* ── FAQ acordeón ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: left;
  color: var(--color-forest);
  transition: background var(--transition);
}

.faq-item__question:hover {
  background: var(--color-cream);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

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

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

.faq-item__answer-inner {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item__answer-inner a {
  font-weight: 600;
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-sage) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-band p {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  position: relative;
}

.cta-band .btn-group {
  position: relative;
  justify-content: center;
}

.cta-band__scarcity {
  display: inline-block;
  margin-bottom: var(--space-md);
  padding: 0.4rem 1rem;
  background: rgba(201, 162, 39, 0.25);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-gold);
  position: relative;
}

