/* ============================================
   ALTERFIN - Estilos Premium
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

.alterfin-section {
    font-family: 'Inter', sans-serif;
    padding: 70px 0;
    color: #333;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

/* ---- Header ---- */
.alterfin-header {
    text-align: center;
    margin-bottom: 50px;
}
.alterfin-header h1 {
    color: #1a2a5e;
    font-weight: 800;
    font-size: 1.55rem;
    text-transform: uppercase;
    max-width: 860px;
    margin: 0 auto 0;
    line-height: 1.5;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 20px;
}
.alterfin-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f7a600, #e08c00);
    border-radius: 2px;
}

/* ---- Intro ---- */
.alterfin-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin: 50px auto;
    max-width: 820px;
    background: white;
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow: 0 8px 30px rgba(26, 42, 94, 0.08);
    border-left: 5px solid #1a2a5e;
}
.alterfin-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alterfin-logo img {
    max-width: 210px;
    height: auto;
    object-fit: contain;
}
.alterfin-intro p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* ---- Título de sección ---- */
.alterfin-title {
    text-align: center;
    margin-bottom: 55px;
    position: relative;
}
.alterfin-title span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2a5e;
    background: #f8faff;
    padding: 8px 25px;
    border-radius: 30px;
    border: 2px solid #f7a600;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- Steps ---- */
.alterfin-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 15px;
}
.alterfin-steps::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 12%;
    right: 12%;
    border-top: 3px dashed rgba(247, 166, 0, 0.4);
    z-index: 1;
}

.alterfin-step {
    width: 22%;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}
.alterfin-step:hover { transform: translateY(-6px); }

.alterfin-step-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.alterfin-step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f7a600, #e08c00);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(247, 166, 0, 0.4);
    z-index: 3;
}

.alterfin-step-icon {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #ffffff, #eef2ff);
    border: 3px solid #1a2a5e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #1a2a5e;
    box-shadow: 0 8px 25px rgba(26, 42, 94, 0.15);
    transition: all 0.3s ease;
}
.alterfin-step:hover .alterfin-step-icon {
    background: linear-gradient(135deg, #1a2a5e, #2a3f8a);
    color: white;
    border-color: #f7a600;
    box-shadow: 0 12px 35px rgba(26, 42, 94, 0.3);
}

.alterfin-step h3 {
    color: #1a2a5e;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alterfin-step p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    background: white;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-top: 3px solid #f7a600;
}

.alterfin-arrow {
    position: absolute;
    top: 42px;
    right: -22px;
    font-size: 22px;
    color: #f7a600;
    z-index: 3;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .alterfin-steps { flex-wrap: wrap; justify-content: center; }
    .alterfin-step { width: 45%; margin-bottom: 40px; }
    .alterfin-steps::before { display: none; }
    .alterfin-arrow { display: none; }
}
@media (max-width: 768px) {
    .alterfin-intro { flex-direction: column; text-align: center; }
    .alterfin-step { width: 100%; }
    .alterfin-header h1 { font-size: 1.2rem; }
}
