/* 1. Reset General */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: sans-serif; }
body { background-color: #f0f2f5; color: #333; line-height: 1.6; }

/* 2. Estructura de Contenedores */
.contenedor { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 3. Cabecera (Corregida para que no se vea vertical) */
.cabecera { 
    background: linear-gradient(135deg, #007bff, #2ecc71); 
    padding: 15px 0; 
}
.cabecera-interior {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cabecera a { color: white; text-decoration: none; font-weight: bold; }

/* Menú de Navegación */
.menu-principal ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

/* 4. Secciones (Index) */
.portada { padding: 60px 0; background: white; text-align: left; }
.titulo-principal { font-size: 2.5rem; margin-bottom: 10px; }
.subtitulo { font-size: 1.2rem; color: #666; margin-bottom: 30px; }

/* 5. Rejillas (Grid) para pasos y ventajas */
.rejilla-pasos, .rejilla-ventajas { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    margin-top: 40px;
}

.tarjeta-paso, .tarjeta-ventaja {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.numero-paso {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 6. Botones */
.boton { 
    display: inline-block; 
    padding: 12px 25px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: bold;
    cursor: pointer;
}
.boton-primario { background: #2ecc71; color: white !important; }
.boton-secundario { background: #007bff; color: white !important; margin-left: 10px; }

/* 7. Pie de Página */
.pie-pagina { background: white; padding: 40px 0; margin-top: 60px; border-top: 1px solid #ddd; }
.pie-interior { display: flex; justify-content: space-between; align-items: center; }