/* ============================================
   PROCESO MOBILE — Propuesta 4: FIRMEZA variante
   Línea de tiempo vertical · solo visible en mobile
   ============================================ */

/* Hidden on desktop */
.proceso-mobile {
  display: none;
}

@media (max-width: 900px) {

  .proceso-mobile {
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    background: var(--color-white);
    padding: 80px 24px 60px;
  }

  .proceso-mobile__container {
    max-width: 540px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  /* ===== Header ===== */
  .proceso-mobile__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .proceso-mobile__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
  }

  .proceso-mobile__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 6vw, 32px);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
  }

  .proceso-mobile__subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.65;
  }

  /* ===== Timeline ===== */
  .proceso-mobile__timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .proceso-mobile__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  /* Left column: circle + vertical line */
  .proceso-mobile__item-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;       /* stretch to match body height */
    flex-shrink: 0;
    width: 52px;
    position: relative;
  }

  .proceso-mobile__item-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: var(--color-primary);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.3);
    position: relative;
    z-index: 2;                /* circle sits on top of the line */
  }

  /* Continuous line: runs full height of aside, hidden behind circle */
  .proceso-mobile__item-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--color-border);
    z-index: 1;
  }

  /* Last step: cap line at circle height so nothing shows below circle 4 */
  .proceso-mobile__item:last-child .proceso-mobile__item-line {
    bottom: calc(100% - 52px);
  }

  /* Right column: icon, title, desc */
  .proceso-mobile__item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 40px;
  }

  .proceso-mobile__item:last-child .proceso-mobile__item-body {
    padding-bottom: 0;
  }

  .proceso-mobile__item-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--color-light);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: border-color 0.25s, color 0.25s;
  }

  .proceso-mobile__item-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
  }

  .proceso-mobile__item-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.75;
  }

  /* ===== CTA ===== */
  .proceso-mobile__cta-wrap {
    display: flex;
    justify-content: center;
  }

  .proceso-mobile__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  }

  .proceso-mobile__cta i { font-size: 20px; }

  .proceso-mobile__cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }

}
