/* ═══════════════════════════════════════════════
   FURSIFEX — Selección de Proveedores y Compras
   Prefijo: spc-
   ═══════════════════════════════════════════════ */

/* ══════════════ HERO ══════════════ */
.spc-hero {
  position: relative;
  height: 62vh;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.spc-hero__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.spc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.93) 45%, rgba(13,27,42,.72) 100%);
  z-index: 2;
}
.spc-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding-top: calc(var(--fx-hh) + 16px);
  padding-bottom: 32px;
}
.spc-hero__title {
  font-family: var(--fx-font-h);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--fx-white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.spc-hero__sub {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}

/* ══════════════ INTRO ══════════════ */
.spc-intro {
  padding: 88px 0;
  background: var(--fx-white);
}
.spc-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.spc-intro__text p {
  font-size: 0.94rem;
  color: var(--fx-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.spc-intro__text p:last-child { margin-bottom: 0; }
.spc-intro__text strong { color: var(--fx-principal); font-weight: 600; }

.spc-intro__visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.spc-intro__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.45s ease;
}
.spc-intro__visual:hover img { transform: scale(1.04); }

.spc-intro__badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--fx-principal);
  color: var(--fx-white);
  border-radius: 8px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(61,155,232,.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.spc-intro__badge-num {
  font-family: var(--fx-font-h);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}
.spc-intro__badge-label {
  font-family: var(--fx-font-h);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
  line-height: 1.3;
}

/* ══════════════ EVALUACIÓN ══════════════ */
.spc-eval {
  padding: 88px 0;
  background: var(--fx-navy);
}
.spc-eval__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spc-eval__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 36px 28px 32px;
  transition: var(--fx-t);
}
.spc-eval__card:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.spc-eval__icon {
  width: 52px;
  height: 52px;
  color: var(--fx-principal);
  margin-bottom: 20px;
}
.spc-eval__icon svg { width: 100%; height: 100%; }
.spc-eval__title {
  font-family: var(--fx-font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fx-white);
  margin-bottom: 18px;
}
.spc-eval__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spc-eval__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.86rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.spc-eval__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-principal);
}

/* ══════════════ PROCESO ══════════════ */
.spc-proceso {
  padding: 88px 0;
  background: var(--fx-off-white);
}
.spc-proceso__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.spc-paso {
  display: grid;
  grid-template-columns: 72px 40px 1fr;
  align-items: start;
  gap: 0 24px;
  padding-bottom: 0;
}
.spc-paso__num {
  font-family: var(--fx-font-h);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--fx-principal-pale);
  line-height: 1;
  padding-top: 2px;
  text-align: right;
  letter-spacing: -0.03em;
}
.spc-paso__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.spc-paso__line::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fx-principal);
  flex-shrink: 0;
  margin-top: 6px;
}
.spc-paso__line::after {
  content: '';
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--fx-principal), rgba(61,155,232,.12));
  min-height: 64px;
}
.spc-paso__line--last::after {
  background: none;
}
.spc-paso__body {
  padding-bottom: 48px;
  padding-top: 0;
}
.spc-paso__title {
  font-family: var(--fx-font-h);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--fx-navy);
  margin-bottom: 10px;
  padding-top: 0;
  line-height: 1.3;
}
.spc-paso__text {
  font-size: 0.92rem;
  color: var(--fx-text-muted);
  line-height: 1.72;
}

/* ══════════════ GARANTÍA BAND ══════════════ */
.spc-garantia {
  padding: 40px 0;
  background: var(--fx-navy-mid);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.spc-garantia__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.spc-garantia__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
}
.spc-garantia__icon {
  font-size: 1.5rem;
  line-height: 1;
}
.spc-garantia__label {
  font-family: var(--fx-font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.spc-garantia__sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ══════════════ CTA ══════════════ */
.spc-cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
}
.spc-cta__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.spc-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.88);
  z-index: 2;
}
.spc-cta__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.spc-cta__title {
  font-family: var(--fx-font-h);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--fx-white);
  margin-bottom: 10px;
}
.spc-cta__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,.7);
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .spc-intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .spc-eval__grid  { grid-template-columns: 1fr; gap: 16px; }
  .spc-cta__inner  { flex-direction: column; text-align: center; }
  .spc-garantia__grid { gap: 24px 0; }
  .spc-garantia__sep { display: none; }
  .spc-garantia__item { width: 50%; }
}

@media (max-width: 640px) {
  .spc-hero { height: 55vh; min-height: 360px; }
  .spc-intro  { padding: 60px 0; }
  .spc-eval   { padding: 60px 0; }
  .spc-proceso { padding: 60px 0; }
  .spc-cta    { padding: 60px 0; }
  .spc-paso { grid-template-columns: 48px 32px 1fr; gap: 0 16px; }
  .spc-paso__num { font-size: 2rem; }
  .spc-garantia__item { width: 100%; padding: 12px 24px; }
}


/* ==========================================================================
   ESTÁNDAR DE DISEÑO MÓVIL (GUÍA DE ESTILO - EDITOR IA v2.2)
   ========================================================================== */
@media (max-width: 768px) {
  /* Altura del banner superior al 60% del viewport mínimo con safety padding */
  .spc-hero {
    min-height: 60vh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: calc(var(--fx-hh) + 20px) !important;
    padding-bottom: 48px !important; /* Estricto: previene que el botón toque el borde inferior */
  }
  .spc-hero__inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important; /* Reset padding-bottom to prevent extra tall banner */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  /* Tamaño de texto estandarizado para títulos de banner */
  .spc-hero__title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }
  .spc-hero__sub {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  /* Espaciado uniforme y reducido entre el banner y el siguiente bloque de texto */
  .spc-intro {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}
