/* ============================================
   alimentos-afp.css — Overrides para alimentos-afp.html
   Reutiliza style.css + divorcio.css (clases dv-*)
   ============================================ */

/* ---------- Hero: accent azul-marino (dinero/AFP) ---------- */
.afp-hero .dv-eyebrow {
  color: #1a6b8a;
}

/* ---------- Requisitos: grid de 2 columnas ---------- */
.afp-requisitos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

@media (max-width: 720px) {
  .afp-requisitos {
    grid-template-columns: 1fr;
  }
}

.afp-requisito-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--c-surface, #fff);
  border-radius: 12px;
  border: 1px solid var(--c-light, #dce1de);
  border-left: 3px solid #1a6b8a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.afp-requisito-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 107, 138, 0.08);
}

.afp-requisito-item svg {
  flex-shrink: 0;
  color: #1a6b8a;
  margin-top: 2px;
}

.afp-requisito-item h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-dark, #1f2421);
}

.afp-requisito-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-teal, #216869);
}

/* ---------- Steps numerados: vertical full-width ---------- */
.afp-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
}

.afp-steps::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 38px;
  width: 2px;
  background: linear-gradient(180deg, #1a6b8a 0%, #dce1de 100%);
  z-index: 0;
}

@media (max-width: 860px) {
  .afp-steps::before {
    display: none;
  }
}

.afp-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--c-surface, #fff);
  border: 1px solid var(--c-light, #dce1de);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.afp-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26, 107, 138, 0.08);
}

.afp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a6b8a, #145e7a);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.afp-step-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--c-dark, #1f2421);
}

.afp-step-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--c-teal, #216869);
}

.afp-step-content strong {
  color: var(--c-dark, #1f2421);
}

/* ---------- Callout override para tono AFP ---------- */
.dv-section:not(.dv-section-alt) .dv-callout {
  border-left-color: #1a6b8a;
}

.dv-section:not(.dv-section-alt) .dv-callout h4 {
  color: #1a6b8a;
}

/* ---------- CTA final: tono oscuro igual que divorcio ---------- */
.afp-cta-final {
  background: var(--color-primary, #1f2421);
}
