/* ============================================
   SECCIÓN "POR QUÉ ELEGIRNOS" – FITBYDIANA
   VERSIÓN PREMIUM (DESKTOP + MOBILE)
============================================ */

/* Contenedor general */
.why-section {
  background: #f9f8ff; /* Lavanda super suave */
  padding-top: 40px;
  padding-bottom: 40px;
}

/* COLUMNA IMAGEN */
.why-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px; /* garantiza visibilidad en desktop */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.why-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantiene estética */
  object-position: center; /* centrado vertical */
  border-radius: 0;
}

/* COLUMNA TEXTO */
.why-choose-02 {
  padding: 70px 60px;
}

/* Título */
.title-intro {
  font-size: 30px;
  font-weight: 800;
  color: #0c0c0c;
  display: block;
  line-height: 1.3;
  margin-bottom: 30px;
}

.title-intro .accent {
  color: #6a63ff; /* Lila FitByDiana */
}

/* Íconos + textos */
.why-choose {
  padding-left: 10px;
}

.icon-box-icon img {
  width: 42px;
  height: 42px;
  margin-right: 15px;
  opacity: 0.9;
}

.why-choose h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0c0c0c;
}

.why-choose p {
  color: #444;
  line-height: 1.6;
  margin-top: 6px;
  max-width: 440px;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 992px) {

  .why-image-wrapper {
    min-height: 280px;
  }

  .why-choose-02 {
    padding: 40px 25px;
    text-align: center;
  }

  .why-choose {
    justify-content: center;
  }

  .icon-box-icon img {
    width: 36px;
    height: 36px;
  }

  .why-choose p {
    max-width: 100%;
  }

  .title-intro {
    font-size: 26px;
    margin-bottom: 25px;
  }
}

.diagnosis-section {
  padding: 90px 0;
  background: #f8f6ff; /* Lavanda MUY suave */
}

.diagnosis-content {
  padding-right: 40px;
}

.badge-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6a63ff; /* Lila oficial */
  letter-spacing: 1px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: #0c0c0c;
}

.highlight {
  color: #6a63ff; /* Lila FitByDiana */
}

.diagnosis-text {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 24px;
  max-width: 95%;
}

/* CONTACTO */
.diagnosis-contact {
  border-bottom: 1px solid #dcd5ff;
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
}

.contact-icon {
  font-size: 20px;
  color: #6a63ff;
  margin-right: 10px;
}

.contact-text {
  font-size: 16px;
  color: #222;
}

/* HORARIOS */
.schedule {
  font-weight: 700;
  color: #6a63ff;
  font-size: 17px;
  margin-bottom: 30px;
}

/* BOTÓN */
.btn-agenda {
  display: inline-block;
  background: #6a63ff;
  color: white;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-agenda:hover {
  background: #564fe6;
}

/* BLOQUE DE IMAGEN (CARD PREMIUM) */
.diagnosis-image-box {
  background: white;
  padding: 32px;
  border-radius: 22px;
  width: 100%;
  box-shadow: 0 12px 35px rgba(0,0,0,0.09);
  text-align: center;
}

.diagnosis-main-img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 18px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.diagnosis-image-caption {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media(max-width: 992px) {
  .diagnosis-content {
    padding-right: 0;
    text-align: center;
  }

  .section-title {
    font-size: 30px;
  }

  .diagnosis-image-box {
    margin-top: 35px;
  }
}
/* ============================================
   FIX: Restaurar diseño 50/50 en desktop
============================================ */

/* Fila: en desktop debe ser flex y mantener 2 columnas iguales */
@media (min-width: 992px) {
  .why-section .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch; /* ambas columnas misma altura */
  }

  /* Cada columna exactamente 50% */
  .why-section .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
  }

  /* Imagen: mantener proporción y no crecer descontrolada */
  .why-image-wrapper {
    height: 100%;
    min-height: 100%; /* fuerza igualar altura */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .why-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Columna de texto */
  .why-choose-02 {
    padding: 60px 70px !important;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente el contenido */
  }
}
/* ======================================================
   CTA EN WELLNESS PROFILE – ESTILOS BASE (DESKTOP)
====================================================== */

.why-cta-box {
    margin-top: 2rem;
    background: #f4f6ff; /* fondo suave FitByDiana */
    padding: 2rem 1.8rem;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.why-cta-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1e1e1e;
    margin-bottom: 0.8rem;
}

.why-cta-text {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: 1.6rem;
}

/* Botón CTA */
.why-cta-box .btn-agenda {
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    border-radius: 50px !important;
    background: #6a63ff !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 25px rgba(106, 99, 255, 0.25);
    display: inline-block;
    width: auto;
    transition: 0.25s ease;
}

.why-cta-box .btn-agenda:hover {
    background: #584fe0 !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(106, 99, 255, 0.35);
}



@media (max-width: 768px) {

  /* La columna completa deja de ser flex-item vertical */
  .why-image-wrapper {
      display: block !important;
  }

  /* La imagen ocupa todo el ancho y empuja hacia arriba */
  .why-img {
      width: 100%;
      height: auto;
      display: block;
      margin: 0;
  }

  /* El CTA ahora es un bloque DESPUÉS de la imagen */
  .why-cta-box {
      position: relative;
      display: block;
      margin-top: 1rem;
      width: 92%;
      margin-left: auto;
      margin-right: auto;
      padding: 1.2rem 1rem;
      background: #f4f6ff;
      border-radius: 14px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.08);
      text-align: center;
  }

  .why-cta-title {
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
  }

  .why-cta-text {
      font-size: 1rem;
      margin-bottom: 1rem;
      line-height: 1.45;
  }

  /* Botón como bloque */
  .why-cta-box .btn-agenda {
      width: 100%;
      padding: 0.9rem 0 !important;
      background: #6a63ff !important;
      border-radius: 50px !important;
      color: #fff !important;
      font-weight: 700 !important;
      font-size: 1rem !important;
      box-shadow: 0 6px 20px rgba(106, 99, 255, 0.25);
  }
}
