/* ====== Beneficios Geolocalización (match visual de referencia) ======
   Todo va dentro de #ecore-benefits para evitar choques
*/

#ecore-benefits {
  --ink: var(--clr-ink);
  --muted: var(--clr-muted);
  --ring: var(--clr-ring);
  --soft: var(--clr-panel);
  --halo: var(--clr-accent-light);
  --shadow: var(--shadow-sm);

  font-family: var(--font-main);
    background: #d6e9ff;  color: var(--ink);
  padding: clamp(20px, 5vw, 
  36px) 12px;
}

/* #ecore-benefits .ec-wrap {
  max-width: 1220px;
  margin: 0 auto;
}
  */

/* === GRID 1 → 2 → 4 (como la imagen) === */
#ecore-benefits .ec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 36px);
  list-style: none;
  margin: 0;
  padding: clamp(10px, 1vw, 14px) 0;
}

@media (min-width:640px) {
  #ecore-benefits .ec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  #ecore-benefits .ec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === Ícono en círculo pálido, centrado === */
#ecore-benefits .ec-illus {
  width: 200px;
  height: 200px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
    background: #ffffff;  
    box-shadow: inset 0 0 0 1px var(--ring);
}

#ecore-benefits .ec-illus img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
}

/* === Título y texto tal cual la referencia === */
#ecore-benefits .ec-item {
  text-align: center;
  padding: clamp(6px, .8vw, 10px);
}

#ecore-benefits .ec-title {
  margin: 10px 0 6px;
  font-weight: 800;
  letter-spacing: .1px;
  font-size: clamp(24px, 1.9vw, 18px);
}

#ecore-benefits .ec-text {
  margin: 0 auto;
  max-width: 320px;
  /* párrafo angosto */
color: #000000;  
font-size: clamp(17px, 1.6vw, 14px);
  line-height: 1.55;
}

/* === Aparición suave al hacer scroll (sin librerías) === */
#ecore-benefits [data-ec-anim] {
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

#ecore-benefits [data-ec-anim].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
  #ecore-benefits [data-ec-anim] {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
















#ecore-benefits2 {
  --ink: var(--clr-ink);
  --muted: var(--clr-muted);
  --ring: var(--clr-ring);
  --soft: var(--clr-panel);
  --halo: var(--clr-accent-light);
  --shadow: var(--shadow-sm);

  font-family: var(--font-main);
    background: #f7fafc;    
    color: var(--ink);
  padding: clamp(20px, 5vw, 
  36px) 12px;
}

/* #ecore-benefits .ec-wrap {
  max-width: 1220px;
  margin: 0 auto;
}
  */

/* === GRID 1 → 2 → 4 (como la imagen) === */
#ecore-benefits2 .ec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 36px);
  list-style: none;
  margin: 0;
  padding: clamp(10px, 1vw, 14px) 0;
}

@media (min-width:640px) {
  #ecore-benefits2 .ec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  #ecore-benefits2 .ec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === Ícono en círculo pálido, centrado === */
#ecore-benefits2 .ec-illus {
  width: 200px;
  height: 200px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--halo);
  box-shadow: inset 0 0 0 1px var(--ring);
}

#ecore-benefits2 .ec-illus img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
}

/* === Título y texto tal cual la referencia === */
#ecore-benefits2 .ec-item {
  text-align: center;
  padding: clamp(6px, .8vw, 10px);
}

#ecore-benefits2 .ec-title {
  margin: 10px 0 6px;
  font-weight: 800;
  letter-spacing: .1px;
  font-size: clamp(24px, 1.9vw, 18px);
}

#ecore-benefits2 .ec-text {
  margin: 0 auto;
  max-width: 320px;
  /* párrafo angosto */
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 14px);
  line-height: 1.55;
}

/* === Aparición suave al hacer scroll (sin librerías) === */
#ecore-benefits2 [data-ec-anim] {
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

#ecore-benefits2 [data-ec-anim].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
  #ecore-benefits2 [data-ec-anim] {
    transition: none;
    transform: none;
    opacity: 1;
  }
}