/* =========================
   Why Choose (ajustado a la maqueta)
   ========================= */

.swc-section {
  background: #ffffff;

  /* Full width como tus secciones */
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  padding: clamp(56px, 6vw, 96px) 0;
}

.swc-section * {
  box-sizing: border-box;
}

.swc-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Layout */
.swc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start; /* alinea arriba como cabecera */
}

/* Izquierda */
.swc-left {
  text-align: left;
}

/* PRETÍTULO (¿Porqué elegirnos?) más grande y con presencia */
.swc-pretitle {
  margin: 0 0 16px 0;
  font-size: 3rem; /* antes era más pequeño */
  font-weight: 900;
  color: var(--color1);
  letter-spacing: -0.015em;
}

/* Título principal */
.swc-title {
  margin: 0 0 18px 0;
  font-size: 3.7rem;
  line-height: 1.05;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.swc-highlight {
  color: var(--color2);
}

.swc-text {
  margin: 0 0 36px 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #6b7280;
  max-width: 62ch;
}

/* Testimonio */
.swc-testimonial {
  display: grid;
  grid-template-columns: 44px 1fr; /* más ancho para acomodar comillas grandes */
  gap: 16px;
  align-items: start;
  max-width: 70ch;
}

/* COMILLAS más grandes */
.swc-quote-mark img {
  width: 46px;  
  height: 46px; 
  display: block;
}

.swc-quote-text {
  margin: 0 0 18px 0;
  font-size: 0.93rem;
  line-height: 1.85;
  color: #475569;
}

.swc-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
}

.swc-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #0f172a;
  font-weight: 900;
  font-size: 0.9rem;
}

.swc-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.swc-author-name {
  margin: 0;
  font-weight: 900;
  font-size: 0.95rem;
  color: #0f172a;
}

.swc-author-role {
  margin: 0;
  font-weight: 600;
  font-size: 0.82rem;
  color: #64748b;
}

/* Derecha: imágenes */
.swc-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 90px; /* para que no corte la solapada */
}

.swc-images {
  position: relative;
  width: min(560px, 100%);
}

/* Glow violeta suave */
.swc-images::before {
  content: "";
  position: absolute;
  inset: -40px -30px -40px -30px;
  background: radial-gradient(closest-side, rgba(109, 40, 217, 0.14), rgba(109, 40, 217, 0) 70%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}

/* Figuras */
.swc-figure {
  position: relative;
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  background: #ffffff;
}

.swc-figure-1 {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.swc-figure-2 {
  width: 78%;
  aspect-ratio: 16 / 10;
  position: absolute;
  right: -2%;
  bottom: -22%;
}

.swc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swc-figure--placeholder {
  background: linear-gradient(90deg, #f1f5f9, #ffffff, #f1f5f9);
}

/* Responsive */
@media (max-width: 980px) {
  .swc-grid {
    grid-template-columns: 1fr;
  }

  .swc-right {
    padding-bottom: 0;
    margin-top: 18px;
  }

  .swc-figure-2 {
    position: static;
    width: 100%;
    margin-top: 14px;
    aspect-ratio: 16 / 9;
  }

  .swc-text,
  .swc-testimonial {
    max-width: 100%;
  }
}
