/* ==========================================================================
   custom4.css — Secciones "Como trabajamos" (#proceso) y "Equipo" (#equipo)
   Paleta: rojo marca #D94452, tinta #0f172a, fondos claros.
   ========================================================================== */

/* ---------------- Base compartida ---------------- */
.process-section,
.team-section {
  position: relative;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.process-section {
  background: #f7f8fb;
}

.team-section {
  background: #ffffff;
}

.process-head,
.team-head {
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.process-eyebrow,
.team-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(217, 68, 82, 0.09);
  color: #d94452;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.process-head h2,
.team-head h2 {
  margin: 0 0 0.85rem;
  color: #0f172a;
}

.process-head h2 span,
.team-head h2 span {
  color: #d94452;
}

.process-head p,
.team-head p {
  margin: 0;
  color: #556274;
  font-size: 1rem;
  line-height: 1.65;
}

/* ---------------- Proceso: pasos ---------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 2rem 1.5rem 1.8rem;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(217, 68, 82, 0.22);
}

.process-step-num {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(217, 68, 82, 0.12);
}

.process-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 14px;
  background: rgba(217, 68, 82, 0.09);
  color: #d94452;
  margin-bottom: 1rem;
}

.process-step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.process-step h3 {
  margin: 0 0 0.55rem;
  color: #0f172a;
}

.process-step p {
  margin: 0;
  color: #556274;
  font-size: 0.92rem;
  line-height: 1.6;
}

.process-cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.process-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  background: #d94452;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(217, 68, 82, 0.32);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.process-cta:hover {
  background: #c2384a;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217, 68, 82, 0.4);
}

/* ---------------- Equipo: tarjetas ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 2.4rem 1.9rem 2.1rem;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(217, 68, 82, 0.22);
}

.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d94452, #b32c3e);
  box-shadow: 0 10px 24px rgba(217, 68, 82, 0.3);
  margin-bottom: 1.2rem;
}

.team-avatar span {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.team-name {
  margin: 0 0 0.3rem !important;
  color: #0f172a !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
}

.team-role {
  margin: 0 0 1rem;
  color: #d94452;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-bio {
  margin: 0 0 1.4rem;
  color: #556274;
  font-size: 0.95rem;
  line-height: 1.65;
}

.team-tags {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: 300px;
}

.team-tags li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  background: #f7f8fb;
  color: #33415c;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
}

.team-tags li svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: #16a34a;
}

/* ---------------- Compromiso del equipo ---------------- */
.team-commitment {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  max-width: 900px;
  margin: clamp(1.8rem, 3vw, 2.6rem) auto 0;
  padding: 1.6rem 1.9rem;
  border-radius: 22px;
  background: #0f1f3a;
  color: #ffffff;
}

@media (max-width: 768px) {
  .team-commitment {
    flex-direction: column;
    text-align: center;
    padding: 1.9rem 1.5rem;
  }
}

.team-commitment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 16px;
  background: rgba(217, 68, 82, 0.2);
  color: #ff8f9a;
}

.team-commitment-icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.team-commitment-copy {
  flex: 1;
}

.team-commitment-copy h3 {
  margin: 0 0 0.35rem;
  color: #ffffff !important;
}

.team-commitment-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  line-height: 1.6;
}

.team-commitment-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: #d94452;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.team-commitment-cta:hover {
  background: #c2384a;
  transform: translateY(-2px);
}
