/* ============================================================
   PROCESO CON ICONOS - VERSIÓN LIMPIA
   ============================================================ */

.proceso-fotos {
  padding: 4rem 0rem;
  text-align: center;
  position: relative;
}

.section-header {
  display: flex;
  flex-direction: column;
}
.proceso-fotos .section-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  color: #1a3d2e;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.proceso-fotos h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  color:var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.proceso-fotos .section-header h2 span {
  color: var(--accent);
}

/* ============================================================
   GRID
   ============================================================ */

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ============================================================
   CARD
   ============================================================ */

.proceso-card {
  background: rgba(22, 104, 102, 0.1);
  border-radius: 16px;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  padding-top: 1rem;
}

.proceso-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

/* ============================================================
   CONTENEDOR DE ICONO (independiente del de imagen)
   ============================================================ */

.proceso-icon-wrap {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px 16px 0 0;
}

.proceso-icon {
  width: 80px;
  height: 80px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
}

/* ============================================================
   NÚMERO DE PASO (BADGE) - se usa igual en foto o icono
   ============================================================ */

.proceso-step {
  position: absolute;
  top: -25px;
  left: -8px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 1.7rem;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(26, 61, 46, 0.25);
  z-index: 2;
}

/* ============================================================
   CONTENIDO DE LA CARD
   ============================================================ */

.proceso-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--text-primary);
  padding: 1rem 1.2rem 0.2rem;
  margin: 0;
  position: relative;
}

.proceso-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.3rem 1.2rem 1.2rem;
  margin: 0;
  line-height: 1.6;
  padding: 1rem;
}

/* ============================================================
   RESPONSIVE TABLET
   ============================================================ */

@media (max-width: 1024px) {
  .proceso-fotos {
    padding: 3.5rem 1rem;
  }

  .proceso-fotos .section-header h2,
  .proceso-fotos h2 {
    font-size: 2.3rem;
  }

  .proceso-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 1.8rem;

    padding: 2rem 1.5rem;
  }

  .proceso-icon {
    width: 70px;
    height: 70px;
  }

  .proceso-step {
    font-size: 1.5rem;

    top: -22px;
    left: -5px;
  }

  .proceso-card h3 {
    font-size: 1.15rem;
  }

  .proceso-card p {
    font-size: 0.85rem;
  }
}

/* ============================================================
   RESPONSIVE MOBILE
   ============================================================ */

@media (max-width: 768px) {
  .proceso-fotos {
    padding: 3rem 0.8rem;
  }

  .proceso-fotos .section-header h2,
  .proceso-fotos h2 {
    font-size: 1.9rem;
  }

  .proceso-grid {
    grid-template-columns: 1fr;

    gap: 2.5rem;

    padding: 1.5rem 0.8rem;

    max-width: 420px;
  }

  .proceso-card {
    border-radius: 14px;
  }

  .proceso-icon-wrap {
    padding-top: 0.5rem;
  }

  .proceso-icon {
    width: 65px;
    height: 65px;
  }

  .proceso-step {
    font-size: 1.3rem;

    padding: 0.25rem 0.75rem;

    top: -18px;
    left: 0;
  }

  .proceso-card h3 {
    font-size: 1.1rem;

    padding: 0.8rem 1rem 0.2rem;
  }

  .proceso-card p {
    font-size: 0.85rem;

    padding: 0.8rem 1rem 1rem;

    line-height: 1.5;
  }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {
  .proceso-fotos {
    padding: 2.5rem 0.5rem;
  }

  .proceso-fotos .section-header h2,
  .proceso-fotos h2 {
    font-size: 1.6rem;
  }

  .proceso-grid {
    gap: 2rem;
  }

  .proceso-icon {
    width: 55px;
    height: 55px;
  }

  .proceso-step {
    font-size: 1.15rem;
  }
}
